Hi everyone,
I just received my UART OBD2 adapter and did a quick sketch to try it
I am reading the following PIDs:
obd.read(PID_RPM, rpm);
obd.read(PID_AMBIENT_TEMP, temp);
obd.read(PID_SPEED, vitesse);
obd.read(PID_CONTROL_MODULE_VOLTAGE, volt);
Everything is fine exept for the Ambient temp which gives me a value of around 517 (it's minus -11 outside right now)
Am I doing something wrong?
Thank's!
Getting wrong temperature value
Re: Getting wrong temperature value
You need to check if read() returns true of false. If the data is not available from your car, it returns false and thus value is not valid.