Bafang Canable Pro Master - discussion

thanks mdi,
this work is really useful for everyone..
if possible, I wanted to ask if one day it will be possible to bring the walk mode speed to 6 kmh with bbs 01b and DPC 010 display..
thanks
 
I wanted to ask if one day it will be possible to bring the walk mode speed to 6 kmh with bbs 01b and DPC 010 display..
There is param to change walk mode speed, if this not work then it's up to firmware and nothing i can do by CAN with this.
 
Ok, now I understand..
even if I don't know how to proceed to flash the firmware and if it is very risky..
 
I found another bug. If you want to change the block 0x3203 for max speed, wheel circumference etc. you have to change the max speed in any case. If you want to change only the wheel circumference without changing the speed limit, it doesn't work....🤷‍♂️

1768421115170.png


1768421189815.png
 
Last edited:
  • Like
Reactions: mdi

Portable Micor Mini MKS CANable V2.0 Pro S CZN Analyzer with Protective Shell Case USB to CAN adapter with 50cm Cable Rope​

Need to adjust PAS 1 down to about 11KPH & would like to tweak the throttle and PAS angle on my 750 watt can bus Bafang, is this the tool I need? Not good with computer stuff so need to be careful. Thanks
 

Portable Micor Mini MKS CANable V2.0 Pro S CZN Analyzer with Protective Shell Case USB to CAN adapter with 50cm Cable Rope​

Need to adjust PAS 1 down to about 11KPH & would like to tweak the throttle and PAS angle on my 750 watt can bus Bafang, is this the tool I need? Not good with computer stuff so need to be careful. Thanks
Not sure if that one comes with candlelight firmware already installed...
Did you take a look at post 1 in this thread?

If you are not good with computer stuff and only need to change PAS 1 on that one bike and you don't need all the extra's from bafang canable pro, you can consider that Varstrom tool which is ready to use (with his own varstrom program).

Maybe in your case the easiest way is to buy the DPC010CN (pricey) with that display you can change the riding parameters and also max speed, wheel size etc. on BBS0XX canbus. This display works on other Bafang can motors too but changing max speed limit on older motors does NOT work with this display.( Or they must have changed the firmware sinds first release but the one i have can't ).
Some people here are using this display with BBS0xx motors so maybe they can tell what exactly can be changed or not.

It works with bafang go app too, from which you can change settings via your phone which i don't use because it ask's to much permissions for my own liking.
It has to be the DPC010CN ! And not the DPC010CB because the latter has normally no "advanced function" and can not change the max speed limit if that is a requirement.

Tweaking the throttle lag etc. i think it's not possible or things must have been changed but not many users are posting here their findings .... Except for when things go south lol.
 
Last edited:
Not sure if that one comes with candlelight firmware already installed...
Did you take a look at post 1 in this thread?

If you are not good with computer stuff and only need to change PAS 1 on that one bike and you don't need all the extra's from bafang canable pro, you can consider that Varstrom tool which is ready to use (with his own varstrom program).

Maybe in your case the easiest way is to buy the DPC010CN (pricey) with that display you can change the riding parameters and also max speed, wheel size etc. on BBS0XX canbus. This display works on other Bafang can motors too but changing max speed limit on older motors does NOT work with this display.( Or they must have changed the firmware sinds first release but the one i have can't ).
Some people here are using this display with BBS0xx motors so maybe they can tell what exactly can be changed or not.

It works with bafang go app too, from which you can change settings via your phone which i don't use because it ask's to much permissions for my own liking.
It has to be the DPC010CN ! And not the DPC010CB because the latter has normally no "advanced function" and can not change the max speed limit if that is a requirement.

Tweaking the throttle lag etc. i think it's not possible or things must have been changed but not many users are posting here there findings .... Except for when things go south lol.
Exactly the sort of information I was looking for. am now looking for a vendor for the DPC010CN, and specs. Thank you. This seems to be UART, is there a Can bus version that you know of?
 
Last edited:
Exactly the sort of information I was looking for. am now looking for a vendor for the DPC010CN, and specs. Thank you. This seems to be UART, is there a Can bus version that you know of?
 
In my message above, the DPC010CN vendor link, it is canbus, 5 pin male "house" shape connector.
Thank you I ordered the DPC010CN from the site you suggested. Was a little concerned when I watched the video a few days ago, because it references gears, when I need current limits for PAS. Maybe I missed something in the video. Anyroad, have a couple of months to get sorted before the favorite wife will be riding her trike.
 
Hi everyone. Great topic, I really appreciate the work being done here. However, I haven't found a definitive answer for my specific case yet.

My Hardware:

  • Motor: Bafang G320 / BBSHD CAN version (Bafang M615 from VARSTROM).
  • Tools: I have the Varstrom programming tool and cable.
  • Displays: I have two options available:
    1. DP E12 (works with the "Bafang Go" Bluetooth app).
    2. EKD01 (also from Varstrom, has Bluetooth, works with the "Bike Go" app). I also have the update tool for this display.
My Goal:I need a "Dual Mode" setup with Auto-Reset on power cycle (for legal reasons in the Netherlands).

  1. Boot / Power On: Bike MUST start with a 25 km/h limit (Street Legal).
  2. Activation: Switch to "Off-road" (Unlimited) mode via a button combination on the display OR via a custom Bluetooth command. Since the displays have BLE hardware, is it possible to hijack/utilize this?
  3. Power Off: When I turn the bike off, it must forget the Unlimited setting and revert to 25 km/h on the next boot.
Constraints:

  • I have a hollow frame, so I can hide any necessary hardware (ESP32, relays, etc.) inside where it won't be visible.
  • Skills: I am familiar with Java programming, but I don't want to get lost in the weeds or reinvent the wheel.
My Request:Could you please give me a reality check? What are the absolute realistic options for my request?I would appreciate a breakdown like this:

  • Option A, B, C (e.g., App vs. ESP32 Sniffer vs. Hardware Relay).
  • Estimated Cost.
  • Time/Effort required.
Thanks in advance!
 
Hi everyone. Great topic, I really appreciate the work being done here. However, I haven't found a definitive answer for my specific case yet.

My Hardware:

  • Motor: Bafang G320 / BBSHD CAN version (Bafang M615 from VARSTROM).
  • Tools: I have the Varstrom programming tool and cable.
  • Displays:I have two options available:
    1. DP E12 (works with the "Bafang Go" Bluetooth app).
    2. EKD01 (also from Varstrom, has Bluetooth, works with the "Bike Go" app). I also have the update tool for this display.
My Goal:I need a "Dual Mode" setup with Auto-Reset on power cycle (for legal reasons in the Netherlands).

  1. Boot / Power On: Bike MUST start with a 25 km/h limit (Street Legal).
  2. Activation: Switch to "Off-road" (Unlimited) mode via a button combination on the display OR via a custom Bluetooth command. Since the displays have BLE hardware, is it possible to hijack/utilize this?
  3. Power Off: When I turn the bike off, it must forget the Unlimited setting and revert to 25 km/h on the next boot.
Constraints:

  • I have a hollow frame, so I can hide any necessary hardware (ESP32, relays, etc.) inside where it won't be visible.
  • Skills: I am familiar with Java programming, but I don't want to get lost in the weeds or reinvent the wheel.
My Request:Could you please give me a reality check? What are the absolute realistic options for my request?I would appreciate a breakdown like this:

  • Option A, B, C (e.g., App vs. ESP32 Sniffer vs. Hardware Relay).
  • Estimated Cost.
  • Time/Effort required.
Thanks in advance!
The EDK01 display, by simultaneously pressing the +- buttons, limits the maximum speed to 25kmh and returns back to the same manipulation set by you up to 99kmh
 
Recently i've added error codes read from controller (until now it was from HMI only). And i'm wondering is BESST having option to clear error codes ? Do we know CAN command to do so ?
 
Below is just to show how versatile bafang canable pro program is or can be to find or resolve things even as non coder. In the latest code commit "clear errors" was added but not fully functional. I looked only at the part for clearing display error codes. I noticed in main.js it tries to clear and then read it back. So i commented out for me and for now, what i thought was the part for reading it automatically back so it would not interfere with my noob experiments.

displayElements.displayClearErrorsButton.onclick = () => {
socket.send("WRITE_SHORT:3:96:7:01"); // was original 00 but according to a log should be 01
// setTimeout(() => {
// displayErrors = null; // Reset before read
// socket.send('READ:3:96:7'); // Errors re-read
// }, 2000);
addLog('SAVE_REQ', 'Clear Display Errors');
}
I introduced an error 8 by removing hall sensors cable, confirmed it shows error 8 on "display tab" in canable pro and in display itself. Started in canable pro "sniffer" with a lot of ID's filtered for having a not overcrowded log and let it running.

Going back to display tab where i clicked "clear display errors". Then quickly to the "debug tab" using "send custom ID" which i already had filled in beforehand 051C6007 data 00 and clicked send custom. Replaced as fast as possible 051C6007 with 051E0000 no data and send it. This should have the display error code cleared if i was right although i feared there was to much time between the manual send commands. (but it worked).
So going Back to "display tab" for checking, i clicked "sync data" and the error 8 that was previously showing was cleared, also in the display itself.
Below is the "sniffer picture" which "recorded it".

So thanks to the coding skills from mdi making it a versatile program i was able to use different sections together to get the "clear display errors" rudimentary working in an experiment using the "custom command" function. I hope mdi can confirm it works so he can streamline it in the program code. I tested it 2 times introducing error 8 and both times clearing the error 8 worked.
I also used the ID decoder stancecoke pointed me to in the past to find out what exactly was meant by 051C6007. That got me going in the right direction.

I have to say i do this not on my bike but on some "play" controllers i have laying around. If something go's south it is no big deal.

sniffer clear display error code + text.png

Below is "debug" log from same steps

Debug com log clear display errors + text.png
 
Hello Bafang CAN BUS Hackers :) Any one tested this with BBS01 ?
I want to correct the capacity cause I have no CAN BUS battery and the range calculation of DP_C010 is wrong .
I also want to limit max current to 7A to get 36V*7A 252W.
Is this possible ?
I have the varstrom USB CAN cable is this working with the software ?
Thanks for any answers 🚲
 
If you have a BBS01 CANbus 250W why would you limit current to 7A?
The Varstrom USB CANbus cable only works with the Varstrom program as far as i know.
Maybe other users with BBS01 CANbus using it on the road can answer your questions better regarding what they are able to change via "riding param" settings in DPC010 or with the Varstrom program.
 
Back
Top