-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building on Luna's work #37
Comments
I am working with other Xiaomi M365 developers to develop an OpenSource EBike and EScooter motor controller. My idea is to have a generic EBike and EScooter motor controller, with room for custom electronics, easy do DIY and repair. My idea is to have room for some custom electronics, so I can reuse it over different projects / devices. Both firmware and electrics will be reused, so this means future prof and independent of manufacturer. Sure, specifics customs electronics will need to be developed, like the specifics to read the torque sensor of Bafang M800. It will take time, but I will get there over time. |
Is there a reason to keep it not VESC-project compatible? |
In terms of hardware, VESC 4 only supports 12S battery. It is hard to repair. Has no room for custom electronics / customizations. As for firmware, I found a more simple FOC firmware. May not be the most complete motor controller implementation, but it is easier to understand and most probably easier to port to other different microcontrollers in future, if needed. Also the developer is very active and friendly. Here is: https://github.com/EBiCS/EBiCS_Firmware |
@casainho I actually agree... That project looks pretty need! :) |
By the way, there is now SimpleFOC, motor control for Arduino!! https://simplefoc.com/ And it has the advantage to be easy to customize electronics and firmware, since it is an Arduino shields and Arduino firmware!! But the hardware is low power, without focus on EBikes. Also the firmware is not so good to implement FOC, at least it is what others are saying. Still I really like the results they seem to get. Who knows if in future we can have a shield / motor controller as the one I am doing and run SimpleFOC firmware on EBikes?? |
Invitation to the telegram channel: @casainho I deleted your link, this Telegram group is only for M365 and G30 scooter controllers! |
@casainho in fact, this not really related to the aim of this issue nor the repo in general. |
About reusing technology for EBikes motors, we got our OpenSource firmware running an Xiaomi M365 EScooter motor(1) as also running the TSDZ2 mid drive ebike motor(2). This same firmware did run on our OpenSource and DIY motor controller(1) as also on the M365 motor controller -- see the videos bellow. You guys feel free to reuse this technology on this project!! We are building this as modular, we now have the motor controller hardware (with room for custom electronics), the motor controller firmware, the display (hardware and and firmware).
|
As Luna's Ludi v2 work is opensource but their hardware is not...
Why don't we go for porting VESC to the S32k142 instead of figuring out the wheel again?
It is, in theory, plausible it looks like...
@casainho @CiDi-IT and thought on this?
The text was updated successfully, but these errors were encountered: