Originally Posted by
Y2KG20 Cool deal, you are the man! If anyone hasn't tried this on a stock ecu turbo car I'm up for testing it. (building one as we type)
Question for Dala the great: Is there anyway to get the ignition timing output from this since you are already picking up the CAS information? I only ask because the 2000+ ECU's will not talk through the OBDII for that info very well. If you can get them to talk they are too slow to update.
Yeah you theoretically could get a timing readout from the Arduino by modifying the code to store when IGN happens and count the amount of CR pulses since last CP pulse.
However, getting this done might not be easy. In my code I stop counting CR pulses after startup to save resources on the Arduino. The triggerwheel Nissan used has so many holes in it (360!), so it takes so much CPU time to get interrupted so often. Then we also get the firing spark interference that could collide with this interrupt, so this approach might not be feasible.
Say this wasn't an issue, then there would be another issue of getting the timing displayed to the end user. Serial printouts via USB also take up resources. I have no idea how good/bad the program would work with simultaneously outputting spark and serial data. Having an LCD could maybe be less resource intensive, but I can't remember which is better atm.
If you still want to try a timing readout, I could assist with writing a base application. I would still recommend to first convert to COP, and later on add the timing readout when COP is working like it should.
EDIT: Another idea would be to have a separate arduino to only do timing readout. Then there would be no danger involved. Hmm..