isabellesimova / HoverboardFirmware

50 stars 24 forks source link

Hoverboard Motor Controller

This repository contains firmware to reflash the motor controller that comes with hoverboards. The new firmware allows us to control the wheels by commanding the speed (in rpm, rotations per minute) for each wheel via UART.

Setup

  1. Setup the hardware - connect the lines needed to communicate with the microcontroller on the hoverboard motor controller board to the ST-LINK.
  2. ST-Link communication setup - make sure you can detect and communicate with the motor controller board from your computer via the ST device.
  3. Configure Hoverbot - calibrate the wheels (via flashing the microcontroller) and look through other configuration settings.
  4. Run Hoverbot - flash the microcontroller with the code that makes the bot move!

Other setup guides:

Acknowledgments

Inspiration for the orginal version of this code can be attributed to NiklasFauth/Hoverboard-Board-Hack.

License

This project is licensed under the MIT License.