#07intermediate

Water Tank Sentinel

Monitor water tank levels with ultrasonic distance sensing

Watch the circuit build itself: components drop in, wires connect, and the output comes alive.

Components

Everything you need for this project.

1x HC-SR04 ultrasonic sensor

1x Active buzzer

1x Green LED

1x Red LED

220Ω

2x 220Ω resistors

6x jumper wires

How It Works

Ultrasonic distance measurement (HC-SR04), pulse timing, distance calculation, and mapping sensor readings to real-world units.

InputUltrasonic Distance
ProcessingESP32-S3 measures echo time, calculates water level
OutputLEDs + buzzer alarm

What You Build

Ultrasonic sensor on D1/D2, LEDs on D3/D4, buzzer on D5. Distance represents water level in a tank scenario.

African Context

Millions of households rely on water tanks. Community water projects in Tanzania, Ghana, and Mozambique deploy similar ultrasonic level sensors.

What You'll See

Moving a hand toward the sensor changes the "water level." Full tank = green LED; empty = red LED + buzzer alarm.