6ccbc7faf5bbdb30f8e6debeb375a6874036ca06
- 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
inital prompt
start platformio project.
using esp32 lolin32 rev1.
we will connect a dual h-bdrige module based on BTS7960 module.
12v dc input.
module guide - https://deepbluembedded.com/arduino-bts7960-dc-motor-driver/
Description
Languages
C++
90.2%
C
9.8%