M5 stack library for Shanghai Lingkong technology products.
- Arduino for ESP32
- M5Stack Basic V2.7
- Clone MCP_CAN_LIB and lkm_m5 to Arduino Library directory.
cd ~/Arduino/libraries
git clone https://github.com/coryjfowler/MCP_CAN_lib.git
git clone https://github.com/Locoduino/RingBuffer.git
git clone https://github.com/project-sternbergia/lkm_m5.git
-
Open lkm_m5/examples/control_mode_example.ino with Arduino IDE
-
Build and write firmware to M5Stack
Check lkm motor behaviour using M5 stack.
- Middle Button - Change Control Mode (Position Mode -> Speed Mode -> Current Mode)
- Right Button - Increase control value
- Left Button - Decrease control value
- SHANGHAI LINGKONG TECHNOLOGY CO.,LTD Products
- SHANGHAI LINGKONG TECHNOLOGY CO.,LTD CAN PROTOCOL V2.35
- MIT