feat: add ESP32 BTS7960 motor controller with web interface
- Implement MotorController class with PWM speed control (0-100%) - Add bidirectional control (forward/reverse) via LEDC PWM at 20kHz - Include optional current sensing and stall detection - Create responsive web UI with speed slider and direction buttons - Configure WiFi with static IP (10.81.2.185) - Use built-in WebServer library for ESP32 Arduino 3.x compatibility
This commit is contained in:
7
.agents/rules-debug/AGENTS.md
Normal file
7
.agents/rules-debug/AGENTS.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Debug Mode Rules
|
||||
|
||||
## ESP32 Debugging
|
||||
|
||||
- Use `pio device monitor -b 115200` for serial debugging
|
||||
- BTS7960 current sense pins can diagnose motor stall/overload conditions
|
||||
- Check R_IS/L_IS for overcurrent (>43A causes fault)
|
||||
Reference in New Issue
Block a user