RepositoryC++
kerpz

kerpz/ArduinoHondaOBD

Collections of Arduino codes that reads and translates Honda OBD codes to ELM / OBD 2 PID codes. It also process and displays the output to a LCD or transmit the output to a bluetooth channel.

192stars
71forks
2issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: honda-obd

#1 Repository of the month

1
TINIX TRENDING·Topic: obd-ii

#1 Repository of the month

1
TINIX TRENDING·Topic: uart

#1 Repository of the week

ArduinoHondaOBD

An arduino code that reads Honda OBD Protocol and translates it to ELM327 protocol. I use Torque app to read and display the data on my android phone (via bluetooth), and a LCD (2x6) to display it on my car's dashboard.

Please refer to the screenshots below.

Applications

  • Datalogging
  • Diagnostics
  • Trip Computer
  • Etc

Supports

  • Honda ECU's before 2002

Files

  • hobd_uni - unified code for ELM bluetooth and LCD display with other improvements.
  • hobd_elm - implements Honda OBD to ELM OBD2 protocol (bluetooth) - not updated
  • hobd_lcd - implements Honda OBD to LCD display - not updated
  • UNI_wiring.png - Unified wiring diagram for arduino UNO (compatible)

Wiring for hobd_uni (Joined ELM and LCD codes)

Honda 3 Pin DLC           Arduino Uno
Gnd --------------------- Gnd
+12 --------------------- Vin
K-line ------------------ Pin12

HC-05 Bluetooth           Arduino Uno               
Rx ---------------------- Pin11
Tx ---------------------- Pin10

LCD 16x2                  Arduino Uno               
RS ---------------------- Pin9
Enable ------------------ Pin8
D4 ---------------------- Pin7
D5 ---------------------- Pin6
D6 ---------------------- Pin5
D7 ---------------------- Pin4
VO ---------------------- 10k Potentiometer (+5V to Gnd)

Piezo Buzzer              Arduino Uno               
(+) --------------------- Pin13
(-) --------------------- Gnd

Tact Switch               Arduino Uno               
(+) --------------------- Pin17 (A3)
(-) --------------------- Gnd

Voltage Divider           Arduino Uno               
+12V divider circuit ---- Pin14 (A0)
(680k ohms and 220k ohms)

Alt text

Wiring for hobd_elm (Deprecated use hobd_uni)

Honda 3 Pin DLC           Arduino Uno
Gnd --------------------- Gnd
+12 --------------------- Vin
K-line ------------------ Pin12

HC-05 Bluetooth           Arduino Uno               
Rx ---------------------- Pin11
Tx ---------------------- Pin10

Wiring for hobd_lcd (Deprecated use hobd_uni)

Honda 3 Pin DLC           Arduino Uno
Gnd --------------------- Gnd
+12 --------------------- Vin
K-line ------------------ Pin12

LCD 16x2                  Arduino Uno               
RS ---------------------- Pin9
Enable ------------------ Pin8
D4 ---------------------- Pin7
D5 ---------------------- Pin6
D6 ---------------------- Pin5
D7 ---------------------- Pin4
VO ---------------------- 10k Potentiometer (+5V to Gnd)

Screenshots (LCD 16x2)

Alt text Alt text Alt text

Screenshots (Andorid App TORQUE)

Alt text Alt text Alt text Alt text

NOTES

  • Added button for changing page (5ms) and changing ecu mode (3s).
  • Added Fault codes reader @ lcd page 3
  • Added LCD @ I2C support
    • #define LCD_i2c TRUE // Using LCD 16x2 I2C mode
  • Added direct HOBD access API (ELM mode) used for undefined PIDs on OBD2
    • // direct honda PID access
    • // 1 byte access (21AA) // 21 = 1 byte, AA = address
    • // 2 bytes access (22AA) // 22 = 2 bytes, AA = address
    • // 4 byte access (24AA) // 24 = 4 bytes, AA = address
  • Added direct Arduino Pin access API (ELM mode) used for keyless entry and other stuff
    • // set arduino pin (ATSAPNNX) // NN = pin, X = value (value is 1 or 0)
    • // get arduino pin (ATDAPNN) // NN = pin
  • Tested on P2T ODB2 stock and P30 ODB1 chipped

TODO

  • Add 128x64 LCD @ SPI support
  • Add 20x4 LCD @ I2C support

Similar Projects

Discover other similar projects and AI models.

RepositoryShell
jgamblin/CarHackingTools

Install and Configure Common Car Hacking Tools.

983
May 7, 2023
RepositoryC++
justcallmekoko/ESP32Marauder

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32

13.3k
Nov 21, 2026
RepositoryC++
T-vK/ESP32-BLE-Keyboard

Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)

3.2k
Aug 7, 2024
RepositoryC++
adlerre/obd2-mqtt

OBD2 to MQTT for Home Assistant

280
Nov 12, 2026
RepositoryC++
muki01/OBD2_K-line_Reader

OBD2 K-line Reader (ISO9141 and ISO14230) with microcontrollers like ESP32, Arduino.

265
Oct 6, 2026
RepositoryC++
muki01/OBD2_KLine_Library

OBD2 K-Line diagnostics library for Arduino, ESP32 and compatible boards. Supports ISO9141, ISO14230 (KWP2000), KW1281, DS2 and KW82

103
Nov 11, 2026
RepositoryJava
fr3ts0n/AndrOBD

Android OBD diagnostics with any ELM327 adapter

2.2k
Nov 26, 2026
RepositoryPython
cedricp/ddt4all

OBD tool

2.0k
Nov 30, 2026
RepositoryC
VaAndCob/ESP32-Bluetooth-OBD2-Gauge

DIY bluetooth obd2 gauge with ESP32 (CYD)

484
Oct 24, 2025