You are on page 1of 6

2018 Third International Conference on Electrical, Electronics, Communication, Computer Technologies and Optimization Techniques (ICEECCOT) 14-15,

December 2018

Wireless Automatic Water Level Controller


Suraj S Bharath V Sridhar N.K
Department of Electronics & Department of Mechanical Department of Electronics &
Communication Engineering, Engineering, Communication Engineering,
Sri Venkateshwara College Sri Venkateshwara College of Sri Venkateshwara College
of Engineering, Bengaluru,India Engineering, Bengaluru, India of Engineering, Bengaluru, India
suraj1989kav@gmail.com vbharath1947@gmail.com sridharnk52@gmail.com

Abstract — Water is one of the essential need for the survival of In this paper, section II gives the details about existing
all human beings, animals and plants. The water overflow from methods of the automatic water level controller. In section
the overhead tanks in the houses, commercial properties, III the proposed work is explained. Results followed by
educational institutions and agricultural farms increases the discussions are described in session IV. The section V deals
percentage of water wastage. To avoid such wastages
with the conclusion
implementation of an automatic water level controller becomes
a key factor which further reduces human intervention. In this II. LITERATURE REVIEW
work, an automatic water level controller using bluetooth
wireless technology and Ultrasonic water level sensor is C.N. Antanwu et al. [1] proposed a water level controller
proposed. The study of automatic water level controller using based on mc14066 integrated circuit which acted as
wireless technology and wired technology was carried out threshold detector.
separately. The results indicated that automatic water level Rishabh Das et al. [2] used PLC and SCADA for the
controller using wireless technology was superior in simulation of automation in tank level without using float
comparison with wired technology which was further validated
sensors.
with the help of different parameters.
S Pudasaini et al.[3] implemented automatic water level
Keywords— Water Level Controller, Ultrasonic Sensor, controller using water conductive sensor as water level
Bluetooth sensor along with short message service notification to the
user.
I. INTRODUCTION K Ajinkya, M Rane[6] focused on automatic water level
Water is one of the most useful natural resource in our controller based on four sensing probes to detect water level
day today life. The Indian government data says by next 30 and turns on and off the pump without help of a
years the country’s each household will have only about 1.1 microcontroller.
million liters of water per year to use, down from 1.8 million B. N. Getu et al.[5] designed a 10 level automatic water
liters in 2011.Therefore it becomes a primary duty of every controller system using encoder and digital logic circuit .The
individual to conserve this precious water. Many a times the water level was detected by inserting electrodes.
water gets wasted without our knowledge. There is a scope M. R Latte and D Prasad [6] proposed a AT89C51
for saving this unintentional wastage of water via microcontroller based low cost automatic water level
technology, amongst which one can be automatic water controller that used RC network to detect the water level.
level controller which can control water overflow. J Priya and C Sailusha [7] used IR sensor to detect the
The conventional automatic water level controller uses water level and only monitoring of water level based on IoT
conducting wires to detect the water level and wired was implemented.
technology to control on and off the water pump. The use of Malche T and Maheshwary P[8] proposed a IoT based
such conducting wires in water leads to corrosion after few water level monitoring system for smart villages which uses
years. The wired technology is also not suitable for water a water level sensor that works on water conductivity
pumping system in agricultural farms because length of the principle.
wires becomes a constraint. Hence we undertook this work. P. Amit Kumar et al.[9] put attention on the ultrasonic
The proposed system utilizes an ultrasonic sensor to detect sensor based tank water level controller that works using
the water level .With the help of bluetooth technology the arduino microcontroller and priority encoder in wired mode.
wireless analogy is implemented to overcome the constrain
of distance between the overhead tank and the pump. The III. PROPOSED WORK
microcontroller Arduino UNO is used to fetch data from the The typical water pumping system is shown in fig.1.It
water level sensor and to automate the pumping system. The contains a underground tank to store water coming from
microcontroller at the sensor unit generates a unique code bore well or municipality or other water resources, a pump
depending up on the water level sensed and sends via is used to pump the water into overhead tank so that the
bluetooth. The display unit receives the unique code through water can be used for household or farming applications.
bluetooth and turns on and off the pump accordingly with The proposed work controls the water level of the overhead
the help of another microcontroller. tank automatically by turning on and turning off the pump
when the water level in overhead tank goes below the lower

978-1-5386-5130-8/18/$31.00 ©2018 IEEE 495


threshold level and above the higher threshold level frequency sound and receiving of echo from the surface of
respectively. water. The height of water level from the sensor can be
The automatic water level controller operates in four calculated as seen in [10, eq.(1)].
stages as described in Table 1.The stages are named as stage The speed of ultrasonic sound S at 20̊ C temperature is
‘i’, stage ‘ii’, stage ‘iii’ and stage ‘iv’. In the stage ‘i’ the given by
water level is below lower threshold the pump gets turned S = 343.5m / s = 343.5 *100cm / s
on and the water gets filled in the overhead tank. Then the
water level reaches medium i.e., stage ‘ii’ and the motor i.e, S = (343.5 *100) / 1000000cm / μs .
continue to be in on state itself. In stage’ iii’ the water level S = 0.03435cm / μs
The time T in microseconds from transmitting and receiving
the echo after reflecting by the object kept at a distance d
can be calculated by using the PulseIn function available in
arduino library. So the actual time taken between the
transmitter and object will be T/2.
Therefore the distance d in centimeter between the
transmitter and object in ultrasonic sensor can be calculated
using the relation between speed, time and distance by (1)
d = S * (T / 2) = 0.03435 * (T / 2)
(1)
d = (1 / 29.1) * (T / 2) = (T / 2) / 29.1
3) Liquid Crystal Display (LCD): In this proposed
system to display the status of water level in the tank as well
as the working status of motor a LCD display unit of 16
Fig.1. Water Pumping System
columns in each of the two rows is used. The Inter-
reaches above higher threshold level and the pump gets integrated Circuit ( I 2 C ) board that connects the LCD to
turned off. Once the water reaches stage ‘iii’ the pump Arduino using the I 2 C serial bus is used to overcome the
continues to be in turn off state even though the water is consumption of more number of input/output (I/O) pins of
getting consumed till the water reaches the lower threshold microcontroller by the LCD. Data Signal (SDA) and Clock
level i.e., stage ‘iv’. The cycle again continues with stage ‘i’ Signal (SCL) are the only two I/O pins for I 2 C . The Inter-
to stage ‘iv’ and goes on forever. integrated Circuit (I2C) Protocol is a protocol intended to
allow multiple slave circuits to communicate with one or
TABLE I. FOUR STAGES IN THE WATER PUJMPING SYSTEM more master chips.
Stages Water Level Detected Action 4) Light Emitting Diode (LED) Indicator: A Four legged
Pump turns ON, Water is LED which emits light of three colours Red, Green Blue is
‘i’ Low
getting filled in the tank used in this framework to display the water level status that
Pump is still ON, Water is visible from long distance. In the four pins one is a
‘ii’ Medium continues getting filled in common cathode to the three anodes. Common cathode is
the tank connected to the ground through a 1kΩ resistor. The three
Pump turns OFF, Water anodes are connected to three different digital pins of the
‘iii’ Full about to overflow and arduino microcontroller to control the colour from the LED.
filling stops When the water level is low the LED indicator emits Green
Pump still OFF as Water colour. Blue colour is emitted by the LED when the water
‘iv’ Medium
is getting consumed. level is medium. The LED turns Red in colour when water
level is very low.
The automatic water level controller using the Wired and 5) Pump: The pump used in this proposed system is a
Wireless technologies are discussed in this framework. The DC submersible pump which can operate at a DC input
common components used in the proposed framework are voltage of 4.5V-12V.The pump is powered by a 12V, 2A
explained below DC adaptor in this framework.
1) Microcontroller: The Arduino UNO, a single chip 6) Relay: Relay is used to control the working of a high
microcontroller having data processing capability of one voltage device by a low voltage. Here the pump works at
byte at a time is used in this work. This chip utilizes 12V DC and microcontroller provides only 5V maximum. A
Reduced Instruction Set (RISC) architecture. It controls all 5V relay module is used in this work to turn on and turn off
the operations like fetching data from the water level sensor, the pump.
processing the data to calculate the water level, displaying 7) Bluetooth: The sensor unit communicates with
the water level status in the display as well in the led, display unit in wireless mode using the Bluetooth wireless
turning on and off the motor (pump). technology. The HC-12 bluetooth module is used in this
2) Water Level Sensor: The HC-SR04 ultrasonic senor is dissertation. One bluetooth module is kept at overhead tank
used as the water level sensor in this proposed work.HC- and another bluetooth at the display unit that is kept inside
SR04 uses ultrasonic sound to determine the water level by the home.
calculating time interval between transmission of the high

496
8) Power Supply: The power supply for the Power Supply
microcontroller is provided from a 230V, 50Hz AC to 9V,
1A DC adaptor.

A. Wired Automatic Water Level Controller Tx


Water
The block diagram of Wired Automatic Water Level Microcontroller Bluetooth
Level
Controller is shown in fig.2. The water level sensor detects (Ardinu UNO)
Sensor
the level of the water in the overhead tank and is given to
the microcontroller for further processing. Liquid Crystal
Display (LCD) displays the information about the water
level and status of the working of the motor i.e., the pump. Fig.3. Block Diagram of Sensor Unit
The LED indicator also gives indication of the water level
which is visible from long distance also. The water level The water level sensor detects the water level water in the
sensor alone will be kept above the overhead tank and is overhead tank, the microcontroller decides in which stage
connected by lengthy wires to the microcontroller, display, the water level belongs to out of the four stages i, ii, iii, iv.
LED indicator which are kept inside the building. So it is Once the stage is decided, the microcontroller sends a
called wired. The applications of wired automatic water unique code for each stage to the display part using
level controller are restricted to one floor houses by the bluetooth. If the water level is in stage I, the unique code
length of the wires. ‘1111’ is sent. For stage ii,’2222’ is the unique code sent.
For stages iii & iv the unique codes are ‘3333’ and ‘4444’
Power
respectively.
Supply
2) Display Unit: The display unit consists of bluetooth,
microcontroller, LCD display, LED indicator and a pump
driven by a relay as shown in Fig. 4.
LED Power Supply
Indicat
or

LED
R Indicat
Microcontroll
er LCD
Water LCD
(Arduino Microcontroll
Level Bluetooth
UNO) er
Senso
r (Arduino RELAY
RELA UNO)
Y

PUMP
Fig.4. Block Diagram of Display Unit
The display unit starts operating as it receives the unique
Fig.2. Block Diagram of Wired Automatic Water Level Controller
code from the sensor unit through bluetooth. The
microcontroller identifies the unique code received and turns
B. Wireless Automatic Water Level Controller LED into respective color along with displaying the
The wireless automatic water level controller can be corresponding message in the LCD. The relay turns on and
divided into two parts: Sensor Unit and Display Unit. The off the pump with respect to the code identified. If the code
function of the sensor unit and the display unit are explained received is ‘1111’the LED turns to Green color, the relay
below. switches on the pump and the message of water level is low
1) Sensor Unit: The sensor unit contains the water level and pump turned ON are displayed on LCD alternatively
sensor, a microcontroller and bluetooth module as shown in with a time gap of 2s time between them. The LED turns
Fig. 3. into blue color when the received code is ‘2222’ indicating
medium water level and continues to keep the pump in ON
mode. Simultaneously the LCD alternatively displays the
message of water level medium and pump ON. The pump
gets turned OFF, LED turns into Red color when the code is
‘3333’ indicating water level is high and LCD displays the
same. When ‘4444’ is received the LED turns into Blue
color indicating the water level is medium in the LCD as

497
well, but keeps the pump in OFF condition till it reaches low The hardware setup of automatic water level controller
level as water is getting consumed. using wired technology based on fig.2 is shown in Fig.5.

IV. RESULTS AND DISCUSSION


A. Results of Wired Automatic Water Level Controller

Fig.5. Hardware Setup of Wired Automatic Water Level Controller

Relay ON
a b

Relay ON

c d

Relay OFF
e f

Relay OFF
g h
Fig.6. Water level status a ,c ,e ,g of stages i to iv and Motor status b ,d ,f ,h of stages i to iv respectively for Wired Technology

Relay ON
a B

498
Relay ON
c d.

Relay OFF

e f

Relay OFF

g h
Fig.7. Water level status a ,c ,e ,g of stages i to iv and Motor status b ,d ,f ,h of stages i to iv respectively for Wireless Technology

The fig. 6 shows the results of wired automatic water level


controller. In fig .6 a, c ,e ,g shows the status of the water
level for the stages i to iv respectively and b, d, f ,h shows
the status of the motor for the stages i to iv in the LCD .The
LED indictor also changes its color along with the relay
turning pump on and off depending on the water level.

B. Results of Wireless Automatic Water Level Controller


The fig. 7 shows the results of wireless automatic water
level controller similar to wired technology only change is a
bluetooth module comes additional. In fig .7 a, c ,e ,g shows
the status of the water level for the stages i to iv respectively
and b, d, f ,h shows the status of the motor for the stages i to
iv in the LCD .

Arduino
UNO Fig.9.Hardware Setup of Display Unit
The complete hardware setup of wireless automatic water
HC-12 level controller is shown in Fig.10.
Ultrasonic bluetooth
Sensor

Overhead
Tank

Fig. 10: Complete Hardware Setup of Wireless Automatic Water Level


Controller
The table II gives the comparison between the Wired
Fig.8.Hardware Setup of Sensor Unit and Wireless technologies used in automatic water level
The hardware setup of sensor unit based on fig.3 is shown controller in terms of maximum coverage of distance,
in Fig.8. The hardware setup of display unit based on fig.4 is easiness of using the technology, cost while implementing
shown in Fig.9 the technology and external damages such as wires exposed
to moisture, temperature and rats chewing the wires.

499
TABLE II. COMPARISON BETWEEN WIRED AND WIRELESS
AUTOMATIC WATER LEVEL CONTROLLER

Technology
Parameter
Wired Wireless

HT-12 bluetooth range is 1km and


Distance Limited by length of
can be improved by use of
the wire
repeaters.
Ease of Use Easy Easy once technique is known
Cost Low Comparatively High
Vulnerable to
External Yes No
Damages

V. CONCLUSION
Automation is one of the concepts to make any system
smart by reducing regular human intervention. The wireless
automatic water level controller was developed successfully
using ultrasonic sensor, bluetooth technology and arduino
UNO microcontroller to overcome the constraint of distance
parameter in agricultural and multistoried building
applications .The results shows that automatic water level
controller proposed in this paper is superior with respect to
wired one. Implementation of this water level controller
helps in preserving water to maximum extent which can
indirectly help in reducing the scarcity of water.

REFERENCES
[1] C.N. Antanwu, C. C. Mbajiorgu and E. C. Anoliefo,” Design and
Implementation of a Water Level Controller,”Nigerian Journal of
Technology, vol.31,no.1,pp.89-92,March 2012.
[2] R Das, S Dutta, A Sarkar,K Samanta, “Automation of Tank Level
Using PLC and Establishment of HMI by SCADA,” IOSR Journal of
Electrical and Electronics Engineering, vol.7, no.2,pp.61-67,August
2013.
[3] S Pudasaini, A Pathak, S Dhakal, Milan Paudel, “Automatic Water
Level Controller with Short Messaging Service (SMS) Notification,”
International Journal of Scientific & Technology Research, vol. 4,
no.9, pp.1-4,September 2014.
[4] K Ajinkya, M Rane,” Automatic Water Level Indicator & Controller,”
International Journal of Advanced Research in Electronics and
Communication Engineering, vol. 6, no.11, pp.1287-1290,Nov.2017.
[5] B. N. Getu and H. A. Attia, "Automatic water level sensor and
controller system," 2016 5th International Conference on Electronic
Devices, Systems and Applications (ICEDSA), Ras Al Khaimah, 2016,
pp. 1-4.
[6] M. R Latte and D Prasad,” Low Cost Automatic Water Level
Control for Domestic Applications with Digital Display,”
International Journal of Engineering Search and
Technology,vol.10,no.1,pp.601-605, 2017.
[7] J Priya, C Sailusha, “WATER LEVEL MONITORING SYSTEM
USING IOT,” International Research Journal of Engineering and
Technology,vol.04,no.12,pp.1813-1817,2017.
[8] Malche T, Maheshwary P,” Internet of things (IoT) based water level
monitoring system for smart village,” Proceedings of the International
Conference on Communication and Networks, Singapore, pp. 305–
312, April 2017.
[9] P.Amrit Kumar, C. Kumar Singh, D. Kumar, and N.Hota. "Tank
Water Level Indicator & Controller Using Arduino", International
Journal of Advanced Research in Electrical, Electronics and
Instrumentation Engineering,vol. 6, no. 3,pp.1348-1354, March 2017
[10] R. S. Sunmonu , M. A. Sodunke , O. S. Abdulai & E. A. Agboola,”
Development Of An Ultrasonic Sensor Based Water Level Indicator
With Pump Switching Technique,” International Journal For Research
In Electronics & Electrical Engineering, vol. 3,on, 5,pp.1-11,May
2017.

500

You might also like