You are on page 1of 32

A Major Project Report Submitted in Partial Fulfillment of the requirements for the Degree of

Master of Science in Electronics


By

RUCHIRA PRIYADARSINI Roll no: 11MSCEL09

2013
Under the Guidance of

Dr. K.C. Patra


SAMBALPUR UNIVERSITY INSTITUTE OF INFORMATION TECHNOLOGY JYOTI VIHAR, BURLA SAMBALPUR, ODISHA, PIN-768019

CERTIFICATE
This is to certify that the project report entitled WATER LEVEL CONTROLLER being submitted by Ruchira Priyadarsini, Reg. No. 24276/08 of Sambalpur University Institute of Information Technology, Jyoti Vihar, Burla is a work of collection carried out by her under my guidance and supervision for the session 2011-2013. In my opinion the project report has fulfilled the requirement according to the regulation and standard necessary for submission. Dr.K.C.Patra (Signature & Date with official seal)

| Page 2

ACKNOWLEDGEMENT

I express my deep and sincere thanks to my guide Dr.K.C.Patra. He helped me in selecting this project and also guided me throughout the project. He also helped me by taking a lot of pain and sacrificing his personal valuable time in completion of this practical project as well as the project report. My heartfelt thanks to Prof.S.S.Pujari, Director of Sambalpur University Institute of Information Technology for his encouragement and overall supervision in bringing out this project report. Last but not least, I am heartiest thanks to our co-coordinator Mr.prabir Sethi my friends, Mtech seniors Santanu Dash, Yougajyoty Sahoo, Rasmita Badhei, Pragya Paramita Muduli, Sofiya Nayak, Amruta Panda who helped me a lot during the project work. Above all I owe to my beloved parents whose bless and supports are always with me.

Ruchira Priyadarsini M.Sc. Electronics (4th semester) Sambalpur University Institute of Information Technology

| Page 3

ABSTRACT
The project is involving the development of the indicator for controlling the water level by sensing in the overhead tanks. Water level management approach would help in reducing the home power consumption as well as water overflow. The microcontroller-based water level controller-cum-motor protector is capable to solve this problem. It controls on and off conditions of the motor depending upon the level of water in the tank. The status is displayed on an LCD module. The circuit also protects the motor from high voltages, low voltages, fluctuations of mains power and dry running. In this project microcontroller based water level indicator is developed and simulated in proteous environment as well as real-time hardware environment.

| Page 4

CONTENTS
CHAPTER-1: INTRODUCTION
1.1 OVERVIEW OF THE PROJECT 1.2 Water Level Indicator 1.3 Water Level Sensor 1.4 Water Pump Controlling System

CHAPTER-2 TOP LEVEL DESIGN


2.1 Functional block diagram 2.2 System Explanation 2.3Pictorial diagram

CHAPTER-3: HARDWARE DEVELOPMENT


3.1 Detail Description of microcontroller (AT89S51) 3.2 Microcontroller development board 3.3 Description of LCD 3.4 Detail Description of RELAY 3.5 detail description of TRANSISTOR

CHAPTER-4: SOFTWARE DEVELOPMENT


4.1 Flow chart 4.2 Software code

CHAPTER-5: ANALYSIS AND RESULT


5.1 Proteus based schematic diagram 5.2 Observation table 5.3 Simulation and working

CHAPTER-6: CONCLUSION
6.1 ADVANTAGE 6.2 APPLICATION 6.3 FUTURE SCOPE 6.4 CONCLUSION

REFERENCE | Page 5

APPENDIX

CHAPTER-1
INTRODUCTION
1.1OVER VIEW OF THE PROJECT
Water level control Project aims to show, initially when the tank is empty, motor will be ON automatically & LCD will show the message TANK EMPTY. 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 automatically OFF& LCD shows the message TANK FULL. In most houses, water is first stored in an underground tank (UGT) and from there it is pumped up to the overhead tank (OHT) located on the roof. People generally switch on the pump when their taps go dry and switch off the pump when the overhead tank starts overflowing. This results in the unnecessary wastage and sometimes non-availability of water in the case of emergency.

1.2 Water Level Indicator


For water level indication unit we can use some LED light which will work for water level indication. By touching different water levels through water level sensor, LED should be indicated as on/off (i.e. on: yes sensor senses water).

1.3 Water Level Sensor


To make special water level sensor we would like to introduce some convenient materials such as Iron rod, nozzles, resistance, rubber etc. A connecting rod made by iron and steel which should be connected with ground and we need at least four nozzles which should be connected with +5v via a 1k resistance. We need to bind them together and put a rubber at their joint point which will act as an insulator for every nozzle. When the sensor touches water, nozzles and connecting rod get electric connection using water conductivity.

1.4 Water Pump Controlling System


We can control the water pump by connecting it with an output pin of microcontroller via a motor driver circuit. When microcontroller sends a positive signal (+5v) or a ground signal (0v) to the motor driver circuit, then the water pump become on or off respectively. We also would like to use a manual switch on the motor driver circuit which is supposed to use for controlling it manually. It makes this system more users friendly.

| Page 6

CHAPTER-2
TOP LEVEL DESIGN

2.1 Functional block diagram

LC POWER SUPPLY AT89S51 MICROCONTROLLE R

RELAY DRIVER

WATER PUMP

2.2 System Explanation


Here in this project show that how to use sensor to control the working of pump. Working of the pump is controlled by the water level of the source tank, and when it is fully filled then pumps get automatically off. But even when there is no water in the source tank, pump will remain switched off. So working of the pump totally depends upon both, the source as well as main tank. The water level of the overhead tank should be monitored using sensors and when water level drops below a threshold level the water pump should be turned on. When the level of water is above a predefined level the pump should be turned off. When the pump is turned on the water level in the ground tank should be monitored. If that level drops a below a defined value the pump should be turned off.

| Page 7

A user should be able to disable the whole automatic system and switch on or off the pump manually. In the manual mode the water level in both tanks should be displayed so that the user can operate the motor by observing the indications of the display. The LCD will display the amount of voltage at which its running. If there is any fluctuation occur the motor will stop running only the LCD will display the voltage after returning to its specific voltage level the motor will again starts. The first SENSOR will indicate the lower threshold of the overhead tank. It will display in the LCD when water level is below the lower threshold. The second SENSOR will indicate the higher threshold of the overhead tank. It will display in the LCD when water level is above the higher threshold. The third SENSOR will indicate the water level of the ground tank. It will display in the LCD when water is below the lower threshold. Beeps upon any error conditions due to dry run or low voltage. One more feature about this device is that one can set the operating voltage for the motor.This feature allows this device to work under optimum voltage range and thus protecting the motor from power surges or voltage fluctuations.

2.3 Pictorial diagram

| Page 8

CHAPTER-3
HARDWARE DEVELOPMENT
HARDWARE PARTS:
SEMICONDUCTORS IC2 IC4 TRANSISTER SL100 BC547 RESISTERS R1 & R2 R3 &R4 PRESET 1 KILO OHMS 1 KILO OHMS AT89S51 8051 MICRO CONTROLLER 16*2 CHARACTER LCD DISPLAY

8051 MICROCONTROLLER DEVELOPMENT BOARD

3.1 Detail Description of microcontroller (AT89S51)

| Page 9

AT89S

Features
Compatible with MCS-51 Products 4K Bytes of In-System Programmable (ISP) Flash Memory Endurance: 10,000 Write/Erase Cycles 4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz Three-level Program Memory Lock 128 x 8-bit Internal RAM 32 Programmable I/O Lines Two 16-bit Timer/Counters Six Interrupt Sources Full Duplex UART Serial Channel Low-power Idle and Power-down Modes Interrupt Recovery from Power-down Mode Watchdog Timer Dual Data Pointer Power-off Flag Fast Programming Time Flexible ISP Programming (Byte and Page Mode) Green (Pb/Halide-free) Packaging Option

| P a g e10

3.2Microcontroller development board

PIN DESCRIPTION
1. VCC: Pin 40 provides supply voltage to the chip. The voltage source is +5v. 2. GND: Pin 20 is ground. 3. XTAL1 and XTAL2: Pin 18 and 19. Feeds external clock to the on-chip oscillator of 8051. 4. RST: Pin 9 is RESET pin. 5. EA: Pin 31. External access. 6. PSEN: Pin 29. Program store enable. 7. ALE: Pin 30. Address latch enable. 8. P0: Port pins 0 (32-39). 9. P1: Port pins 1 (1-8). 10. P2: Port pins 2 (21-28). 11. RXD, TXD: P3.0 (10), P3.1 (11). Serial ports. 12. INT0, INT1: P3.2 (12), P3.3 (13). Interrupts. 13. T0, T1: P3.4 (14), P3.5 (15). Timers. 14. WR, RD: P3.6 (16), P3.7 (17). Write a Read pins.

3.3 DESCRIPTION OF LCD

| P a g e11

Frequently, an 8051 program must interact with the outside world using input and output devices that communicate directly with a human being. One of the most common devices attached to an 8051 is an LCD display. Some of the most common LCDs connected to the 8051 are 16x2 and 20x2 displays. This means 16 characters per line by 2 lines and 20 characters per line by 2 lines, respectively. Fortunately, a very popular standard exists which allows us to communicate with the vast majority of LCDs regardless of their manufacturer. The standard is referred to as HD44780U, which refers to the controller chip which receives data from an external source (in this case, the 8051) and communicates directly with the LCD. The user may select whether the LCD is to operate with a 4-bit data bus or an 8-bit data bus. If a 4-bit data bus is used the LCD will require a total of 7 data lines (3 control lines plus the 4 lines for the data bus). If an 8-bit data bus is used the LCD will require a total of 11 data lines (3 control lines plus the 8 lines for the data bus). A 16x2 LCD means it can display 16 characters per line & there are two such lines .This LCD has two registers, namely command and data. The command register stores the command instructions given to the LCD. Command is an instruction given to LCD to do pre defined task. The data register stores the data to be displayed on the LCD.The data is the ASCII value of the character to be displayed on the LCD. The user may select whether the LCD is to operate with a 4-bit data bus or an 8-bit data bus. If a 4-bit data bus is used the LCD will require a total of 7 data lines (3 control lines plus the 4 lines for the data bus). If an 8-bit data bus is used the LCD will require a total of 11 data lines (3 control lines plus the 8 lines for the data bus). A 16x2 LCD means it can display 16 characters per line & there are two such lines .This LCD has two registers, namely command and data. The command register stores the command instructions given to the LCD. Command is an instruction given to LCD to do pre-defined task. The data register stores the data to be displayed on the LCD.The data is the ASCII value of the character to be displayed on the LCD.

Pin configuration of the LCD shown bellow

| P a g e12

3.4 DETAIL DESCRIPTION OF RELAY


A relay is an electrically operated switch used to isolate one electrical circuit from another.

Relay Switch Contacts


The switch contacts on a relay can be "normally open" (NO) or "normally closed" (NC)--that is, when the coil is at rest and not energized (no current flowing through it), the switch contacts are given the designation of being NO or NC. In an open circuit, no current flows, such as a wall light switch in your home in a position that the light is off. In a closed circuit, metal switch contacts touch each other to complete a circuit, and current flows, similar to turning a light switch to the "on" position. The switch contacts remain in this state until you remove the voltage to the coil. Relays come in different switch configurations. The switches may have more than one "pole," or switch contact. The diagram shows a "single pole single throw" configuration, referred to as SPST. This is similar to a wall light switch in your home. With a single "throw" of the switch, you close the circuit.

| P a g e13

The Single Pole Double Throw Relay

A relay is an electrical switch that opens and closes under control of another electrical circuit. In the original form, the switch is operated by an electromagnet to open or close one or many sets of contacts. Because a relay is able to control an output circuit of higher power than the input circuit, it can be considered, in a broad sense, to be a form of electrical amplifier. A single pole double throw (SPDT) relay configuration switches one common pole to two other poles, flipping between them. This is a high quality relay. It has a coil rated 12V. Use this relay to control high current motors, 240V mains appliances, etc. To ensure maximum safety the relay is completely closed and provides complete isolation between the driving circuit and the load.

3.5 DETAIL DESCRIPTION OF TRANSISTOR: SL100:

| P a g e14

SL100 is a general purpose, medium power NPN transistor. It is mostly used as switch in common emitter configuration. 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 switching applications, SL100 is biased in such a way that it remains fully on if there is a signal at its base. In the absence of base signal, it gets turned off completely. The emitter leg of SL100 is indicated by a protruding edge in the transistor case. The base is nearest to the emitter while collector lies at other extreme of the casing.

| P a g e15

BC547

BC547

CHAPTER-4
SOFTWARE DEVELOPMENT
4.1 FLOW CHAT

| P a g e16

4.2 SOURCE CODE


8 bit LCD ON PORT 1 & PORT 2 routines with check busy flag before sending data, command to LCD ***************************************************************************** LCD_DATA LCD_RS DATA BIT P2 P2.2 ; define LCD data port on port 2 ; define LCD register select pin on port 2.0

| P a g e17

LCD_E

BIT

P2.3

; define LCD enable pin on port 2.2

SENSOR ***************************************************************************** TANK_EMPTY TANK_FULL SUMP_EMPTY MOTOR RED_LED BIT BIT BIT BIT BIT P1.2 P1.3 P1.4 P0.0 P1.0 ; define TANK EMPTY in port1.2 ; define TANK FULL in port1.3 ; define SUMP EMPTY in port1.4 ; define MOTOR in port0.0 ; define RED LED in port1.0

SENSOR_PORT TANK_STATUS SENSOR_STATUS

DATA DATA DATA

P1 34H 35H

************************************** ************MAIN PROGRAM **************** ************************************** ORG START: ACALL ACALL ACALL MOV ACALL 0H lcdreset initialize clrlcd DPTR, #MESSAGE DISP_MESSAGE

******************************************* ************** MOTOR CONTROL***************** ******************************************* MOTOR_CONTROL: MOV MOV A, #0 TANK_STATUS, A ; GATE OPEN

| P a g e18

READ_SENSOR:

MOV ANL RR RR MOV

A, SENSOR_PORT A, #1CH A A SENSOR_STATUS, A

CHECK_SENSOR:

MOV CJNE SJMP

A, SENSOR_STATUS A, #0, NEXT1 TANK_FULL

NEXT1:

CJNE SJMP

A, #1, NEXT2 INVALID_CONDITION

NEXT2:

CJNE SJMP

A, #2, NEXT3 TANK_NOTFULL

NEXT3:

CJNE SJMP

A, #3, NEXT4 TANK_NOTFULL

NEXT4:

CJNE SJMP

A, #4, NEXT5 SUMP_EMPTY

NEXT5:

CJNE SJMP

A, #5, NEXT6 SUMP_EMPTY

NEXT6:

CJNE SJMP

A, #6, NEXT7 SUMP_EMPTY

NEXT7:

CJNE

A, #7, NEXT4

| P a g e19

SJMP

SUMP_EMPTY

TANK_NOTFULL: ACALL MOV ACALL SJMP cursorto2ndline DPTR, #MESSAGE_TANKNOTFULL DISP_MESSAGE MOTOR_ON

TANK_FULL: ACALL MOV ACALL JMP cursorto2ndline DPTR, #MESSAGE_TANKFULL DISP_MESSAGE MOTOR_OFF

SUMP_EMPTY: ACALL MOV ACALL JMP INVALID_CONDITION: ACALL MOV ACALL JMP cursorto2ndline DPTR, #INVALIDCONDITION DISP_MESSAGE MOTOR_OFF cursorto2ndline DPTR, #MESSAGE_SUMPEMPTY DISP_MESSAGE MOTOR_OFF

MOTOR_ON:

CLR

MOTOR

; MOTOR ON

| P a g e20

CLR LJMP

RED_LED MOTOR_CONTROL

MOTOR_OFF:

SETB SETB LJMP

MOTOR RED_LED MOTOR_CONTROL

; MOTOR OFF

;******************************************* ;**************** SUBROUTINES ********************** ;******************************************* ; RESET LCD LCDRESET: MOV CALL MOV CALL MOV SHIFT RIGHT. CALL RET wrcmd A, #33H wrcmd A, #33H wrcmd A, #32H ; AUTOMATIC INCREMENT DISPLAY ; DISPLAY ON CURSOR OFF ; 2 LINES, 5X7 MATRIX

INITIALISATION ROUTINE FOR THE LCD DISPLAY. INITIALISE: MOV CALL MOV CALL MOV DISPLAY SHIFT RIGHT. CALL RET WE MOVE THE PARAMETER (HELD IN R7) INTO THE ACCUMULATOR PRIOR TO WRITING IT. A, #28H WRCMD A, #0CH WRCMD A, #06H ; AUTOMATIC INCREMENT ; DISPLAY ON CURSOR OFF ; 2 LINES, 5X7 MATRIX

WRCMD

| P a g e21

OUTPUT:

MOV CALL RET

A, R7 WRDATA

CLEARS THE LCD DISPLAY CLRLCD: MOV CALL RET SETS THE CURSOR TO FIRST LINE CURSORTO1STLINE: MOV BEGINNING OF FIRST LINE CALL RET SETS THE CURSOR TO SECOND LINE CURSORTO2NDLINE: MOV BEGINNING OF SECOND LINE CALL RET SUB ROUTINE TO WRITE COMMAND USING 4 BIT DATA WRCMD: CLR MOV SJMP LCD_RS R7, A LCDWRITEBYTE A, #0C0H ; BRING CURSOR TO A, #80H ; BRING CURSOR TO A, #01H WRCMD ; CLEAR LCD

WRCMD

WRCMD

SUBROUTINE TO WRITE A CHARACTER TO THE LCD DISPLAY USING 4 BIT DATA. Wrdata: SETB MOV LCD_RS R7, A

LCDWriteByte: MOV

R3, 07

LCDDataPort = (LCDDataPort & 0x0F)| (LCDData & 0xF0); MOV ACALL A, R3 LCDWriteNibble

| P a g e22

LCDDataPort = (LCDDataPort & 0x0F)| (LCDData << 4); MOV SWAP LCDWriteNibble: ANL MOV MOV ANL ORL MOV SETB LCALL CLR LCALL RET LONG_DELAY: MOV LOOP3: LOOP4: MOV DJNZ DJNZ RET R7, #1 R6, #255 R6, LOOP4 R7, LOOP3 A, R3 A A, #0F0H R7, A A, LCD_DATA A, #0FH A, R7 LCD_DATA, A LCD_E DELAY LCD_E DELAY

DELAY: LOOP1: LOOP2:

MOV MOV DJNZ DJNZ RET

R7, #02H R6, #00H R6, LOOP2 R7, LOOP1

DISP_MESSAGE: LOOP_MESSAGE :CLR MOVC JZ MOV A A,@A+DPTR EXIT_MESSAGE R7, A

| P a g e23

ACALL INC SJMP EXIT_MESSAGE: RET

OUTPUT DPTR LOOP_MESSAGE

MESSAGE: MESSAGE_TANKNOTFULL: MESSAGE_TANKFULL: MESSAGE_SUMPEMPTY: INVALIDCONDITION: ALL_ZEROS:

DB DB DB DB DB DB

"WATERTANKCONTROL", 0 "TANK NOT FULL "TANK FULL "SUMP EMPTY "INVALIDCONDITION " ", 0 ", 0 ", 0 ", 0 ", 0

END

CHAPTER-5
ANALYSIS AND RESULT

5.1 PROTEUS BASED SCHEMATIC DIAGRAM

| P a g e24

5.2 Observation Table

SW1 P1.4 0 0

SW2 P1.3 0 0

SW3 P1.2 0 1

MP1.5
OFF
TANK FULL INVALID CONDITION

| P a g e25

0 0 1 1 1 1

1 1 0 0 1 1

0 1 0 1 0 1

ON ON OFF OFF OFF OFF

TANK NOT FULL TANK NOT FULL SUMP EMPTY SUMP EMPTY SUMP EMPTY SUMP EMPTY

5.3 SIMULATION AND WORKING


The above circuit diagram describes that there are four parts i, e control, Display, driver and sensors. There is a microcontroller (AT89S51) which has four ports. The working of Port 0 is connected to the driver part. Port 1 connected to the sensor part and port 2 is connected to the display part. The port 0 is connected to a pull up resisters of 10k. These pull up resister are used to make the port enable as input and output port. There is a Darlington transistor which is connected to port 0 and direct power supply of 12v. Transistor Q1 is off transistor Q2 is on then the relay is on and motor is operates. When the transistor is on Q1 is on transistor Q2 is off then relay is off and motor cannot operate. When port0.0=0 then transistor Q1 is on, transistor Q2 off then the relay driver drives the motor. When port0.0=1 then transistor Q1 is off transistor Q2 is on then the relay is off and motor does not operate. The working of port1 is, there are three pairs of switches and resistor connected to p1.2, p1.3, and p1.4. The working of p1.2 is to display the water level condition, depending upon the sensor switches it will display the tank condition. Like this the above circuit diagram will work when there is a power supply to the microcontroller. The three switches 1, 2 and 3 are connected to port1.4, port1.3, port1.2 respectively. When all the switches are on then the LCD display will be TANK FULL when switches 1 and 2are on and sw3 is off then it display INVALIDCONDITION. When switch1 and 3 are on and 2 is off then motor is on and LCD display is TANK NOT FULL. When switch1 is on and sw2 and sw3 are off then also motor is on and LCD display is TANK NOT FULL. When sw1 is off then motor will be off and LCD display will SUMP EMPTY

| P a g e26

CHAPTER-6
CONCLUSION
6.1 ADVANTAGES:
Easy installation Low maintenance Compact and elegant design Fully automatic Saves water, motor and energy Increases pump life. Avoids seepage of water from roofs & walls due to overflowing tanks. Ideal for difficult to access overhead tanks. Feather touch keys I. Automatic water level controller will automatically START the pump as soon as the water level falls below the predetermined level (usually 1/2 tank) and shall SWITCH OFF the pump as soon as tank is full or water level in the lower tank is at below minimum level. Automatic water level controller allows you to decide the water storage levels for operations of the pump in the overhead tank and the sump. Built in Indications of 4Levels in the Upper Tank and 3 Levels in the Lower Tank Flow indication (running light), voltage level indication, AUTO / MANUAL operation soft switch for special operations like watering the plants or car washing from pump.

II. III. IV. V.

| P a g e27

VI. VII.

The Automatic water level controller completely stops overflow of water from the over head tank or dry running of pump there by saves electricity and water. Low AC Voltage sensing circuit to avoid polarization of electrodes in water. These special stainless steel plastic moulded conductive electrodes are Long life sensors, do not require frequent cleaning or replacement. Consume very little energy, ideal for continuous operation.

VIII.

6.2 APPLICATION
1. 2. 3. 4. 5.

Multi-storied apartments Hospitals Factories Hotels and restaurants Commercial centers

6.3 CONCLUSION
Water is one of the most important basic needs for all living beings. But unfortunately a huge amount of water is being wasted by uncontrolled use. Some other automated water level monitoring system is also offered so far but most of the method has some shortness in practice. We tried to overcome these problems and implemented an efficient automated water level monitoring and controlling system. Our intension of this research work was to establish a flexible, economical and easy configurable system which can solve our water losing problem.

6.4 FUTURE SCOPE


This project will be further implemented on platform like AVR, ARM microcontroller etc. More can be done in the process of water level control and many challenges will be carry out to increase reliability and efficiency.

| P a g e28

This system also develop by using GSM technology

REFERENCES
Books: THE 8051 MICROCONTROLLER&EMBEDDED SYSTEMS:By Muhammad Ali Mazidi Janice Gillispie Mazidi Rolino D.Mckinlay References on the Web: www.engineersgarage.com www.instructable.com www.atmel.com www.wikipedia.com

| P a g e29

APPENDIX
PRODUCT BROUCHER

WATER LEVEL CONTROLLER

ABSTRACT
The project is involving the development of the indicator for controlling the water level by sensing in the overhead tanks. Water level management approach]h would help in reducing the home power consumption as well as water overflow. The microcontroller-based water level controller-cum-motor protector is capable to solve this problem. It controls on and off conditions of the motor depending upon the level of water in the tank. The status is displayed on an LCD module. The circuit also protects the motor from high voltages, low voltages, fluctuations of mains power and dry running. In this project microcontroller based water level indicator is developed and simulated in proteous environment as well as real-time hardware environment.

| P a g e30

DESCRIPTION There are 5 units they are power supply microcontroller, LCD, relay driver, water pump. The power supply is connected to the microcontroller and then LCD will display the message WATERTANKCONTROL. Water pump and relay will operate according to the water level according to the tank.

CIRCUIT DIAGRAM

EXPERIMENTAL SETUP

| P a g e31

USER MANUAL
The overall project setup that consists of a tank ,sump, water pump of 230v ,a 8051 development kit ,LCD display,AT89S51 8 bit microcontroller and a relay driver. When the power is supplied to microcontroller the circuit is initialize. First the sump sensor sense and the display message is SUMP EMPTY. The water is poured in to the sump, the motor start running and supplies the water into the tank. When tank is empty the sensor sense and display message TANK NOT FULL. When the tank not full the middle sensor sense and display message TANK NOT FULL. When the tank is full the top sensor sense and the display message TANK FULL

This is the overall project setup of water level controller. *********************************************************

| P a g e32