Kids OK with adultESP32Level 2/3
The World’s Most Useless Box: Try to Catch It!
Useless Box 2.0: bring your hand close and the box drives away from you.
Sign in to save
Kids OK, with an adult
DIY project. Children must build this only with an adult (16+ years) beside them at all times. Not suitable for children under 8 years.
Build it with an adult; moving wheels can pinch small fingers. Use protected 18650 cells with a proper BMS and charger.
Strictly follow the description given with this video.
Video
How it works
- A distance sensor in the box’s “eye” measures how close your hand is.
- Within about 8 cm, the ESP32 tells the motor driver to reverse both wheels.
- It backs away, then spins a random amount so it is hard to catch.
- Two protected 18650 cells (7.4 V) power the motors, with a step-down for the ESP32.
Parts you need
Wiring
PowerGroundSignal
| # | From | Connect to |
|---|---|---|
| 1 Signal | Sensor SDA / SCL | ESP32 GPIO21 / GPIO22 |
| 2 Power | Sensor VCC | ESP32 3V3 |
| 3 Signal | Driver AIN1 / AIN2 / PWMA | GPIO25 / GPIO26 / GPIO27 |
| 4 Signal | Driver BIN1 / BIN2 / PWMB | GPIO32 / GPIO33 / GPIO14 |
| 5 Power | Driver STBY and VCC | ESP32 3V3 |
| 6 Power | Battery 7.4 V (via switch) | Driver VM and buck input |
| 7 Power | Buck output 5 V | ESP32 VIN |
| 8 Ground | All grounds | Common GND |
3D print files
This project has no 3D-printed parts.