Page 1 of 1

Mode 22 PID

Posted: Sun May 07, 2017 6:28 am
by buick301
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.

Re: Mode 22 PID

Posted: Tue Mar 03, 2020 8:49 am
by etnaskynet
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.

Re: Mode 22 PID

Posted: Sun Dec 13, 2020 3:08 am
by pista01
Did you guys have any luck with this?

Re: Mode 22 PID

Posted: Fri Dec 10, 2021 5:58 am
by etnaskynet
No...