Water is the most important and critical part of our life. This clear, amorphous liquid is key to our life. Water Conservation and Monitoring System would enable a society or cluster of houses in the vicinity to monitor, limit and record their water usage via application in their phone. Users may choose laissez faire or intermittent flow of water to their homes. The project is expected in an acropolis form. The three of us after many rounds of extreme hours of brainstorming came to a conclusion of using Arduino and Node MCU to bring this project to life. The main tank would be connected to a sub tank depicting the 2 houses, each with flow meters attached to monitor the flow of water. The constant usage of water will be recorded over the cloud for which we prefer "Thinger.io", and thus this data can be used for multiple purposes using various technologies like data science so we can know how much amount of water is used at a particular time. The representation and depiction of model would be maverick. This project aims and has the potential to be the final block in this long journey of "conserve and preserve water" jigsaw puzzleEXPLANATION OF CODE
The water sensor is attached to the building tank and it’s connected to A5 pin of Arduino, water sensor detects whether the value of water is below 500 or not, so when it is below 500, it gives the signal to relay to turn on the water pump which is connected to battery and water starts flowing from the main tank to building tank with the help of water pump. Water also goes through the flow sensor along the way and when the water level reaches 500 water sensor gives the signal to relay to stop the water pump and stop the flow of water.
The water flow meter is attached between the pipe of the main tank and building tank, it detects how much water is flowing through it, the water flow meter is connected to NodeMCU which is further configured with AWS to use its services for fetching the data and storing it in the database using Dynamo DB.
During this entire process whenever the water starts flowing through the water flow meter, the data is uploaded to AWS using NodeMCU and stored using Dynamo DB.FLOWMETER READING
Data fetch using AWS
Data Storage using Dynamo DB in AWS