Skip to content

takataca2525/KDS2Bluetooth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KDS2Bluetooth

Kawasaki Diagnostic Service Reader via Bluetooth

Using an Arduino (Nano) to read parameter from a Kawasaki motorcycle by it´s diagnostic system. Requests can be submittet via bluetooth, by any ELM327 compatible device/application. Such as Android App Torque Lite, action cameras like "Garmin Virb X / XE" or other solutions, which are able to communicate with an OBD II Bluetooth Adapter.

Repository

History:

Against all cars and trucks, the diagnostic interface is not standardized on two wheels. Neither the plug, nor the communication. Since ~1996 ODB and later on OBD II interface entered nearly every car. The motorbike manufactures are cooking their very own soup.

That´s why I cannot use a cheap (china) OBD II to Bluetooth adapter, to transfer RPM, Speed, Temperatures, Throttle, ect. to my Garmin Virb XE action cam. Also my bike doesn´t have any gear indicator. So I´d like to build my very own.

Protocol:

KDS Bus via K-LINE (Diagnostic plug). In my case KWP2000 (ISO-14230)

Hardware:

  • Arduino Nano
  • HC-06 Bluetooth
  • L9637D
  • Ceramic-Capacitor 10 nF 50 V/DC
  • 510Ohm Resistor
  • SOIC Board (to solder L9637 SMD on it)

The L9637 converts the one wire K-Line bidirectional into a serial signal (Rx & Tx). Connect Rx to Rx, Tx to Tx and VCC to 5V Output from Arduino. VCC, Gnd and K-Line to the Bike. A PullUp-resistor is needed between power supply (VCC) and K-Line! The capacitor reduces the 12V (or more while charging) to 6V to supply the Arduino VIN. HC-06 is a slave Bluetooth device. If needed, you can use a HC-05 master.

Software:

This has to be splitted into three parts:

AT-Communication:

Nearly all bluetooth OBD dongles are using an ELM327 chip, or a similar, cheap china clone. This is controlled/setup via "AT"-commands. They describe the format how data is transmitted, timing, reset the device or return protocol information.

KDS-Communication:

Connection to the kawasaki diagnostic system. How the Arduino speaks to the Bike. Based on the great work of Tom Mitchell (Kawaduino).

Translations:

Every ELM327 compatible device is using the stock OBD II protocol and its Protocol ID´s (PID). The bike is also using a similar communication. But the PID´s doesn´t mean the same, nor is the calcualtion equal. In that conclusion, the requested PID has to be translated into the according pendant and the result has to be calculated, to fit into the OBD ranges.

The most influential Tutorials/sources:

KDS Protocol

Kawaduino

ELM327 AT Commands

OBDuino

My Cameras:

Garmin Virb XE Garmin Virb X

My Bike:

Gallery

Kawasaki Z750r Black edition

My Videos (more to come)

Demo

Racetrack Mettet

My YouTube Channel

About

Kawasaki Diagnostic Service Reader via Bluetooth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 64.0%
  • C++ 33.9%
  • PowerShell 2.1%