OpenBafangTool - New Open-Source Bafang Configuration Tool

Hi Andrey, thank you. I'd like to know also if it's possible to release this for android as well? There's the speeed app but that has not been maintained and doesn't have the torque settings.
Or maybe make this compatible with Mac os x? Otherwise I'd have to install Linux on virtual machine (which flavor works best?)
EDIT: maybe I can compile it on os x and run it there if it's just a regular electron app?
I can not release this program for android, but its already builtable for mac. I just have no mac device to provide dwg executable in release, but program is already fully compatible with macos
 
Hello Andrey. Your program looks great. I downloaded it today, and after reading manual it seems to be solution to my problems. But I have a problem with connecting to controller. I connected my besst tool to my UART controller and battery, next i connected besst tool to PC. I tried it with two different controllers, but still, the only serial port i see is Demo port. Do I missed some steps?
 
Hello Andrey. Your program looks great. I downloaded it today, and after reading manual it seems to be solution to my problems. But I have a problem with connecting to controller. I connected my besst tool to my UART controller and battery, next i connected besst tool to PC. I tried it with two different controllers, but still, the only serial port i see is Demo port. Do I missed some steps?
Hello. Besst Tool is applicable only for CAN devices in our case. For UART devices you need an usual usb-uart converter from aliexpress like ch340 based ones (same as for Stefan Penoff's program)
 
So to summarize. I need a usb-uart converter, and then i need to download for example ch340 uart driver for my pc?
 
So to summarize. I need a usb-uart converter, and then i need to download for example ch340 uart driver for my pc?
1730413044397.jpeg
Yes, you need cable of this kind and drivers for it's chip (usually they have ch340g on board)
 
Hello again. I would like to ask some questions. After advices I wanted to connect my CAN controller to the system to change the value of the voltage in controller. In the program i see this info i posted below. Can I download this packages? I also would like to increase power of the engine, cause it feels like it's set on using eco mode. After connection i see all the parameters of the controller, but I can't change them. Are there any solutions for that?1730631861393.png
 
Last edited:
Hi There,
I have a "Fischer" Bike with M400 CAN Motor, the hill support is very weak, it only outputs ~500W instead of 700W. Is it possible to add more assistance with this tool and the BESST Cable?
Fischer is a big brand in germany, anyone knows if they have their own closed firmware and you can change parameters at all?
 
Hello again. I would like to ask some questions. After advices I wanted to connect my CAN controller to the system to change the value of the voltage in controller. In the program i see this info i posted below. Can I download this packages? I also would like to increase power of the engine, cause it feels like it's set on using eco mode. After connection i see all the parameters of the controller, but I can't change them. Are there any solutions for that?View attachment 361447
Probably you have firmware with locked settings. Sometimes this settings may be unavailable because of bug in my program, but in most case its a problem of firmware
 
Hi There,
I have a "Fischer" Bike with M400 CAN Motor, the hill support is very weak, it only outputs ~500W instead of 700W. Is it possible to add more assistance with this tool and the BESST Cable?
Fischer is a big brand in germany, anyone knows if they have their own closed firmware and you can change parameters at all?
It depends on firmware of your bike. If your firmare have open settings, you can set bigger peak current, but it makes a risk to burn your engine
 
Probably you have firmware with locked settings. Sometimes this settings may be unavailable because of bug in my program, but in most case its a problem of firmware
Are there any solutions for this firmware problem? How can I change it?
 
Andrey, good afternoon. Your program is a great solution for a freelance artist trying to customize their bike. Tell me or tell me in what units the parameters are measured in the attached picture. The problem is this: I want to adjust the assist in each mode very smoothly, but I don't understand what these values mean in this form. Do I understand correctly that in mode 1 the initial torque is 6 Nm (or is it some abstract value) 45 Nm is the maximum torque in this mode, 5 Nm is the recoil after the end of pedaling, 15 maximum current is the maximum current in this mode, which is needed for 45 Nm of maximum torque.

And the question is, why with an increase in the choice of mode, the torque settings decrease, somehow it is not logical or tell me what the logic is. Thank you!!!
 

Attachments

  • Torque sensor_controlled_assist_pict.PNG
    Torque sensor_controlled_assist_pict.PNG
    47.4 KB · Views: 36
Last edited by a moderator:
Hello, this is a really great software, thank you very much for it! I have a M420 CAN motor, and it seems I can read and write most settings, except speed and max amperage (but I guess this is because of the firmware).

I have one question though that I could not find the answer for anywhere, but under Torque sensor controlled assist, there are 2 different start torque values, return torque value and start pulse that I don't understand what they signify. Is this information available somewhere?

Thanks in advance!
 
Hello, this is a really great software, thank you very much for it! I have a M420 CAN motor, and it seems I can read and write most settings, except speed and max amperage (but I guess this is because of the firmware).

I have one question though that I could not find the answer for anywhere, but under Torque sensor controlled assist, there are 2 different start torque values, return torque value and start pulse that I don't understand what they signify. Is this information available somewhere?

Thanks in advance!
Start pulse is number of signals from cadence sensor before torque sensor activation (it means on how much degrees should you turn your pedals before torque sensor will start your engine).
Return torque I don't remember, you can search torque sensor docs for old uart systems, settings for them are compatible
 
Andrey, good afternoon. Your program is a great solution for a freelance artist trying to customize their bike. Tell me or tell me in what units the parameters are measured in the attached picture. The problem is this: I want to adjust the assist in each mode very smoothly, but I don't understand what these values mean in this form. Do I understand correctly that in mode 1 the initial torque is 6 Nm (or is it some abstract value) 45 Nm is the maximum torque in this mode, 5 Nm is the recoil after the end of pedaling, 15 maximum current is the maximum current in this mode, which is needed for 45 Nm of maximum torque.

And the question is, why with an increase in the choice of mode, the torque settings decrease, somehow it is not logical or tell me what the logic is. Thank you!!!
Minimum and maximum torque mean values on pedalling torque sensor that are standing for 1% and 100%. I would recommend you to search for tutorial about torque sensor of uart engines on youtube, because this parameters for uart and can bafangs seems to be compatible
 
Minimum and maximum torque mean values on pedalling torque sensor that are standing for 1% and 100%. I would recommend you to search for tutorial about torque sensor of uart engines on youtube, because this parameters for uart and can bafangs seems to be compatible
Thanks for the answer. At the moment I am testing the operation of the m510 and m820 engines on different firmware and on different batteries, and during the testing process a problem arose with non-original batteries on the m510 that do not have can-bus coordination with the controller, roughly speaking, the engine control controller only sees the battery voltage and that's it. During the trip, when the battery charge level reaches 20%, the engine turns off along with the display. According to my thoughts, this is due to the fact that at this battery charge level, the controller sends a request to the battery to reduce the output power, i.e. current, to which the battery does not respond and the shutdown occurs. However, there is a nuance, after some time, about 5 minutes, I turn on the display again and the display screen already shows a charge of 5%. I have a question about how and whether it is possible to change any parameter in Bafangopentools to reduce the power limit threshold, since this function works and was tested on the m820 engine with the original battery. When driving on the M820 engine, the power limitation was 20% in the 100 watt boost mode. At the moment, the only way to cheat this limitation, in my opinion, is to reflash the M510 engine with a 48-volt battery with a 43-volt firmware, thereby changing the operating range of the engine through voltage: Battery 0-100% - voltage 50 - 36 volts. Or can you tell me what parameters in the program can be changed to get rid of the problem of power reduction when the battery charge reaches 20%.
 
Hi AndreyPr,
Just to let you know I found your project.

I'am owning two Amslod e-bikes, Bafang M400 43V CAN Mid-drive
Connected the bikes using BESST Tool and your openbafang tool.
Worked like a charm.

Unfortunately the settings for PAS levels are locked by the contoller firmware.
Adjusting wheelsize/circumference/speedlimit adaptation works! Great!

The controller hardware is CR X10B.350.FC 2.0
If anyone comes across firmware for this controller allowing PAS-level adaptation this would be great!!
 
Very interested in a cable for the CANbus version of the opensource bafang configuration tool.
I just replaced my old m200 with a m210 which finally has metal moving parts. I'm on my third motor, previous two m200's had nylon parts and they broke :(. thank god for warranty.
However this m210 is sticking my gear, like I stop peddaling but the motor keeps pushing for about 1sec then let's go and my gear shifts. Also stops dead on 25km/s which my old m200 did not do at all it was a whole different expierence. Felt more like it helped towards 25km/s and my excess pedaling power went above that. Most of the time was going 27/28.
Now I struggle to keep up with my wifes cargo bike which I converted with a BBS02 and inferior battery to mine.

Long story short I need a cable for it to try and manipulate the settings a bit to get a working curve which is more responsive and maybe a bit more lenient towards the speed limit.
Since I saw the remark on the gitpage: "In the future program will support cheap Canable hardware, that costs from 10$ to 20$." Is there a chip I could buy from ali and make a cable out of with the right head connector? Not sure if it's male or female but I'll figure that out later.
 
Very interested in a cable for the CANbus version of the opensource bafang configuration tool.
I just replaced my old m200 with a m210 which finally has metal moving parts. I'm on my third motor, previous two m200's had nylon parts and they broke :(. thank god for warranty.
However this m210 is sticking my gear, like I stop peddaling but the motor keeps pushing for about 1sec then let's go and my gear shifts. Also stops dead on 25km/s which my old m200 did not do at all it was a whole different expierence. Felt more like it helped towards 25km/s and my excess pedaling power went above that. Most of the time was going 27/28.
Now I struggle to keep up with my wifes cargo bike which I converted with a BBS02 and inferior battery to mine.

Long story short I need a cable for it to try and manipulate the settings a bit to get a working curve which is more responsive and maybe a bit more lenient towards the speed limit.
Since I saw the remark on the gitpage: "In the future program will support cheap Canable hardware, that costs from 10$ to 20$." Is there a chip I could buy from ali and make a cable out of with the right head connector? Not sure if it's male or female but I'll figure that out later.
Sorry, but currently development is paused. Canable is not supported yet, and seems not to be supported in near future. Currently only expensive besst tool is supported, but it costs a lot. Best if you could lend it somewhere
 
Sorry, but currently development is paused. Canable is not supported yet, and seems not to be supported in near future. Currently only expensive besst tool is supported, but it costs a lot. Best if you could lend it somewhere
Yeah bit of a wild goose chase. And without knowing if the m210 is firmware locked or not.
But going to try that, thanks for the good suggestion.
 
Has anyone tried this software with the Bafang-made Forestal Eondrive motor?

I have a "spare" motor as Forestal would not allow us to update the firmware ourselves and sent out a new motor with the upgraded firmware instead.

I am hoping to download the firmware from the new motor (which is physically the same) and flash the old motor with it to have a useable backup.

Perhaps one "stupid" question as well - do the battery/screen/thumb controller need to be connected to interact with the motor?

Thanks in advance.
 
Last edited:
Has anyone tried this software with the Bafang-made Forestal Eondrive motor?

I have a "spare" motor as Forestal would not allow us to update the firmware ourselves and sent out a new motor with the upgraded firmware instead.

I am hoping to download the firmware from the new motor (which is physically the same) and flash the old motor with it to have a useable backup.

Thanks in advance.
Hello. Sorry, but my software can not extract or flash firmware
 
Hello. Sorry, but my software can not extract or flash firmware
Understood - thanks for the quick reply. Do you happen to know of any opensource tool that can do it? (CAN-bus motor)

I am reluctant to spend the money on the BESST tool if I cannot update the old motor.
 
Back
Top