MSPNP MSPNP specific Megasquirt related discussion.

Use dash CEL as a mod warning light with DIYPNP

Thread Tools
 
Search this Thread
 
Old 01-24-2013, 03:44 AM
  #1  
Junior Member
Thread Starter
iTrader: (1)
 
tuckntruck's Avatar
 
Join Date: May 2011
Location: South Jersey
Posts: 95
Total Cats: 3
Default 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?
tuckntruck is offline  
Old 01-24-2013, 04:25 AM
  #2  
Senior Member
iTrader: (1)
 
NiklasFalk's Avatar
 
Join Date: Jun 2006
Location: Sweden
Posts: 1,390
Total Cats: 63
Default

Reverant have been doing this for years on the MS Labs enhanced MSx
NiklasFalk is offline  
Old 01-24-2013, 04:31 AM
  #3  
Junior Member
Thread Starter
iTrader: (1)
 
tuckntruck's Avatar
 
Join Date: May 2011
Location: South Jersey
Posts: 95
Total Cats: 3
Default

Originally Posted by NiklasFalk
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))
tuckntruck is offline  
Old 01-24-2013, 05:15 AM
  #4  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

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.
Reverant is offline  
Old 01-24-2013, 08:52 AM
  #5  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

Originally Posted by tuckntruck
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?
Braineack is offline  
Old 01-24-2013, 04:24 PM
  #6  
Junior Member
Thread Starter
iTrader: (1)
 
tuckntruck's Avatar
 
Join Date: May 2011
Location: South Jersey
Posts: 95
Total Cats: 3
Default

Originally Posted by Braineack
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.

Last edited by tuckntruck; 01-24-2013 at 05:12 PM.
tuckntruck is offline  
Old 01-24-2013, 06:11 PM
  #7  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

The board uses CAN to communicate, the DIYPNP still has the CAN ports, so it's compatible
richyvrlimited is offline  
Old 01-24-2013, 06:14 PM
  #8  
Junior Member
Thread Starter
iTrader: (1)
 
tuckntruck's Avatar
 
Join Date: May 2011
Location: South Jersey
Posts: 95
Total Cats: 3
Default

Originally Posted by richyvrlimited
The board uses CAN to communicate, the DIYPNP still has the CAN ports, so it's compatible
Thanks!
tuckntruck is offline  
Old 01-28-2013, 11:42 AM
  #9  
Junior Member
 
JustinHoMi's Avatar
 
Join Date: Jul 2005
Location: Hillsborough, NC
Posts: 273
Total Cats: 1
Default

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.
JustinHoMi is offline  
Old 01-28-2013, 11:46 AM
  #10  
Junior Member
Thread Starter
iTrader: (1)
 
tuckntruck's Avatar
 
Join Date: May 2011
Location: South Jersey
Posts: 95
Total Cats: 3
Default

Originally Posted by JustinHoMi
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...
tuckntruck is offline  
Old 01-28-2013, 11:54 AM
  #11  
Junior Member
 
JustinHoMi's Avatar
 
Join Date: Jul 2005
Location: Hillsborough, NC
Posts: 273
Total Cats: 1
Default

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

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




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)

Attached Thumbnails Use dash CEL as a mod warning light with DIYPNP-09218-01c.jpg   Use dash CEL as a mod warning light with DIYPNP-freeduino_serial_v2_assembled1_l.jpg  
JustinHoMi is offline  
Old 01-28-2013, 07:17 PM
  #12  
Junior Member
Thread Starter
iTrader: (1)
 
tuckntruck's Avatar
 
Join Date: May 2011
Location: South Jersey
Posts: 95
Total Cats: 3
Default

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

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




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)

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?
tuckntruck is offline  
Old 01-28-2013, 08:26 PM
  #13  
Junior Member
 
JustinHoMi's Avatar
 
Join Date: Jul 2005
Location: Hillsborough, NC
Posts: 273
Total Cats: 1
Default

Originally Posted by tuckntruck
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.
JustinHoMi is offline  
Old 01-28-2013, 09:12 PM
  #14  
Junior Member
Thread Starter
iTrader: (1)
 
tuckntruck's Avatar
 
Join Date: May 2011
Location: South Jersey
Posts: 95
Total Cats: 3
Default

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
tuckntruck is offline  
Old 01-28-2013, 09:18 PM
  #15  
Junior Member
 
JustinHoMi's Avatar
 
Join Date: Jul 2005
Location: Hillsborough, NC
Posts: 273
Total Cats: 1
Default

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?
JustinHoMi is offline  
Old 01-28-2013, 09:56 PM
  #16  
Junior Member
iTrader: (2)
 
akbloom's Avatar
 
Join Date: Oct 2011
Location: Chicago Il
Posts: 121
Total Cats: 2
Default

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.
akbloom is offline  
Old 01-28-2013, 11:30 PM
  #17  
Junior Member
Thread Starter
iTrader: (1)
 
tuckntruck's Avatar
 
Join Date: May 2011
Location: South Jersey
Posts: 95
Total Cats: 3
Default

Originally Posted by akbloom
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.
tuckntruck is offline  
Old 01-31-2013, 04:04 PM
  #18  
Junior Member
 
JustinHoMi's Avatar
 
Join Date: Jul 2005
Location: Hillsborough, NC
Posts: 273
Total Cats: 1
Default

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

I also made an arduino-powered SD datalogger.
JustinHoMi is offline  
Old 02-01-2013, 12:48 PM
  #19  
Junior Member
Thread Starter
iTrader: (1)
 
tuckntruck's Avatar
 
Join Date: May 2011
Location: South Jersey
Posts: 95
Total Cats: 3
Default

That would be awesome! Very looking forward into digging into this
tuckntruck is offline  
Old 02-03-2013, 09:38 PM
  #20  
Junior Member
iTrader: (2)
 
akbloom's Avatar
 
Join Date: Oct 2011
Location: Chicago Il
Posts: 121
Total Cats: 2
Default

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


Quick Reply: Use dash CEL as a mod warning light with DIYPNP



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