A low-cost educational toolkit that combines the Smart Motor (ESP32-based motor controller) with the Smart App web interface to teach machine learning concepts through hands-on robotics projects.
For more information, visit our project website: https://smartmotors.notion.site/
- Smart Motor (ESP32 microcontroller running MicroPython)
- Smart App (browser-based training interface)
- Integrated motor control and sensor readings
- WebUSB communication between Smart Motor and Smart App
Smart Motor firmware:
main.py- Core Smart Motor functionality including motor control, sensor reading, and serial communicationboot.py- Smart Motor boot configurationservo.py- Servo motor control librarysmarttools.py- Display and UI utilities for the OLED screenssd1306.py- OLED display library
index.html- Smart App web interface for motor training and visualizationtrainData.txt- Storage for motor training data points
Deployment:
firebase.json- Firebase hosting configuration
This material is based upon work supported by the National Science Foundation under Grant Number IIS-2119174. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.