>NO DATA
Posted: Tue Aug 26, 2014 12:36 pm
Having a slight issue with my adapter cable and would like to confirm if it is a code or a cable issue. My setup is currently just an arduino nano and a TTL to RS232 adapter reading the passing RX and TX signals from the cable to the arduino. My adapter connects to the cable using the standard while(!obd.init()) and while doing so the serial console prints SEARCHING... which I would suspect would be the case. If no connection can be established (ie: car is off) the console prints UNABLE TO CONNECT and tries again. Also as I would expect. Now, when a successful connection is established I simply read by if(obd.read(PID_RPM, rpm)) which returns some value which evaluates to true as the program continues and flashes an LED and yet the console just prints NO DATA. The rpm value also does not evaluate to that of the car and yet seemingly reads correctly from the cable. Any ideas? (car is a 1999 VW passat which is using ISO-9141 protocol which is supported by this cable)