BAFANG BBSxx change settings on the fly (aka 'cop button') and BBSxx communication protocol

joq3 said:
Would it be possible to modify the firmware in the DPC-18 to be able to do this by holding one of the buttons?

If not, do you think this will work without modification on a Bafang Ultra? The display is the same I think. But the engine is different.

EDIT: Just got com0com and HTerm setup, and tried using this with the newer Bafang programming software (found here https://electricbike-blog.com/2017/11/23/i-void-warranties-hacking-the-bafang-ultra-max-mid-drive-ebike-drive/ )
And I cannot get it to connect, I get this error: Read The Controller Info CheckSum Error.
But there is no more information. I tried removing the ending 1B which is for checksum, but it doesn't work.
How do I find out what the correct checksum is?

Hello,

Can you please help me? I got the " Read the controller Info Checksum error" when I tried the Bafang USB utiliy, do you have any idea how to solve this problem?
I'm working on an old BBS01 motor I'm trying to fix, the seller said it had the "Err08".

There is some response from the controller because I don't get the error until it is powered ON. I'm stuck now.
 
Hi,

thanks a lot to the work of @mcc. I've ported to code to an esp32.

I had some pcbs left of the TSDZ2 Project of @mspider. He developed a small PCB with an esp32 for TSDZ2 mid drives. Details can be found here:
https://github.com/TSDZ2-ESP32.
It works the same way as the project of @mcc.

The main benefit is, that i can put this small pcb inside my Hailong battery case holder. So it won't be visibile from outside.

You will find my adapted code here View attachment Bafang_fly_esp32.zip
 
I've done the same with an ESP32 around two years ago, guess I've never posted it anywhere. oops.
https://git.botox.bz/BotoX/bafang-esp32

On my motor you have to turn it off and on again for the settings to apply however.
Switching PAS doesn't work.

With the new open source bbs-fw this is probably obsolete anyways, have yet to try it.
 
Please anyone know what this problem is I have LD-BG Bafang controller 18A 48v with 750w G062 rear hub motor
 

Attachments

  • IMG_20240812_140825.jpg
    IMG_20240812_140825.jpg
    2.3 MB · Views: 2
Back
Top