Skip to main content

M500/M600 Wiki

Table of Contents

How to colaborate

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 or chat with us on this Telegram channel.

Discount code for developers
GreenBikeKit sells Bafang M500 and M600 motor kits, including the parts you may need to for maintenance and repair. If you are a developer, ask for the discount code on the Telegram channel for development.

Project structure

Github Repo

The github repository contains the actual code, backup copies of many hard-to-find manuals and executables. It can be found here: https://github.com/OpenSourceEBike/Bafang_M500_M600

And has the following structure:

  • /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.

How to build your EBike with M500/M600 motor

Maintenance and repair

See the notes about the maintenance and repair of M500/M600 motor.

Improve your Bafang M500/M600 EBike

Build your own EasyDIY OpenSource display that is a fully replacement of the original display, but let you configure the motor max speed and wheel perimeter. It also shows you advanced data like battery current, voltage and motor power. And for the ones that use a cycling GPS computer Garmin Edge, this display also implements the ANT+ LEV EBike wireless and sends to the Edge the battery SOC and assist level, as also let you change the Edge page by clicking on the remote button:

Ideas for projects

Develop our own firmware for the original motor controller

See Develop motor controller firmware.

Disclaimer

All the code, programs, dumps, images and information in this repository is supplied solely for educational use.