Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   1 warning light, 2 outputs? (https://www.miataturbo.net/megasquirt-18/1-warning-light-2-outputs-87763/)

aidandj 02-15-2016 11:21 AM

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.

Braineack 02-15-2016 11:31 AM

i dont see how youll notice a CEL light for shifting...

aidandj 02-15-2016 11:32 AM

I put an extra bright LED in there. Its worked so far. Just want to add more functionality.

Braineack 02-15-2016 11:34 AM

its just a ground, i suppose if it goes solid you'll know its some sort of issue of three.

aidandj 02-15-2016 11:35 AM

So no issue running 2 outputs to one LED? I couldn't think of any, but wanted to check.

patsmx5 02-15-2016 11:37 AM


Originally Posted by aidandj (Post 1307864)
So no issue running 2 outputs to one LED? I couldn't think of any, but wanted to check.

No problem.

Braineack 02-15-2016 11:38 AM

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.

aidandj 02-15-2016 11:39 AM

Ok. Thanks. Its not really supposed to be a diagnostic light. Its more of an oh shit stop driving light.

stefanst 02-15-2016 01:36 PM

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.

Joe Perez 02-15-2016 01:54 PM


Originally Posted by stefanst (Post 1307904)
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.

Ben 02-15-2016 08:37 PM

What Joe said.

aidandj 02-15-2016 08:39 PM

Thanks guys. Wired it up today, will test once my extra resistors and caps come in.

Braineack 02-16-2016 10:57 AM

get an expander board, bro.

aidandj 02-16-2016 11:00 AM

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.

Braineack 02-16-2016 11:03 AM

1 Attachment(s)
for a simple relay output?

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


https://www.miataturbo.net/attachmen...ine=1455638836

aidandj 02-16-2016 11:06 AM

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.

stefanst 02-16-2016 02:55 PM

What type inputs? Analog? Are you going "Pat-nuts" with the pressure sensors?

aidandj 02-16-2016 02:57 PM

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

Braineack 02-16-2016 03:00 PM

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.

stefanst 02-16-2016 03:02 PM

damn....


All times are GMT -4. The time now is 04:41 PM.


© 2024 MH Sub I, LLC dba Internet Brands