This project has now reached a certain maturity, use is always at your own risk. The authors do not accept any liability for damage to property or personal injury!
The Master-branch supports sensored motors and Bafang-, Kunteng- and Kingmeter-Displays and debugging.
This repository is solely ment as a proof of concept for using a Spart ION XGS engine with the Lishui controllers. Use at you own peril.
Changes include:
- 100k NTC motor temperature measurement
- Some modifications to allow the user to use the KT display settings to configure the device (WIP)
- Settings specific for this engine/LSW1728 controller configuration.
- Remade directory structure to allow more easy linux development, this branch is NOT mergable with the remote EBiCS master and this is by design.
User specific settings can be done in a user-friendly gui.
throttle, "torque-simulation" and torquesensor-modes are available.
The sensorless_VESC-branch has adapted the sensorless control of the VESC. Recently optimized for a Fischer ETH 1606 bike. If will work with other motors also, of course.
A short tutorial can be found in the wiki.
Helpful links:
UM1052 - STM32F PMSM single/dual FOC SDK v4.3
RM0008 Reference Manual STM32F103xx
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.