Skip to content

OlliKantola/KTM-690-DataLogger

 
 

Repository files navigation

Yamaha DataLogger

ESP32 s3 BLE Yamaha Datalogger

Description:

  • The Yamaha DataLogger is an ESP32-S3 based device designed to convert k-line data into Canbus ODB2 standard, using ELM327 emulation. Enabling compatibility with apps like RaceChrono, Realdash, and Torque.
  • Now displays PIDS via OLED screen.
  • Now handles automatic gear ratio tuning via BLE Serial "Gears", (using gipro gear indicators learn function approach).

updates:

  • Migrated NVS to spiffs
  • gear ratios persist on cold boot / auto load on startup
  • added simple temrinal menu via serial/ble
  • All serial/ble serial commands are simultaneously mirrored.
  • General tidy up
  • Migrated send/response commands

Added Files:

  • Added Ecu Emulator for testing
  • Added Torque app PID.csv
  • Wokwi PCB Design
  • My custom PCB build
  • L9637d pinout
  • Realdash XML (Plug and play)
  • racechrono.rcz file
  • 3d Printed Case STL + Photos
  • 3D printed case with switch mount (switch can be found below):
  • https://www.amazon.co.uk/dp/B01N367QLZ

Added OLED Support:

  • 0.96" I2C

Supported PIDs:

  • RPM
  • Speed
  • Error code
  • Coolant Temp
  • Gear
  • MCU Temp
  • CPU Freq
  • Ram Free
  • Top Speed
  • MCU Uptime seconds

Requirements:

To build this project, you will need the following components:

  • L9637D
  • 510 pull-up resistor Not needed for RX
  • Level conversion components
  • Due to ESP32 startup time, an external power supply switch will be required to enable esp32 to start before the ecu! This saves re-writing the codebase.

Additional Information:

Big thanks to:

Screenshot Screenshot

About

ESP32 s3 KTM 690 Datalogger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.5%
  • C 3.5%