View Full Version : ODBI Serial Format
q2418130103p
09-07-2014, 06:17 PM
Does anyone have a guide, or source code, for the format of the data in the ODB1 serial interface?
RealMcCoy
09-07-2014, 08:28 PM
There's few members here that have it down... The one that I've had the most interaction with, and has been extremely helpful to me is member "blackstealth" you might try getting in touch with him.
http://mmcdlogger.sourceforge.net/ will probably be of some help.
q2418130103p
09-11-2014, 09:01 PM
Thanks guys. The table of commands on that mmcd page is more than enough to get me started.
Just in case that page every disappears I will copy it to the thread:
About the Protocol
The protocol is simple: request-reply. Request and reply are one-byte message. I have found requests and reply interpretations on the web one a web page called "DSM Open Source Datalogger Project". I've found no source there, so I've decided to make one... ;) There's what I found:
Sensor Address Function Unit
Accel Enrichment 0x1D 100x / 255 %
Coolant Temp 0x07 -1.45x + 308 deg F
Engine Speed 0x21 31.25x rpm
Fuel Trim High 0x0E 0.78x %
Fuel Trim Low 0x0C 0.78x %
Fuel Trim Middle 0x0D 0.78x %
Injector Pulse Width 0x29 0.256x ms
Oxygen Feedback Trim 0x0F 0.78x %
Oxygen Sensor 0x13 0.0195x V
Throttle Position 0x17 100x / 255 %
Air Flow Hz 0x1A 6.29x Hz
Air Temperature 0x3A -1.69x + 358 deg F
Air Volume 0x2C x
Barometer 0x15 0.00486x bar
ISC Steps 0x16 x
Knock Sum 0x26 x
Timing Advance 0x06 x - 10 deg
Battery 0x14 0.0733x V
EGR Temperature 0x12 -2.7x + 597.7 deg F
TDC 0x02 bit 0x04
Power Steering 0x02 bit 0x08
AC Switch 0x02 bit 0x10
Park/Neutral 0x02 bit 0x20
Idle Switch 0x02 bit 0x80
AC Clutch 0x00 bit 0x20
* wrong on my E33
* can't check on E33 M/T
And here's what I've figured out by trial and error:
Address Action
0xF1 ?
0xF2 ?
0xF3 ?
0xF4 ?
0xF5 Canister purge
0xF6 Turn on fuel pump
0xF7 Disable injector #6
0xF8 Disable injector #5
0xF9 Disable injector #4
0xFA Disable injector #3
0xFB Disable injector #2
0xFC Disable injector #1
0xF1..0xF6 work with engine stopped. After ECU any of theese commands it invokes corresponding relay/solenoid for about 6 seconds. After that it answers with 0x00. If engine is running ECU returns 0xFF immediately.
0xF7..0xFC disable injector for about 6 seconds and return 0x00.
Diagnostic fault codes are stored as bitmaps in two 8-bit cells. There're two kinds: active and stored (accumulated). Command 0xCA clears fault memory.
Address Description
0x38 (0x4C) Faults, low byte
0x39 (0x4D) Faults, high byte
0x3B (0x4A) Stored faults, low byte
0x3C (0x4B) Stored faults, high byte
0xCA Clear faults, returns 0x00
Bit # Code Fault
1 11 Oxygen sensor
2 12 Intake air flow sensor
3 13 Intake air temperature sensor
4 14 Throttle position sensor
5 15 ISC motor position sensor
6 21 Engine coolant temperature sensor
7 22 Engine speed sensor
8 23 TDC sensor
9 24 Vehicle speed sensor
10 25 Barometric pressure sensor
11 31 Knock sensor
12 41 Injector circuit
13 42 Fuel pump relay
14 43 EGR
15 44 Ignition coil
16 36 Ignition circuit
* I haven't checked others
Powered by vBulletin® Version 4.2.3 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.