Custom Raspberry Pi E-bike Head Unit
A custom head unit for an e-bike built on a Raspberry Pi with an OLED touch screen, developed by reverse engineering the bike's stock head unit and Dongguan Jing Hui brushless DC motor controller. An ESP32 man-in-the-middles the 9600-baud UART protocol between the units while the packet byte meanings are decoded, and the head unit will also control LED patterns on the bike.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Custom Raspberry Pi E-bike Head Unit
A custom head unit for an e-bike built on a Raspberry Pi with an OLED touch screen, developed by reverse engineering the bike's stock head unit and Dongguan Jing Hui brushless DC motor controller. An ESP32 man-in-the-middles the 9600-baud UART protocol between the units while the packet byte meanings are decoded, and the head unit will also control LED patterns on the bike.
Posted by @brotchie · Original source ↗
Source text · @brotchie · · Source ↗
Reverse engineering my e-bike’s head unit and motor controller to build a custom head unit out of a Raspberry Pi with oled touch screen (head unit will also be used to control LED patterns on the bike).