SlideShare uma empresa Scribd logo
1 de 7
Baixar para ler offline
Geo-Spatial Knowledge Contest-2016 (GKC 2016)
[Automatic Water Levelling Monitoring And Controlling System using Arduino (IoT)]
Automatic water levelling motoring system project explained here is going to measure the water level of a water tank
using ultrasonic sensor. The project will automate the water filling in a tank i.e when the water level reaches up to
the brim of the tank, the water pump will stop automatically and when the water level in the tank remains up to few
centimetres, the pump will start automatically to fill up the tank till the water reaches again up to the brim. We can
implement the project in following steps:
1. Hardware required:
a. Arduino UNO Board: This is a microcontroller board required for coding and it has input/output pins for
connecting other required accessories.
b. Ultrasonic Sensor HC-SR04: This is a sound based sensor for measuring thewater level in a tank.
c. LCD Display 16 x 2: This is required to display the values and other information for user.
Image Source: Arduino.org
Image Source: Arduino.org
d. Relay 6Volts: Relay 6V acts as an electromagnetic switch, it is the voltage that controls the voltage action.
e. Relay Driver ULN2003: ULN3000 provides a high current which a Arduino board cannot provide so it is used to
drive the relay.
f. IC 7806(Voltage regulator): It is a voltage regulator that maintains the constant voltage across the circuit towhich
it is connected. It provides +6V regulated power supply.
Image Source: robotistan.com
Image Source: miketrask.com
Image Source: aliexpress.com
Image Source: engineersgalllery.com
g. Buzzer: It will alarmwhen the tank goes empty or when the tank is filled completely by the water.
h. 12 Volt battery/12 Volt adaptor: Itwill provide 12V DC supply to the Arduino and other components.
i. Copper wire and connecting wires: Copper wirewill be required to connect water pump to 220V AC supply and
connecting wires will be required to connect the above components with Arduino.
2. Connect the above components using the below circuit diagram:
Image Source: modmypi.com
Image Source: circuitdigest.com
3. Explanation of circuit diagram:
A 16x2LCD is connectedwithArduinoin4-bit mode. Control pinRS,RWandE are directly connected toArduino
pin 7, GND and 6. Ultrasonic sensor module’s “trigger” and “echo” pins are directly connected to pin 10 and 11 of
Arduino. A voltage regulator 7806 is also used for providing 6 Volt to relay and to remaining circuit. 6 Volt relay is also
connected at pin 8 of Arduino through ULN2003 for turning on or turning off thewater motor pump.
The ultrasonic sensor must be placed at the top of the tank facing the transmitter and receiver to the bottom of the
tank. The ultrasonic sensor will read the distance from the bottom of the tank to the sensor module using ultrasonic
wave by using the formula (distance = speed x time), the LCD in the meantime will display “Empty space in tank is
‘MEASURED_VALUE’ CM”. If the distance between the sensor module and water in the tank is 60CM or above, the relay
driver will drive the relay thus turning ON the pump tofill the tank. When the distance between the sensor module and
the water in the tank is 12cms, the buzzer will buzz and the pump will turn off automatically.
4. Programming the Arduino:
a. First, we will define all the pins that are attached with the components like buzzer, LCD etc.
b. Initialise all the device connected in the circuit:
#define trigger 10
#define echo 11
#define motor 8
#define buzzer 12
lcd.begin(16,2);
pinMode(trigger,OUTPUT);
pinMode(echo,INPUT);
pinMode(motor, OUTPUT);
pinMode(buzzer, OUTPUT);
lcd.print(" Water Level ");
lcd.setCursor(0,1);
lcd.print(" Indicator ");
delay(2000);
c. Initialise Ultrasonic sensor module and read time for sending and receiving waves the perform the calculation
for measuring the distance using formula Distance= Speed X Time.
d. Check the conditions and make it perform the actions accordingly:
digitalWrite(trigger,HIGH);
delayMicroseconds(10);
digitalWrite(trigger,LOW);
delayMicroseconds(2);
time=pulseIn(echo,HIGH);
distance=time*340/20000;
lcd.clear();
lcd.print("Empty space in ");
lcd.setCursor(0,1);
lcd.print("tank is: ");
lcd.print(distance);
lcd.print("Cm");
delay(2000);
if(distance<12 && temp==0)
{
digitalWrite(motor, LOW);
digitalWrite(buzzer, HIGH);
lcd.clear();
lcd.print("Water Tank Full ");
lcd.setCursor(0,1);
lcd.print("Motor Turned OFF");
delay(2000);
digitalWrite(buzzer, LOW);
delay(3000);
temp=1;
}
else if(distance<12 && temp==1)
{
digitalWrite(motor, LOW);
lcd.clear();
lcd.print("Water Tank Full ");
lcd.setCursor(0,1);
lcd.print("Motor Turned OFF");
delay(5000);
}
else if(distance>60)
{
digitalWrite(motor, HIGH);
lcd.clear();
lcd.print("Low Water Level");
lcd.setCursor(0,1);
lcd.print("Motor Turned ON");
delay(5000);
temp=0;
}
}
5. Complete code for this project is cited below:
#include <LiquidCrystal.h>
#define trigger 10
#define echo 11
#define motor 8
#define buzzer 12
LiquidCrystal lcd(7,6,5,4,3,2);
float time=0,distance=0;
int temp=0;
void setup()
{
lcd.begin(16,2);
pinMode(trigger,OUTPUT);
pinMode(echo,INPUT);
pinMode(motor, OUTPUT);
pinMode(buzzer, OUTPUT);
lcd.print(" Water Level ");
lcd.setCursor(0,1);
lcd.print(" Indicator ");
delay(2000);
}
void loop()
{
lcd.clear();
digitalWrite(trigger,LOW);
delayMicroseconds(2);
digitalWrite(trigger,HIGH);
delayMicroseconds(10);
digitalWrite(trigger,LOW);
delayMicroseconds(2);
time=pulseIn(echo,HIGH);
distance=time*340/20000;
lcd.clear();
lcd.print("Empty space in");
lcd.setCursor(0,1);
lcd.print("tank is: ");
lcd.print(distance);
lcd.print("CM");
delay(2000);
if(distance<12 && temp==0)
{
digitalWrite(motor, LOW);
digitalWrite(buzzer, HIGH);
lcd.clear();
lcd.print("Water Tank Full ");
lcd.setCursor(0,1);
lcd.print("Motor Turned OFF");
delay(2000);
digitalWrite(buzzer, LOW);
delay(3000);
temp=1;
}
else if(distance<12 && temp==1)
{
digitalWrite(motor, LOW);
lcd.clear();
lcd.print("Water Tank Full ");
lcd.setCursor(0,1);
lcd.print("Motor Turned OFF");
delay(5000);
}
else if(distance>60)
{
digitalWrite(motor, HIGH);
lcd.clear();
lcd.print("LOW Water Level");
lcd.setCursor(0,1);
lcd.print("Motor Turned ON");
delay(5000);
temp=0;
}
}
6. Possible Applications:
a. It will automate the water levelling and controlling.
b. It can be used in homes
c. It can also be used in industries, hotels, offices.
d. It will greatly avoid water usage.
7. Conclusion:
Water is one of the necessities of life. Every government in every country is emphasizing on avoiding water wastage. It
will greatly reduce the water wastages if it will be implemented in especially govt offices and departments, private
industries, hotels and even in homes. SAVE WATER, SAVE LIFE.

Mais conteúdo relacionado

Mais procurados

IOT Based Water Level Monitoring System For Lake
IOT Based Water Level Monitoring System For LakeIOT Based Water Level Monitoring System For Lake
IOT Based Water Level Monitoring System For LakeIRJET Journal
 
GSM based patient monitoring system
GSM based patient monitoring systemGSM based patient monitoring system
GSM based patient monitoring systemssvarma k
 
Water Level Monitoring System using IOT
Water Level Monitoring System using IOTWater Level Monitoring System using IOT
Water Level Monitoring System using IOTIRJET Journal
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMJOLLUSUDARSHANREDDY
 
Soil moisture sensor byauto irrigation system2
Soil moisture sensor byauto irrigation system2Soil moisture sensor byauto irrigation system2
Soil moisture sensor byauto irrigation system2Puja Singh
 
Smart irrigation system using internet of things
Smart irrigation system using internet of thingsSmart irrigation system using internet of things
Smart irrigation system using internet of thingsBasavaraj Galagi
 
Speed Control of DC Motor using Microcontroller
Speed Control of DC Motor using MicrocontrollerSpeed Control of DC Motor using Microcontroller
Speed Control of DC Motor using MicrocontrollerSudip Mondal
 
Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.Jinto George
 
Bluetooth based Home Automation
Bluetooth based Home AutomationBluetooth based Home Automation
Bluetooth based Home AutomationJagannath Kartik
 
Water Level Indicator Project Presentation
Water Level Indicator Project PresentationWater Level Indicator Project Presentation
Water Level Indicator Project PresentationAbdul Rehman
 
automatic irrigation system by sensing soil moisture content
automatic irrigation system by sensing soil moisture contentautomatic irrigation system by sensing soil moisture content
automatic irrigation system by sensing soil moisture contentPAMULA MURALI
 
PROJECT REPORT ON Home automation using by Bluetooth
 PROJECT REPORT ON Home automation using by Bluetooth PROJECT REPORT ON Home automation using by Bluetooth
PROJECT REPORT ON Home automation using by BluetoothAakashkumar276
 
SMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSaipandu143
 
Smart Home Automation using Voice Assistant
Smart Home Automation using Voice AssistantSmart Home Automation using Voice Assistant
Smart Home Automation using Voice AssistantTezpur University
 
Home automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDHome automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDAshish Kumar Thakur
 
Automated plant watering system
Automated plant watering systemAutomated plant watering system
Automated plant watering systemSamreenSamreen4
 
Bluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportBluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportSimarjot Singh Kalsi
 
automatic plant irrigation using aurdino and gsm technology
automatic plant irrigation using aurdino and gsm technologyautomatic plant irrigation using aurdino and gsm technology
automatic plant irrigation using aurdino and gsm technologythamil arasan
 

Mais procurados (20)

IOT Based Water Level Monitoring System For Lake
IOT Based Water Level Monitoring System For LakeIOT Based Water Level Monitoring System For Lake
IOT Based Water Level Monitoring System For Lake
 
GSM based patient monitoring system
GSM based patient monitoring systemGSM based patient monitoring system
GSM based patient monitoring system
 
Smart street light system
Smart street light systemSmart street light system
Smart street light system
 
Water Level Monitoring System using IOT
Water Level Monitoring System using IOTWater Level Monitoring System using IOT
Water Level Monitoring System using IOT
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
 
Soil moisture sensor byauto irrigation system2
Soil moisture sensor byauto irrigation system2Soil moisture sensor byauto irrigation system2
Soil moisture sensor byauto irrigation system2
 
Smart irrigation system using internet of things
Smart irrigation system using internet of thingsSmart irrigation system using internet of things
Smart irrigation system using internet of things
 
Speed Control of DC Motor using Microcontroller
Speed Control of DC Motor using MicrocontrollerSpeed Control of DC Motor using Microcontroller
Speed Control of DC Motor using Microcontroller
 
Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.
 
Bluetooth based Home Automation
Bluetooth based Home AutomationBluetooth based Home Automation
Bluetooth based Home Automation
 
Water Level Indicator Project Presentation
Water Level Indicator Project PresentationWater Level Indicator Project Presentation
Water Level Indicator Project Presentation
 
automatic irrigation system by sensing soil moisture content
automatic irrigation system by sensing soil moisture contentautomatic irrigation system by sensing soil moisture content
automatic irrigation system by sensing soil moisture content
 
PROJECT REPORT ON Home automation using by Bluetooth
 PROJECT REPORT ON Home automation using by Bluetooth PROJECT REPORT ON Home automation using by Bluetooth
PROJECT REPORT ON Home automation using by Bluetooth
 
SMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOT
 
Smart Home Automation using Voice Assistant
Smart Home Automation using Voice AssistantSmart Home Automation using Voice Assistant
Smart Home Automation using Voice Assistant
 
Home automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDHome automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASED
 
Smart irrigation system
Smart irrigation systemSmart irrigation system
Smart irrigation system
 
Automated plant watering system
Automated plant watering systemAutomated plant watering system
Automated plant watering system
 
Bluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportBluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project Report
 
automatic plant irrigation using aurdino and gsm technology
automatic plant irrigation using aurdino and gsm technologyautomatic plant irrigation using aurdino and gsm technology
automatic plant irrigation using aurdino and gsm technology
 

Semelhante a Automatic water level monitoring and control system using IoT

ESD_Project-Report
ESD_Project-ReportESD_Project-Report
ESD_Project-ReportAhmad Faizan
 
finalpresentationp-25iotbasedfishaquarium-200618162040.pdf
finalpresentationp-25iotbasedfishaquarium-200618162040.pdffinalpresentationp-25iotbasedfishaquarium-200618162040.pdf
finalpresentationp-25iotbasedfishaquarium-200618162040.pdfsaketkumar128143
 
Iot Based fish aquarium
Iot Based fish aquariumIot Based fish aquarium
Iot Based fish aquariumKhaanJunaid
 
IoT Based Solar Water Pump Controller
IoT Based Solar Water Pump ControllerIoT Based Solar Water Pump Controller
IoT Based Solar Water Pump ControllerIJSRED
 
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNOObstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNOSanjay Kumar
 
applications of arduino
applications of arduinoapplications of arduino
applications of arduinoshubhamw25
 
Automatic room temperature controlled fan using arduino uno microcontroller
Automatic room temperature controlled fan using   arduino uno  microcontrollerAutomatic room temperature controlled fan using   arduino uno  microcontroller
Automatic room temperature controlled fan using arduino uno microcontrollerMohammod Al Emran
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ajit kumar singh
 
A project report on Remote Monitoring of a Power Station using GSM and Arduino
A project report on Remote Monitoring of a Power Station using GSM and ArduinoA project report on Remote Monitoring of a Power Station using GSM and Arduino
A project report on Remote Monitoring of a Power Station using GSM and ArduinoJawwad Sadiq Ayon
 
Design, simulation and implementation of an Arduino microcontroller based aut...
Design, simulation and implementation of an Arduino microcontroller based aut...Design, simulation and implementation of an Arduino microcontroller based aut...
Design, simulation and implementation of an Arduino microcontroller based aut...IJAAS Team
 
Udayan_219209024_DA1001_FTP.pptx
Udayan_219209024_DA1001_FTP.pptxUdayan_219209024_DA1001_FTP.pptx
Udayan_219209024_DA1001_FTP.pptxSyncrotrone
 
Design and Construction of Movable Bridge using Arduino
Design and Construction of Movable Bridge using ArduinoDesign and Construction of Movable Bridge using Arduino
Design and Construction of Movable Bridge using Arduinoijtsrd
 
Electical Power Subsystem _CDR.pptx
Electical Power Subsystem _CDR.pptxElectical Power Subsystem _CDR.pptx
Electical Power Subsystem _CDR.pptxAldi Walai
 

Semelhante a Automatic water level monitoring and control system using IoT (20)

Ctara report
Ctara reportCtara report
Ctara report
 
ESD_Project-Report
ESD_Project-ReportESD_Project-Report
ESD_Project-Report
 
water level edit.docx
water level edit.docxwater level edit.docx
water level edit.docx
 
finalpresentationp-25iotbasedfishaquarium-200618162040.pdf
finalpresentationp-25iotbasedfishaquarium-200618162040.pdffinalpresentationp-25iotbasedfishaquarium-200618162040.pdf
finalpresentationp-25iotbasedfishaquarium-200618162040.pdf
 
Iot Based fish aquarium
Iot Based fish aquariumIot Based fish aquarium
Iot Based fish aquarium
 
IoT Based Solar Water Pump Controller
IoT Based Solar Water Pump ControllerIoT Based Solar Water Pump Controller
IoT Based Solar Water Pump Controller
 
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNOObstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
 
applications of arduino
applications of arduinoapplications of arduino
applications of arduino
 
Arduino
ArduinoArduino
Arduino
 
Obstacle avoiding robot(Lab report)
Obstacle  avoiding  robot(Lab report)Obstacle  avoiding  robot(Lab report)
Obstacle avoiding robot(Lab report)
 
K010316571
K010316571K010316571
K010316571
 
EESS.pptx
EESS.pptxEESS.pptx
EESS.pptx
 
Automatic room temperature controlled fan using arduino uno microcontroller
Automatic room temperature controlled fan using   arduino uno  microcontrollerAutomatic room temperature controlled fan using   arduino uno  microcontroller
Automatic room temperature controlled fan using arduino uno microcontroller
 
371275588.pptx
371275588.pptx371275588.pptx
371275588.pptx
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
 
A project report on Remote Monitoring of a Power Station using GSM and Arduino
A project report on Remote Monitoring of a Power Station using GSM and ArduinoA project report on Remote Monitoring of a Power Station using GSM and Arduino
A project report on Remote Monitoring of a Power Station using GSM and Arduino
 
Design, simulation and implementation of an Arduino microcontroller based aut...
Design, simulation and implementation of an Arduino microcontroller based aut...Design, simulation and implementation of an Arduino microcontroller based aut...
Design, simulation and implementation of an Arduino microcontroller based aut...
 
Udayan_219209024_DA1001_FTP.pptx
Udayan_219209024_DA1001_FTP.pptxUdayan_219209024_DA1001_FTP.pptx
Udayan_219209024_DA1001_FTP.pptx
 
Design and Construction of Movable Bridge using Arduino
Design and Construction of Movable Bridge using ArduinoDesign and Construction of Movable Bridge using Arduino
Design and Construction of Movable Bridge using Arduino
 
Electical Power Subsystem _CDR.pptx
Electical Power Subsystem _CDR.pptxElectical Power Subsystem _CDR.pptx
Electical Power Subsystem _CDR.pptx
 

Mais de Danish Mehraj

Maruti Security Alarm NCS 5091109 Manual
Maruti Security Alarm NCS  5091109 ManualMaruti Security Alarm NCS  5091109 Manual
Maruti Security Alarm NCS 5091109 ManualDanish Mehraj
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredDanish Mehraj
 
PL/SQL Complete Tutorial. All Topics Covered
PL/SQL Complete Tutorial. All Topics CoveredPL/SQL Complete Tutorial. All Topics Covered
PL/SQL Complete Tutorial. All Topics CoveredDanish Mehraj
 
Connect to Internet using your "Phone" as Modem
Connect to Internet using your "Phone" as ModemConnect to Internet using your "Phone" as Modem
Connect to Internet using your "Phone" as ModemDanish Mehraj
 
Windows Phone7 Development
Windows Phone7 DevelopmentWindows Phone7 Development
Windows Phone7 DevelopmentDanish Mehraj
 
Review about earlier Windows O/S and new Windows 8
Review about earlier Windows O/S and new Windows 8Review about earlier Windows O/S and new Windows 8
Review about earlier Windows O/S and new Windows 8Danish Mehraj
 

Mais de Danish Mehraj (9)

Maruti Security Alarm NCS 5091109 Manual
Maruti Security Alarm NCS  5091109 ManualMaruti Security Alarm NCS  5091109 Manual
Maruti Security Alarm NCS 5091109 Manual
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics Covered
 
PL/SQL Complete Tutorial. All Topics Covered
PL/SQL Complete Tutorial. All Topics CoveredPL/SQL Complete Tutorial. All Topics Covered
PL/SQL Complete Tutorial. All Topics Covered
 
Awraad
AwraadAwraad
Awraad
 
Connect to Internet using your "Phone" as Modem
Connect to Internet using your "Phone" as ModemConnect to Internet using your "Phone" as Modem
Connect to Internet using your "Phone" as Modem
 
Chandrayaan
ChandrayaanChandrayaan
Chandrayaan
 
Windows Phone7 Development
Windows Phone7 DevelopmentWindows Phone7 Development
Windows Phone7 Development
 
Review about earlier Windows O/S and new Windows 8
Review about earlier Windows O/S and new Windows 8Review about earlier Windows O/S and new Windows 8
Review about earlier Windows O/S and new Windows 8
 
Anti tobacco
Anti tobaccoAnti tobacco
Anti tobacco
 

Último

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Último (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Automatic water level monitoring and control system using IoT

  • 1. Geo-Spatial Knowledge Contest-2016 (GKC 2016) [Automatic Water Levelling Monitoring And Controlling System using Arduino (IoT)] Automatic water levelling motoring system project explained here is going to measure the water level of a water tank using ultrasonic sensor. The project will automate the water filling in a tank i.e when the water level reaches up to the brim of the tank, the water pump will stop automatically and when the water level in the tank remains up to few centimetres, the pump will start automatically to fill up the tank till the water reaches again up to the brim. We can implement the project in following steps: 1. Hardware required: a. Arduino UNO Board: This is a microcontroller board required for coding and it has input/output pins for connecting other required accessories. b. Ultrasonic Sensor HC-SR04: This is a sound based sensor for measuring thewater level in a tank. c. LCD Display 16 x 2: This is required to display the values and other information for user. Image Source: Arduino.org Image Source: Arduino.org
  • 2. d. Relay 6Volts: Relay 6V acts as an electromagnetic switch, it is the voltage that controls the voltage action. e. Relay Driver ULN2003: ULN3000 provides a high current which a Arduino board cannot provide so it is used to drive the relay. f. IC 7806(Voltage regulator): It is a voltage regulator that maintains the constant voltage across the circuit towhich it is connected. It provides +6V regulated power supply. Image Source: robotistan.com Image Source: miketrask.com Image Source: aliexpress.com Image Source: engineersgalllery.com
  • 3. g. Buzzer: It will alarmwhen the tank goes empty or when the tank is filled completely by the water. h. 12 Volt battery/12 Volt adaptor: Itwill provide 12V DC supply to the Arduino and other components. i. Copper wire and connecting wires: Copper wirewill be required to connect water pump to 220V AC supply and connecting wires will be required to connect the above components with Arduino. 2. Connect the above components using the below circuit diagram: Image Source: modmypi.com Image Source: circuitdigest.com
  • 4. 3. Explanation of circuit diagram: A 16x2LCD is connectedwithArduinoin4-bit mode. Control pinRS,RWandE are directly connected toArduino pin 7, GND and 6. Ultrasonic sensor module’s “trigger” and “echo” pins are directly connected to pin 10 and 11 of Arduino. A voltage regulator 7806 is also used for providing 6 Volt to relay and to remaining circuit. 6 Volt relay is also connected at pin 8 of Arduino through ULN2003 for turning on or turning off thewater motor pump. The ultrasonic sensor must be placed at the top of the tank facing the transmitter and receiver to the bottom of the tank. The ultrasonic sensor will read the distance from the bottom of the tank to the sensor module using ultrasonic wave by using the formula (distance = speed x time), the LCD in the meantime will display “Empty space in tank is ‘MEASURED_VALUE’ CM”. If the distance between the sensor module and water in the tank is 60CM or above, the relay driver will drive the relay thus turning ON the pump tofill the tank. When the distance between the sensor module and the water in the tank is 12cms, the buzzer will buzz and the pump will turn off automatically. 4. Programming the Arduino: a. First, we will define all the pins that are attached with the components like buzzer, LCD etc. b. Initialise all the device connected in the circuit: #define trigger 10 #define echo 11 #define motor 8 #define buzzer 12 lcd.begin(16,2); pinMode(trigger,OUTPUT); pinMode(echo,INPUT); pinMode(motor, OUTPUT); pinMode(buzzer, OUTPUT); lcd.print(" Water Level "); lcd.setCursor(0,1); lcd.print(" Indicator "); delay(2000);
  • 5. c. Initialise Ultrasonic sensor module and read time for sending and receiving waves the perform the calculation for measuring the distance using formula Distance= Speed X Time. d. Check the conditions and make it perform the actions accordingly: digitalWrite(trigger,HIGH); delayMicroseconds(10); digitalWrite(trigger,LOW); delayMicroseconds(2); time=pulseIn(echo,HIGH); distance=time*340/20000; lcd.clear(); lcd.print("Empty space in "); lcd.setCursor(0,1); lcd.print("tank is: "); lcd.print(distance); lcd.print("Cm"); delay(2000); if(distance<12 && temp==0) { digitalWrite(motor, LOW); digitalWrite(buzzer, HIGH); lcd.clear(); lcd.print("Water Tank Full "); lcd.setCursor(0,1); lcd.print("Motor Turned OFF"); delay(2000); digitalWrite(buzzer, LOW); delay(3000); temp=1; } else if(distance<12 && temp==1) { digitalWrite(motor, LOW); lcd.clear(); lcd.print("Water Tank Full "); lcd.setCursor(0,1); lcd.print("Motor Turned OFF"); delay(5000); } else if(distance>60) { digitalWrite(motor, HIGH); lcd.clear(); lcd.print("Low Water Level"); lcd.setCursor(0,1); lcd.print("Motor Turned ON"); delay(5000); temp=0; } }
  • 6. 5. Complete code for this project is cited below: #include <LiquidCrystal.h> #define trigger 10 #define echo 11 #define motor 8 #define buzzer 12 LiquidCrystal lcd(7,6,5,4,3,2); float time=0,distance=0; int temp=0; void setup() { lcd.begin(16,2); pinMode(trigger,OUTPUT); pinMode(echo,INPUT); pinMode(motor, OUTPUT); pinMode(buzzer, OUTPUT); lcd.print(" Water Level "); lcd.setCursor(0,1); lcd.print(" Indicator "); delay(2000); } void loop() { lcd.clear(); digitalWrite(trigger,LOW); delayMicroseconds(2); digitalWrite(trigger,HIGH); delayMicroseconds(10); digitalWrite(trigger,LOW); delayMicroseconds(2); time=pulseIn(echo,HIGH); distance=time*340/20000; lcd.clear(); lcd.print("Empty space in"); lcd.setCursor(0,1); lcd.print("tank is: "); lcd.print(distance); lcd.print("CM"); delay(2000); if(distance<12 && temp==0) { digitalWrite(motor, LOW); digitalWrite(buzzer, HIGH); lcd.clear(); lcd.print("Water Tank Full "); lcd.setCursor(0,1); lcd.print("Motor Turned OFF"); delay(2000); digitalWrite(buzzer, LOW); delay(3000); temp=1; } else if(distance<12 && temp==1) { digitalWrite(motor, LOW); lcd.clear(); lcd.print("Water Tank Full "); lcd.setCursor(0,1); lcd.print("Motor Turned OFF"); delay(5000); } else if(distance>60) { digitalWrite(motor, HIGH); lcd.clear(); lcd.print("LOW Water Level"); lcd.setCursor(0,1); lcd.print("Motor Turned ON"); delay(5000); temp=0; } }
  • 7. 6. Possible Applications: a. It will automate the water levelling and controlling. b. It can be used in homes c. It can also be used in industries, hotels, offices. d. It will greatly avoid water usage. 7. Conclusion: Water is one of the necessities of life. Every government in every country is emphasizing on avoiding water wastage. It will greatly reduce the water wastages if it will be implemented in especially govt offices and departments, private industries, hotels and even in homes. SAVE WATER, SAVE LIFE.