Академический Документы
Профессиональный Документы
Культура Документы
Project Report On
“WATER LEVEL CONTROLLER”
By :
Arati P. Chavan
Mrudula B. Chougule
Trupti V. Desai
T.E.(ELECTRONICS)
Department Of Electronics
College Of Engineering, Kolhapur
KOLHAPUR INSTITUTE OF TECHNOLOGY’S
COLLEGE OF ENGINEERING
KOLHAPUR.
CERTIFICATE
Student’s name:
Arati Chavan.(09)
Mrudula Chougule.(11)
Trupti Desai.(12)
I thankful to God for the blessing he has showed on me for the success
of this project. This project entitled “WATER LEVEL CONTROLLER”
was a formidable task, but for active guidance and help of my Lecturers who
helped me to complete it.
I would like to put on record deep gratitude towards my Lecturers for
their valuable guidance and encouragement, which has played an important
role in the preparation of this project.
I am thankful to the H.O.D. Prof. Nigavekar, my guide
Miss. Chaitali Prabhu for providing all facilities and to other professors of
the Electronic Department for their valuable suggestions and co-operation
during the completion of this project.
I would also like to thank my friends for their constant
Encouragement and timely help for this report.
Date:
Place: Kolhapur
CONTENTS
3. Synopsis.
4. Block diagram.
5. Methodology.
6. Circuit diagram.
7. Working.
9. Test report.
11. Problems.
12. Conclusions.
13. Reference.
Introduction
For the residents who live in high buildings, low water pressure is a very
common problem, especially when many people use the water at the same
time. Therefore, many people install a water tower on the roof of the
building. The water is stored at a water tank at the basement first. Then it is
pumped into the water tower on the roof using a pumping motor. In this
manner, the low water-pressure problem can be improved and the water can
be used in a more efficient way.
Traditional Water Level Controller
Traditional water level controller uses floating balls as the sensors for level
detection, which is depicted in Figure 1. As shown in the figure, the
controller has two floating balls (will be called ball A and ball B hereafter)
placed at two levels (will be called level H and level L hereafter). According
to the positions of the two balls, the switch of the pumping motor is set to be
on or off.
Using floating balls as the sensors for water level control has the advantages
of simple structure and low cost. However, as mentioned above, since the
contact switch of the pumping motor is usually placed at the top of water
tower, the humidity may corrode the contact point of the switch. This will
cause the switch to mal-function. Meanwhile, since there are no means to
detect the water level of the basement water tank, it is possible that the
pumping water will be burned if there is water level in the basement water
tank is too low.
Synopsis
Project Statement :
To design an automatic system which will display the water level of a
tank and control the ON/OFF function of motor.
Methodology:
The present concept implements controlling of pump which pumps water
from the sump (underground tank) to the overhead tank, using 89C2051
microcontroller.
The control panel, i.e. the main control unit of the system which
consists of the primary control pump indicator and level indicators.
The heart of the system is microcontroller(89C2051) and the program
in it. The system will read, indicate and control water level on the tank.
HARDWARE TOOLS USED:
1. motor.
RELAY: Relay is used to control the on/off function of
3. TANK:
a. Top tank: Two levels can be detected (low and high level).
b. Underground tank: Two levels can be detected(low and high
level).
4. LEVEL DETECTORS:
Software to be used:
Assembly language programming tool for programming
microcontroller.
Contribution of the project:
This project will be useful to solve the problems related to
water management in residencies, hotels, hospitals etc.
Project by:
Project Guide:
Miss. Chaitali Prabhu.
H
e
a
d
o
f
d
e
p
ar
t
m
e
nt
M
r.
A
.
R
.
N
ig
a
v
e
k
ar
UPPER
TANK
UNDERG
ROUND
TANK
Block diagram
ADC(mcp 3202)
Specifications
Controller chip(89C2051):
The AT89C2051 is a low-voltage, high-performance CMOS 8-bit
microcomputer with 2K bytes of Flash programmable and erasable
read-only memory (PEROM). The device is manufactured using
Atmel’s high-density nonvolatile memory technology and is
compatible with the industry-standard MCS-51 instruction set. By
combining a versatile 8-bit CPU with Flash on a monolithic chip, the
Atmel AT89C2051 is a powerful microcomputer which provides a
highly-flexible and cost-effective solution to many embedded control
applications. The AT89C2051 provides the following standard
features: 2K bytes of Flash, 128 bytes of RAM, 15 I/O lines, two 16-
bit timer/counters, a five vector two-level interrupt architecture, a full
duplex serial port, a precision analog comparator, on-chip oscillator
and clock circuitry. In addition, the AT89C2051 is designed with static
logic for operation down to zero frequency and supports two software
selectable power saving modes. The Idle Mode stops the CPU while
allowing the RAM, timer/counters, serial port and interrupt system to
continue functioning. The power-down mode saves the RAM contents
but freezes the oscillator disabling all other chip functions until the
next hardware reset.
Ioh=-30uA 0.75Vcc V
Ioh=-12uA 0.9Vcc V
7-SEGMENT DISPLAY
2. Common anode display: All anode terminals are shorted and connected to
vcc.
RELAY
U 2
8
16
+ 5 V U 3
C a
C a
2 1 2 7 1 3 R 1 7
P 3 . 0 / R P X 1 D . 0 / A 1 I 3N 0 1 A a
VC C
3 1 1 2 R 2 6
1
J 1
6 P 3 . 1 / T PX 1D . 1 / A 1 I 4 N 1 2 2 B 1 1 R 4 4 b
1 8 + 5 V P 3 . 2 / I N T PO 1 . 12 5 4 C c
2 7 6 1 0 R 5 2
2 7 8 P 3 . 3 / I N T P1 1 . 13 6 4 8 D 9 R 6 1 d
R 3 3 6 9 P 3 . 4 / T 0 P 1 . 14 7 5 B I / R B O E 1 5 R 7 9 e
4 5 1 P 3 . 5 / T 1 P 1 . 15 8 R B I F 1 0 f
G N D
1 3 1 4 R 8
P 3 . 7 P 1 . 16 9 L T G g
P 1 . 7 5
+ 5 V7 4 L S 4 8
d p
3
1 2 0
+ 5 V R S T / V P P V C C
8
1
C 1
+ 5 V U 1
XT AL2
XT AL1
2
G N D
R 1 0
R 9
8
16
U 5
C a
C a
A T 8 9 C Y 2 10 5 1 7 1 3 R 1 1 7
10
1 A a
4
VC C
1 1 2 R 1 2 6
2 B b
3
2 1 1 R 1 3 4
6 4 C 1 0 R 1 4 2 c
C 2 C 3 4 8 D 9 R 1 5 1 d
5 B I / R B O E 1 5 R 1 6 9 e
R B I F 1 0 f
G N D
3 1 4 R 1 7
R 1 +8 6 V L T G g
5
+ 5 V7 4 L S 4 8
d p
K 1 J 2
8
D 2 5
3 1
2 U 4
D 1 4
1 3
2 C O N 3
R 1 9
Q 1
J 3
R 2 0
1 + 6 V
2 + 5 V
3
C O N 3
Working:
Microcontroller 89C2051:
By applying supply voltage we have checked VCC and GND pins.
By writting small test codes we have checked port pins.
Testing of code: We have first tested code for reading one channel of
ADC with the help of asm and adsim.
Finally we have tested whole code for reading both channels and
controlling ON/OFF function of motor.
Problems faced during project
The input pins of decoder 7447 (A1 and A3) are interchanged in
hardware, we have corrected it through program.
The P3.7 port pin is not working properly, so instead of it we have
used P3.0 port pin for controlling function of motor.
Test report
1 0
2 10
3 20
4 30
5 40
6 50
7 60
8 70
9 80
10 90
Conclusion
Thus we can indicate and control the water level of tank in household
systems and save the water.
Variety of sensors can be used to detect the water level.
References
Websites:
http://www.atmel.com
www.microchip.com/cn
interface.ti.com
microcontroller.ti.com