Skip to content

Reverse engineering Honda ECU k-line communications

License

Notifications You must be signed in to change notification settings

DanielKristofKiss/HondaECU

 
 

Repository files navigation

Software

Use zdiag to install libusbK on Windows.

Hardware

The easiest way to talk to the ECU via the k-line is a USB to serial (TTL) converter, and a serial to k-line converter. This code assumes you are using a FTDI based USB to serial converter though others may work. I used a FTDI Friend from Adafruit!. For the serial to k-line converter I used the schematic below since it contained no special ICs, just common transistors and R/C components that I had laying around the house.

A note about the circuit below, while the PL2303 is a perfectly good USB to serial converter, it does not support bit banging and is not recommended. If you do have one of these converters you will need to use one of the control lines for the init sequence and that complicates things. Just get yourself a FTDI chip, they are cheap.

kline_interface_1

A much nicer looking k-line to serial converter that I plan on implementing next is this one that uses one that uses optocouplers to keep the bike power isolated from your electronics.

kline_interface_2

Bench Harness

If you make a bench harness to work with your ECU you will need a 2.5 amp power supply. The ECU will power-up with a 2.0 amp power supply but transfer rates will be slow and you will get CRC errors.

Tuning Software

General Resources

Donation

If you found this project useful, please consider donating.

paypal

About

Reverse engineering Honda ECU k-line communications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 79.9%
  • Python 19.2%
  • Makefile 0.9%