Help/Volunteer needed with Bafang Battery / BMS

BotoXbz

10 W
Joined
May 20, 2018
Messages
92
Hi,

I wrote my own open source BMS firmware for the Chinese smart BMS to use it with my Xiaomi M365 electric scooter.
Details here: https://github.com/BotoX/xiaomi-m365-compatible-bms

Now I want to make it work with Bafang systems just like the original Battery/BMS from Bafang does.
In order to implement the BMS protocol from Bafang I obviously need to know what the communication looks like.

This is why I need someone with this battery/BMS to volunteer and connect a logic analyzer or two serial UART dongles (the RX part) to the two serial wires on their battery.
They'd then turn on the bike and go to the detailed battery menu on the display.
This should provide all the communication in the data dump and enable me to reverse engineer it and implement it in my own BMS firmware.

This way custom battery builds with the Chinese smart BMS could work just like original Bafang Batteries and the correct battery info is shown on the bafang display along with the other detailed info.

I believe this is the wiring harness that connects the battery to the bafang motor/display bus:
https://www.bafang-e.com/en/components/component/connector/eb-1t2gxxxxx.html

This would be a cheap logic analyzer:
https://s.click.aliexpress.com/e/bn5Ru00C

Or just use two serial UART USB dongles:
https://www.ebay.com/itm/CP2102-USB-2-0-to-TTL-UART-Module-6Pin-Serial-Converter-STC-Replace-FT232-Module/381374541932
 
Back
Top