Skip to content
Voltomni
← All project kits

IoT water tank level monitor and pump controller (ESP32)

IntermediateBuild time 3 hours· You'll learn: ESP32, Waterproof ultrasonic sensing, Wi-Fi dashboards, Relay control

Solves a real problem in Indian homes: overflowing or empty overhead tanks. A waterproof JSN-SR04T ultrasonic sensor in the tank lid measures the distance to the water; the ESP32-C3 turns that into a percentage, shows it on an OLED and on a web page any phone on the Wi-Fi can open, and sounds a buzzer when the tank is nearly full. A relay output can switch the pump's starter so the tank fills itself between the levels you set.

Complete kit

₹2,989

Every part below as one item: we collect, check and ship the whole set together, with one GST invoice. Ships in about 11 business days.

View complete kit

Parts only: available parts total

₹2,625

5 of 5 line items available now.

Electronics

PartRoleQtyUnitLineStatus
Seeed Studio XIAO ESP32C3SingleWi-Fi controller1₹608₹608ships in about 11 business days
Waterproof ultrasonic sensor (JSN-SR04T)ModuleWaterproof ultrasonic level sensor (2.5 m cable)1₹380₹380ships in about 6 business days
Grove 0.96-inch OLED display (128 × 64)ModuleLevel display1₹741₹741ships in about 11 business days
SmartElex 5V 3A 2 Channel Signal Relay ModuleRelay output for the pump starter1₹181₹181ships in about 6 business days
Electronics fun kit with 830 breadboardKit830-point breadboard, jumper wires, LEDs, resistors, buttons and buzzer1₹715₹715ships in about 6 business days

How to build it

  1. Drill a hole in the tank lid and fix the sensor head facing straight down at the water; keep its electronics board indoors or in a box.
  2. Wire the sensor's TRIG to a GPIO pin and its ECHO through a resistor divider (5 V to 3.3 V) to another.
  3. Wire the OLED to I2C and the relay module's input to a GPIO pin.
  4. Upload the sketch with your tank's empty and full distances, and check the percentage as you fill it.
  5. Open the board's IP address on your phone to see the level, and set the pump-on and pump-off levels.
  6. Have an electrician connect the relay to the pump starter's control circuit; don't wire mains yourself.

Questions

What tank depth does it work for?
From about 25 cm to 4.5 m between the sensor and the water, which covers household overhead and sump tanks.
Can the relay switch a 1 HP pump directly?
No. The relay switches the starter or contactor that controls the pump; the pump's current must go through a starter rated for it, wired by an electrician.

Prices are final and follow what Indian distributors have in stock (refreshed nightly). Out-of-stock parts are not added to the cart.