1 warning light, 2 outputs? - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


MEGAsquirt A place to collectively sort out this megasquirt gizmo

Reply
 
 
 
LinkBack Thread Tools
Old 02-15-2016, 12:21 PM   #1
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,992
Total Cats: 1,457
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   Reply With Quote
Old 02-15-2016, 12:31 PM   #2
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,833
Total Cats: 1,786
Default

i dont see how youll notice a CEL light for shifting...
Braineack is offline   Reply With Quote
Old 02-15-2016, 12:32 PM   #3
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,992
Total Cats: 1,457
Default

I put an extra bright LED in there. Its worked so far. Just want to add more functionality.
aidandj is offline   Reply With Quote
Old 02-15-2016, 12:34 PM   #4
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,833
Total Cats: 1,786
Default

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

So no issue running 2 outputs to one LED? I couldn't think of any, but wanted to check.
aidandj is offline   Reply With Quote
Old 02-15-2016, 12:37 PM   #6
Elite Member
iTrader: (15)
 
patsmx5's Avatar
 
Join Date: Aug 2007
Location: Houston, TX
Posts: 8,796
Total Cats: 247
Default

Quote:
Originally Posted by aidandj View Post
So no issue running 2 outputs to one LED? I couldn't think of any, but wanted to check.
No problem.
patsmx5 is offline   Reply With Quote
Old 02-15-2016, 12:38 PM   #7
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,833
Total Cats: 1,786
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   Reply With Quote
Old 02-15-2016, 12:39 PM   #8
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,992
Total Cats: 1,457
Default

Ok. Thanks. Its not really supposed to be a diagnostic light. Its more of an oh **** stop driving light.
aidandj is offline   Reply With Quote
Old 02-15-2016, 02:36 PM   #9
Boosting since 1984
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Levittown
Posts: 1,198
Total Cats: 68
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   Reply With Quote
Old 02-15-2016, 02:54 PM   #10
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,914
Default

Quote:
Originally Posted by stefanst View Post
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   Reply With Quote
Old 02-15-2016, 09:37 PM   #11
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,689
Total Cats: 99
Default

What Joe said.
Ben is offline   Reply With Quote
Old 02-15-2016, 09:39 PM   #12
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,992
Total Cats: 1,457
Default

Thanks guys. Wired it up today, will test once my extra resistors and caps come in.
aidandj is offline   Reply With Quote
Old 02-16-2016, 11:57 AM   #13
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,833
Total Cats: 1,786
Default

get an expander board, bro.
Braineack is offline   Reply With Quote
Old 02-16-2016, 12:00 PM   #14
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,992
Total Cats: 1,457
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   Reply With Quote
Old 02-16-2016, 12:03 PM   #15
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,833
Total Cats: 1,786
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   Reply With Quote
Old 02-16-2016, 12:06 PM   #16
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,992
Total Cats: 1,457
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   Reply With Quote
Old 02-16-2016, 03:55 PM   #17
Boosting since 1984
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Levittown
Posts: 1,198
Total Cats: 68
Default

What type inputs? Analog? Are you going "Pat-nuts" with the pressure sensors?
stefanst is offline   Reply With Quote
Old 02-16-2016, 03:57 PM   #18
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,992
Total Cats: 1,457
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   Reply With Quote
Old 02-16-2016, 04:00 PM   #19
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,833
Total Cats: 1,786
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   Reply With Quote
Old 02-16-2016, 04:02 PM   #20
Boosting since 1984
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Levittown
Posts: 1,198
Total Cats: 68
Default

damn....
stefanst is offline   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
Spark issue after megasquirt? boriicuaz MSPNP 24 03-13-2016 02:29 PM
Wiring harness for EBC, VICS and Seq. Inj. Neilv ECUs and Tuning 4 02-16-2016 02:57 PM
Electronic Boost control from unused wire in loom 90civichhb DIY Turbo Discussion 54 02-14-2016 11:31 AM
Steel oil turbo feed adapters Savington DIY Turbo Discussion 0 02-09-2016 09:42 PM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



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