Water Level Controller Using 8051 Microcontroller
Water Level Controller Using 8051 Microcontroller
on
Introduction
Circuit components
Details of components
Trasistor
8051 microcontroler
Circuit Diagram
Algorithm
Working
Advantages
Applications
INTRODUCTION
This system explains how to deiect and control the water level in overhead an
tank or any other container. This system monitors the water level of the tank and
automatically switches ON the motor when ever tank IS empty. The motor is
At89c5I controller
1 6 2 LCD
-5VRelay
Bc547 (NPN) transistors- 5
Resistors (1K)-4
Resistor-330 ohm
-AC Motor
Connecting wires
Details of components
lines.I
has two registers, namely, Command and Data.
8051 Microcontroller
The 805 l is an 8-bit microcontroller with 8 bit data bus and 16-bit
address bus. The 16 bit address bus can addres a 64K( 216) byte
code of data
memory space a
and separate 64K byte memory
space. The 8051 has 4K on-chip read only code memory and 128
bytes of internal Random Access Memory(RAM) .
A
ATHOCS
**
A"
A
A
Water Level Controller using 8051 Circuit Diagram:
ALGORITHM FOR WATER LEVEL CONTROLLER
F i r s configure the controller pins P3.0. P3.1. P3.2 and P3.3 as inputs and P3.4 as
Oupul.
high the
to run moor
aulomaically
High pulse n the pin Ps.0 indacate quarter kvel dsplay the sane thing on
LCD.
automatically
WORKING OF WATER LEVEL CONTROLLER USING S051
The of level
man heart this projat ATBCS| muconreller The water
is probes are connecied
to the P3.0. Ps.1. Ps.2. and P3.3 through the transis on. Part P2 connectad to the data pins of
LCD and conrol pins RS. RW nd EN of LCD are conneted to the Pl0. P1.1. and P1.2
repecuvely.
Initially when tank s cmpty. LCD will display the message EMPTY and motor runs
utomatically. When waer level reaches o qurta level, now LCD displays QUARTER and
motor runs. For further levds. LCD displays the messages HALF and á FULL.