MEGAsquirt A place to collectively sort out this megasquirt gizmo

1 warning light, 2 outputs?

Thread Tools
 
Search this Thread
 
Old 02-15-2016 | 12:21 PM
  #1  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
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.
Old 02-15-2016 | 12:31 PM
  #2  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 79,818
Total Cats: 4,152
From: Chantilly, VA
Default

i dont see how youll notice a CEL light for shifting...
Old 02-15-2016 | 12:32 PM
  #3  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
Default

I put an extra bright LED in there. Its worked so far. Just want to add more functionality.
Old 02-15-2016 | 12:34 PM
  #4  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 79,818
Total Cats: 4,152
From: Chantilly, VA
Default

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

So no issue running 2 outputs to one LED? I couldn't think of any, but wanted to check.
Old 02-15-2016 | 12:37 PM
  #6  
patsmx5's Avatar
Elite Member
iTrader: (16)
 
Joined: Aug 2007
Posts: 9,352
Total Cats: 524
From: Houston, TX
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.
Old 02-15-2016 | 12:38 PM
  #7  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 79,818
Total Cats: 4,152
From: Chantilly, VA
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.
Old 02-15-2016 | 12:39 PM
  #8  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
Default

Ok. Thanks. Its not really supposed to be a diagnostic light. Its more of an oh **** stop driving light.
Old 02-15-2016 | 02:36 PM
  #9  
stefanst's Avatar
Senior Member
iTrader: (1)
 
Joined: Sep 2011
Posts: 1,215
Total Cats: 74
From: Lambertville, NJ
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.
Old 02-15-2016 | 02:54 PM
  #10  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 33,556
Total Cats: 6,933
From: Chicago. (The less-murder part.)
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.
Old 02-15-2016 | 09:37 PM
  #11  
Ben's Avatar
Ben
Supporting Vendor
iTrader: (33)
 
Joined: Jul 2006
Posts: 12,659
Total Cats: 134
From: atlanta-ish
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.
Old 02-15-2016 | 09:39 PM
  #12  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
Default

Thanks guys. Wired it up today, will test once my extra resistors and caps come in.
Old 02-16-2016 | 11:57 AM
  #13  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 79,818
Total Cats: 4,152
From: Chantilly, VA
Default

get an expander board, bro.
Old 02-16-2016 | 12:00 PM
  #14  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
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.
Old 02-16-2016 | 12:03 PM
  #15  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 79,818
Total Cats: 4,152
From: Chantilly, VA
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  
Old 02-16-2016 | 12:06 PM
  #16  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
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.
Old 02-16-2016 | 03:55 PM
  #17  
stefanst's Avatar
Senior Member
iTrader: (1)
 
Joined: Sep 2011
Posts: 1,215
Total Cats: 74
From: Lambertville, NJ
Default

What type inputs? Analog? Are you going "Pat-nuts" with the pressure sensors?
Old 02-16-2016 | 03:57 PM
  #18  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
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
Old 02-16-2016 | 04:00 PM
  #19  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 79,818
Total Cats: 4,152
From: Chantilly, VA
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.
Old 02-16-2016 | 04:02 PM
  #20  
stefanst's Avatar
Senior Member
iTrader: (1)
 
Joined: Sep 2011
Posts: 1,215
Total Cats: 74
From: Lambertville, NJ
Default

damn....



All times are GMT -4. The time now is 06:22 AM.