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/)
-   -   Alarm light setup for Oil Temperature (https://www.miataturbo.net/megasquirt-18/alarm-light-setup-oil-temperature-98420/)

lbatalha 10-26-2018 01:49 PM

Alarm light setup for Oil Temperature
 
I've recently installed an Oil Temp sensor, working nicely with the MS3Basic.
I also have an Oil Pressure sensor, the warnings there are configurable in their own table which lights up the CEL with the specific code.

I'd like to setup a similar alarm system for the oil temperature, but there doesnt seem to be a way to natively handle this.
Ive noticed the Programmable On/Off Outputs section, but it claims to not be able to use already assigned outputs for other features. Could this be used anyway for the CEL output (it would just override the output)

I've also googled around about just using another spare output to drive an LED, but I have not come up with much information about easy to implement parts (without wiring up just a normal LED with a bunch of extra passive components)

Has anyone implemented something similar?

DNMakinson 10-26-2018 02:43 PM

You can use a spare output to light an LED. Just verify the driving voltage and put an appropriate resistor in series with the LED. You can multi-plex the LED output using loops: for example oil temp OR water temp can light it. IIRC the MS3Basic sinks all spare outputs (puts the connected wire to ground).

We discussed some of that here

lbatalha 10-26-2018 06:04 PM

Thanks, ill have to fiddle around and see what kind of voltages im looking at, and also a neat way to mount the LEDs. Wish MS just had a table for this, for instance to reduce rev limiter like it does for CLT.

From what I can understand, I just enable Loop 2 for instance, using the conditions I want, and then setup another output to my LED which takes the `loop` output and evaluates its value.

Ive noticed the ms3 basic came with a couple of outputs pre-configured, one is Loop 1 triggering when sensor01 > 3.1. I assume this is just an example and refers to Generic Sensor Input 01, which Ive made Oil pressure, so I guess I can turn it off, as it has no actual effect.
The others are a bit weird:
PA6 is enabled when coolant > 99C and RPM > 500
PA7 when Coolant < 50C and RPM > 2500

No idea what these do.

Ive noticed also there is only one loop output channel, so if you have multiple loop outputs being set, they just SUM (so possible values are 0-3)?

DNMakinson 10-26-2018 09:03 PM

PA-7 is VICS on my car.

I don't have much more to offer. Maybe I mis-understand loops. Others with more knowledge may join the discussion.

I don't know what you mean by summing 0-3. I view them as AND / OR statements driving a single output, either on or off, not try-stated.

lbatalha 10-27-2018 07:14 AM

What I mean is, there are 3 individual Loop options in the On/Off Interface. But when you configure a physical output pin, in the conditionals, there is only one `loop` output to evaluate. So if Loop1 == True, `loop` is 1 (this shows up on logs). But what if Loop1, Loop2 and Loop3 are True, then if the value is summed, it would show up as 3 in the logs.

(as for PA7 I have an EUDM car with square top, so only VVT, no vics, A/C or other systems)

lbatalha 10-28-2018 04:16 PM

Update for posterity: the 3 loop variables are just part of a 3 bit number that is set to the output variable `loop`

So the digits of the number(000 to 111) follow this order: Loop3 / Loop2 / Loop1.


Anyway as Makinson said, the actual output wires are sunk to ground, so your positive cable should go to the 5v source, your negative to your Output wire (its set to 5v when disabled and Ground when active)


All times are GMT -4. The time now is 12:35 PM.


© 2024 MH Sub I, LLC dba Internet Brands