casainho / SmartESC_STM32_v3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C 99.5%Language:Assembly 0.2%Language:Python 0.2%Language:Makefile 0.1%