danielnilsson9 / bbs-fw

Open source firmware for multiple electric bike motor controllers.
GNU General Public License v3.0
191 stars 39 forks source link

Open source firmware for bafang displays #205

Open Bafanger opened 11 months ago

Bafanger commented 11 months ago

Hi I am working on bbshd controller to run 72v but i cant find any display that has max voltage more then 60v except eggrider. Is it possible to make a firmware to allow to run 72v true one or few bafang displays compatible with hd and 02b?

S-CODE-pl commented 11 months ago

The firmware supports up to 75V (after replacing controller caps). You need a voltage converter to lower voltage to your hardware display, or use Mobile via USB cable/bluetooth display.

WvBijsterveld commented 11 months ago

please keep this thread updated as i am interested in the progress and how it handles it. On Dec 13, 2023, at 9:53 PM, Bafanger @.***> wrote:



Hi inam working on bbshd controller to run 72v but i cant find any display that has max voltage more then 60v. Is it possible to make a firmware to allow to run 72v true one or few bafang displays compatible with hd and 02b?

— Reply to this email directly, view it on GitHubhttps://github.com/danielnilsson9/bbs-fw/issues/205, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADNSJ4K3XVYV353CUIV23HTYJIIUVAVCNFSM6AAAAABATZHJQSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2DANBVGI2TENA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Bafanger commented 11 months ago

Ok but if i use the open source firmware the mobile app wont work anymore or am i wrong ?

On Wed, 13 Dec 2023, 23:07 S-CODE-pl, @.***> wrote:

The firmware supports up to 75V (after replacing controller caps). You need a voltage converter to lower voltage to your hardware display, or use Mobile via USB cable/bluetooth display.

— Reply to this email directly, view it on GitHub https://github.com/danielnilsson9/bbs-fw/issues/205#issuecomment-1854833879, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3XTN7NJN3XSOZSFPOWKWI3YJIYLJAVCNFSM6AAAAABATZHJQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUHAZTGOBXHE . You are receiving this because you authored the thread.Message ID: @.***>

S-CODE-pl commented 11 months ago

if you mean 'Speed' app - it should work, at least basic functionality.

There will be available soon mobile app with more complex display functionality -> you can watch repo https://github.com/S-CODE-pl/ChainBreaker to receive updates about it.

Bafanger commented 11 months ago

That is awesome. The only thing is missing with open source firmware and this type of settings app is field weakening

S-CODE-pl commented 11 months ago

what do you mean by 'field weakening'?

Bafanger commented 11 months ago

Basically Field Weakening allows to surpass the maximum speed of an electric motor on the current battery voltage by reducing the flux field. Some ebike controllers such as Grin have the ability to enable this technology and allow you to fine tune FW in settings

On Thu, 14 Dec 2023, 10:42 S-CODE-pl, @.***> wrote:

what do you mean by 'field weakening'?

— Reply to this email directly, view it on GitHub https://github.com/danielnilsson9/bbs-fw/issues/205#issuecomment-1855606261, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3XTN7KPVVSZCZHUSAJ4UEDYJLJX7AVCNFSM6AAAAABATZHJQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVGYYDMMRWGE . You are receiving this because you authored the thread.Message ID: @.***>

Delphis1982 commented 10 months ago

Yeah, that's right, but you can only take profit of field weakening when you are riding faster than the motor is able to spin. In the case of the BBSHD you have to build your bike as a MOTORCYCLE, not as a BICYCLE. And be aware that field weakening is realised at the cost of torque. So, with the standard Bafang controller it doesn't make sense to implement field weakening, because the maximum power is not enough to be useful. If you use 25% of the power for FW than you have only 750W for torque. But since 1000W has just enough torque for 50-60Km/h, what do you want to achieve with 750W for example? It makes more sense to work with your transmission.

Sorry for my potentially bad english, I learned it at myself.