Water Level Indicator project using NodeMCU ESP8266 Blynk & Ultrasonic Sensor

Sdílet
Vložit
  • čas přidán 12. 09. 2024
  • In this IoT internet of things project, I have explained how to make an IoT based water level indicator project using NodeMCU ESP8266 Blynk and ultrasonic sensor. For the LOW water level, the pump will start automatically and you will get a Blynk notification on the smartphone through the internet. Also, you can monitor the water tank level on OLED.
    Get a free trial of the world's most trusted PCB design software, Altium Designer with 365 and 25% off your purchase: www.altium.com...
    Download the PCB Layout, Source Code, and Circuit for the water level sensor project from the following article:
    iotcircuithub....
    Buy components from TechStudyCell online store at LOWEST price:
    Our Catalogue: wa.me/c/918097...
    Help my projects on Patreon: / techstudycell
    Feel free to donate any amount: paypal.me/sdaspay
    Previous Video on Water level indicator project
    • IoT Based Water Level ...
    For this NodeMCU ESP8266 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 NodeMCU is connected to WiFi, you can monitor the water level from anywhere in the world on Blynk IoT App.
    In Manual mode, you can control the water pump manually from the switch and Blynk app.
    The alarm will ring when the tank is full and when the water level drop below the threshold limit.
    During this video, I made the circuit on zero PCB using the PCB layout, and also shared the wireless automatic water level controller circuit and source code.
    If you want you can connect a relay to the control pump, otherwise you can use this IoT Project as the water level indicator.
    During the ESP8266 project video, I covered the following topics:
    00:39 Quick demo on water level monitoring system.
    03:16 Required components for the ESP8266 IoT project.
    03:35 Circuit diagram of the IoT-based water level controller.
    04:14 How to make the water level indicator on Zero PCB.
    05:13 Set up Blynk IoT Cloud for ESP8266.
    07:44 Source code for the water level controller project.
    09:48 Set up the Blynk IoT app for the water level indicator project.
    11:40 How to connect relay buzzer with water level sensor circuit.
    Required components for the automatic pump controller.
    1) NodeMCU ESP8266
    2) SR04M waterproof ultrasonic sensor OR HC-SR04 sensor
    3) 0.96" OLED Display
    4) 1k 0.25watt Resistors - 3 no
    5) BC547 NPN Transistor
    6) LED 5mm - 2no
    7) 2-pin Push Button - 3no
    8) SPDT slider switch
    9) 220uF 25V DC Capacitor
    10) 2-pin Terminal connectors (3 no)
    11) 3-pin Terminal connectors (1 no)
    12) 5V DC Buzzer
    13) AC to DC converter HLK-5M05 5V (Optional)
    Amazon India Affiliate links:
    NodeMCU ESP8266: amzn.to/3KWWSmB
    SR04M waterproof ultrasonic sensor: amzn.to/3PG3LJj
    5V 30A 1-Channel Relay Module: amzn.to/3RCwvDU
    Amazon United States Affiliate links:
    NodeMCU ESP8266: amzn.to/41ImTft
    SR04M waterproof ultrasonic sensor: amzn.to/3EXi7Rp
    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. Here I have used an Active HIGH relay, so the relay will turn ON for the HIGH pulse.
    6. You can either give AC supply, or 5V DC supply as shown in the video.
    7. 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 project will help you to maintain the water level in the overhead 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 #esp8266
    -----------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more projects: iotcircuithub....
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudy...
    -----------
    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:
    • ESP32 Projects
    Latest NodeMCU projects playlist:
    • NodeMCU Projects
    Arduino Home Automation Projects playlist:
    • Arduino Projects

Komentáře • 162

  • @TechStudyCell
    @TechStudyCell  Před rokem +2

    Buy components from TechStudyCell online store at LOWEST price:
    Our Catalogue: wa.me/c/918097259277

    • @FuryFlickers
      @FuryFlickers Před 10 měsíci

      project is not good at all. i have done every thing right according to this video. problem 1: some time physical button work,most of the time it does not work but, blynk buttons are good.. problem 2: sensor giving lag result,some times water percent/distance is not changing as result pump is not working correct.

    • @peterfalk721
      @peterfalk721 Před 7 měsíci

      @@FuryFlickers😊

  • @overengineeredinoz7683
    @overengineeredinoz7683 Před rokem +2

    Very nice project. I like how you made the paper templates for component placement and soldering.

  • @triwahyudi4980
    @triwahyudi4980 Před rokem +2

    Great.. I try.. And.. Success.. Thanks... One again... Thanks 🙏🙏🙏

    • @diansumitra3300
      @diansumitra3300 Před rokem +1

      bro i have issue with the code , i already install all the library but still cannot compile it . can u share your code to help me ?

    • @triwahyudi4980
      @triwahyudi4980 Před rokem

      @@diansumitra3300 if cant compiling.. Please use library different.. Can u write here about your issue?? May be i can sharing

    • @diansumitra3300
      @diansumitra3300 Před rokem

      @@triwahyudi4980 do you have ig or social media for easy contact with u ? im very hope u can help me 🙏

    • @Shruthi-gb9bh
      @Shruthi-gb9bh Před 4 měsíci

      Bro idha edhula run panninga

  • @washimsunjil6524
    @washimsunjil6524 Před rokem +5

    If the water does not rise for 10 minutes then the motor will go to sleep for an hour If you add this code it would be great.

  • @ramizaashiq2980
    @ramizaashiq2980 Před 3 měsíci +1

    AoA
    Sir kindly yh bta dain k aghr smart water management system using iot ka project bnana ho to kya ap bna dain gy?

  • @qadeer1685
    @qadeer1685 Před rokem +2

    Very good

  • @adrianvivas4953
    @adrianvivas4953 Před rokem

    Hi from Argentina! What a great channel! Thank you so much for the info!

  • @WawanSetiawan-xn3ke
    @WawanSetiawan-xn3ke Před rokem +1

    Mantap luar biasa ilmunya sangat bermanfaat, sukses selalu semoga ilmunya berkah. Salam..

  • @abhaylal2101
    @abhaylal2101 Před rokem +2

    Wonderful shir

  • @mayankgoyal182
    @mayankgoyal182 Před rokem +1

    Great video, please make another video of it using esprainmaker

  • @vigneshr6459
    @vigneshr6459 Před měsícem

    Nice project it working good, Thank you

  • @aasumcreation
    @aasumcreation Před rokem +1

    Outstanding sir
    Amazing
    Sir please also provide zero pcb circuit diagram of home automation using esprainmker so that can we make pcb easily sir.

  • @chintuanthony2926
    @chintuanthony2926 Před rokem +1

    Thank you sir 👍

  • @aravindhanvivekanandhan5649

    Nice I definitely I use this project can u use different display like bigger display older people can see it clearly

  • @13_tanmaygharat72
    @13_tanmaygharat72 Před 8 měsíci +1

    please help my esp8266 is version 0.1 can we use the same libraries?
    also i have done whole project but port is not showing in code

  • @sarathighosh8033
    @sarathighosh8033 Před rokem +1

    Excellent

  • @crazzykumaranand6770
    @crazzykumaranand6770 Před rokem +1

    Nice 👌

  • @chennaicraft7556
    @chennaicraft7556 Před 2 měsíci

    hi video is very use full but i have an error: Compilation error: 'D5' was not declared in this scope; did you mean 'V5'?

  • @shandradm911
    @shandradm911 Před rokem

    I love your channel ❤

  • @user-uc3km9dm9i
    @user-uc3km9dm9i Před 4 měsíci

    For working the relay how much power supply needed to give

  • @khatrichaitanya1981
    @khatrichaitanya1981 Před 6 měsíci

    This project is absolutely good but you can add nrf24 module for wirelessly control and also add sump and overhad tank controlled by wirelessly
    My suggestion is use low power module so it can be easily use in battery for sender side
    Please upload this type of project becouse more practical and more usefull but need lots of skills thanks

  • @er.jugalmandal7736
    @er.jugalmandal7736 Před rokem

    Superb job done. Appreciated 👍 your efforts

  • @marvelfans0
    @marvelfans0 Před rokem +2

    I don't have pc. I want to program esp8266 by using my Android phone. Can i do this.

  • @user-dk7ed2dt2v
    @user-dk7ed2dt2v Před rokem

    Fantastic!

  • @nanuvc3463
    @nanuvc3463 Před 2 měsíci

    as per the schematic relay button2 was connected to D12 on NodeMCU,but could not find D12 on the board itself.

  • @rocanarace
    @rocanarace Před rokem +1

    I completely complete this projects but cant trigger relay of 5 v 30 A relay . I think relay needs to slightly increase voltage may b 7 to 9 v . Do u have any idea about this ? other wise my pcb board gone waste

    • @diansumitra3300
      @diansumitra3300 Před 11 měsíci

      i have issu to compile the code . their have some error with the iRam . with u can help me

    • @pasinduelectronic1955
      @pasinduelectronic1955 Před 10 měsíci

      I use bc547 transistor and 1k resistor to run it

  • @gamingwithsolo4542
    @gamingwithsolo4542 Před 6 měsíci

    #TechStudyCell:- Sir I am from Bangladesh, I am your subscriber. I had a question about this water pump indicator? Is this pump indicator work without wifi? Please reply quickly.☺️☺️

  • @JavierGonzalez-fe3lh
    @JavierGonzalez-fe3lh Před rokem +1

    Hello! Thank you for this project. Can i use it with the Bluetooth of the esp32?

  • @moondaju
    @moondaju Před 11 měsíci

    Is the demonstrated setup available as a kit to purchase from you?

  • @tristanreyes6601
    @tristanreyes6601 Před 10 měsíci

    Hi thank you for sharing, but what if i add flood mode, every movement of the water the alarm will make a sound? What code should i add?

  • @miguelemsYT
    @miguelemsYT Před rokem +1

    Hello, can you please add a chart to the app so one can track the water level through time. Thanks

  • @Akkisworlds
    @Akkisworlds Před rokem

    Firstly thank you so much Sir, sharing this valuable, informative & helpful Content with us. But I kindly request you this system makes for Terrace tank and underground tank both, if you possible 😇👍🏻
    Thank you Once again 😊🤝🏻

  • @nasrfalah2250
    @nasrfalah2250 Před 5 dny

    HELLO SIR ..
    PIN D12 IS NOT WORKING WELL I REPLACED IT WITH PIN TX
    CAN YOU TEL ME WHY PIN D12 NOT WORKING PLESE

  • @rankodwill
    @rankodwill Před 3 měsíci

    could you do the same project with A02yyuw (UART) sensor

  • @creativetech4619
    @creativetech4619 Před 5 měsíci

    Sir can u please tell me how to connect slide switch in this project

  • @Mukesh-vo2yr
    @Mukesh-vo2yr Před rokem +1

    Avarload (current) sefti faucher ad hota bahut achha hota

    • @TechStudyCell
      @TechStudyCell  Před rokem

      There is a MCB in the circuit. Please watch complete video

  • @ALLINONE-ec9jq
    @ALLINONE-ec9jq Před rokem

    very good sir

  • @henock9307
    @henock9307 Před rokem

    Thank you very much for this project, I realized it but my card can't connect to the wifi while everything is well configured need your help please

  • @Jesus_Sagredo
    @Jesus_Sagredo Před rokem +1

    It is a great project 👏. I would like to contact you to carry out a project.

  • @ashaproductionslabs190
    @ashaproductionslabs190 Před rokem +1

    great work ! can i replace esp8266 with esp32 with the same code

  • @ranjithkumar.s3657
    @ranjithkumar.s3657 Před rokem +1

    Super super

  • @sayadabdullasayadabdulla3766

    How much cost this project

  • @androidrunner4890
    @androidrunner4890 Před 11 měsíci

    if the internet not available then it works or not, without internet automatic control work or not

  • @maignanamgnanavel
    @maignanamgnanavel Před 8 měsíci

    Big drawback u can't extend the sensor cable . For real-time usage u need to keep all the things near to tank

  • @marufulalomkhan5177
    @marufulalomkhan5177 Před 11 měsíci

    sir please help me. this code is wrong. complying error, what do you mean D5 meas V5?
    Why does it come again and again?

  • @creativetech4619
    @creativetech4619 Před 5 měsíci

    Sir how to see internet is connected or not to nodemcu

  • @abdullahmaqsood2997
    @abdullahmaqsood2997 Před 11 měsíci

    Hi, I am working on one of your project: Water level monitoring using ESP8266. I am facing a PROBLEM that my module is not connecting to Blynk. I have placed all the website keys to codes correctly but it didn't work

  • @sharifakhan6564
    @sharifakhan6564 Před rokem

    Visiters counter and home automation sath m bana hua video banaiye na

  • @roopsvinay
    @roopsvinay Před rokem

    Wonderful. Sir, u also made similar project using Esp32 and Blynk. Please make using esprainmaker

  • @nelvingeorge2722
    @nelvingeorge2722 Před 11 měsíci

    Can I use this circuit without programming Blynk IoT app because I don't want any notifications on my mobile

  • @Roboticswithsoham7657
    @Roboticswithsoham7657 Před 8 měsíci

    is it wireless

  • @knowledge_seeker80
    @knowledge_seeker80 Před rokem

    We did a technology to get data from ultrasonic modules over same DC line so just can use 2 wires instead of 4 wires :)

  • @pasinduelectronic1955
    @pasinduelectronic1955 Před 10 měsíci

    When push the S3 (relay button ) button the bord restart and not changing relay on/off why ..

  • @narindersran4908
    @narindersran4908 Před 6 měsíci

    error show ("preferances .txt file is missing from well known location"how can i solve this

  • @infotechid6692
    @infotechid6692 Před 9 měsíci

    Can I Buy this? all in componen and source code?

  • @dsn2007
    @dsn2007 Před rokem

    Hi. Your project is great and very easygoing. I have tried it but I am facing an issue that during auto mode reading from the ultrasonic sensor is spiked above 100% frequently due to this running pump stops within short time. Can you implement any code by which if readings are above 100% or starting percentage for more than 2-3 seconds then only output count. Thanks you are doing a great job.

    • @binu_joy
      @binu_joy Před 7 měsíci

      I had faced the same problem . There are wrong values in between which I was trying to filter out by using averaging and different formulas. I was not able to complete the project. Have you found any solutions yet?

  • @Kinglmez1990
    @Kinglmez1990 Před rokem

    Hello, I copied this, works fine. only my display 1.3 inch does not work :(. and would it be possible to make an LED diode display in the code that you can see from the LED like full green 100% yellow 50% red under 10%? ask for an answer

  • @79palaniappan79
    @79palaniappan79 Před rokem

    Sir, what will happens when the tank reaches 100% during manual mode. Will it gets off or we have to off it. Can you suggest or include protection of motor running during dry conditions that is to stop motor during dry conditions.

    • @online_business_pokhara
      @online_business_pokhara Před 5 měsíci

      You can set the logic that if the motor is on by automated mode and if the current water level reading and the water level reading after 3/4 minute stays the same the motor to turn off automatically I think dry motor can last for somewhere around 10/15 minutes without any significant wear and tear

  • @joeabishekj5441
    @joeabishekj5441 Před rokem

    Bro can you make a project on automatic switch on for Generator when the current is cutoff

  • @tristanreyes6601
    @tristanreyes6601 Před 10 měsíci

    What is the version of your node mcu?

  • @AkashJangra21
    @AkashJangra21 Před 9 měsíci

    Can you share the full connection pcb schematic

  • @RohitKumar-mh1pk
    @RohitKumar-mh1pk Před rokem

    Green led is glowing but relay not operating what to do?

  • @srya8045
    @srya8045 Před rokem

    Bro add code for tank image level with percentage on OLED LIKE YOUR THUMBNAIL PICTURE

  • @joseluisbasurto4650
    @joseluisbasurto4650 Před rokem

    Bro... Very good job. I would love a model with esp32 that would check the level of the cistern and the water tank level with an ultrasonic sensor and turn on the pump and indicate the food via Wi-Fi to the smartphone. Could you do it?

  • @TechieVJ
    @TechieVJ Před rokem

    Can we use mini ESP8266 for this project?

  • @chintuanthony2926
    @chintuanthony2926 Před rokem

    Push button kii jagha AC switch use krna hai toh *code* kaise change kre sir, please send a code sir pleasee
    Reply

  • @RohitKumar-mh1pk
    @RohitKumar-mh1pk Před 11 měsíci

    Green led is Operating according to water level but relay is not operating

  • @crazzykumaranand6770
    @crazzykumaranand6770 Před rokem

    Bro make Samarsable motor controller as same future.

  • @mani-zm8zx
    @mani-zm8zx Před rokem

    Led stair light control project upload

  • @nsg812
    @nsg812 Před rokem +2

    Bro make a automated birds water feeder

  • @karthi_off1
    @karthi_off1 Před rokem

    I try this project but relay only on and relay button not working please help

  • @kirthankm8541
    @kirthankm8541 Před rokem

    Bro make a video on esp8266 automatic watering with OLED display and humidity sensor

  • @mohamedafatu7496
    @mohamedafatu7496 Před rokem

    Can i do the same project with esp32

  • @Yojino
    @Yojino Před rokem

    sir, please do let me know, how long meters sensor can detect the water? can do until 7 meter?

    • @TechStudyCell
      @TechStudyCell  Před rokem

      Please wait for the upcoming video.

    • @Yojino
      @Yojino Před rokem

      @@TechStudyCell is there any update ??

  • @ANKEETKUMARSAH-z1b
    @ANKEETKUMARSAH-z1b Před 10 měsíci

    sir I need the simple circuit connection pls provide that.

  • @btechlife5437
    @btechlife5437 Před rokem

    Sir can you help me to connect with Arduino inbuilt wifi module

  • @ranjithgowda6637
    @ranjithgowda6637 Před rokem

    How can I set manual mode default

  • @MrFadihamdan
    @MrFadihamdan Před rokem

    How I can have 30 - 40 Meter long cable length? I'm living in ground floor and there are 4 floors in above my flat.

    • @TechStudyCell
      @TechStudyCell  Před rokem

      Please refer to following video.
      czcams.com/video/-FC8jpl5hDI/video.html

  • @yawarali4361
    @yawarali4361 Před rokem

    Hello sir why code not done compile please help me

  • @jamaluddinthandar3661

    Government water timing option please adding for coding

  • @abdulmajeedmp8312
    @abdulmajeedmp8312 Před rokem

    if I need to change push button with touch TTP233, any changes required in components?

    • @TechStudyCell
      @TechStudyCell  Před rokem

      will make video

    • @abdulmajeedmp8312
      @abdulmajeedmp8312 Před rokem

      @@TechStudyCell and if I change push button with touch button any resistors or transistor needed in circuit or simply connect it? (Thanks and looking forward for a complete touch version of this project)

  • @ajayJoker
    @ajayJoker Před rokem

    How to make PCB design to convert photo printing

  • @shandradm911
    @shandradm911 Před rokem

    does need internet or just wifi?

  • @jesusrivera9916
    @jesusrivera9916 Před rokem

    Porque el rele no se desactiva para nada

  • @sardarnasir9483
    @sardarnasir9483 Před rokem

    Need this circuit

  • @gharatcreations2724
    @gharatcreations2724 Před rokem

    Did this water controller work offline or not

  • @ALLINONE-ec9jq
    @ALLINONE-ec9jq Před 11 měsíci

    i want pcb for this project

  • @siddhakumarlimje1607
    @siddhakumarlimje1607 Před rokem

    Sir, please help me with the working of 5V 30 amps relay module like one you used in your float sensor video. I am facing problems with it. The relay is not triggering when connected to 5 V module . I also tried with another new 30 amps relay but it also does not trigger. Whereas 5v 10 amps relays are working perfectly with the 5v power supply.
    Sir , please help me to fix this......

    • @TechStudyCell
      @TechStudyCell  Před rokem

      It is due to power supply. Use stable power supply.

    • @siddhakumarlimje1607
      @siddhakumarlimje1607 Před rokem

      @@TechStudyCell I am using Hi- Link 5 V 5 Watt power supply. The point is that if I directly connect the wires of the power supply to the coil of the Relay module so it works great but if I connect the wires in the connection points of the pcb ,the relay coil seems to be not energized properly. The 2nd new 5V 30 amps relay also acts the same. What to do?😔

  • @ferozsayyed7926
    @ferozsayyed7926 Před 10 měsíci

    Facing issues in code

  • @dietodo21
    @dietodo21 Před rokem

    Bro can you add bom file of this project PCB

  • @bholaansari1714
    @bholaansari1714 Před rokem +1

    Bhai plz Hindi me video banao

  • @varunahlawat9013
    @varunahlawat9013 Před rokem

    The video and content are perfect, but the audio quality is inferior.
    Bro your channel has potential, please buy a condenser microphone for voiceovers, it will sound much more professional, and trust me more people will watch it.

  • @jesusrivera9916
    @jesusrivera9916 Před rokem

    Why doesn't the relay turn off?
    Help plis

  • @RohitKumar-mh1pk
    @RohitKumar-mh1pk Před rokem

    Sensor not working wrong value showing

  • @ashaproductionslabs190

    Brother Im getting a constant error (error compiling for board nodemcu 1.0 ) plz help me with this would very grateful to u thanks in advance

    • @ashaproductionslabs190
      @ashaproductionslabs190 Před rokem

      Plz help

    • @gamingworld4081
      @gamingworld4081 Před rokem

      ​@@ashaproductionslabs190hello, I'm also getting problem while compiling code but I installed all the library that he give on his website and then my code run without any problem.
      In short solution is- Install library version according to his website and version given in code.
      Hope this helps 🙂

    • @diansumitra3300
      @diansumitra3300 Před rokem

      i also have the issue bro , i already follow all the library but still have a problem , can u share you code for me try ?

  • @ManojKumar-cu3mi
    @ManojKumar-cu3mi Před rokem

    Check it without wifi connectivity

  • @Garagebd.
    @Garagebd. Před rokem

    Please Sir make a water pump control project with esprainmaker

    • @TechStudyCell
      @TechStudyCell  Před rokem +1

      ok

    • @Garagebd.
      @Garagebd. Před rokem

      Thank you very much sir

    • @rocanarace
      @rocanarace Před rokem

      I completely complete this projects but cant trigger relay of 5 v 30 A relay . I think relay needs to slightly increase voltage may b 7 to 9 v . Do u have any idea about this ? other wise my pcb board gone waste

  • @iopensourced5233
    @iopensourced5233 Před rokem

    I just need a water level monitor. How bro?

  • @ramizaashiq2980
    @ramizaashiq2980 Před 3 měsíci +1

    sir kindly reply kr dain plz

  • @Shivam-tr8ut
    @Shivam-tr8ut Před rokem

    Sir may you make a project using NODEMCU that can control home appliances with the help of ALEXA, BLYNK APP, IR and MANUAL Switches. If it is possible then please upload a video because this projects is not available till now

    • @TechStudyCell
      @TechStudyCell  Před rokem

      Why you need Alexa and Blynk together?

    • @Shivam-tr8ut
      @Shivam-tr8ut Před rokem

      @@TechStudyCell because I want more ways to control the home appliances