Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

TITLE: WATER LEVEL INDICATOR USING

MICROCONTROLLER 8051

This water level indicator circuit works on the principle that water conducts
electricity. A wire connected to VCC and four other wires are dipped in tank at
different levels namely quarter, half, three-fourth, full and their output are taken
on pins P3.0, P3.1, P3.2, P3.3 via a transistor BC547. Port P2 is connected to
data pins of LCD and P1.0, P1.1, P1.2 are respectively connected to RS, RW,
and EN pins of LCD.

Initially when the tank is empty LCD will show the message VACANT. 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 level reaches to quarter level, LCD displays the message
QUARTER. On further rise of level, HALF and 3/4 QUARTER are displayed on
LCD. When tank gets full LCD shows the message FULL CLOSE TAP. A
buzzer is also provided to produce a alert the user when the tank gets filled. This
buzzer can be made off by pressing the switch connected between pin 15 of
controller and VCC.
COMPONENTS REQUIRED:

LCD
MICROCONTROLLER 8051
BUZZER
POTENTIOMETER
TRANSISTOR BC 547

You might also like