![]() |
| × | 1 | |||
![]() |
| × | 1 |
Components and supplies
About this project
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...
Code
ino files for MEGA2560
Comments
Author
Additional contributors
- For some hardware hints of 6 fet h-bridge 36v 250w by Albert van Dalen
- Start from standstill method by Simple Projects
- Oled ssd1306 compact lib with and without buffer, i2c twi or bit-banging by Didel SA
Published on
November 27, 2019Members who respect this project
you might like