SlideShare a Scribd company logo
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.
Water level controller using 8051 microcontroller
Water level controller using 8051 microcontroller

More Related Content

What's hot

Ppt on water level indicator
Ppt on water level indicatorPpt on water level indicator
Ppt on water level indicator
palwinder virk
 
Programmable Load Shedding for the utility department
Programmable Load Shedding for the utility departmentProgrammable Load Shedding for the utility department
Programmable Load Shedding for the utility department
Mukund Hundekar
 
Three Phase Separately Exited Drives
Three Phase Separately Exited DrivesThree Phase Separately Exited Drives
Three Phase Separately Exited Drives
Preet_patel
 
Water level indicator by bhushan kumbhalkar
Water level indicator by  bhushan kumbhalkarWater level indicator by  bhushan kumbhalkar
Water level indicator by bhushan kumbhalkar
Bhushan Kumbhalkar
 
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
 
water level indicator alarm
water level indicator alarmwater level indicator alarm
water level indicator alarm
Anish Anand
 
Automatic water level controller
Automatic water level controllerAutomatic water level controller
Automatic water level controller
Geetha Smiley
 
Simple water level indicator1
Simple water level indicator1Simple water level indicator1
Simple water level indicator1
UdayKumar937
 
Water level indicator
Water level indicatorWater level indicator
Water level indicator
Imtiaz Uddin
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
Rkrishna Mishra
 
Digital energy meter
Digital energy meter Digital energy meter
Digital energy meter
preeti naga
 
8051 ch9-950217
8051 ch9-9502178051 ch9-950217
8051 ch9-950217
Gopal Krishna Murthy C R
 
Water Level indicator using Ultrasonic sensors
Water Level indicator using Ultrasonic sensorsWater Level indicator using Ultrasonic sensors
Water Level indicator using Ultrasonic sensors
Tough_taiga
 
Speed control of Three phase Induction motor using AC voltage regulator
Speed control of Three phase Induction motor using AC voltage regulatorSpeed control of Three phase Induction motor using AC voltage regulator
Speed control of Three phase Induction motor using AC voltage regulator
Shivagee Raj
 
Infinite bus bar in power system
Infinite bus bar in power systemInfinite bus bar in power system
Infinite bus bar in power system
Eklavya Sharma
 
DC potentiometers
DC potentiometersDC potentiometers
DC potentiometers
tadi1padma
 
Waterlevelindicator
WaterlevelindicatorWaterlevelindicator
Waterlevelindicator
Shubhi Verma
 
three phase induction motor drive
three phase induction motor drivethree phase induction motor drive
three phase induction motor drive
Ratnesh Verma
 
Dead time pwm
Dead time pwmDead time pwm
Dead time pwm
Biswajit Pratihari
 
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
 

What's hot (20)

Ppt on water level indicator
Ppt on water level indicatorPpt on water level indicator
Ppt on water level indicator
 
Programmable Load Shedding for the utility department
Programmable Load Shedding for the utility departmentProgrammable Load Shedding for the utility department
Programmable Load Shedding for the utility department
 
Three Phase Separately Exited Drives
Three Phase Separately Exited DrivesThree Phase Separately Exited Drives
Three Phase Separately Exited Drives
 
Water level indicator by bhushan kumbhalkar
Water level indicator by  bhushan kumbhalkarWater level indicator by  bhushan kumbhalkar
Water level indicator by bhushan kumbhalkar
 
Water level indicator(mini project ppt)
Water  level  indicator(mini project ppt)Water  level  indicator(mini project ppt)
Water level indicator(mini project ppt)
 
water level indicator alarm
water level indicator alarmwater level indicator alarm
water level indicator alarm
 
Automatic water level controller
Automatic water level controllerAutomatic water level controller
Automatic water level controller
 
Simple water level indicator1
Simple water level indicator1Simple water level indicator1
Simple water level indicator1
 
Water level indicator
Water level indicatorWater level indicator
Water level indicator
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
Digital energy meter
Digital energy meter Digital energy meter
Digital energy meter
 
8051 ch9-950217
8051 ch9-9502178051 ch9-950217
8051 ch9-950217
 
Water Level indicator using Ultrasonic sensors
Water Level indicator using Ultrasonic sensorsWater Level indicator using Ultrasonic sensors
Water Level indicator using Ultrasonic sensors
 
Speed control of Three phase Induction motor using AC voltage regulator
Speed control of Three phase Induction motor using AC voltage regulatorSpeed control of Three phase Induction motor using AC voltage regulator
Speed control of Three phase Induction motor using AC voltage regulator
 
Infinite bus bar in power system
Infinite bus bar in power systemInfinite bus bar in power system
Infinite bus bar in power system
 
DC potentiometers
DC potentiometersDC potentiometers
DC potentiometers
 
Waterlevelindicator
WaterlevelindicatorWaterlevelindicator
Waterlevelindicator
 
three phase induction motor drive
three phase induction motor drivethree phase induction motor drive
three phase induction motor drive
 
Dead time pwm
Dead time pwmDead time pwm
Dead time pwm
 
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.
 

Similar to Water level controller using 8051 microcontroller

ADITEC04
ADITEC04ADITEC04
ADITEC04
Dimitra Muni
 
PLC4.pdf
PLC4.pdfPLC4.pdf
PLC4.pdf
Mahamad Jawhar
 
PLC4.docx
PLC4.docxPLC4.docx
PLC4.docx
Mahamad Jawhar
 
PLC4.docx
PLC4.docxPLC4.docx
PLC4.docx
Mahamad Jawhar
 
Contol of water pump using plc
Contol of water pump using plcContol of water pump using plc
Contol of water pump using plc
GhousiaSamdani
 
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
shayanzafar2
 
Motor pump automation system
Motor pump automation systemMotor pump automation system
Motor pump automation system
shashwat dev chaudhry
 
Water pump automation system
Water pump automation systemWater pump automation system
Water pump automation system
shashwat dev chaudhry
 
water level indicator report
water level indicator reportwater level indicator report
water level indicator report
Raza Jahangir
 
Water level indicator
Water level indicatorWater level indicator
Water level indicator
Md Rohel Uddin
 
FINAL YEAR PPT2013
FINAL YEAR PPT2013FINAL YEAR PPT2013
FINAL YEAR PPT2013
Jawad- ur- Rasool
 
Simple automatic water leval controller
Simple automatic water leval controllerSimple automatic water leval controller
Simple automatic water leval controller
selvalakshmi24
 
Automatic plant irrigation system
Automatic plant irrigation systemAutomatic plant irrigation system
Automatic plant irrigation system
selvalakshmi24
 
Water level controller using 8051
Water level controller using 8051Water level controller using 8051
Water level controller using 8051
Valentino Selayan
 
Project on PLC (SILO)
Project on PLC (SILO)Project on PLC (SILO)
Project on PLC (SILO)
Sayan Chakraborty
 
Simple Automatic Water Level Controller
Simple Automatic Water Level ControllerSimple Automatic Water Level Controller
Simple Automatic Water Level Controller
selvalakshmi24
 
Water level indicator
Water level indicatorWater level indicator
Water level indicator
Jyotsna 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 for
Shuvadip 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 8051
Ajay Kumar
 
PLC based Multichannel Automatic Liquid Level Controller
PLC based Multichannel Automatic Liquid Level ControllerPLC based Multichannel Automatic Liquid Level Controller
PLC based Multichannel Automatic Liquid Level Controller
Vijay Badgujar
 

Similar to Water level controller 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
 
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
 
PLC based Multichannel Automatic Liquid Level Controller
PLC based Multichannel Automatic Liquid Level ControllerPLC based Multichannel Automatic Liquid Level Controller
PLC based Multichannel Automatic Liquid Level Controller
 

Recently uploaded

Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 

Recently uploaded (20)

Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 

Water level controller 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.