GE-International Journal of Engineering Research: Automated Water Level Controller
GE-International Journal of Engineering Research: Automated Water Level Controller
Ahmad M. Y. Jumba
Department of Electrical Electronic Engineering Technology, Federal Polytechnic, Bauchi,
Nigeria.
Bala Hussaini
Department of Electrical Electronic Engineering Technology, Jigawa State Polytechnic
Dutse, Nigeria
ABSTRACT
Water is an essential ingredient for daily life and a scarce natural resource despite its usage.
The excessive water usage either for domestic, commercial or industrial purposes, coupled
with Man-made climatic change and pollution has led to water shortage; hence, previous
civilizations have vanished from lack of water (due to droughts). To control and manage the
utilization of water at different sectors, electronic system was designed by using discrete
component known as an analog device. The shortcoming of most of this discrete components-
based system is two levels, to obtain a multiple levels system a microcontroller has to be
employed. This research works with a microcontroller based multi levels water supply and
control device with alarm and digital display which was designed and implemented for
suitable residential, commercial and industrial users.
1.0 Introduction
The world today is facing an excessive water usage either for domestic, commercial or
industrial purposes. It is a scarce natural resource, coupled with Man-made climatic change
and pollution that can lead to water shortage. Previous civilizations have vanished from lack
of water (due to droughts). Some researchers believe the third world war may erupt due to the
1.1Background Information
This research work was designed and implemented by using the microcontroller water supply
and control device with alarm and digital display for residential, commercial and industrial
users. The system was designed to have five levels i.e. 100%, 75%, 50%, 25% and 0%. The
pump will come ON when the Water level 25% remaining with an alarm when the level is
lower than the setpoint.
The level sensor is used to detects the level of water that flow to become essentially in the
container (e.g. other physical boundaries) the substance to be measured can be inside a
container or can be in its natural form (e.g. rivers or lake). There are many physical
approaches to level sensor detection and control which include magnetic and mechanical
float, ultrasonic, capacitance, optical interface, hydrostatic pressure and air bubble to mention
just a few of them. But for optimal monitoring level monitoring for a domestic, commercial
and industrial process the selection criteria include. Physical phase is temperature, pressure or
vacuum. While chemistry consideration is the dielectric constant of the medium, density
(specific gravity), acoustical or electrical noise and Mechanical criteria include tank shape
and vibration. It is also important to design a sensor that provides a shield that protects the
float from turbulence or wave motion and it can also operate with a wide variety of liquid.
In practice, a program was designed to enable interfacing the sensor with the micro-
controller, while the micro-controller provides the input signal to the liquid crystal display,
alarm, and the pump control.
i. The interface relay enables a large circuit and voltage circuit to be controlled by a
small current and voltage circuit.
ii. It also enables control circuit to be isolated from the controlled circuit.
2.3 Microcontroller
This is mainly referred to as the heart or brain of the system as a whole. It is responsible for
controlling the on/off of the motor and alarm, also feeding the LCD with signal to display the
exact replica of the contains of the tanks, in summary, it controls the whole system, the
microcontroller is a standalone computer, optimized for control applications, the entire
processor, memory and input/output interface are located on a single piece of silicon, so it
takes less time to read and write to external device.
The PIC (peripheral interface controller) is the integrated circuit which was developed
to control peripheral device, alleviating the load from the main CPU (central processing unit).
The PIC like the CPU, has calculating functions and memory, and it is controlled by a
software, however, the throughput and the memory capacity are low depending on the kind of
PIC, the maximum clock operating frequency is about 4MHz and the memory capacity (to
write a program) ranges from 1K to 4k word.
DISPLAYING UNIT
CONTROLLING
UNIT
SENSING
UNIT MOTORIZING
UNIT
The operator of most electronic equipment requires Voltage, in Nigeria the readily available
domestic Power is an outlet, a conversion of this alternating current into unidirectional is
therefore necessary. The stage involves include transformation (step down), rectification,
filtering and voltage regulation
This is used to step down the alternating voltage from the higher voltage to lower voltage
without a change in frequency, in this case, the to a step down to, which is then rectify and
regulated.
220V
15v
50Hz
D1 D3
D4 D2
For the two diode that conduct at each half cycle of the rectifier circuit we have
Ripple voltage
Supply frequency
3.8 Oscillator
XT crystal/ceramic resonator
RC resistor/capacitor
F= 1/1.1Re
4m = 1/1.1100KC
Since the sink and the source maximum voltage is and , respectively.
= 4.2KΩ
R1
MCU
Water
Rb
Pump
= 2.2KΩ
Rc
Rb
Q VCE
1.0k
VBE
The diode place across the relay is commutative diode to protect the circuit from back
5V
2.2k 5V
MCU
10k
2.2k
15k
3.3k
We assumed
While the variable resistor place before the microcontroller is for precision.
For supply
For supply
The performance of the supply is thus satisfactory since the percentage voltage regulations of
the supplies voltage are low.
The hardware component was assembled on the breadboard and later transfer to Vero board,
all connection was checked carefully with the used of digital multi-meter to make sure all
connection was made correctly to avoid short-circuiting of the system.
5.0 Conclusion
The aim of the project is to design and implement a microcontroller based automatic water
supply and control device with alarm and digital display system to be installed for domestic,
commercial and industrial used. The system has been realized to be usable with the device
that was found to be working properly based on its design and relatively cheap components
involved in its realization. Thus, the aim of the project can be said to have been achieved.
References
Abdullahi, M.A (2012): Design and Construction of Microcontroller based Water Level
Detector with Digital Display. Unpublished thesis Submitted to Electrical Electronics
Engineering Department Federal Polytechnic Bauchi in Partial fulfilment of High National
Diploma.
Attia, H. A, Getu, B.N (2016): Automatic Water Level Sensor and Controller System. 6-8
Dec. 2016 IEEE Conference Ras Al Khaimah, United Arab Emirates
Beza N.G, Attia H. A, (2015) Automatic Control of Agricultural Pumps Based on Soil
Moisture Sensing, Proceedings of the IEEE AFRICON 2015 Conference, pp. 667-671, 14-17
September.