I am using a basic entry level e-bike for my daily transportation around town. The original controller was having some flaws, so I changed it with a other Chinese model, so learned about signal names like PAS (Pedal Assist) and found out that I could add a throttle, because the new controller supported it. Now I like my e-bike very much with the throttle... Becoming gradually more familiar with the technology, I tried to write my own controlled software based on a Arduino Mega 2560, first to learn how the BLDC drive works, second to be able to add any feature I want. Because I wanted not to rebuild the hardware from the power stage, I took a Chinese controller, removed the processor and soldered the six wires to control the H-bridge. Those six lines are now controlled by the Arduino.
The result works surprisingly well, as you can see in this video.
OK, I could not make a "field test" because the hardware is no reliable enough to build it in the bike and drive on the streets.
Would be nice to have more enthusiasts help to design a hardware shield for this project and produce a few PCBs. People interested should contact me. I can provide schematics and component listing for a shield...
ino files for MEGA2560
- 4 projects
- 29 followers
Published onNovember 27, 2019
Members who respect this project
you might like