Kids OK with adultESP32Level 2/3
Water Tank Level on Phone
An ultrasonic sensor on the tank lid measures the water level and your phone shows it live, with an overflow alert.

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.
The 1k/2k divider on ECHO is required: it drops the sensor's 5V signal to a safe 3.3V for the ESP32.
Strictly follow the description given with this video.
Video
The video link will be added here soon.
How it works
- The HC-SR04 sends a sound pulse down to the water and times the echo.
- The ESP32 turns the echo time into distance, then into % full.
- The level shows live on your phone over Wi-Fi.
- Near full, you get an alert before the tank overflows.
Parts you need
Kit for this projectPrice on request
Get the kitWiring

PowerGroundSignal
| # | From | Connect to |
|---|---|---|
| 1 Signal | HC-SR04 TRIG | ESP32 D27 |
| 2 Signal | HC-SR04 ECHO | 1k/2k divider → ESP32 D26 |
| 3 Power | HC-SR04 VCC | ESP32 VIN (5V) |
| 4 Ground | HC-SR04 GND | ESP32 GND |
3D print files
This project has no 3D-printed parts.
Code
The tested Arduino / ESP32 code for this project will be posted here, ready to copy.