Update 6/03/2017: Email notification problem fixed.

Scan New QR code & use latest code.

First of all many thanks to Mr. Paul Alcock for writing code & helping me.

Don't forget to visit his website(https://thechariot.co.uk/)

Now a days we are facing an issue that is our municipal corporation doesn’t provide
water supply at fix time. To solve this problem we have made a device which gives notification on our smartphone regarding water supply. It also gives information such as water flow rate & how much water we consume . This device can be used as water leakage system by using two water flow sensors.

We can also control any external appliances like Pump from anywhere over the internet. In this project we have used Blynk App. Blynk is application which provides us dashboard as well as connectivity. you can download it from google play store (for Android).& app store (for apple).

If you don't know how use Blynk please read this getting started tutorials



Step 1: Requirements


1) Nodemcu wifi module.

2) Liquid flow rate sensor

3)Relay Module

4) Switch Board


1) Latest Arduino IDE

2) Blynk (Application)

3)Blynk library

Step 2: App Setup

Download And install Blynk app.

create new account .

NOTE - For this project 4600 energy points are required make sure you have enough energy points.(On new account Blynk gives 2000 free energy points)

Add Email Widget & enter your email to get notifications.

To clone my project scan above QR code or open the link http://tinyurl.com/y8sgy2bt

Step 3: Hardware Setup

Connect Vcc and Gnd of sensor to Nodemcu, and the signal line to Nodemcu D2.

Connect Vcc and Gnd of Relay module to Nodemcu, and the control pin to Nodemcu D3.

NodeMCU D2--->Sensore pin

NodeMCU D3 ---> Relay Module

as shown in picture fixed everything in switch board.

Step 4: Uploading Sketch to Wifi Module(Nodemcu)

most complicated part of this project is coding wifi module.

Many thanks to Mr. Paul Alcock for writing code & helping me.

you can Download the sketch from this link.

upload this code to your wifi module.


For more projects check out my YouTube Channel (Electronics Forever)



    • Paper Contest

      Paper Contest
    • Epilog X Contest

      Epilog X Contest
    • Remix Contest

      Remix Contest

    2 Discussions


    1 year ago

    Excellent project bro. very good idea.

    I stopped liking blynk after they start this energy point stuff.

    I will suggest if you re-make it without blynk. You can use MIT App inventor for replacing blynk.

    1 reply

    Reply 1 year ago

    thank you for suggestions.
    You can install local server on raspberry pi to get unlimited free energy.

    Most useful feature of this project is push notification on water supply.this is not possible with MIT app inventor