ISO init needs some changes according to
http://www.koch-engineering.com/file...ISO14230-2.pdf
NEW URL
http://sos.teja.lt/~eimix/misc/ecomm...SO_14230-2.pdf
page 14.
Timing issues: need delay before replying ~kw1 and one more delay before receiving 0xCC:
quick hack would be replace
Code:
// send ~kw2 (invert of last keyword)
iso_write_byte(~b);
// ECU answer by 0xCC (~0x33)
iso_read_byte(&b);
with
Code:
delay(25);
// send ~kw2 (invert of last keyword)
iso_write_byte(~b);
// ECU answer by 0xCC (~0x33)
byte i=0;
while(i<3 && !iso_read_byte(&b))
{
i++;
}
Now it inits well, shows all stuff
After i turn car of - OBDuino32K states trip is saved and turn backlight after while.
But after car is started - Obduino32K is not coming back. Backlight is off, but it responds to buttons. Any ideas?