Caution! this is not a professional project. Anything you do with this firmware is at your own risk. In any case, use a quick fuse in the power supply to minimize the risk of destroying the controller, battery or motor!
Please make sure you read and understood the project documentation here: https://opensourceebikefirmware.bitbucket.io/
Many thanks to the team of the Forumscontroller, Main functions are from there!
After the main developer casainho decided to stop his activies in this project, the fork of stancecoke will be maintained as the main path. Of course the origin projcect of casainho can still be found: origin fork, not longer maintained.
About the project
This firmware replaces the closed source one on Kunteng sine wave controllers. It enables you to change basically anything about the way the controller reacts to inputs (throttle, PAS, torque sensor, brake, displays) and handles different modes/states concerning power output. A graphical tool is available, which allows the use of the firmware even for less experienced Windows users without programming knowledge. With the BluOsec android app you can control the assist level and set many paramters at runtime. BluOSEC App is now here.
But if you want something added / changed that isn't already implemented / beta / buggy, you have to get involved yourself. This is a hobbyists project and there is no one else to blame than yourself if something isn't working as desired ;-)
Sine wave control with simplified FOC
motor stopp while braking
Emergency stop if current consumption is too high (not tested)
- Throttle + PAS
- torque sensor
- torque simulation
- Recuperation via analog "thumb brake" signal or by digitally by brake switch
- Kingmeter J-LCD and Forerider App
- Kunteng LCD3 / LCD5
- Reverse step detection PAS
- Start-up support in torque sensor mode
- Pushing aid
What doesn't work:
- Block commutation during start-up
For further reading
The documentation on the project can be found here
The corresponding thread in the german Pedelecforum can be found here
Want to help?
There is always things to improve, don't hesitate to get involved if you have improvements in mind.