SlideShare a Scribd company logo
1 of 12
Water Level Controller using 8051
Microcontroller
INTRODUCTION
• Water Level Controller using 8051 Microcontroller project will help in
automatically controlling the water motor by sensing the water level in a tank.
• This article explains you how to detect and control the water level in an overhead
tank or any other container.
• This system monitors the water level of the tank and automatically switches ON
the motor whenever tank is empty.
• The motor is switched OFF when the overhead tank or container is FULL.
• Here, the water level of the tank is indicated on LCD (Liquid crystal Display). Using
this system, we can avoid the overflow of the water.
• here we are designing the circuit which is used to detect and control the water
level automatically in overhead tank using 8051 microcontroller.
Water Level Controller using 8051 Circuit Principle
• This system mainly works on a principle that “water conducts electricity”. The
four wires which are dipped into the tank will indicate the different water
levels. Based on the outputs of these wires, microcontroller displays water
level on LCD as well as controls the motor.
• Initially when the tank is empty, LCD will display the message LOW and motor
runs automatically. When water level reaches to half level, now LCD displays
HALF and still motor runs.
• When the tank is full, LCD displays FULL and motor automatically stops. Again,
the motor runs when water level in the tank becomes LOW.
Water Level Controller using 8051 Microcontroller Circuit Diagram
Components Required for Water Level Controller using 8051 Microcontroller
AT89C51 Microcontroller (or any 8051 based Microcontroller)
8051 Programmer (Programming Board)
11.0592 MHz Quartz Crystal
2 x 33pF Capacitor
2 x 10KΩ Resistor (1/4 Watt)
10µF Capacitor
Push Button
1KΩ x 8 Resistor Pack (for Pull – up)
16 x 2 LCD Display
5V Relay
4 x 2N2222 (NPN) Transistors
DC Motor (for demonstration)
10KΩ Potentiometer
1N4007 PN Junction Diode
Programming cable
Connecting wires
Power Supply
Keil µVision IDE
Willar Software (for burning code)
Proteus (for circuit diagram)
How to Design Circuit for Water Level Controller using
8051 Microcontroller?
• The heart of the Water Level Controller using 8051 Microcontroller project is the
AT89C51 Microcontroller. The water level probes are connected to the P0.0, P0.1
and P0.2 through the transistors (they are connected to the base of the
transistors through corresponding current limiting resistors). P0.0 for LOW level,
P0.1 for HALF Level and P0.2 for HIGH Level.
• The Collector terminals of the Transistors are connected to VCC and the Emitter
terminals are connected to PORT0 terminals (P0.0, P0.1 and P0.2).
PORT1 of the microcontroller is connected to the data pins of LCD and the control
pins RS, RW and EN of the LCD Display are connected to the P3.6, GND and P3.7
respectively.
• For demonstration purpose, we have used a simple DC Motor Pump. It is
connected to the Relay and the input to the relay is fed from P0.7 through a
transistor.
Algorithm for Water Level Controller Circuit
• First configure the controller pins P0.0, P0.1 and P0.2 as inputs and P0.7 as
output.
• Now, initialize the LCD.
• Continuously check the water level input pins P0.0, P0.1 and P0.2.
• If all the pins are low, then display tank as “EMPTY” on the LCD and make P0.7
pin HIGH to run the motor automatically.
• If the level is low i.e. if P0.0 is HIGH, display the water level as “LOW” and
continue to run the motor.
• A HIGH pulse on the pin P0.1 indicates that water has reached half level. So,
display the same thing on LCD and run the motor normally.
• If P0.2 is HIGH, then the water level in the tank is FULL.
• Now, make the P0.7 pin as LOW to turn off the motor automatically.
How to Operate Water Level Controller Circuit using 8051 Microcontroller?
• Initially, write the program for Water Level Controller in Keil µVision IDE and generate
the .hex file.
• Burn the program (.hex file) to the microcontroller using external programmer and
Willar Software.
• Now give the connections as per the circuit diagram.
• While giving the connections, make sure that there is no common connection between
AC and DC supplies (if you are using an AC Motor)
• Place the 4 water level indicating wires into the small tank (3 probes for three different
levels and fourth one for common supply)
• Switch on the supply. Now, the motor will run automatically as there is no water in the
tank. (It will turn on even if the water level is LOW).
• Now pour the water, when it reaches LOW level, then LCD displays LOW.
• For middle level, it will display as HALF on the LCD.
• Still if you pour the water, then the water level reaches full and the LCD displays FULL
and also the motor is turned OFF automatically.
• Switch off the motor supply and board supply.
Water Level Controller Circuit 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 of Water Level Controller Circuit using 8051
•Used in big buildings where the manual
monitoring is difficult.
•Used in industries to control the liquid
level automatically.
Automatically control water level using 8051 Microcontroller
Automatically control water level using 8051 Microcontroller

More Related Content

What's hot

Interrupts for PIC18
Interrupts for PIC18Interrupts for PIC18
Interrupts for PIC18raosandy11
 
7 segment led interfacing with 8051
7 segment led interfacing with 80517 segment led interfacing with 8051
7 segment led interfacing with 8051Sam Patel
 
Subroutine in 8051 microcontroller
Subroutine in 8051 microcontrollerSubroutine in 8051 microcontroller
Subroutine in 8051 microcontrollerbhadresh savani
 
Digital Alarm Clock 446 project report
Digital Alarm Clock 446 project reportDigital Alarm Clock 446 project report
Digital Alarm Clock 446 project reportAkash Mhankale
 
ppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counterppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counterMannavapremkumar
 
Initial Conditions of Resistor, Inductor & Capacitor
Initial Conditions of Resistor, Inductor & CapacitorInitial Conditions of Resistor, Inductor & Capacitor
Initial Conditions of Resistor, Inductor & CapacitorJayanshu Gundaniya
 
Water level indicator abstract
Water level indicator abstractWater level indicator abstract
Water level indicator abstractKamesh Mtec
 
Waterlevelindicator
WaterlevelindicatorWaterlevelindicator
WaterlevelindicatorShubhi Verma
 
Automatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counterAutomatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counterMohit Awasthi
 
555 Timer (detailed presentation)
555 Timer (detailed presentation)555 Timer (detailed presentation)
555 Timer (detailed presentation)Tanish Gupta
 
Voltage Source Inverter
Voltage Source InverterVoltage Source Inverter
Voltage Source InverterPreetamJadhav2
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingAnkur Mahajan
 
Water level indicator(mini project ppt)
Water  level  indicator(mini project ppt)Water  level  indicator(mini project ppt)
Water level indicator(mini project ppt)Mahendra Mishra
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051Muthu Manickam
 

What's hot (20)

Interrupts for PIC18
Interrupts for PIC18Interrupts for PIC18
Interrupts for PIC18
 
7 segment led interfacing with 8051
7 segment led interfacing with 80517 segment led interfacing with 8051
7 segment led interfacing with 8051
 
PLC - Programmable Logic Controller
PLC - Programmable Logic ControllerPLC - Programmable Logic Controller
PLC - Programmable Logic Controller
 
Subroutine in 8051 microcontroller
Subroutine in 8051 microcontrollerSubroutine in 8051 microcontroller
Subroutine in 8051 microcontroller
 
automatic room light controller
automatic room light controllerautomatic room light controller
automatic room light controller
 
Digital Alarm Clock 446 project report
Digital Alarm Clock 446 project reportDigital Alarm Clock 446 project report
Digital Alarm Clock 446 project report
 
ppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counterppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counter
 
Initial Conditions of Resistor, Inductor & Capacitor
Initial Conditions of Resistor, Inductor & CapacitorInitial Conditions of Resistor, Inductor & Capacitor
Initial Conditions of Resistor, Inductor & Capacitor
 
Water level indicator abstract
Water level indicator abstractWater level indicator abstract
Water level indicator abstract
 
Waterlevelindicator
WaterlevelindicatorWaterlevelindicator
Waterlevelindicator
 
Automatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counterAutomatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counter
 
8051 i/o port circuit
8051 i/o port circuit8051 i/o port circuit
8051 i/o port circuit
 
WATER LEVEL INDICATOR
WATER LEVEL INDICATORWATER LEVEL INDICATOR
WATER LEVEL INDICATOR
 
555 Timer (detailed presentation)
555 Timer (detailed presentation)555 Timer (detailed presentation)
555 Timer (detailed presentation)
 
Voltage Source Inverter
Voltage Source InverterVoltage Source Inverter
Voltage Source Inverter
 
555 Timer Ic
555 Timer Ic555 Timer Ic
555 Timer Ic
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacing
 
Water level indicator(mini project ppt)
Water  level  indicator(mini project ppt)Water  level  indicator(mini project ppt)
Water level indicator(mini project ppt)
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 

Similar to Automatically control water level using 8051 Microcontroller

Contol of water pump using plc
Contol of water pump using plcContol of water pump using plc
Contol of water pump using plcGhousiaSamdani
 
Water Level Indicator using 8051 Microcontroller.pptx
Water Level Indicator using 8051 Microcontroller.pptxWater Level Indicator using 8051 Microcontroller.pptx
Water Level Indicator using 8051 Microcontroller.pptxshayanzafar2
 
water level indicator report
water level indicator reportwater level indicator report
water level indicator reportRaza Jahangir
 
Simple automatic water leval controller
Simple automatic water leval controllerSimple automatic water leval controller
Simple automatic water leval controllerselvalakshmi24
 
Automatic plant irrigation system
Automatic plant irrigation systemAutomatic plant irrigation system
Automatic plant irrigation systemselvalakshmi24
 
Water level controller using 8051
Water level controller using 8051Water level controller using 8051
Water level controller using 8051Valentino Selayan
 
Simple Automatic Water Level Controller by using ic 555 timer.
Simple Automatic Water Level Controller by using ic 555 timer.Simple Automatic Water Level Controller by using ic 555 timer.
Simple Automatic Water Level Controller by using ic 555 timer.PRASHANTH RAO
 
Simple Automatic Water Level Controller
Simple Automatic Water Level ControllerSimple Automatic Water Level Controller
Simple Automatic Water Level Controllerselvalakshmi24
 
Water level indicator
Water level indicatorWater level indicator
Water level indicatorJyotsna Rani
 
Smart under and over voltage protection system for
Smart under and over voltage protection system forSmart under and over voltage protection system for
Smart under and over voltage protection system forShuvadip das
 
Ultrasonic based non contact type water level indicator using 8051
Ultrasonic based non contact type water level indicator using 8051Ultrasonic based non contact type water level indicator using 8051
Ultrasonic based non contact type water level indicator using 8051Ajay Kumar
 

Similar to Automatically control water level using 8051 Microcontroller (20)

ADITEC04
ADITEC04ADITEC04
ADITEC04
 
PLC4.pdf
PLC4.pdfPLC4.pdf
PLC4.pdf
 
PLC4.docx
PLC4.docxPLC4.docx
PLC4.docx
 
PLC4.docx
PLC4.docxPLC4.docx
PLC4.docx
 
Contol of water pump using plc
Contol of water pump using plcContol of water pump using plc
Contol of water pump using plc
 
Water Level Indicator using 8051 Microcontroller.pptx
Water Level Indicator using 8051 Microcontroller.pptxWater Level Indicator using 8051 Microcontroller.pptx
Water Level Indicator using 8051 Microcontroller.pptx
 
Motor pump automation system
Motor pump automation systemMotor pump automation system
Motor pump automation system
 
Water pump automation system
Water pump automation systemWater pump automation system
Water pump automation system
 
water level indicator report
water level indicator reportwater level indicator report
water level indicator report
 
Water level indicator
Water level indicatorWater level indicator
Water level indicator
 
FINAL YEAR PPT2013
FINAL YEAR PPT2013FINAL YEAR PPT2013
FINAL YEAR PPT2013
 
Simple automatic water leval controller
Simple automatic water leval controllerSimple automatic water leval controller
Simple automatic water leval controller
 
Automatic plant irrigation system
Automatic plant irrigation systemAutomatic plant irrigation system
Automatic plant irrigation system
 
Water level controller using 8051
Water level controller using 8051Water level controller using 8051
Water level controller using 8051
 
Simple Automatic Water Level Controller by using ic 555 timer.
Simple Automatic Water Level Controller by using ic 555 timer.Simple Automatic Water Level Controller by using ic 555 timer.
Simple Automatic Water Level Controller by using ic 555 timer.
 
Project on PLC (SILO)
Project on PLC (SILO)Project on PLC (SILO)
Project on PLC (SILO)
 
Simple Automatic Water Level Controller
Simple Automatic Water Level ControllerSimple Automatic Water Level Controller
Simple Automatic Water Level Controller
 
Water level indicator
Water level indicatorWater level indicator
Water level indicator
 
Smart under and over voltage protection system for
Smart under and over voltage protection system forSmart under and over voltage protection system for
Smart under and over voltage protection system for
 
Ultrasonic based non contact type water level indicator using 8051
Ultrasonic based non contact type water level indicator using 8051Ultrasonic based non contact type water level indicator using 8051
Ultrasonic based non contact type water level indicator using 8051
 

Recently uploaded

(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 

Recently uploaded (20)

(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 

Automatically control water level using 8051 Microcontroller

  • 1. Water Level Controller using 8051 Microcontroller
  • 2. INTRODUCTION • Water Level Controller using 8051 Microcontroller project will help in automatically controlling the water motor by sensing the water level in a tank. • This article explains you how to detect and control the water level in an overhead tank or any other container. • This system monitors the water level of the tank and automatically switches ON the motor whenever tank is empty. • The motor is switched OFF when the overhead tank or container is FULL. • Here, the water level of the tank is indicated on LCD (Liquid crystal Display). Using this system, we can avoid the overflow of the water. • here we are designing the circuit which is used to detect and control the water level automatically in overhead tank using 8051 microcontroller.
  • 3. Water Level Controller using 8051 Circuit Principle • This system mainly works on a principle that “water conducts electricity”. The four wires which are dipped into the tank will indicate the different water levels. Based on the outputs of these wires, microcontroller displays water level on LCD as well as controls the motor. • Initially when the tank is empty, LCD will display the message LOW and motor runs automatically. When water level reaches to half level, now LCD displays HALF and still motor runs. • When the tank is full, LCD displays FULL and motor automatically stops. Again, the motor runs when water level in the tank becomes LOW.
  • 4. Water Level Controller using 8051 Microcontroller Circuit Diagram
  • 5. Components Required for Water Level Controller using 8051 Microcontroller AT89C51 Microcontroller (or any 8051 based Microcontroller) 8051 Programmer (Programming Board) 11.0592 MHz Quartz Crystal 2 x 33pF Capacitor 2 x 10KΩ Resistor (1/4 Watt) 10µF Capacitor Push Button 1KΩ x 8 Resistor Pack (for Pull – up) 16 x 2 LCD Display 5V Relay 4 x 2N2222 (NPN) Transistors DC Motor (for demonstration) 10KΩ Potentiometer 1N4007 PN Junction Diode Programming cable Connecting wires Power Supply Keil µVision IDE Willar Software (for burning code) Proteus (for circuit diagram)
  • 6. How to Design Circuit for Water Level Controller using 8051 Microcontroller? • The heart of the Water Level Controller using 8051 Microcontroller project is the AT89C51 Microcontroller. The water level probes are connected to the P0.0, P0.1 and P0.2 through the transistors (they are connected to the base of the transistors through corresponding current limiting resistors). P0.0 for LOW level, P0.1 for HALF Level and P0.2 for HIGH Level. • The Collector terminals of the Transistors are connected to VCC and the Emitter terminals are connected to PORT0 terminals (P0.0, P0.1 and P0.2). PORT1 of the microcontroller is connected to the data pins of LCD and the control pins RS, RW and EN of the LCD Display are connected to the P3.6, GND and P3.7 respectively. • For demonstration purpose, we have used a simple DC Motor Pump. It is connected to the Relay and the input to the relay is fed from P0.7 through a transistor.
  • 7. Algorithm for Water Level Controller Circuit • First configure the controller pins P0.0, P0.1 and P0.2 as inputs and P0.7 as output. • Now, initialize the LCD. • Continuously check the water level input pins P0.0, P0.1 and P0.2. • If all the pins are low, then display tank as “EMPTY” on the LCD and make P0.7 pin HIGH to run the motor automatically. • If the level is low i.e. if P0.0 is HIGH, display the water level as “LOW” and continue to run the motor. • A HIGH pulse on the pin P0.1 indicates that water has reached half level. So, display the same thing on LCD and run the motor normally. • If P0.2 is HIGH, then the water level in the tank is FULL. • Now, make the P0.7 pin as LOW to turn off the motor automatically.
  • 8. How to Operate Water Level Controller Circuit using 8051 Microcontroller? • Initially, write the program for Water Level Controller in Keil µVision IDE and generate the .hex file. • Burn the program (.hex file) to the microcontroller using external programmer and Willar Software. • Now give the connections as per the circuit diagram. • While giving the connections, make sure that there is no common connection between AC and DC supplies (if you are using an AC Motor) • Place the 4 water level indicating wires into the small tank (3 probes for three different levels and fourth one for common supply) • Switch on the supply. Now, the motor will run automatically as there is no water in the tank. (It will turn on even if the water level is LOW). • Now pour the water, when it reaches LOW level, then LCD displays LOW. • For middle level, it will display as HALF on the LCD. • Still if you pour the water, then the water level reaches full and the LCD displays FULL and also the motor is turned OFF automatically. • Switch off the motor supply and board supply.
  • 9. Water Level Controller Circuit 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.
  • 10. Applications of Water Level Controller Circuit using 8051 •Used in big buildings where the manual monitoring is difficult. •Used in industries to control the liquid level automatically.