Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MSPNP (https://www.miataturbo.net/mspnp-55/)
-   -   Use dash CEL as a mod warning light with DIYPNP (https://www.miataturbo.net/mspnp-55/use-dash-cel-mod-warning-light-diypnp-70613/)

tuckntruck 01-24-2013 03:44 AM

Use dash CEL as a mod warning light with DIYPNP
 
Pretty much as it says, I'd like to use the CEL on the Dash as a mode warning light from my diypnp... I was thinking of useing Jean io expander board and setting a bunch of conditions to trigger the CEL to illuminate (battery volts over/under norm), knock, etc...

has anybody else run something like this?

NiklasFalk 01-24-2013 04:25 AM

Reverant have been doing this for years on the MS Labs enhanced MSx

tuckntruck 01-24-2013 04:31 AM


Originally Posted by NiklasFalk (Post 971512)
Reverant have been doing this for years on the MS Labs enhanced MSx

right, the regular versions of MS have many more input/ouptuts available... the DIYPNP as youre aware, is limited. I'm already using PA0,PE1,and Flex... so i don't have a lot of options. Using Jean's I/O board would make it much, much easier... but I haven't found anybody using that board, with the DIYPNP, and running the CEL ligth option with it..

(I'm also running sequential injection (-2 ports))

Reverant 01-24-2013 05:15 AM

Like NiklasFalk said, I've been doing this for years. The latest CAN-bus enabled version of the Enhanced MS2 has programmable thresholds for many parameters - low RPM, coolant, knock, low/high oil temp, low oil pressure, EGTs.

Braineack 01-24-2013 08:52 AM


Originally Posted by tuckntruck (Post 971510)
Pretty much as it says, I'd like to use the CEL on the Dash as a mode warning light from my diypnp... I was thinking of useing Jean io expander board and setting a bunch of conditions to trigger the CEL to illuminate (battery volts over/under norm), knock, etc...

has anybody else run something like this?


what exactly do you want it to display from? or do you want it to have so many things that can trigger it, when you see it go off you'll just pull your motor and replace to diagnose?

tuckntruck 01-24-2013 04:24 PM


Originally Posted by Braineack (Post 971541)
what exactly do you want it to display from? or do you want it to have so many things that can trigger it, when you see it go off you'll just pull your motor and replace to diagnose?

I'd like under voltage ( less than 13.2), knock detect (blink), water injection off/ failed. Oil pressure to the warning buzzer, oil tans and dif temp to the light.

Mainly just want to make sure that board is compatible with the diypnp., I've got some other ideas kicking around.. My wife has a hard time with the light weight flywheel/ MT... Be nice to have a "mommy" switch to engage idle up without turning on the AC, I'd like to port the manifold and put water injection in each runner, and run it like a second set of injectors. A lot of this is just tinker work, once I seriously get time again, I'm going different direction with the car.

richyvrlimited 01-24-2013 06:11 PM

The board uses CAN to communicate, the DIYPNP still has the CAN ports, so it's compatible :)

tuckntruck 01-24-2013 06:14 PM


Originally Posted by richyvrlimited (Post 971778)
The board uses CAN to communicate, the DIYPNP still has the CAN ports, so it's compatible :)

Thanks!

JustinHoMi 01-28-2013 11:42 AM

I've been doing this with an arduino pro mini wired to the serial port (internally). It requires programming knowledge though, so it's not the simplest option for most people. It is probably the most flexible though.

tuckntruck 01-28-2013 11:46 AM


Originally Posted by JustinHoMi (Post 972768)
I've been doing this with an arduino pro mini wired to the serial port. It requires programming knowledge though, so it's not the simplest option for most people. It is probably the most flexible though.

Interesting... Hadn't considered that option...

JustinHoMi 01-28-2013 11:54 AM

2 Attachment(s)
This is the board I use. It's tiny, and will easily fit in the case.

https://www.sparkfun.com/products/11113

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


If you're really lazy you could use a regular serial arduino plugged into the external serial port (although you'd have to make a custom serial cable):

Freeduino Serial v2.0 KIT (Arduino Duemilanove Compatible)

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

tuckntruck 01-28-2013 07:17 PM


Originally Posted by JustinHoMi (Post 972773)
This is the board I use. It's tiny, and will easily fit in the case.

https://www.sparkfun.com/products/11113

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


If you're really lazy you could use a regular serial arduino plugged into the external serial port (although you'd have to make a custom serial cable):

Freeduino Serial v2.0 KIT (Arduino Duemilanove Compatible)

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

Cool, could use this set up to make it flash a sequence to troubleshoot faults.. If I'm understanding correctly, your just pulling data off the serial connection, so you could still run it to a Bluetooth adapter for tuning/ shadow dash if desired.

Not sure if its too much to ask, but, mind sharing the details of your set up?

JustinHoMi 01-28-2013 08:26 PM


Originally Posted by tuckntruck (Post 972919)
Cool, could use this set up to make it flash a sequence to troubleshoot faults.. If I'm understanding correctly, your just pulling data off the serial connection, so you could still run it to a Bluetooth adapter for tuning/ shadow dash if desired.

Not sure if its too much to ask, but, mind sharing the details of your set up?

Yeah, you could flash a sequence. The code I wrote emulates the stock CEL behavior exactly (except I only handled a few codes).

I can share details, but only if you're very serious about doing it. I don't want to spend time on this otherwise. I designed it 3 years ago, so it would take some time to put everything together. And it was originally designed for MS-I/Extra, so me (or someone) would have to update the code to get it to work with the MS-II. I've written code to interface w/ MS-II before, I'd just have to put it together.

And yeah, you should be able to use a bluetooth adapter for tuning, etc, but it will disable the arduino while you're using the serial port for other purposes.

tuckntruck 01-28-2013 09:12 PM

I see another sleepless night spent on Google :-) unfortunately, the last programming class I took was ( in the computer world) a long time ago, and I only paid passing attention to these project micro controllers. Mentioning it creaky got the wheels turning though. If you solder it into the board directly, and leave the serial port open, unless I'm way of base, it should still pass the data right? I would just run the outputs through a different connector.

If its a ton of work, don't worry about it, but I'd deg appreciate a starting point. Ordered a board tonight, so hopeful I can start digging into it soon!

Again, thanks for dropping the idea in the thread, looks like a much better solution then what I was planning

JustinHoMi 01-28-2013 09:18 PM

The serial protocol on the megasquirt is 2-way. The controller (arduino, laptop, phone, whatever) sends a command to request data, and then the megasquirt replys with the data. So if you have two controllers plugged in at the same time, they'll interfere with each other. So I just added a small circuit that monitors the voltage on the serial port line, and ran that to an input on the arduino. When the arduino sees the voltage change, then it goes to sleep.

Which board did you get?

akbloom 01-28-2013 09:56 PM

Fellow Arduino and Megasquirt user (but not together ... yet) I would LOVE to see the code you wrote. Luckily I happen to be MS-1/Extra as well.

If you can remember the schematic you used for the voltage check switching I'd love to see that too, but I'm not sure it would work for me as I was planning on soldering in a BT adapter.

tuckntruck 01-28-2013 11:30 PM


Originally Posted by akbloom (Post 972952)
Fellow Arduino and Megasquirt user (but not together ... yet) I would LOVE to see the code you wrote. Luckily I happen to be MS-1/Extra as well.

If you can remember the schematic you used for the voltage check switching I'd love to see that too, but I'm not sure it would work for me as I was planning on soldering in a BT adapter.

The more I think about it, no need for the CEL if I'm using shadow dash, or the laptop to tune/log. Its just fire the times that I don't want to bring the tab/laptop. On the diypnp, I was thinking of running a switch in the BT jumper location ( 5v to pin 9) I could simply run power from the switch to the board to shut it down, that way either the chip is powered, or the BT adapter...

I got the mini pro..( @ 19 bucks it's worth a shot) well two of them for now, there is a lot of interesting stuff, the done control board with gyro, GPS, baro/temp data and built in data loigging could be interesting as well.

JustinHoMi 01-31-2013 04:04 PM

I'll gladly share the source code... I just gotta find it :)

I also made an arduino-powered SD datalogger.

tuckntruck 02-01-2013 12:48 PM

That would be awesome! Very looking forward into digging into this

akbloom 02-03-2013 09:38 PM

Me to. I'm excited to see what you put together. Maybe we can collaborate on something?


All times are GMT -4. The time now is 03:51 AM.


© 2024 MH Sub I, LLC dba Internet Brands