IoT Based Water Level Monitoring system using ESP32 Blynk & Ultrasonic Sensor

preview_player
Показать описание
In this IoT internet of things project, I have shown how to make the IoT based water level monitoring system using ESP32 Blynk and ultrasonic Sensor. For the LOW water level, the alarm will start and you will get a Blynk notification on the smartphone through the internet. Also, you can monitor the water tank level on OLED.

Download the Code and PCB Layout for the water level sensor project from the following article.

For this IoT-based water level indicator project, you can use any ultrasonic sensor as the water level sensor in the tank. You can always monitor the tank water level on OLED and if the ESP32 is connected to WiFi, you can monitor the water level from anywhere in the world on Blynk IoT App.

During this video, I have made the circuit on zero PCB using the PCB layout, and also shared the wireless water tank level indicator circuit and source code.

The alarm will ring when the tank is full and when the water level drop below the threshold limit.

I have not connected relays to the control pump but if you want you can connect a relay instead of the green LED to control a pump.

During the ESP32 project video, I covered the following topics:
00:52 Quick demo on IoT based water level monitoring system.
01:46 Required components for this ESP32 IoT project.
02:03 Circuit diagram of the ESP32 water level sensor.
03:32 How to make the water level detector on Zero PCB.
05:30 Set up Blynk IoT Cloud for ESP32.
07:11 Steps to add a device in Blynk IoT Cloud.
07:36 Source code for the IoT-based water level sensor.
09:59 Set up Blynk IoT app to monitor water level.
10:57 Add automation for LOW water level notification.
12:10 How to install the water sensor inside a water tank.

Buy components from TechStudyCell online store at LOWEST price:

Required components for the non-contact liquid level sensor.
1) ESP32 DEV KIT V1
2) SR04M waterproof ultrasonic sensor OR HC-SR04 sensor
3) 0.96" OLED Display
4) 220-ohm 0.25watt Resistors - 2 no
5) BC547 NPN Transistor
6) LED 5mm - 1no
7) 2-pin Push Button
8) 2-pin Terminal connectors (3 no)
9) 5V DC Buzzer
10) AC to DC converter PM01 5V (Optional)

Amazon India Affiliate links:

Amazon United States Affiliate links:

Important points:
1. For the SR04M waterproof ultrasonic sensor minimum measure distance is 25cm, so the distance between the sensor and the full tank water level must be greater than 25cm.
2. As per the logic, the ultrasonic sensor will only calculate the water level if the measured distance between the predefined values for the empty tank and full tank.
3. Define all the distance values in cm.
4. You can press the button to stop the buzzer.
5. You can either give AC supply, or 5V DC supply as shown in the video.
6. Please watch the complete video, otherwise you may face some issues.
**Please take proper safety precautions while working with high voltages.

This IoT-based ultrasonic water level sensor will help you to maintain the water level in the tank, also it is very useful to save energy and water resource.

If you face any issues please let me know in the comment section.

#waterlevelindicator #iotprojects #esp32

-----------
Thanks For Watching...
✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS

-----------
-----------
WARNING:
This video is for demonstration and educational purposes only.
Each demonstration presents risks and hazards that must be fully understood before attempting.
And should be performed only by professionals
-----------

Other useful IoT projects:
Latest ESP32 projects playlist:

Latest NodeMCU projects playlist:

Arduino Home Automation Projects playlist:
Рекомендации по теме
Комментарии
Автор

Buy components from TechStudyCell online store at LOWEST price:

TechStudyCell
Автор

So for any one of you facing water buildup on sensor you can use cheap anti moisture sheet used in cars side mirror. And make sure to ad a little tilt to the sensor so that water goes to opposite side . I have used one esp 32 with 3 sensors works great

nitesh
Автор

Great video and tutorial, I am a newbie to the whole lot business, and where I live water is scarce and has to be strictly rationed and managed, I would like to point out that the arduino/ESP32 script has to be adjusted to real life usage, in my case to properly get a reading of distance and after some very frustrating hours of not getting a precise reading on the depth measurement, I realized that sound does not travel at the same speed at different altitudes, with temperature and humidity being a variable, living at 3300 +/- feet altitude, I have adjusted the formula of the speed of sound from 343/Meters per second x to 354//Meters per second, the other problem encountered was how to get the true volume or porcentaje of remaining water in the tank, with a depth of 4 meters I have only 3 working meters of usable water and to avoid the sensor from getting wet or splashed by the street inlet, adding a safe distance of 30 Cms, which sums up to 330 Cms. Given that i had to calculate the volume for 3 meters of water I assumed that declaring on the sketch to :

//Set Water Level Distance in CM
int emptyTankDistance = 300 ; //Distance when tank is empty
int fullTankDistance = 30 ; //Distance when tank is full


Would be true and accurate, again very frustrated with wrong percentages of water, until I realized that it was necessary to declare the full 330 Cms to get an accurate reading of the waters volume at 3 meters.

//Set Water Level Distance in CM
int emptyTankDistance = 330 ; //Distance when tank is empty
int fullTankDistance = 30 ; //Distance when tank is full

I hope my stumbling and fumbling is of some help to others, and Again very grateful for the tutorial and sketch it has been of great help to create a truly useful toll, Great Work!!!

jacktepper
Автор

GREAT SOLUTION FOR BEGINERS AND EXPERT PERSONS FOR STARTING UP NEW IDEA PROJECT. THANK YOU A LOT.

วิระพิทักษ์ถิร
Автор

I also did similar to this using waterproof ultrasonic sensor, working good, but the problem is it will show the wrong readings when the moisture inside the water tank is deposited on the sensor.

kartikhegde
Автор

I like it! I have had water issues and the sensors from the vendor who installed our sump pump are useless. I am gonna try this approach with ultrasound sensor instead.

sanjaybhatikar
Автор

Great job. The problem with this approach is the water or liquid will evaporate and condense on the surface of the sensor and that's a problem.

pereerecodes
Автор

Good evening CONGRATULATIONS my friend I follow all your videos. Could you do how to turn non-smart TV into smart TV

mahadabdillahi
Автор

I have been following you for a very long time and I adore your videos and your way of explaining
Can you do home automation through esp32, but with sensors such as temperature and humidity sensor, distance sensor, motion sensor, light intensity sensor, rain sensor, fire sensor, fingerprint sensor, rfid card, and more outputs for each sensor, knowing that you can add atmega328p to increase the number of outputs through an application blynk or esp rainmaker

mohamedafez
Автор

Pak Asun hebat banget bisa rekomendasiin video yang sangat keren ini 😎

Wempei
Автор

Wow, the video is very interesting and very useful for those of us who are learning Io T🤩👍

SilvianiFauziah-cqms
Автор

Oh my God !! it's so very Interesting but i don't have a Knowledge in Electronic Equipment and Circuit Before, i want to follow by this videos but i have a problem with langauge as well
can you reccommend me to see your Video in English absense

happygaming
Автор

Thank you so much for this video.
I have learned a whole lot about Arduino and Blynk.
Thanks !

rob
Автор

Hey there, I've made quite the same circuit and used the same sensor for water level measurement but the problem is that after a few days time there is moisture building up on the surface of waterproof sensor which messes up the readings.

Kartikeyahm
Автор

Hallo, I am interested in this product, what is the price that must be met for this product?

PutraJuanda-kl
Автор

this is a good solution, for me who is currently learning about IoT

*Adit

kumbanggmg
Автор

Very cool, hopefully this can continue to innovate

KhansaAsySyifa-xx
Автор

By the way, after a research can get data from ultrasonic module just by using 2 wires by carry data over dc lines :)

knowledge_seeker
Автор

Good useful project bro, will try to implement in my home 😀

iamrafic
Автор

Good project ❤️, how many maximum distance

oshan_malith