Smart Water Management System (Intel-IoT)

Introduction: Smart Water Management System (Intel-IoT)

We all know "Water is elixir of life."

And immediately one question ticks my mind... How efficiently you are using it?

Yes, the answer to this question is our project.

The project Smart Water Supply Management, as the name says it all is about management of water supply throughout the scale, right from small societies, townships to entire urban infrastructure and also for irrigation water supply management. For Demonstration purpose we have restricted it to only 3 sensors. But sensor network can be flexibly expanded and shrunk according to the requirements of setup. It can also be used for remotely controlling the water flow, cutting the water supply, monitoring and analyzing the water usage across the nodes, with the help of android app and cloud connectivity. Further more statistical data gathered and can be used by govt. authorities for defining policies, strategies and billing calculations. So ultimately this will help to conserve and efficiently utilise the natural resource. using IoT takes in to account of water wastage right from our home to the large scale. It also can control the water usage in a precise way.

Harwdare used: 1. Intel Edison Board with Arduino Extension for interfacing sensors. 2. Flow meter sensors - 3 3. Relay to control water pump 4. Water pump

Software Setup: Arduino IDE python programming FireBase Cloud Android App

Step 1: Set Up the Edison Board

I am counting on the fact (it is a fact, right?) that you have already gone through the Getting Started tutorials Intel has so kindly made for us. You can find them here:

Step 2: Setup Firebase Cloud

Steps to set up Edison to Firebase Cloud


1. Open Edison Terminal

2. Setup WiFi for Edison root@edison: configure_edison --wifi

3. Open the /etc/opkg/base-feeds.conf file and add below lines and save it

src/gz all

src/gz edison

src/gz core2-32

4. Run the following command

root@edison: opkg update root@edison: opkg install python-pip

5. Write a sample python code in vi editor to check it is working

6. Install firebase dependencies

root@edison: pip install requests root@edison: pip install python-firebase

7. Create an account and you will be able to set up, for free, a new storage with the address, where you choose what FBNAME is. Here I created an account and the FBNAME is "resplendent-torch-1749"

8. Let's try to push the data to firebase. // sample program

from firebase import firebase

app = firebase.FirebaseApplication(' app.put('/', 'humidity', {'value': 10.0})

9. Save the file and run the script - This will create a variable named "humidity" with value "10"

Step 3: Firebase to Android App

FireBase to Android app setup is very well explained at FireBase site

Step 4: Edison Board Setup

We have connected 3 flow sensors which read the water consumption and flow rate data to the FireBase cloud.

A relay is used to control the water pump ON/OFF. If the water flow in 3 sensors read 0, then relay turns On the water pump to pump the water to the upper tank. Also this relay switch handle is provided in Android App to control the water pump remotely.

Step 5: Final Note

Enjoy the video

Happy Hacking.... :) :) :)


Gaurav, Shravan, Harpreet and Prasanna



    • Metalworking Contest

      Metalworking Contest
    • Water Contest

      Water Contest
    • Fix It! Contest

      Fix It! Contest

    9 Discussions


    1 year ago

    hi!,i need a little help,when i Open the /etc/opkg/base-feeds.conf file,intel edison reply permission denied,did you know how to fix this??

    Hello team,
    I am building the same project which will give me the flow and consumption of water the different is you guys are using mobile to ON and OFF and i don't have any type of on-off control instead it will automatically start when the water will flow from it so please kindly give me some suggestions based on this project......thank you in advance

    1 reply

    Hello Swaroop,

    Could you please be more specific on what you are trying to do?

    Shravan Mahendra

    Hey Shravan

    Have you guys built more on this idea? can you give me more details about this idea like what exactly it does in terms of benefits in our day to day life and it can be implemented in current Indian infrastucture?

    1 reply

    Hello Praddy_m,

    I did not got much time to extend this idea. Any how will buy some time to implement it further.

    About idea of the project is clearly mentioned in the steps. Please go through it and let me know if any other questions.

    Yes, it definitely fits to the Indian Infrastructure, where there is water supply :)

    Feel free to drop a message if any doubts.


    Shravan Mahendra

    nice project guys I'll build something based on your idea and of course let you know when the done

    1 reply