MEGAsquirt A place to collectively sort out this megasquirt gizmo

1 warning light, 2 outputs?

Thread Tools
 
Search this Thread
 
Old 02-15-2016, 11:21 AM
  #1  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default 1 warning light, 2 outputs?

Currently have the CEL hooked up as a warning light for coolant temp and shift light. You can only have 2 conditions for outputs, but I want to also trigger the CEL for oil temp and pressure. Can I just wire the CEL to both outputs or will I run into issues when just one of them turns on.
aidandj is offline  
Old 02-15-2016, 11:31 AM
  #2  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

i dont see how youll notice a CEL light for shifting...
Braineack is offline  
Old 02-15-2016, 11:32 AM
  #3  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

I put an extra bright LED in there. Its worked so far. Just want to add more functionality.
aidandj is offline  
Old 02-15-2016, 11:34 AM
  #4  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

its just a ground, i suppose if it goes solid you'll know its some sort of issue of three.
Braineack is offline  
Old 02-15-2016, 11:35 AM
  #5  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

So no issue running 2 outputs to one LED? I couldn't think of any, but wanted to check.
aidandj is offline  
Old 02-15-2016, 11:37 AM
  #6  
Elite Member
iTrader: (16)
 
patsmx5's Avatar
 
Join Date: Aug 2007
Location: Houston, TX
Posts: 9,297
Total Cats: 476
Default

Originally Posted by aidandj
So no issue running 2 outputs to one LED? I couldn't think of any, but wanted to check.
No problem.
patsmx5 is offline  
Old 02-15-2016, 11:38 AM
  #7  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

i don't really see how it would hurt, but might wait to see what others say. the outputs are just simple transistors that just toggle the output to ground.
Braineack is offline  
Old 02-15-2016, 11:39 AM
  #8  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Ok. Thanks. Its not really supposed to be a diagnostic light. Its more of an oh **** stop driving light.
aidandj is offline  
Old 02-15-2016, 01:36 PM
  #9  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

As brain said, I think it's just OC transistors that are floating when open.

In case they are not, just put in some diodes isolating the outputs. That's definitely safe.
stefanst is offline  
Old 02-15-2016, 01:54 PM
  #10  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

Originally Posted by stefanst
As brain said, I think it's just OC transistors that are floating when open.
They are indeed open-collector transistors.

No need for a diode. The functionality of a diode is inherent in the construction of an NPN transistor. You can parallel as many outputs as you like in this manner.
Joe Perez is offline  
Old 02-15-2016, 08:37 PM
  #11  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

What Joe said.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 02-15-2016, 08:39 PM
  #12  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Thanks guys. Wired it up today, will test once my extra resistors and caps come in.
aidandj is offline  
Old 02-16-2016, 10:57 AM
  #13  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

get an expander board, bro.
Braineack is offline  
Old 02-16-2016, 11:00 AM
  #14  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

I have one bro. But its filled with circuits. And they all need stupid 2.49k resistors.

Work has 2.47k and 2.5k. And 2.51k and about every other damn resistor possible. But no 2.49k.
aidandj is offline  
Old 02-16-2016, 11:03 AM
  #15  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

for a simple relay output?

you need a 1K resistor, a pn222222222222222 transistor, and a 1N40001 diode.


Attached Thumbnails 1 warning light, 2 outputs?-80-undefined_97c0c9986333c021f31d5fe257e7da2006a12de2.png  
Braineack is offline  
Old 02-16-2016, 11:06 AM
  #16  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

No circuits are for inputs. Using nitrous 1 and 2 for my CEL.

Built circuits for JS4 and JS5 as inputs, which is why I need the resistors.

I have an ms3x. I'm using all of its inputs.
aidandj is offline  
Old 02-16-2016, 02:55 PM
  #17  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

What type inputs? Analog? Are you going "Pat-nuts" with the pressure sensors?
stefanst is offline  
Old 02-16-2016, 02:57 PM
  #18  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Maybe....

F/R brake pressure
3 Map sensors
2 AIT sensors
Oil pressure
Oil Temp
Fuel pressure
Fuel Temp (through flex sensor)
Coolant pressure
Traction control adjustment input
Boost control adjustment input
Launch control adjustment input

I have a spreadsheet with everything

https://docs.google.com/spreadsheets...it?usp=sharing
aidandj is offline  
Old 02-16-2016, 03:00 PM
  #19  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

if analog then all you need is 2 diodes and a 1K resistors for each...

otherwise, whatever ciruict you're builing. 2.49K and 2.5K and 2.51K all fall within the 5% margin of error of these things...

laymen's: close enough.


edit: looks like youre doing a temp sensor.

those other resistors you found are fine, you'll just want to measure whatever resistor you use and make sure to input the actual value as a bias.

the MS uses 2.49K that are 1% error ones, so pretty spot on. That's why they are blue. Otherwise all others are +/- 5%.

it's used for the 5vref pullup.
Braineack is offline  
Old 02-16-2016, 03:02 PM
  #20  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

damn....
stefanst is offline  


Quick Reply: 1 warning light, 2 outputs?



All times are GMT -4. The time now is 04:55 AM.