Mode 22 PID

Inquiry and support for Freematics products
Post Reply
buick301
Posts: 1
Joined: Sun May 07, 2017 6:12 am

Mode 22 PID

Post 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.
etnaskynet
Posts: 11
Joined: Fri Jan 31, 2020 8:00 pm
Location: Italy

Re: Mode 22 PID

Post 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.
pista01
Posts: 3
Joined: Tue Oct 27, 2020 8:23 am

Re: Mode 22 PID

Post by pista01 »

Did you guys have any luck with this?
etnaskynet
Posts: 11
Joined: Fri Jan 31, 2020 8:00 pm
Location: Italy

Re: Mode 22 PID

Post by etnaskynet »

No...
Post Reply