BBS-FW: Open Source Firmware for BBSHD/BBS02 Controller

With the normal FW, i always use Speedlimit: "By display's command" is this also possible with the Custom FW?
Edit: Oh i think i need to set Max current, and Max Throttle current with the same value.

bbshdcffw.png
 

Attachments

  • bbshdcv2.png
    bbshdcv2.png
    32.2 KB · Views: 20
Last edited:
Hello from Italy someone can help me ,
Bafang 750W
currently SW in my bike is : CRR1094824E010015.3_170815,
data show by connection Bafang
CPU IAP15F2K61S2
Manufacturer : HZHT
Mpodel: SZZ9
HW ver 1.1
Firmware 2.0.1.1
Voltage 48V MAX 25A
I load Daniel SW, process is OK but no connection with DPC 18 display and if i try to
read back the firmware non connection

Someone have the same problem , i need to access PARAm for best tuning , with the original SW
if i try to overwrite any params error 30 comes then reload original SW then all OK

Thanks in advance
 

Attachments

  • My_BAFANG_Model.jpg
    My_BAFANG_Model.jpg
    37.2 KB · Views: 14
Hi there from a french Canadian,
My first post here.

First, special thanks to all for sharing your upgrades, conception and experiences !


I tried to find a resolution here somewhere to my throttle problem but no chance.
I finger cross to have a reply of someone who would help this one too !
The trouble is with a BBSHD controller. It start with a 30H error, and no communication was possible with the commun BBS programing tool. That's why I take the chance to reflash with the new danielnilsson firmware.

The 30H is gone but the motor start wright away at +/- 50rpm !? and at maybe 100rpm on full throttle (Original thumb throttle)
I try a variety of start/end mV combinason without very success.
The best I was able to do is: At 899mV the motor can be stopped IF I release the throttle after 4-5 seconde, but not all the time !
More than 3600mv the motor spin faster but I dont think it reach 150-160rpm.

I try the thottle on another bike with a BBS02 and it work fine.

Maybe I made a mistake in the setting of the BBS-FW Tool ?

1er jet L. Lavoie 1-2.jpg
1er jet L. Lavoie 2-2.jpg

Big thank's in advance ! 🙏
 
Hi there from a french Canadian,
My first post here.

First, special thanks to all for sharing your upgrades, conception and experiences !


I tried to find a resolution here somewhere to my throttle problem but no chance.
I finger cross to have a reply of someone who would help this one too !
The trouble is with a BBSHD controller. It start with a 30H error, and no communication was possible with the commun BBS programing tool. That's why I take the chance to reflash with the new danielnilsson firmware.

The 30H is gone but the motor start wright away at +/- 50rpm !? and at maybe 100rpm on full throttle (Original thumb throttle)
I try a variety of start/end mV combinason without very success.
The best I was able to do is: At 899mV the motor can be stopped IF I release the throttle after 4-5 seconde, but not all the time !
More than 3600mv the motor spin faster but I dont think it reach 150-160rpm.

I try the thottle on another bike with a BBS02 and it work fine.

Maybe I made a mistake in the setting of the BBS-FW Tool ?

View attachment 344534
View attachment 344535

Big thank's in advance ! 🙏
There seems to be some issue here with the throttle signal voltage, it could possibly be 'floating' due to lack of a ground reference, i.e. a break in the throttle ground line between throttle and controller. Maybe double check the throttle/motor harness connection - is it pushed fully home, no bent pins etc?
I suspect though that you may end up having to replace the controller.....
 
Hi rudivb, thanks for your reply.
I try the throttle on another bike but I doesn't check with another main cable with the first one. I will test this soon !
The BBSHD kit is brand new.

Thank you too geofft, I hope the main cable will be the reason for this trouble.
I will be suprise to end up changing the controller for a non regular throttle response.
Sh%t happen...
 
Hi there from a french Canadian,
My first post here.

First, special thanks to all for sharing your upgrades, conception and experiences !


I tried to find a resolution here somewhere to my throttle problem but no chance.
I finger cross to have a reply of someone who would help this one too !
The trouble is with a BBSHD controller. It start with a 30H error, and no communication was possible with the commun BBS programing tool. That's why I take the chance to reflash with the new danielnilsson firmware.

The 30H is gone but the motor start wright away at +/- 50rpm !? and at maybe 100rpm on full throttle (Original thumb throttle)
I try a variety of start/end mV combinason without very success.
The best I was able to do is: At 899mV the motor can be stopped IF I release the throttle after 4-5 seconde, but not all the time !
More than 3600mv the motor spin faster but I dont think it reach 150-160rpm.

I try the thottle on another bike with a BBS02 and it work fine.

Maybe I made a mistake in the setting of the BBS-FW Tool ?

Big thank's in advance ! 🙏

Maybe you set throttle voltages too low? Sounds like it like from how it reacts when throttle isn't pressed but motor still provides power. I would try raising the start voltage a little and keep testing, try .9v then .91, .92 etc. I'm not sure about why it spins slower on full throttle though. If you have a volt meter and a way to get 5v source you can test throttle voltage range. I did this with mine using a usb cable with the end chopped off, my thumb throttle was something like .91v and 4.2v. Another way you can test to make sure you get full power at full throttle is set display to shows amps (if yours can) then when riding test giving bike full throttle from low speeds to push the motor and see what amps it pulls, show be what you have set
 
Sh%t happen twice...

I try another main cable, same problem.
I put another controller, all good,
I try to reprogram it with the commun Bafang prog. tool (Penoff's Hobby Page)
I connect, I read it, I write it but never it say that the flash was done.
Now it have the H30 code.

- The Bafang prog I downloaded have probleme with BBSHD controllers
or
- The portable I use have recents updates that cause the disfunction !?
or
- I have a bad prog cable !?
or
- The new controllers have protections !?

It's starting to be pricy to find the trouble !

Would someone like to sell me one ? 😅

@Bengy22, the throttle work well on another bike. Thanks anyway for your comment (y)
 
Sh%t happen twice...

I try another main cable, same problem.
I put another controller, all good,
I try to reprogram it with the commun Bafang prog. tool (Penoff's Hobby Page)
I connect, I read it, I write it but never it say that the flash was done.
Now it have the H30 code.

- The Bafang prog I downloaded have probleme with BBSHD controllers
or
- The portable I use have recents updates that cause the disfunction !?
or
- I have a bad prog cable !?
or
- The new controllers have protections !?

It's starting to be pricy to find the trouble !

Would someone like to sell me one ? 😅

@Bengy22, the throttle work well on another bike. Thanks anyway for your comment (y)
If you take a logical approach to this, the only thing common to all your issues would appear to be the programming cable and the pc you are using for this, I guess it would make sense to try alternatives to these items. The fact that you are having issues with both Penoff's and Daniel's fw (both proven systems) seem to point to this, but I'm aware that this type of problem rarely has a logical conclusion...
I don't think the newer controllers have any extra 'protection' built in, I had to replace one of my controllers with a new one a short while back and it reprogrammed without any issues. Good luck with this though, we all know how frustrating this type of problem can be...:(
 
Thank you for this you saved my bacon, I flashed biktrix fw onto my bbso2b controller as I have just got a 52v motor & needed to update the voltage etc, it soft-bricked the controller. Just flashed this & it now powers on I haven't looked into adjusting settings yet but thank you so much for this 👌
 
Thank you for this you saved my bacon, I flashed biktrix fw onto my bbso2b controller as I have just got a 52v motor & needed to update the voltage etc, it soft-bricked the controller. Just flashed this & it now powers on I haven't looked into adjusting settings yet but thank you so much for this 👌
*52v battery
 
I've just read another post & realised my display is now also showing 30H error the cable works fine previously & the firmware flashed flawlessly. Ffs wish I had never messed with the fw. Does anyone know where I can get the original firmware for the bbs02b please?
 
Well just had the most bizarre thing happen I flashed biktrix firmware which was dated 2017 it didn't work & controller wouldn't power on so I flashed this fw but got a 30h error on my 500c display never had any errors before so reflashed biketrix thinking it may have been a bad flash but afterwards it turned on this time so I thought maybe it was a bad flash first time. I've checked the voltage & it's still showing 48v & it's got all my original PAS settings saved & no 30H error it's like I never flashed it. From what I can tell on speeed app it's still the original bafang firmware how the hell is it still there??? Bizarre must, have been in the eeprom still. I'm thankful & I'm not messing with it again I'll run my 52v on 48v firmware I don't want to brick it because the original bafang fw seems unavailable. My controller is the one that is listed on this page but it throws up a 30ah error there's clearly bugs with it or with some verisons of this controller I'm not gonna mess again I'm just grateful it's working I use my bike daily
 
Settings yes, firmware no. There are some copies of the original firmware floating around this forum and others. I haven't felt the need to attempt it yet since flashing this.

Edit: The backed up original settings would not work on this firmware, only when once flashed back to original.
Hi Mate, are you able to upload your settings, please? They sound exactly like what I am looking for! The way you have set the standard modeseem to comply with UK law.
 
Hello from Spain, someone can help me?
I installed the software for the bbshd v1.5 (IAP15W4K61S4), all settings seem to be working properly, but the max current the display show's is 28.5A when i have set it up to 33A, I tried doing 32A, 31A and 30A but the motor only outputs 28.5A, Im currently running the motor on a 52v 17.5Ah battery and the motor is brand new, i bought it 1 week ago, the display is the 850c.
Thanks in advance.
 

Attachments

  • IMG_20231230_131526.jpg
    IMG_20231230_131526.jpg
    4.8 MB · Views: 20
Hello from Spain, someone can help me?
I installed the software for the bbshd v1.5 (IAP15W4K61S4), all settings seem to be working properly, but the max current the display show's is 28.5A when i have set it up to 33A, I tried doing 32A, 31A and 30A but the motor only outputs 28.5A, Im currently running the motor on a 52v 17.5Ah battery and the motor is brand new, i bought it 1 week ago, the display is the 850c.
Thanks in advance.

Funny enough I asked the exact same question a few pages back. Since then I've changed my bms to a smart one and I can see it is drawing the 33a as in the settings, it's just for what ever reason the display doesn't show it correctly.

So no need to worry, despite what the display says the motor will draw the 33a.
 
If you take a logical approach to this, the only thing common to all your issues would appear to be the programming cable and the pc you are using for this, I guess it would make sense to try alternatives to these items. The fact that you are having issues with both Penoff's and Daniel's fw (both proven systems) seem to point to this, but I'm aware that this type of problem rarely has a logical conclusion...
I don't think the newer controllers have any extra 'protection' built in, I had to replace one of my controllers with a new one a short while back and it reprogrammed without any issues. Good luck with this though, we all know how frustrating this type of problem can be...:(
Thank you geofft for your comment. I take a new prog. cable with a fresh clean laptop. Meanwhile I find and try this source :

Working really great, my 2 controller return to original !
I was assisted by a friend who cleans the computer.
We try again with Daniel's fw but cant find where the prog settled !?

I'm there for now. I will update when I have more time.

Thank's again !

Happy new year for all !
 
Thank you geofft for your comment. I take a new prog. cable with a fresh clean laptop. Meanwhile I find and try this source :

Working really great, my 2 controller return to original !
I was assisted by a friend who cleans the computer.
We try again with Daniel's fw but cant find where the prog settled !?

I'm there for now. I will update when I have more time.

Thank's again !

Happy new year for all !
Thanks for the update, good to hear you are making progress!
Do you mean you can't find the online location of Daniel's fw? If so this should help:-

GitHub - danielnilsson9/bbs-fw: Open source firmware for multiple electric bike motor controllers.
 
Looks interesting.....these pedal sensors have been around for quite a while now, though I've yet to see any feedback from anyone who has tried them.

I'm guessing that the receiver unit (the 'FECU') outputs a signal suitable for the controller throttle input. The usual problem with torque sensors is that the measured torque 'pulses' during a pedal rotation (i.e. it's high at 90/270 deg, low at 0/180), this normally requires some torque averaging routine in the software to smooth it out.

It may be that these sensors have something like this already built in, otherwise the firmware would have to be modded to accommodate this. Also questions about how the pedals are switched on, how long the batteries last, etc.

Just needs some brave soul to try them out......;)
 
I'd bet that the pedals just send the actual signal, and the receiver (FECU on their page) does all the postprocessing. If that FECU just sends the data as-is (hopefully), then an MCU could be used on it's output to smooth the data in whatever way was desired, rather than depending on whatever they thought the FECU should do, which probably isn't what we would want it to do (because it just "never is").
 
too expensive. i paid 500€ for my bbshd on pswpower. this new unit costs 600€+import duty+ shipping cost, so probably around 1000€, and then we dont even know if this new motor is customizable in terms of motor parameters and other stuff.
 
Back
Top