Skip to content

OpenSourceEBike/Motor_FOC

 
 

Repository files navigation

Fork of EBiCS firmware for Lishui devices. Ported to Xaiomi M365 controller. Use JST PA series 2mm pitch for the connectors. (need to be confirmed)

This branch works with the original M365 dashboard

How to use:
Install the STM Cube IDE
Start the IDE and install egit from the eclipse marketplace (Help --> Eclipse Marketplace...)
Import this repo from github (File --> Import --> git --> Projects from git)

Edit the file config.h (in the folder Core/Inc) according to your wishes. Working settings for the original M365 are in the comments, so use them to have a proven start setting.

Click on "Build" (The icon with the hammer)

in the folder /tools/zip-output the zip-file ready for use with your scooter is generated. Copy it to your mobile phone and flash it to the scooter by the app downG.

After flashing, lift the motor, so it can spin in the air without load. Press the dashboard button for 5s, the autodetect routine starts. The motor turns slowly. After stopping, the scooter is ready to run.

Dashboard button use:
short press: switch lights
double click: switch ride modes
long press: switch off
very long press: run autodetect

PCB Layout M365

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.5%
  • Other 0.5%