brendan-w / python-OBD

OBD-II serial module for reading engine data
GNU General Public License v2.0
1.08k stars 371 forks source link

PID 34: 02 Sensor 1 WR Lambda Current - No Air-Fuel Equivalence #273

Open Quautiputzli opened 7 months ago

Quautiputzli commented 7 months ago

Hello, I want to read the air fuel Ratio. I use the PID 34. This is the answer:

[obd.obd] Sending command: b'0134': 02 Sensor 1 WR Lambda Current [obd.elm327] write: b'0134\r' [obd.elm327] read: b'48 6B 09 41 34 7B D1 7F CC C8 \r\r>' -0.203125 milliampere

read: b'48 6B 09 41 34 7B D1 7F CC C8

In the answer, the bold bytes are the current, and the italic bytes schould be the Ratio. On wikipedia I found the Formula:

Bild_2024-04-06_114446898

https://en.wikipedia.org/wiki/OBD-II_PIDs

Can you pleas ad the Ration to the standard PIDs? Thanks