Skip to content

Instantly share code, notes, and snippets.

@agronick
Created September 9, 2023 23:37
Show Gist options
  • Select an option

  • Save agronick/4d01cfe7f94dd41eeeb46f5e5dd204b8 to your computer and use it in GitHub Desktop.

Select an option

Save agronick/4d01cfe7f94dd41eeeb46f5e5dd204b8 to your computer and use it in GitHub Desktop.
Mazda 3 PIDs (Rough List)
Name ShortName ModeAndPID Equation Min Value Max Value Units Header startDiagnostic stopDiagnostic scale minimumRefreshDelayMillis
[FORD]Coolant temperature(From TCM) Coolant 0x0105 A-40 0 120 °C TCM 1 0
[FORD]Engine Oil Temp EOT 0x221310 (((A*256)+B)/100)-40 0 300 °C Auto 1 0
Boost Pressure BOOST 0x22f470 ((D*256+E)/32-[33])/100 -0.5 1.8 bar 7E0 1 0
Boost Pressure Desired BOOST DSD 0x22f470 ((B*256+C)/32-[33])/100 -0.5 1.8 bar 7E0 1 0
Brake Fluid Pressure BFP 0x22280a (A*256+B)*100/128 0 65535 kPa 7E0 1 0
Brake Switch BRAKE SW 0x22da05 {A:7} 0 1 ON/OFF 726 1 0
Charge Air Cooler Temperature CACT 0x22f477 C-40 -40 100 °C 7E0 1 0
Coupling Solenoid Duty Cycle CUP SOL 0x221e7a A*100/255 0 100 % 761 1 0
Distance from Bumper to Target DIST BMP TGT 0x22d901 B/4 0 16 m 793 1 0
Fuel Injection Amount Learning Count (Automatic) INJ AL FRQ 0x22daae M 0 255 7E0 1 0
Fuel Injection Amount Learning Distance (Automatic) INJ AL DIS 0x22daae I*256+J 0 65535 km 7E0 1 0
Fuel Injection Amount Learning Distance (Manual) INJ WL DIS 0x22daae K*256+L 0 65535 km 7E0 1 0
Gear GEAR 0x221e12 LOOKUP(A:A:50='N':60='R':70='P') 0 100 7E1 1 0
Intake Manifold Absolute Pressure IMAP 0x22f470 (D*256+E)/32 0 300 kPa 7E0 1 0
Intake Manifold Absolute Pressure Desired IMAP DSD 0x22f470 (B*256+C)/32 0 300 kPa 7E0 1 0
Intake Shutter Valve Position ISV POS 0x22f411 A*100/255 0 100 % 7E0 1 0
Lock Up LOCK UP 0x221e24 A 0 1 ON/OFF 7E1 1 0
MZ Baro Baro 0x22f433 A 0 255 kPa 1 0
MZ Boost Desired DSD Boost 0x221305 (((A*256)+B)/64)/100 -0.6 1.8 Bar 1 0
MZ Boost Extended Boost 0x0b ((A+256*(1-((24-A)&256)/256))-[22F433])/100 -0.6 1.8 Bar 1 0
MZ Boosted Air Temperature Boosted Air 0x22f446 A-40 -40 215 °C 1 0
MZ Dummy T&P Monitor 0xffffff A 0 100 1 0
MZ EGR Open (%) EGR OP 0x2203fb (A*100)/255 0 100 % 1 0
MZ EGR Open (mm) EGR OP 0x220306 ((A*256)+B)/100 0 100 mm 1 0
MZ Exhaust Differential Pressure (V) EX DP 0x2203db ((A*256)+B)/200 0 4.5 Volts 1 0
MZ Fuel Level Fuel 0x2261b1 A 0 55 Liters 720 1 0
MZ Fuel Pump Load Fuel Pump Load 0x220307 (((A*256)+B)*100)/65535 0 100 % 1 0
MZ Fuel Temp Fuel T 0x220522 A-40 -40 215 °C 1 0
MZ Intake Shutter Valve Angle ISV Angle 0x22093c ((A*256)+B)/512 0 90 deg° 1 0
MZ Intake Shutter Valve POS (%) ISV Pos 0x22f411 (A*100)/255 0 100 % 1 0
MZ MAP (V) MAP (V) 0x220301 ((A*256)+B)/1000 0 3.5 Volts 1 0
MZ MAP (V-kPa) MAP (V-kPa) 0x220301 (((A*256)+B)-(-100))*(1/12) 0 280 kPa 1 0
MZ MAP kPa MAP kPa 0x0b A+256*(1-((24-A)&256)/256) 0 280 kPa 1 0
MZ Oil Dil Events Oil Dil EV 0x220435 A 0 255 n 1 0
MZ Oil Dil Quantity Oil Dil Qty 0x2203e1 (A*256)+B 0 65535 Kg 1 0
MZ Oil Last change distance Oil changed 0x220519 ((A*256)+B)*4 0 20000 Km ago 1 0
MZ Oil Max Distance to change Oil MXD 0x220542 ((A*256)+B) 0 21000 Km 1 0
MZ Oil Next change distance Oil Change in 0x220519 [220542]-(((A*256)+B)*4)-1000 0 21000 Km 1 0
MZ Oxigen Concentration O2 0x220451 (A*100)/255 0 100 % 1 0
MZ Timing Chain Elongation Angle TC Angle 0x22daa1 (((A*256)+B)-32768)/1000 0 15 deg° 1 0
MZ Timing Chain Elongation Angle 2 TC Angle 2 0x22daa1 (((C*256)+D)-32768)/1000 0 15 deg° 1 0
MZ VGT Open (%) VGT OP 0x2203df (((A*256)+B)*100)/65535 0 100 % 1 0
MZ VGT Open (mm) VGT OP 0x22050f A/2.5738798856 0 100 mm 1 0
Oil Change Distance OIL CHG DIS 0x220519 (A*256+B)*4 0 20000 km 7E0 1 0
Target Distance TGT DIS 0x22dc74 (A*256+B)/10 0 500 m 764 1 0
Torque Actual TORQUE ACT 0x221ee4 (SIGNED(A)*256+B)/50 -100 500 N⋅m 7E1 1 0
Torque Desired TORQUE DES 0x221ec7 (SIGNED(A)*256+B)/50 -100 500 N⋅m 7E1 1 0
Total Distance TOTAL DIST 0x22dd01 (A<16)+(B<8)+C 0 100000 km 7E0 1 0
Transmission Fluid Temperature TFT 0x221e1c (SIGNED(A)*256+B)/16 -40 1000 °C 7E1 1 0
Turbocharger A Compressor Inlet Pressure TCA CINP 0x22f46f B*8 0 2040 kPa 7E0 1 0
Turbocharger B Compressor Inlet Pressure TCB CINP 0x22f46f C*8 0 2040 kPa 7E0 1 0
@agronick
Copy link
Author

agronick commented Jan 6, 2025

2022

@R14014
Copy link

R14014 commented Jul 22, 2025

Which engine of your Mazda 3. Is it Skyactive D or G

@krprice84
Copy link

How can you find these? I'm looking to find the information for the fuel rail pressure (both desired and actual) as well as the air to fuel ratio (again both desired and actual).

The fuel pressure values are available to select in OBD Fusion to add to the dashboard so the values can be displayed, but they are under the Mazda/Network A - Powertrain Control Module/ and then the names shown for each value are:

Fuel Pressure Desired
Fuel Pressure Sensor

While the air fuel ratio values are available in a few places, though the ones I have been using are both in the Calculated PIDs section and the names shown for each value are:

A/F Commanded
A/F Actual

Do you have any guidance on how exactly I could find the detailed info for these?

And I guess as a very long shot, what I'd really like to do is create a user defined PID where I can subtract the actual value from the desired/commanded value which would allow me to display the difference between commanded and actual values. But when I go to create a user defined PID, the only PIDs I can select from as inputs are from the SAE PIDs category. So I'm hoping there is a way that I can use the hex values for the ones I'm looking for here perhaps? Any suggestions or guidance would be super super appreciated, thanks in advance!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment