View Single Post
Old 02-16-2009, 10:00 PM   #312 (permalink)
electromike
EcoModding Lurker
 
Join Date: Oct 2008
Location: nova scotia
Posts: 35
Thanks: 2
Thanked 0 Times in 0 Posts
RPM will never reach zero

The RPM will never reach zero with the configuration I have. I am using the iso version(not using elm chip), and as soon as the car is shut off, the communication stops with the obduino and the obduino "freezes". (I guess the ecu doesn't run when you put the car to acc.)

I assume this is because it is getting stuck trying to receive a data packet from the car and that it can not go any father or save the data once the car is shut off because it will always be waiting for a packet.

looking at the code in the receive data function there is a line of code that is something like while(receive()==-1).

Would it be hard for there to be a timeout function added. and upon failure it will save its trip data and reset itself so it can attempt to reinitialize with the car?
  Reply With Quote