gitmyhub

XUAN

★ 5.6k updated 3y ago

XUAN-Bike is a DIY self-balancing bicycle project with PCB schematics and mechanical CAD files, an ESP32-based controller and motion sensor make the bike balance and steer without a rider.

ESP32MPU6050CAN busFusion 360setup: hardcomplexity 4/5

XUAN-Bike is a DIY hardware project for building a self-balancing, self-driving bicycle. The creator, a Chinese engineer known for ambitious hands-on electronics projects, documented the build in a video on the Chinese video platform Bilibili. The project shows how an ordinary bicycle frame can be outfitted with electronics and motors that allow it to balance and steer on its own without a rider.

The repository is organized into two main folders. The Hardware folder contains printed circuit board (PCB) design files for the controller board. The controller is built around an ESP32 microcontroller chip and uses an MPU6050 sensor (a common motion-sensing chip that measures orientation and acceleration). The motors are connected through a CAN bus, which is a communication protocol common in automotive and industrial electronics for linking components together reliably.

The Structure folder contains the mechanical design files for the bicycle frame in a format used by Fusion 360, a 3D design tool. The creator notes that the exported STEP files may have some bugs and recommends opening the original Fusion 360 project file directly using a shared link.

The software for controlling the bike is not included in this release. The creator explains that it is tied closely to the specific motor driver used and is not easily generalized. However, they plan to later open source a simplified version of the complete bicycle project using smaller, more common DC motors.

The README is written in Chinese and is brief. The project is intended for electronics hobbyists and engineers interested in self-balancing vehicle control systems.

Where it fits