One amongst the foremost essential substances on earth is water. To live, each flora and fauna has to be compelled to have water. There would be no life on earth if there was no water. Besides beverage for survival, folks have more alternative desires exploitation water.There is a tremendous water provides to supply electricity on a broad and divisions of the economy. There are even quite seventy percent of the water in our bodies. In an addition to saving money on your utility bill, conservation helps stop pollution in close to lakes, rivers and native watersheds. Conserving water in addition prevents greenhouse emissions associated with treating and distributing water. Preserving water will even extend the period of your septic system by reducing soil saturation and reducing pollution due to leaks. Overloading municipal sewer systems will even cause untreated waste to flow to lakes and rivers. The smaller the number of water flowing through these systems, the lower the probability of pollution. In some communities, costly installation growth has been avoided by community-wide home conservation.
About the project :This device is specially designed for shower .The device is about calculating the usage of water in a form of a graph, This can give an idea of the water, the user is using every day in a commonly used water supply. I am using Blynk to monitor the device ( notification, live flow, graph ). This is for the parents to control the usage of water because kids are not aware of water conservation.
Creating Blynk server on raspberry pi :Install java 8:
sudo apt install openjdk-8-jdk openjdk-8-jre
Download Blynk server jar file (or manually copy it to Raspberry Pi via ssh and scp command):
wget "https://github.com/blynkkk/blynk-server/releases/download/v0.41.13/server-0.41.13-java8.jar"
Run the server on default 'hardware port 8080' and default 'application port 9443' (SSL port):
java -jar server-0.41.13-java8.jar -dataFolder /home/pi/Blynk
Output
:
Blynk Server successfully started.
All server output is stored in current folder in 'logs/blynk.log' file.
Download Arduino IDE and add NodeMCU Board :Go to the Arduino website : https://www.arduino.cc
- Open Arduino IDE
- Go to files and click on the preference in the Arduino IDE
http://arduino.esp8266.com/stable/package_esp8266com_index.json
paste the above link on the Additional boards Manager and click ok
- After completing the above steps, go to Tools and board, and then select board Manager
- Navigate to esp8266 by esp8266 community and install the software for Arduino.
Now Nodemcu board is add to Arduino IDE
How to add the Blynk library :Install Blynk Library using built-in library manager in Arduino IDE.Search for Blynk library and in the version selection, choose the latest version to date.
Then use the code and circuit given below to make your own water flow controller.
Blynk App :- Download the Blynk App on your smartphone or tablet from App Store or Google Play
- Create a Blynk account or login to the existing account.Specify custom server path in your application.
Comments