IoT Based Water Level Monitoring System With An Android Application
IoT Based Water Level Monitoring System With An Android Application
Volume: 6 Issue: 6 94 - 97
______________________________________________________________________________________
IoT Based Water Level Monitoring System with an Android Application
Abstract-The principle objective of our assignment is to display the water level as well as controlling with IoT and android application. Wastage
of water within the modern state of affairs, merely because of overflowing tanks isn't less expensive. Conventional water tanks can neither
reveal nor manage the water stage in tank, main to huge amount of wastage. A few different technologies had sure drawbacks in a few or the
alternative way. The want of removal of those quick-comings and offering an efficient and competitively priced solution has been the principle
focus of this assignment. The IoT platform we are using is Arduino which is an open source. The water level within the water tank is split into
most, minimal and nominal degrees indicated by using exclusive colorings for each. An ultrasonic sensor is positioned on the floor of the tank to
sense the water stage and the distance is dispatched to the android utility through Arduino. We can display the tank manually using an on/off
button provided within the android utility. The android application is a user interface which displays the tank format, a button for guide
operation and a led for indicating the motor popularity.
Fig.1:Arduino Uno
2. BASIC CONCEPTS
B. Blynk – Android Application
A. Arduino UNO
Blynk is a Platform with iOS and Android apps to control
It is an IoT platform which has an external Wi-Fi module that
Arduino, Raspberry Pi and the likes over the Internet. It is a
can connect to internet via hotspot using its SSID and
digital dashboard where we can build a graphic interface for
Password. It can be programmed to implement logic statements
our project by simply dragging and dropping widgets.
as per requirement of the project. The ultrasonic sensor reads
C. Ultrasonic Sensor
the distance of water surface and returns it to Arduino UNO.
TheArduino UNO, when connected to internet, uploads this
94
IJRITCC | June 2018, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 6 Issue: 6 94 - 97
______________________________________________________________________________________
Hc-sr04 ultrasonic is a ranging sensor. this low cost sensor ultrasonic sensor. Depending upon these values, the motor is
affords 2cm to 400cm of non-contact sizefunctionality with a turned ON / OFF.
ranging accuracy that can attain up to 3mm. each hc-sr04
module includes an ultrasonic transmitter, a receiver and a Sl. Conditions of Water Level Motor Status
manipulate circuit. No.
1 Water level below minimum ON
level
2 Water level equal to or greater OFF
than maximum level
3 Water level in between Status can be
minimum and maximum levels controlled by the
user
Table1: Proposed Working of water and Tank
Arduino is Associate in Nursing ASCII text file natural
philosophy platform supported easy to use hardware
and software system. Arduino boards square measure ready to
scan inputs lightweight on a detector, a finger on a button, or a
Twitter message and switch it into an associate in
Fig.2:Ultra Sonic Sensor
nursing output and activating a motor, turning on associate in
nursing LED, commercial enterprise one thing on-line. You
3. ARCHITECTURE DIAGRAM
will tell your board what to try to causation a
A framework engineering or frameworks design is the applied
group of directions to the microcontroller on the board.
model that characterizes the structure, conduct, and more
perspectives of a system. A design is a formal depiction and
portrayal of a framework, composed in a way that backings Blynk is a Platform with IOS and mechanical man apps to
thinking about the structures and practices of the framework. regulate Arduino, Raspberry Pi and therefore the likes over the
net. It is a digital dashboard wherever you'll be able to build a
graphic interface for your project by merely dragging and
dropping widgets. It's a digital dashboard wherever you'll be
able to build a graphic interface for your project
by merely dragging and dropping widgets.
It‟s very straightforward toline everything up and you
may begin tinkering in under five minutes. Blynk isn't tied to
some specific board or protect. Instead, it's supporting
hardware of your selection. Whether or not your Arduino or
Raspberry Pi is connected to the net over Wi-Fi, local area
network or this new ESP8266 chip, Blynk can get you on-
line and prepared for the net of Things. It will
management hardware remotely, it will show device
information, and it will store information, visualize it and
Fig.3: Block Diagram do several alternative cool things.
Figure 3 represents the overall procedure of our system.
Whenever the water level exceeds the maximum level or
5. IMPLEMENTATION
decreases through the minimum level the motor switch will
Depending on the water levels the status of motor will be
automatically on/off accordingly. The android application and
automatically controlled. If water level is in between both the
hardware are connected through Arduino via Wi-Fi hotspot or
levels, then the user can exercise control by toggling the status
Internet.
of motor from the android application. Buttons – ON and OFF
have been provided for the same. The application is designed
4. WORKING
in such a way that it will show the instantaneous value of
In this project, we have used Arduino UNO as microcontroller. current status of water in percentage.The height of tank is to be
The values of maximum and minimum levels are obtained by set once in Arduino. This height shall be used to determine the
Arduino using ESP. These values are set in the code written for percentage of water. Calculations of the current water level
Arduino UNO. The current level of water is obtained from the
95
IJRITCC | June 2018, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 6 Issue: 6 94 - 97
______________________________________________________________________________________
will be done with this. Making decisions with percentage and automatically ledglows-on and motor onstate. When the
proves to be easier to implement the logic in programming. motor is stopped, the android application displays the water
level in percentage format
Fig.6: Water Tank is at nominal level & filling so, Led glows
ON
Figure 6 is the screen which appears when the tank is at above
Fig.4: Screenshot of water tank when it is full minimum level. When the tank is at nominal level and the
motor is in working condition the LED glows and motor is ON.
Figure 4 shows that the tank is full and motor will be off The color indication of water at nominal level is green. The
automatically as soon as the tank is full which can be seen in user can stop the motor at desired level. When the user wishes
Figure 5. to clicks on the off button, then the motor will automatically
stop, which results in LED glows off. When the motor is
stopped, the android application displays the water level in
percentage format.
97
IJRITCC | June 2018, Available @ http://www.ijritcc.org
_______________________________________________________________________________________