This project aims to provide guidance for modifying the Bafang M500 and M600 motors. Eventually we hope to be able to provide a fully opensource firmware, but for the time being we provide hacked firmwares and documentation.
Help test our firmwares, join discussions, fork the repository or send us relevant information either by github-issue or write a message on the forum.
/BESST
- Provides sourcecode and older versions to research the BESST software package./CANBUS
- Provides documentation on the inner workings of the Bafang CANBUS protocol./Firmwares/Official
- Provides firmwares originally provided by Bafang themselves./Firmwares/Custom
- Provides hacked firmwares created by this projects, that contain customised settings./hardware
- Provides Documentation for everything we know about the Bafang hardware and it's controller.
- See this video on how to build an EBike with Bafang M500 and Dengfu E10 carbon fiber frame. See also the review video of that EBike and the forum message for the build process.
There are many other forum messages about bulding an EBike with Bafang M500/M600 motors. - You can buy the Dengfu E10 frame - search on Ebay, Aliexpress or contact directly Dengfu.
- You can buy your motor or battery from Dengfu or from GreenBikeKit.
- For maintenance or repair, you can buy all the motor parts, display and battery on GreenBikeKit.
See the notes about the maintenance and repair of M500/M600 motor.
Adapt the EBike DIY OpenSource display to control and show the motor data. We know the CAN commands to read all data from the controller and to change max speed and wheel diameter. It should also be possible to flash the motor firmware. A display button combination can be used to quick change max speed (offroad mode).
Needed steps:
- Adapt the EBike DIY OpenSource display hardware by adding a SPI CAN module (cheap Arduino CAN module) to be able to communicate with Bafang M500/M600 motors
- Add the CAN commands to the firmware and adapt the information being shown on the screen
Pictures of the EBike DIY OpenSource display:
All the code, programs, dumps, images and information in this repository is supplied solely for educational use.