I recently purchased the UART OBDII adapter from your website. I'm using it with my Arduino Uno with great success. I recently came across a metric that I would like to use in my code (Transmission temperature for my vehicle). As far as I understand, it's a mode 22 PID. The information I found is as follows:
PID: 221940
equation: A - 40
OBD header: 7E2
Scale factor: 1x
I tried adding to the OBD2UART.h:
#define PID_TRANS_TEMP 0x221940
And then this to the temperature cases in the .cpp because they used the same equation:
case PID_TRANS_TEMP:
I'm getting a number but it isn't correct (even considering different possible temperature units) (I can verify the correct transmission temperature from the vehicle's data information center).
Are you able to point me in the right direction? Any help would be greatly appreciated. Thanks for your time.
Mode 22 PID
-
- Posts: 11
- Joined: Fri Jan 31, 2020 8:00 pm
- Location: Italy
Re: Mode 22 PID
Hello Buick,
did you success with mode 22 PID?
I am in your same situation:
PID = 222554
OBD header: 7E0
and I want to add this custom PID in order to use readPID function.
Thanks.
did you success with mode 22 PID?
I am in your same situation:
PID = 222554
OBD header: 7E0
and I want to add this custom PID in order to use readPID function.
Thanks.
Re: Mode 22 PID
Did you guys have any luck with this?