Anda di halaman 1dari 45

WATER LEVEL CONTROLLER WITH INDICATOR USING MICROCONTROLLER

Abstract
Water scarcity is one of the major problems
facing major cities of the world
this is one of the motivations for this
research, to deploy computing techniques in
creating a barrier to wastage
to not only provide more financial gains and
energy saving, but also help the
environment and water cycle which in turn
ensures that we save water for our future.

The Project

An

automatic water pump controller


through the use of different technologies in
its design, development, and
implementation.
The system used microcontroller to
automate the process of water pumping
Has the ability to detect the level of water
in a tank,
Switch on/off the pump
Display the status on an LCD screen.

The Project
This research has successfully provided an
improvement on existing water level
controllers
Its use of calibrated circuit to indicate the
water level
Use of DC instead of AC power thereby
eliminating risk of electrocution.

Introduction
Pumps are essential in the water supply
field.
wooden pumps existed in the 1700s and
these were used to empty the bilges of
ships.
Metal piston type pumps, driven by steam,
were developed in the early to mid-1800s
but it was not until the advent of electrically
driven pumps that water system expansion
became feasible on a large scale.

Continued

Layne

Bowler developed the first vertical turbine


water pumps in 1894 and Jacuzzi developed the
first submersible pumps in the 1920s
Automatic water pump controller is a series of
functions to control the Automatic Water Pump
Controller Circuit in a reservoir or water storage.
A control system therefore can be defined as a
device, or set of devices, that manages,
commands, directs or regulates the behaviour of
other device(s) or system(s).

Designing Circuit Diagram

Designing Description
This circuit works on the principle that water
conducts electricity.
Two wires connected to VCC and two other
wires are dipped in tank at different levels
namely top & bottom and their output are
taken on pins P2.6, P2.7 via transistor
BC547. Port P1 is connected to data pins of
LCD and P3.2, P3.3, P3.4 are respectively
connected to RS, RW, and EN pins of LCD.

Designing Description
Initially when the tank is empty motor will be
on automatically & LCD will show the message
Motor on.
As the tank starts filling up wire at different
levels get some positive voltage, due to
conducting nature of water. This voltage is
then fed to their corresponding pins on
controller.
When tank gets full motor will be on
automatically & LCD shows the message Motor
Off.

Circuit Components
At89c52 controller
At89c52 programming
board
16*2 LCD
12V Relay
Bc547 (NPN)
transistors
Transistor (BC 337)=1
Crystal oscillator
11.0592MHz
Resistors (1K) 3

Resistors (10K) 1
Capacitor (1uf)-4
Resistor 500 ohm
AC Motor
Pot 10k
Programming cable
Connecting wires

Microcontroller

AT89C52is an 8-bitmicrocontrollerand
belongs to Atmel's8051 family.
AT89C52 has 8KB of Flash programmable
and erasable read only memory (PEROM)
and 256 bytes of RAM.
AT89C52 has an endurance of 1000
Write/Erase cycles.

Microcontroller

It can be erased and programmed to a


maximum of 1000 times.
Though very slight difference between the
features ofAT89C51andAT89C52, they
are very similar in their pin configurations*
and operations.

Differences between AT89C51 and AT89C52

AT89C52

AT89C51

RAM

256 Bytes

128 Bytes

Flash

8 KB

4 KB

3 (16-bit each)

2 (16-bit each)

Number of Timers/Counters

Number of Interrupt Sources

Differences between AT89C51 and AT89C52

While AT89C51 has two timers (Timer0 &


Timer1), AT89C52 also has Timer2.
Corresponding to Timer2, there are extra
SFRs (Special Function Registers) T2CON &
T2MOD.
Also there are registers RCAP2H & RCAP2L
to configure 16 bit Capture & Auto-reload
modes of Timer2.

Microcontroller Pin Diagram

LCD 162 (LM016L)

LCD 162 (LM016L)


The most commonly used Character based
LCDs are based on Hitachis HD44780
controller or other which are compatible
with HD44580
The most commonly used LCDs found in the
market today are 1 Line, 2 Line or 4 Line
LCDs which have only 1 controller and
support at most of 80 charachers

LCD 162 (LM016L)


LCDs supporting more than 80 characters
make use of 2 HD44780 controllers.
Most LCDs with 1 controller has 14 Pins
LCDs with 2 controller has 16 Pins (two pins
are extra in both for back-light LED
connections)

Relay

Relay
A relay is an electrically operated switch.
Relays are used where it is necessary to
control a circuit by a low-power signal) or
where several circuits must be controlled by
one signal.
The first relays were used in long distance
telegraph circuits as amplifiers: they
repeated the signal coming in from one
circuit and re-transmitted it on another
circuit.

Relay
Relays were used in telephone exchanges
and early computers to perform logical
operations.
A type of relay that can handle the high
power required to directly control an electric
motor or other loads is called a contactor.
Relays with calibrated operating
characteristics and sometimes multiple
operating coils are used to protect electrical
circuits from overload or faults;

Motor

Motor
An electric motor is an electrical machine
that converts electrical energy into
mechanical energy
In normal motoring mode, most electric
motors operate through the interaction
between an electric motor's magnetic field
and winding currents to generate force
within the motor.

Motor
In certain applications, electric motors can
operate in both motoring and generating or
braking modes to also produce electrical
energy from mechanical energy.
Electric motors are used to produce linear
or rotary force (torque)
should be distinguished from devices such
as magnetic solenoids and loudspeakers
that convert electricity into motion but do
not generate usable mechanical powers

Transistor BC 547 Pin Diagram

Transistor BC 547 Pin Diagram


BC547 is mainly used for amplification and
switching purposes.
It has a maximum current gain of 800.
Its equivalent transistors are BC548 and
BC549.

Transistor BC 547 Pin Diagram


The transistor terminals require a fixed DC
voltage to operate in the desired region of
its characteristic curves. This is known as
the biasing.
For amplification applications, the transistor
is biased such that it is partly on for all
input conditions.
The input signal at base is amplified and
taken at the emitter.

Transistor BC 547 Pin Diagram


BC547 is used in common emitter
configuration for amplifiers.
The voltage divider is the commonly used
biasing mode.
For switching applications, transistor is
biased so that it remains fully on if there is
a signal at its base.
In the absence of the base signal it gets
completely switch off.

Resistors
A resistor is a passive two-terminal
electrical component that implements
electrical resistance as a circuit element.
Resistors act to reduce current flow
At the same time it acts to lower voltage
levels within circuits.

Resistors

In electronic circuits resistors are used


1.
2.
3.
4.

To limit current flow,


To adjust signal levels,
Bias active elements,
Terminate transmission lines among other uses.

High-power resistors that can dissipate many


watts of electrical power as heat may be
used as part of motor controls
Resistors may have fixed resistances that
only change a little with temperature, time
or operating voltage.

Resistors

Variable resistors can be used to


1. Adjust circuit elements (such as a volume
control or a lamp dimmer),
2. Sensing devices for

Heat
Light
Humidity
Force
Chemical Activity.

Resistors
Resistance value is marked on the resistor
body. Most resistors have 4 bands.
The first two bands provide the numbers for
the resistance and the third band provides
the number of zeros.
The fourth band indicates the tolerance.
Tolerance values of 5%, 2%, and 1% are
most commonly available

Resistors

Capacitors

Capacitors
A capacitor is a passive two-terminal
electrical component used to store energy
electrostatically in an electric field.
All forms of capacitors contain at least two
electrical conductors (plates) separated by
a dielectric (i.e. insulator).
The conductors can be thin films, foils or
sintered beads of metal or conductive
electrolyte, etc.

Capacitors
The "no conducting" dielectric acts to
increase the capacitor's charge capacity.
A dielectric can be glass, ceramic, plastic
film, air, vacuums, paper, mica, oxide layer
etc.
Capacitors are widely used as parts of
electrical circuits in many common
electrical devices.
Unlike a resistor, an ideal capacitor does not
dissipate energy.

Capacitors
When there is a potential difference across
the conductors, an electric field develops
across the dielectric, causing positive charge
to collect on one plate and negative charge
on the other plate.
If a battery is attached to a capacitor, no
current can flow through it.
However, if a time-varying voltage is applied
across the leads of the capacitor, a
displacement current can flow.

Diode IN4007

Diode IN4007
A rectifier diode is used as a one-way check
valve.
These diodes only allow electrical current to
flow in one direction
Hence, they are used to convert AC power
into DC power.

Diode IN4007
When constructing a rectifier, it is important
to choose the correct diode for the job;
otherwise, the circuit may become
damaged.
Luckily, a 1N4007 diode is electrically
compatible with other rectifier diodes, and
can be used as a replacement for any diode
in the 1N400x family.

Advantages
Human effort is reduced as the system
controls the motor automatically based on
the water level.
This system consumes less power.
Simple and more reliable.

Applications

Used in big buildings where the manual


monitoring is difficult.
Used in industries to control the liquid level
automatically.
Automatic Water level Controller can be used
in Hotels, Factories, Homes Apartments,
Commercial Complexes, Drainage, etc.,
It can be fixed for single phase motor, Single
Phase Submersibles, Three Phase motors.

Applications
For Single Phase, Submersible Starter is
necessary.
We can control two motor and two sumps
and two overhead tanks by single unit.
Automatic water level controller will
automatically START the pump set as soon
as the water level falls below the
predetermined level (usually 1/2 tank) and
It will SWITCH OFF the pump set as soon as
tank is full.

Summary and Conclusion

Automatic water pump control system


employs the use of different technologies in
its design, development, and
implementation.
The system used microcontroller to automate
the process of water pumping in an overhead tank storage system and has the ability
to detect the level of water in a tank.
It also switches the pump on/off accordingly
and displays the status on an LCD screen.

Summary and Conclusion

This research has successfully provided an


improvement on existing water level
controllers by its use of calibrated circuit to
indicate the water level.
Use of DC instead of AC power thereby
eliminating risk of electrocution.

Anda mungkin juga menyukai