







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This project uses to calculate water flow
Typology: Study Guides, Projects, Research
1 / 13
This page cannot be seen from the preview
Don't miss anything!
Project Overview Water is an important resource for all the livings on the earth. In that, some people are not getting sufficient amount of water because of unequal distribution. We can use this approach so that everyone gets the equal amount of water. It is also used to avoid the wastage of water during the distribution period. In the previous method, the employee will go to that place and open the valve for a particular duration, then again the employee will go to the same place and close the valve, it is waste of time. The proposed system is fully automated. Here human work and time are saved. To ensure the safe supply of drinking water the quality should be monitored in real time for that purpose new approach IOT (Internet of Things) based water quality monitoring has been proposed. In this project, we will implement the design of IOT base water quality monitoring system that monitors the quality of water in real time. This system consists some sensors which measure the water quality parameter. The real-time monitoring of water resources information will benefit the water resources management department and the public. The primary concept of real-time IOT based water resources information system is to provide comprehensive and accurate information. The system is developed through defining some explicit water resource parameters then, Water level and flow parameter are defined for water measure & management, followed by a sensor network for water resources information monitoring is constructed based on IOT. 1.3 Project Objective Objectives of this project are: i. To use water smartly and properly ii. To reduce time and efforts in water management. iii. To provide comprehensive and accurate information.
Chapter-
2.1 Block Diagram
Fig 2.1 Block Diagram 2.2 Block Diagram Description Water flow Sensor - calculating the water flow it sends it to arduino. As the name water flow sensor is a device to measure water flow. After
NodeMCU the ESP8266 wifi soc espressif system, and hardware which is based on the ESP-12 module. – Node MCU is a open source IoT platform. It includes firmware which runs on NodeMCU is used to control the function of water flow sensor. It receives data from waterflow sensor.
Water flow sensor given to nodeMCU for the purpose of display. Water flow sensor continuously calculate the is connected to NodeMCU. The output of water flow sensor is given to is water flow and calculated data is send to nodeMCU.
3.1 Circuit Diagram
Fig 3.2 Photo of Working project
List of the Components 4
Program #include <Arduino.h>
#include <EEPROM.h> #define USE_SERIAL Serial #include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> const int buttonPin = D2; // variable for D2 pin int contagem = 0; // variable to store the “rise ups” from the flowmeter pulses int litres = 0; char thingspeak_string[200]; // string used to send info to the server ThingSpeak char web_string[200]; char litres_string[10]="0"; int addr = 0;
//SSID and PASSWORD for the AP (swap the XXXXX for real ssid and password ) const char* WIFINAME = "Realme"; const char* PASS = "12345678";
//HTTP client init HTTPClient http;//Webserver init
WiFiServer server(80);
Serial.print("."); } Serial.println(""); Serial.println("WiFi Connected"); Serial.print("IP address: "); Serial.println(WiFi.localIP()); } void loop() { if(contagem > 440 )
{ litros+ +; Serial.println( );
Serial.print("Litros: "); Serial.print(litros); //Write the new litres value to the EEPROM and put “contagem” variable to zero EEPROM.write(addr, litros); EEPROM.commit(); contagem = 0;
//check if wifi is still connected, //if yes, then carry on further Internte work. if (WiFi.status() == WL_CONNECTED) {
//First we make our web address to send data
String stringTempratureURL = "http://class.shoolinlabs.com/2/?temprature="; // we add our celsius data to above web address as "?temprature=ourvaluetosend" stringTempratureURL = stringTempratureURL + litres;
//Again doing same thing as before http.begin(stringTempratureURL); int httpCode = http.GET(); if (httpCode
- {
//String payload = http.getString();//Serial.println(payload); Serial.println(httpCode); } } delay(3000);
} }
Advantages
There are many advantages of smart water management systems including:
relays. These relays are easily replaced and tested by any skilled operator or electrician, while being an inexpensive part.
Future Expansion