MuTech Robotics
Join
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
The World’s Most Useless Box: Try to Catch It!
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

  1. A distance sensor in the box’s “eye” measures how close your hand is.
  2. Within about 8 cm, the ESP32 tells the motor driver to reverse both wheels.
  3. It backs away, then spins a random amount so it is hard to catch.
  4. Two protected 18650 cells (7.4 V) power the motors, with a step-down for the ESP32.

Parts you need

  • ESP32 development board (30-pin)ESP32 development board (30-pin)₹518× 1Buy
  • Time-of-flight distance sensor (VL53L0X)Time-of-flight distance sensor (VL53L0X)₹288× 1Buy
  • Dual motor driver (TB6612)Dual motor driver (TB6612)₹207× 1Buy
  • Geared motors with wheelsGeared motors with wheels₹69× 2Buy
  • 18650 cells18650 cells₹184× 2Buy
  • 2S holder with protection board2S holder with protection board₹40× 1Buy
  • Buck converter (to 5 V)Buck converter (to 5 V)₹69× 1Buy
  • Toggle switchToggle switch₹29× 1Buy

Wiring

SensorSDA / SCLVCCESP32GPIO21 / GPIO223V3VINGPIO25 /GPIO26 / GPIO27Driver AIN1 /AIN2 / PWMAGPIO32 /GPIO33 / GPIO14Driver BIN1 /BIN2 / PWMBDriver STBY andVCCDriver VM and buck inputBattery 7.4VBuck output 5VCommon GNDAll grounds
PowerGroundSignal
#FromConnect to
1 SignalSensor SDA / SCLESP32 GPIO21 / GPIO22
2 PowerSensor VCCESP32 3V3
3 SignalDriver AIN1 / AIN2 / PWMAGPIO25 / GPIO26 / GPIO27
4 SignalDriver BIN1 / BIN2 / PWMBGPIO32 / GPIO33 / GPIO14
5 PowerDriver STBY and VCCESP32 3V3
6 PowerBattery 7.4 V (via switch)Driver VM and buck input
7 PowerBuck output 5 VESP32 VIN
8 GroundAll groundsCommon GND

3D print files

This project has no 3D-printed parts.

Code

Get the code