Waynemarlow
Regular
Pretty easy to fit two or more wheel magnets to get better speed detection ?
do you have a working Bafang .bin file for your motor? Then I can take a look, if it is different.Why my M560 fails to boot after firmware flashing.


After setting it to 20A, can the actual current also reach 20A?I wanted to do the same thing when I bought the M510. I thought the maximum current was hardcoded into the M510 firmware. However, this isn't the case, and I set it to 20A in the stock firmware (Canable, old BESST) without any problems. Now I'm not sure about replacing the controller, as the M510's power is limited by its smaller physical size, peek gear, and overheating, not the controller.
Hm, in the bin file, the well known BL38 is shown and in the interrupt vector table is nothing new also. The header is the same as well. So from the distance, it should work. Which version have you installed? The official release from github, or the last one from this thread in #657?
View attachment 389315
View attachment 389314
#657: EBiCS_for_M560_BL38_v0.0083,github:EBiCS_for_M560_BL38_v0.008..use besst,the same problem
What is the symptom? Is the display not starting? Is there an error message in the display?fails to boot




In the EU and UK, a throttle that operates without pedaling is generally illegal on standard EPACs (Electrically Assisted Pedal Cycles). The motor must stop assisting the moment you stop pedaling. However, throttles are legal if they strictly require pedaling to engage the motor or are used only as a low-speed walking aid. [1, 2, 3, 4]
I already linked to the official EU regulation in #616.you should not link to websites selling custom electric bikes as evidence of the regulations
Please fork the repo at GitHub to your personal accout, commit your changes to your fork and submit a pull request to the M510+560 branch. That's the easiest way, with no manual copy-paste...You can also incorporate my other changes—all of them are in the post, and I can share the source code with my modifications as well

Exactly. So you are better off not running a throttle at all. The reasoning is that the police cannot then check the top speed of your vehicle, as the police is not entitled to sit on your vehicle and take a ride - you could easily argue in court that they tempered with your bike and/or achieved higher speed with just their legs. If they don't have a dyno and there is no throttle installed they can do nothing.Especially in Poland, during a traffic stop, the first thing they look at is the throttle, and an unnecessary dispute will only result in the case being referred to court.
Do you have a link to the lokal polish regulation?in Poland EU regulations are treated as a suggestion and internal polish law takes precedence.
With this formulation, a torquesensor is mandatory for a legal E-Bike (EPAC). A simple PAS system can't detect pressure on the pedal and will be illegal consequently.triggered by pressure on the pedals
Merged!Here my PR
I've always avoided artificial ramps, but let the PI control do it's job. Of course a PI control needs to be tuned to avoid oszillation but have a fast response to changes in the setpoint.Would a modification like the one above work?