An ESP32 robot you drive from your phone over WiFi (Access Point mode, no internet needed), with autonomous obstacle avoidance: HC-SR04 ultrasonic sensor, stop → back up → turn state machine, L298N motor driver.
The twist: I described this project in one sentence to Milo — the AI assistant in InstantIoT — and it generated the phone dashboard AND the complete Arduino sketch. Everything it generates stays fully editable by hand. Here is the exact prompt I gave Milo:
Build me a WiFi obstacle-avoiding robot: ESP32 in Wi-Fi Direct mode (the robot is its own access point), L298N driver with two DC motors, HC-SR04 ultrasonic sensor.
Dashboard, two clean pages with distinct colors per widget function:
- Drive page: joystick for manual driving + live distance gauge in cm
- Settings page: auto-avoidance toggle + obstacle threshold slider (default 20 cm)
This page tracks the project from generation to road test.