Sponsored

PID experimenting

OP
OP
fordtruckman2003

fordtruckman2003

Well-known member
Joined
Apr 28, 2023
Threads
26
Messages
4,587
Reaction score
3,746
Location
Indy
Vehicles
2021 F-150 FX4 Lariat
If you get bored, it appears to be on driver side attached to the oil filter bracket behind the oil filter on the 3.5. :)

Part #13.

Ford F-150 PID experimenting Screenshot_20231029-201735
Sponsored

 

Snakebitten

Well-known member
First Name
Bruce
Joined
Jun 19, 2021
Threads
5
Messages
11,560
Reaction score
22,964
Location
Coastal Texas
Vehicles
2022 F150 KingRanch Powerboost
Definitely not all the same design

Ford F-150 PID experimenting Screenshot_20231029_191527_Brav


Ford F-150 PID experimenting Screenshot_20231029_191445_Brav


Ford F-150 PID experimenting Screenshot_20231029_191626_Brav
 

Snakebitten

Well-known member
First Name
Bruce
Joined
Jun 19, 2021
Threads
5
Messages
11,560
Reaction score
22,964
Location
Coastal Texas
Vehicles
2022 F150 KingRanch Powerboost
If you get bored, it appears to be on driver side attached to the oil filter bracket behind the oil filter on the 3.5. :)

Part #13.

Screenshot_20231029-201735.png
Yes, very close to same location as the Coyote
 
OP
OP
fordtruckman2003

fordtruckman2003

Well-known member
Joined
Apr 28, 2023
Threads
26
Messages
4,587
Reaction score
3,746
Location
Indy
Vehicles
2021 F-150 FX4 Lariat
Interesting...
When I was looking at part store websites none would show me any sensors like the Ford design when I put in my vehicle information. I was trying to find one to show pins.
 
OP
OP
fordtruckman2003

fordtruckman2003

Well-known member
Joined
Apr 28, 2023
Threads
26
Messages
4,587
Reaction score
3,746
Location
Indy
Vehicles
2021 F-150 FX4 Lariat
Okay this is the last generation part 2015-2022. It also has 3 wires. It was gen 12 that used the dumb switch. Looks physically the same and it probably is exactly the same from different supplier. Ford kept doing that with spark plugs for a bit. Functionally equal were getting new part numbers because Ford is Ford.

GN1Z9D290D

Ford F-150 PID experimenting 1698626270466
 

Sponsored

Snakebitten

Well-known member
First Name
Bruce
Joined
Jun 19, 2021
Threads
5
Messages
11,560
Reaction score
22,964
Location
Coastal Texas
Vehicles
2022 F150 KingRanch Powerboost
Does 3 pins suggest variable value functionality? It seems that it would.
 
OP
OP
fordtruckman2003

fordtruckman2003

Well-known member
Joined
Apr 28, 2023
Threads
26
Messages
4,587
Reaction score
3,746
Location
Indy
Vehicles
2021 F-150 FX4 Lariat
A dumb sensor would only need one wire creating resistance to ground. At least that is how most simple sensors work from my experience.

I am guessing multiple wires would have voltage in and going out for the reading.
 

Snakebitten

Well-known member
First Name
Bruce
Joined
Jun 19, 2021
Threads
5
Messages
11,560
Reaction score
22,964
Location
Coastal Texas
Vehicles
2022 F150 KingRanch Powerboost
Mystery solved?! ?
 
OP
OP
fordtruckman2003

fordtruckman2003

Well-known member
Joined
Apr 28, 2023
Threads
26
Messages
4,587
Reaction score
3,746
Location
Indy
Vehicles
2021 F-150 FX4 Lariat
We can assume a lot of things until someone proves us wrong. ?
I just know the PID works. :)
 

Snakebitten

Well-known member
First Name
Bruce
Joined
Jun 19, 2021
Threads
5
Messages
11,560
Reaction score
22,964
Location
Coastal Texas
Vehicles
2022 F150 KingRanch Powerboost
Indeed it does!

Thanks again.
 

Sponsored


oneinch

Well-known member
Joined
Apr 17, 2022
Threads
36
Messages
629
Reaction score
565
Location
Philly area
Vehicles
2022 F150 Powerboost, 2022 Maverick Lariat Lux
I use Torque, not OBDLink. I can create custom PIDs, but only when someone tells me the exact details. Otherwise this is Greek to me. Below are the fields I fill out to create a PID; some of which might not need to be populated. Following these fields is what I believe I need to do to create an Oil Pressure PID and an Oil Life PID. I'm pretty sure the long and short names are user defined, but the other bits are specific.

Anyhow, are my custom PID parameters correct?

One more question. In the oil pressure formula, what exactly is 'A' and 'B'? I've never understood this.

OBD2 mode and PID:
Long Name:
Short Name:
Min value:
Max value:
Scale factor:
Unit type:
Equation:
OBD header:
Diagnostic start command:
Diagnostic stop command:
Min refresh delay:

OBD2 mode and PID: 220415
Long Name: Engine Oil Pressure
Short Name: EOP
Min value: 0
Max value: 100
Scale factor: x1
Unit type: PSI
Equation: ((A*256)+B)*0.1450377377
OBD header:
Diagnostic start command:
Diagnostic stop command:
Min refresh delay:

OBD2 mode and PID: 22054b
Long Name: Oil Life %
Short Name: Oil %
Min value: 0
Max value: 100
Scale factor: x1
Unit type: %
Equation: A
OBD header:
Diagnostic start command:
Diagnostic stop command:
Min refresh delay:
 
OP
OP
fordtruckman2003

fordtruckman2003

Well-known member
Joined
Apr 28, 2023
Threads
26
Messages
4,587
Reaction score
3,746
Location
Indy
Vehicles
2021 F-150 FX4 Lariat
I use Torque, not OBDLink. I can create custom PIDs, but only when someone tells me the exact details. Otherwise this is Greek to me. Below are the fields I fill out to create a PID; some of which might not need to be populated. Following these fields is what I believe I need to do to create an Oil Pressure PID and an Oil Life PID. I'm pretty sure the long and short names are user defined, but the other bits are specific.

Anyhow, are my custom PID parameters correct?

One more question. In the oil pressure formula, what exactly is 'A' and 'B'? I've never understood this.

OBD2 mode and PID:
Long Name:
Short Name:
Min value:
Max value:
Scale factor:
Unit type:
Equation:
OBD header:
Diagnostic start command:
Diagnostic stop command:
Min refresh delay:

OBD2 mode and PID: 220415
Long Name: Engine Oil Pressure
Short Name: EOP
Min value: 0
Max value: 100
Scale factor: x1
Unit type: PSI
Equation: ((A*256)+B)*0.1450377377
OBD header:
Diagnostic start command:
Diagnostic stop command:
Min refresh delay:

OBD2 mode and PID: 22054b
Long Name: Oil Life %
Short Name: Oil %
Min value: 0
Max value: 100
Scale factor: x1
Unit type: %
Equation: A
OBD header:
Diagnostic start command:
Diagnostic stop command:
Min refresh delay:
Torque you can put kPa in the unit type and drop the multiplication part, it will convert to psi for you. Not essential just a nice feature it does.

A and B in both apps have to do with which byte of the reply message you are referencing.

This is screenshot of Torque when you hit the test button under custom PID.
Response always starts with 62, then the PID we requested, 0415, then the data 00E3. First byte is A variable, second byte is B variable. For this PID when it exceeds 256 it will be 1 in the A, with remainder in B. That is why you'll see that (A*256)+B in many custom PID.

Ford F-150 PID experimenting Screenshot_20231027-111148
 

oneinch

Well-known member
Joined
Apr 17, 2022
Threads
36
Messages
629
Reaction score
565
Location
Philly area
Vehicles
2022 F150 Powerboost, 2022 Maverick Lariat Lux
I think I only understand a small part of your answer, but thanks for the explanation. I asked Google's BARD what A and B were in the Oil Life % calculation when the answer is 54%. BARD gave me an answer, even explaining how it arrived at the answer, but I don't think its answer is correct. Not that BARD is wrong. I think my question is wrong based upon your explanation. For grins here are the screen prints.

Ford F-150 PID experimenting 1000001606
Ford F-150 PID experimenting 1000001607
 

oneinch

Well-known member
Joined
Apr 17, 2022
Threads
36
Messages
629
Reaction score
565
Location
Philly area
Vehicles
2022 F150 Powerboost, 2022 Maverick Lariat Lux
The two custom PIDs I detailed earlier (with information garnered from others in this post) seem to in fact work. The oil life % PID matches my truck's own display. The oil pressure PID is reading something that seems to be oil pressure. I don't truly know, but I'm rolling with it.

Follow up edit: The oil pressure reading is a bit strange. When in all electric the pressure is 15 psi. When the engine does fire up the pressure jumps to 80+ but settles down to 37± and this seems about right.
 
Last edited:

RcFlyer330

Well-known member
First Name
Cameron
Joined
Jan 31, 2022
Threads
1
Messages
280
Reaction score
277
Location
Michigan
Vehicles
2022 F150 Limited Powerboost
The two custom PIDs I detailed earlier (with information garnered from others in this post) seem to in fact work. The oil life % PID matches my truck's own display. The oil pressure PID is reading something that seems to be oil pressure. I don't truly know, but I'm rolling with it.

Follow up edit: The oil pressure reading is a bit strange. When in all electric the pressure is 15 psi. When the engine does fire up the pressure jumps to 80+ but settles down to 37± and this seems about right.
The reason for the 15 psi in electric with engine off is because the gauge is not compensating for atmospheric pressure. atmospheric pressure is around 14.7 psi at sea level. this is also why the dash gauge does not completly go away in electric mode. In shorter terms the gauge reads PSIA not PSIG. If you where to hook up a mechanical psi gauge to the engine the oil pressure would be about 15 psi less than what this pid reads.
Sponsored

 
 







Top