I Built a Solar-Powered Water Tank Level Sensor

Опубликовано: 16 Апрель 2026
на канале: J-Rat Techworks
175,057
4.7k

In this video, I walk you through my DIY smart water tank level sensor build using an ESP32 and an ultrasonic sensor (AJ-SR04M). It’s powered by a Li-ion battery and solar panel, with deep sleep mode to save power and extend battery life.

📦 Links & files:
– Soldering Iron - https://s.click.aliexpress.com/e/_c3d...
– ESP32-C3 Super Mini - https://s.click.aliexpress.com/e/_oBV...
– AJ-SR04M Ultrasonic Sensor - https://s.click.aliexpress.com/e/_oEa...
– A02YYUW - More expensive, better reliability - https://s.click.aliexpress.com/e/_c43...
– 5v Boost Converter - https://s.click.aliexpress.com/e/_opv...
– TP4056 - https://s.click.aliexpress.com/e/_oDc...
– 470μF capacitor - https://s.click.aliexpress.com/e/_oE6...
– 6v 1W Solar Panel - https://s.click.aliexpress.com/e/_oC7...
– Resistors - https://s.click.aliexpress.com/e/_ooG...

– My 3D Printer - https://s.click.aliexpress.com/e/_c4q...

– Link to the instructions, code and hardware list - https://jrattechworks.com/water-tank-...

The sensor sends updates via Wi-Fi to Home Assistant using ESPHome, and only wakes up once every hour to check the water level.

Whether you’re on rainwater, living off-grid, or just tired of climbing ladders to check your tank, this is a simple and effective way to monitor your water levels from anywhere.

What’s inside the build:
• ESP32-C3 Super Mini
• AJ-SR04M waterproof ultrasonic sensor
• TP4056 for battery charging
• 3.7V Li-ion battery + 6V solar panel
• Custom 3D printed case
• ESPHome + Home Assistant integration

Got questions or building your own? Drop a comment!

0:00 - Intro
0:59 - Components Used
2:04 - Initial Plan
2:41 - How It Works

#ESP32 #DIYProjects #SmartHome #HomeAssistant #ESPHome #WaterTankSensor #IoTProjects #UltrasonicSensor #SolarPowered #batterypowered

Information provided in this video is for educational purposes only.
If you attempt to recreate/replicate anything you’ve seen in this or any other video, you’re doing so at your own risk.
Some of the links in this post may be affiliate links. If you buy through them, I may earn a small commission at no extra cost to you.