SlideShare a Scribd company logo
AUTOMATIC WATER LEVEL
CONTROLLER USING
MICROCOTROLLER
Prepared By : Jadeja Mohitraj (090010111004)
Muni Dimitra (090010111009)
Group No : ADITEC04
Guided By : Mrs. Heena Kher
Introduction
 Definition: Automatic water level controller using microcontroller.
 AIM:
• To reduce wastage of water by switching automation.
• To Increase pump set life.
• To save electricity.
 OVERVIEW:
• This project consists of implementation of house based automatic water level
controller using microcontroller AT89c51.
• In this system we can observe status of water.
• Here system is made such that it won’t work on Dry run condition. It will only
switch on the motor after there is sufficient water in ground tank.
Working
 It is a microcontroller-based water-level controller. It controls ‘on’ and ‘off’
conditions of the motor depending upon the level of water in the ground
tank.
 Working of the pump is controlled by the water level of the source tank,
if the ground tank is empty then pump gets automatically on and when it
is 90% filled then pump gets automatically off.
 When there is no water in the source tank, pump will remain switched off.
 Working of the pump totally depends upon both, the source as well as main
tank.
 The level of water in the tank is displayed on LEDs.
Block diagram
Flow Chart
Description of flowchart:
1. First status of ground tank is checked, if ground tank doesn’t have water the
buzzer will turn on otherwise process is continued.
2. Further motor will turn on if water is below 10% level of total overhead tank.
3. If water exceeds the 90% level of overhead tank, motor will automatically turn off.
4. Simultaneously status of water is shown on LEDs indicating water levels.
Circuit Diagram
DESCRIPTION OF CIRCUIT:
• As show in circuit P10 to P13 pins are input pins which are used to input data in
controller based on status of water in overhead tank.
• Metal strips sensors are at 10% , 40%, 70%,90% levels in overhead tank.
• According to water level at input side corresponding LEDs will glow.
• Simultaneously water level is controlled as water levels goes below 10% level
motor switches on and when level goes above 90% level it turns on.
OPERATION:
• There are two conditions for water in ground tank.
1) Water is insufficient to switch ON the motor.
2) There is sufficient amount of water in ground tank to switch ON the motor.
1) Condition : Insufficient water
• In ground tank water is insufficient to switch ON the motor so motor will be off.
• In this condition dry run of motor is avoided so we can save electricity as well
motor pump set life is increased.
2) Condition: Sufficient water
• If water in the source tank is above some level then motor will turn ON and water
is pumped to the overhead tank.
• Overhead tank is filled to maximum 90% level of the tank.Then automatically
motor is off.
• Again if the overhead tank water level decreases then motor will get automatically
turned ON.We also can see status of water in Overhead tank on by LEDs.
Components
 Optocoupler:
• The main purpose of an Opto-isolator is “to prevent high voltages or rapidly
changing voltages on one side of the circuit from damaging components or
distorting transmissions on the other side”.
• Optocoupler IC is with 4 inputs and 4 outputs and total 16 pins .
• Here Anode is connected to +5V voltage supply. Cathode is connected to ground.
• Collector is connected to +5V supply directly. Emitter is used as output which is
fed to pin 1 to 4 of port1 as input.
Components
 LEDs:
• In this system four LEDs are used to indicate status of the water in Overhead tank.
• LEDs are connected in such a way that their cathode terminal is connected to
ground. So when output is high on output pin LED glows else it doesn’t glow.
• Anode terminal is connected to Port 2 pins 20 to 23, each with one LED.
 Transistors:
• In this we have used two NPN transistors.
• One NPN transistor will be used to turn the motor on and off.
• Other NPN transistor is used to turn ON-OFF the buzzer.
• In each case NPN transistor works as a switch.
Components
 Crystal oscillator:
• Crystal Oscillator is used to provide continuous clock signal to pin 18-19 to get precise
frequency of operation.
• Here crystal oscillator is made up of piezoelectric material which by giving voltage,
vibrates at specific frequency.
• We have used 12MHz frequency crystal.
Water Pump :
• For pumping the water we have used a Fountain pump for serving the purpose.
• Voltage 165-220V / 50Hz and Power: 19W.
• It is only used in sufficient water condition.Dry run must be avoided.
Components
 Resistors:
• Color coded resistors are used.
• Resistor normally here used is of 5V voltage rating.
• Various values of resistors like 1K, 4.7K are used.
 Capacitors:
• In this circuit capacitor is used in crystal oscillator.
• We have used two capacitors of 33pf.
Components
 Buzzer:
• Here we have used a buzzer of 200 Hz frequency.
• One terminal of buzzer is connected to ground.
• Other is connected to output of pin no 28 of controller IC.
 Microcontroller(AT89C51):
• It is 40 pin IC driven by single 5V power supply.
• Here we have used only two I/O ports.
Microcontroller
Final circuit
Final Circuit
Pin Description
Results
• Using keil uVision3 software we got the o/p as follows:
1) Initially at running the code , Initially if ground tank has no water P2.7 is’1’(buzzer ON).
2) Making pinP1.4, ‘1’(sufficient water), we got P2.6 ‘1’(motor ON).
Results
3)Now if pin P1.0 is ‘1’ then pin P2.0 is ‘1’.(motor is also ON and P1.4 at ‘1’)
4)If pins P1.0 and P1.1 are at ‘1’ then pins P2.0,P2.1 are at ‘1’(motor is also ON and P1.4 at
‘1’)
Results
5)If pins P1.0,P1.1,P1.2 are at’1’ then pins P2.0,P2.1,P2.2 are at ‘1’(motor is also ON and
P1.4 at ‘1’)
6)If pins P1.0,P1.1,P1.2,P1.3 are at ‘1’ then pins P2.0,P2.1,P2.2,P2.3 are at ’1’and P2.6 is
at’0’(motor is OFF and buzzer also OFF)
 Advantages:
• Less power consumption.
• C program can be easily modified if required.
• Further modification or addition of extra circuitries and components is possible.
• Low cost.( approximately 500Rs., motor expense not included).
• Higher processing speed.
 Limitations:
• Number of LEDs for indicating water level is limited so maximum number of
water levels shown here is also limited.
• Use of metal wire as sensor may not work for a large water tank .
• To overcome this limitation another amplifying circuitry might be required.
 CONCLUSION:
 If ground tank has no water, sensor senses ‘0’ level and that is fed to controller
pin P1.4 so further process is avoided including dry run. And buzzer is ON i.e.
pin P2.7 has o/p ‘1’ on the pin.
 And continuous monitoring is going on. And If suppose ground tank has water,
motor is switched ON for water pumping. Simultaneously water level in overhead
tank is displayed by means of glowing LEDs.
 We are having wire sensors at 10%, 40%,75% and 90% levels. These sensor
outputs are fed to Optocoupler and then to microcontroller as input. According to
signals at input port microcontroller is giving signal at output port .
 This project serves purpose of water saving as well as electricity saving. It has
benefit in terms of ease of expansion and modification(as only 2-ports of
microcontroller are used out of 4).
 Technology used :
• In this project we have used microcontroller(AT89c51).We have used keil
uVision3 software for assembly coding for this project.We have also used
multisim10 for creating circuit.
• We used SuperPro software for writing the assembly code (hex file) on the
AT89c51 controller IC.We also used 8051board by MikroElectronika for checking
validity of the assembly code.
 Future Scope:
• In future this project can be expanded in terms of accuracy and number of water
levels taken into account by using ADC.
• Also using VB(Visual Basic) real water level can be shown on the computer and
by the software water level can be monitored.
THANK YOU

More Related Content

What's hot

Water lavel detector and motor controlling by android mobile apps
Water lavel detector and motor controlling by android mobile appsWater lavel detector and motor controlling by android mobile apps
Water lavel detector and motor controlling by android mobile apps
Jiaul Hasan Jony
 
automation of waterpump using 8051 microcontroller
automation of waterpump using 8051 microcontrollerautomation of waterpump using 8051 microcontroller
automation of waterpump using 8051 microcontroller
Parth Joshi
 
LED WATER LEVEL INDICATOR WITH ALARM
LED WATER LEVEL INDICATOR WITH ALARM LED WATER LEVEL INDICATOR WITH ALARM
LED WATER LEVEL INDICATOR WITH ALARM
Aditya Sharma
 
Motor pump automation system
Motor pump automation systemMotor pump automation system
Motor pump automation system
shashwat dev chaudhry
 
Water level controller
Water level controllerWater level controller
Water level controllerAmadi Uchenna
 
Water level controller using 8051
Water level controller using 8051Water level controller using 8051
Water level controller using 8051Valentino Selayan
 
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
 
Waterlevelindicator
WaterlevelindicatorWaterlevelindicator
Waterlevelindicator
Shubhi Verma
 
Water level indicator
Water level indicatorWater level indicator
Water level indicator
Md Rohel Uddin
 
Infra systems
Infra systemsInfra systems
Infra systems
amitkahire
 
Smart water tank
Smart water tankSmart water tank
Smart water tank
Suraksha Sanghavi
 
water level indicator alarm
water level indicator alarmwater level indicator alarm
water level indicator alarmAnish Anand
 
Water level indicator
Water level indicatorWater level indicator
Water level indicator
Imtiaz Uddin
 
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 circuit using ic ne 555 timer ic
Water level indicator alarm circuit  using ic ne 555 timer icWater level indicator alarm circuit  using ic ne 555 timer ic
Water level indicator alarm circuit using ic ne 555 timer ic
usman chaudhry
 
Water level indicator [autosaved]
Water level indicator [autosaved]Water level indicator [autosaved]
Water level indicator [autosaved]
muhammad bilal
 
Assingment
AssingmentAssingment
Assingment
Aditya Sharma
 
6 led water level indicator circuit with alarm
6 led water level indicator circuit with alarm6 led water level indicator circuit with alarm
6 led water level indicator circuit with alarm
KJMIndia
 
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
 

What's hot (20)

Water lavel detector and motor controlling by android mobile apps
Water lavel detector and motor controlling by android mobile appsWater lavel detector and motor controlling by android mobile apps
Water lavel detector and motor controlling by android mobile apps
 
automation of waterpump using 8051 microcontroller
automation of waterpump using 8051 microcontrollerautomation of waterpump using 8051 microcontroller
automation of waterpump using 8051 microcontroller
 
LED WATER LEVEL INDICATOR WITH ALARM
LED WATER LEVEL INDICATOR WITH ALARM LED WATER LEVEL INDICATOR WITH ALARM
LED WATER LEVEL INDICATOR WITH ALARM
 
Motor pump automation system
Motor pump automation systemMotor pump automation system
Motor pump automation system
 
Water level controller
Water level controllerWater level controller
Water level controller
 
Water level controller using 8051
Water level controller using 8051Water level controller using 8051
Water level controller using 8051
 
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
 
Waterlevelindicator
WaterlevelindicatorWaterlevelindicator
Waterlevelindicator
 
Water level indicator
Water level indicatorWater level indicator
Water level indicator
 
Infra systems
Infra systemsInfra systems
Infra systems
 
Smart water tank
Smart water tankSmart water tank
Smart water tank
 
water level indicator alarm
water level indicator alarmwater level indicator alarm
water level indicator alarm
 
Water level indicator
Water level indicatorWater level indicator
Water level indicator
 
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 circuit using ic ne 555 timer ic
Water level indicator alarm circuit  using ic ne 555 timer icWater level indicator alarm circuit  using ic ne 555 timer ic
Water level indicator alarm circuit using ic ne 555 timer ic
 
Water level indicator [autosaved]
Water level indicator [autosaved]Water level indicator [autosaved]
Water level indicator [autosaved]
 
sir G 2
sir G 2sir G 2
sir G 2
 
Assingment
AssingmentAssingment
Assingment
 
6 led water level indicator circuit with alarm
6 led water level indicator circuit with alarm6 led water level indicator circuit with alarm
6 led water level indicator circuit with alarm
 
Water level indicator by bhushan kumbhalkar
Water level indicator by  bhushan kumbhalkarWater level indicator by  bhushan kumbhalkar
Water level indicator by bhushan kumbhalkar
 

Viewers also liked

Water tank
Water tankWater tank
Water tank
Anup singh
 
Automatic water level_controller
Automatic water level_controllerAutomatic water level_controller
Automatic water level_controllerAkash Shukla
 
Physics Investigatory Project Class XII.. Water Level Controller.!!
Physics Investigatory Project Class XII.. Water Level Controller.!!Physics Investigatory Project Class XII.. Water Level Controller.!!
Physics Investigatory Project Class XII.. Water Level Controller.!!
Aryavarta Giri
 
Water tank-lecture
Water tank-lectureWater tank-lecture
Water tank-lectureAdnan Lazem
 
Complete design of r.c.c over head tank & boq estimate
Complete design of r.c.c over head tank & boq estimateComplete design of r.c.c over head tank & boq estimate
Complete design of r.c.c over head tank & boq estimate
Harish Mahavar
 
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
 
Ppt on water level indicator
Ppt on water level indicatorPpt on water level indicator
Ppt on water level indicatorpalwinder virk
 

Viewers also liked (8)

Thesis Paper
Thesis PaperThesis Paper
Thesis Paper
 
Water tank
Water tankWater tank
Water tank
 
Automatic water level_controller
Automatic water level_controllerAutomatic water level_controller
Automatic water level_controller
 
Physics Investigatory Project Class XII.. Water Level Controller.!!
Physics Investigatory Project Class XII.. Water Level Controller.!!Physics Investigatory Project Class XII.. Water Level Controller.!!
Physics Investigatory Project Class XII.. Water Level Controller.!!
 
Water tank-lecture
Water tank-lectureWater tank-lecture
Water tank-lecture
 
Complete design of r.c.c over head tank & boq estimate
Complete design of r.c.c over head tank & boq estimateComplete design of r.c.c over head tank & boq estimate
Complete design of r.c.c over head tank & boq estimate
 
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.
 
Ppt on water level indicator
Ppt on water level indicatorPpt on water level indicator
Ppt on water level indicator
 

Similar to ADITEC04

Automatic plant irrigation system
Automatic plant irrigation systemAutomatic plant irrigation system
Automatic plant irrigation system
selvalakshmi24
 
Automatic irrigation system by using 8051
Automatic irrigation system by using 8051Automatic irrigation system by using 8051
Automatic irrigation system by using 8051
rohit chandel
 
water level controller using 8051 microcontroller
water level controller using 8051 microcontrollerwater level controller using 8051 microcontroller
water level controller using 8051 microcontroller
Prachi Pandey
 
Temporizador variable 555
Temporizador variable 555Temporizador variable 555
Temporizador variable 555
nick dora
 
Ctara report
Ctara reportCtara report
Ctara report
Pushkar Limaye
 
PLC4.pdf
PLC4.pdfPLC4.pdf
PLC4.pdf
Mahamad Jawhar
 
Moisture controller report total
Moisture controller report totalMoisture controller report total
Moisture controller report total
Patruni Chidananda Sastry
 
Design of an automatic irrigation control system
Design of an automatic irrigation control systemDesign of an automatic irrigation control system
Design of an automatic irrigation control system
Tobiloba Oyediran
 
Led chaser
Led chaserLed chaser
Led chaser
BEASTKUSHAL
 
Project PPT.pptx
Project  PPT.pptxProject  PPT.pptx
Project PPT.pptx
sridharGowda20
 
Two methods
Two methodsTwo methods
Two methods
john carlo ramos
 
It's final ppt arduino
It's final ppt arduinoIt's final ppt arduino
It's final ppt arduino
shashanksharma199820
 
Irrigation IoT G22222.ppt
Irrigation IoT G22222.pptIrrigation IoT G22222.ppt
Irrigation IoT G22222.ppt
Wajdi Bellil
 
Dual axis solar tracking systems with thermal refrigeration
Dual axis solar tracking systems with thermal refrigerationDual axis solar tracking systems with thermal refrigeration
Dual axis solar tracking systems with thermal refrigeration
manogna gwen
 
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
 
KBUNL - NTPC KANTI MUZAFFARPUR BIHAR
KBUNL - NTPC KANTI MUZAFFARPUR BIHARKBUNL - NTPC KANTI MUZAFFARPUR BIHAR
KBUNL - NTPC KANTI MUZAFFARPUR BIHAR
VIMAL VAIBHAV
 
PresentationGGSSTP_Atul
PresentationGGSSTP_AtulPresentationGGSSTP_Atul
PresentationGGSSTP_AtulAtul Kataria
 
water level indicator report
water level indicator reportwater level indicator report
water level indicator report
Raza Jahangir
 
Introduction_to_Mechatronics_Chapter3.pdf
Introduction_to_Mechatronics_Chapter3.pdfIntroduction_to_Mechatronics_Chapter3.pdf
Introduction_to_Mechatronics_Chapter3.pdf
Bereket Walle
 

Similar to ADITEC04 (20)

Automatic plant irrigation system
Automatic plant irrigation systemAutomatic plant irrigation system
Automatic plant irrigation system
 
Automatic irrigation system by using 8051
Automatic irrigation system by using 8051Automatic irrigation system by using 8051
Automatic irrigation system by using 8051
 
water level controller using 8051 microcontroller
water level controller using 8051 microcontrollerwater level controller using 8051 microcontroller
water level controller using 8051 microcontroller
 
Timer
TimerTimer
Timer
 
Temporizador variable 555
Temporizador variable 555Temporizador variable 555
Temporizador variable 555
 
Ctara report
Ctara reportCtara report
Ctara report
 
PLC4.pdf
PLC4.pdfPLC4.pdf
PLC4.pdf
 
Moisture controller report total
Moisture controller report totalMoisture controller report total
Moisture controller report total
 
Design of an automatic irrigation control system
Design of an automatic irrigation control systemDesign of an automatic irrigation control system
Design of an automatic irrigation control system
 
Led chaser
Led chaserLed chaser
Led chaser
 
Project PPT.pptx
Project  PPT.pptxProject  PPT.pptx
Project PPT.pptx
 
Two methods
Two methodsTwo methods
Two methods
 
It's final ppt arduino
It's final ppt arduinoIt's final ppt arduino
It's final ppt arduino
 
Irrigation IoT G22222.ppt
Irrigation IoT G22222.pptIrrigation IoT G22222.ppt
Irrigation IoT G22222.ppt
 
Dual axis solar tracking systems with thermal refrigeration
Dual axis solar tracking systems with thermal refrigerationDual axis solar tracking systems with thermal refrigeration
Dual axis solar tracking systems with thermal refrigeration
 
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
 
KBUNL - NTPC KANTI MUZAFFARPUR BIHAR
KBUNL - NTPC KANTI MUZAFFARPUR BIHARKBUNL - NTPC KANTI MUZAFFARPUR BIHAR
KBUNL - NTPC KANTI MUZAFFARPUR BIHAR
 
PresentationGGSSTP_Atul
PresentationGGSSTP_AtulPresentationGGSSTP_Atul
PresentationGGSSTP_Atul
 
water level indicator report
water level indicator reportwater level indicator report
water level indicator report
 
Introduction_to_Mechatronics_Chapter3.pdf
Introduction_to_Mechatronics_Chapter3.pdfIntroduction_to_Mechatronics_Chapter3.pdf
Introduction_to_Mechatronics_Chapter3.pdf
 

ADITEC04

  • 1. AUTOMATIC WATER LEVEL CONTROLLER USING MICROCOTROLLER Prepared By : Jadeja Mohitraj (090010111004) Muni Dimitra (090010111009) Group No : ADITEC04 Guided By : Mrs. Heena Kher
  • 2. Introduction  Definition: Automatic water level controller using microcontroller.  AIM: • To reduce wastage of water by switching automation. • To Increase pump set life. • To save electricity.  OVERVIEW: • This project consists of implementation of house based automatic water level controller using microcontroller AT89c51. • In this system we can observe status of water. • Here system is made such that it won’t work on Dry run condition. It will only switch on the motor after there is sufficient water in ground tank.
  • 3. Working  It is a microcontroller-based water-level controller. It controls ‘on’ and ‘off’ conditions of the motor depending upon the level of water in the ground tank.  Working of the pump is controlled by the water level of the source tank, if the ground tank is empty then pump gets automatically on and when it is 90% filled then pump gets automatically off.  When there is no water in the source tank, pump will remain switched off.  Working of the pump totally depends upon both, the source as well as main tank.  The level of water in the tank is displayed on LEDs.
  • 6. Description of flowchart: 1. First status of ground tank is checked, if ground tank doesn’t have water the buzzer will turn on otherwise process is continued. 2. Further motor will turn on if water is below 10% level of total overhead tank. 3. If water exceeds the 90% level of overhead tank, motor will automatically turn off. 4. Simultaneously status of water is shown on LEDs indicating water levels.
  • 8. DESCRIPTION OF CIRCUIT: • As show in circuit P10 to P13 pins are input pins which are used to input data in controller based on status of water in overhead tank. • Metal strips sensors are at 10% , 40%, 70%,90% levels in overhead tank. • According to water level at input side corresponding LEDs will glow. • Simultaneously water level is controlled as water levels goes below 10% level motor switches on and when level goes above 90% level it turns on.
  • 9. OPERATION: • There are two conditions for water in ground tank. 1) Water is insufficient to switch ON the motor. 2) There is sufficient amount of water in ground tank to switch ON the motor. 1) Condition : Insufficient water • In ground tank water is insufficient to switch ON the motor so motor will be off. • In this condition dry run of motor is avoided so we can save electricity as well motor pump set life is increased. 2) Condition: Sufficient water • If water in the source tank is above some level then motor will turn ON and water is pumped to the overhead tank. • Overhead tank is filled to maximum 90% level of the tank.Then automatically motor is off. • Again if the overhead tank water level decreases then motor will get automatically turned ON.We also can see status of water in Overhead tank on by LEDs.
  • 10. Components  Optocoupler: • The main purpose of an Opto-isolator is “to prevent high voltages or rapidly changing voltages on one side of the circuit from damaging components or distorting transmissions on the other side”. • Optocoupler IC is with 4 inputs and 4 outputs and total 16 pins . • Here Anode is connected to +5V voltage supply. Cathode is connected to ground. • Collector is connected to +5V supply directly. Emitter is used as output which is fed to pin 1 to 4 of port1 as input.
  • 11. Components  LEDs: • In this system four LEDs are used to indicate status of the water in Overhead tank. • LEDs are connected in such a way that their cathode terminal is connected to ground. So when output is high on output pin LED glows else it doesn’t glow. • Anode terminal is connected to Port 2 pins 20 to 23, each with one LED.  Transistors: • In this we have used two NPN transistors. • One NPN transistor will be used to turn the motor on and off. • Other NPN transistor is used to turn ON-OFF the buzzer. • In each case NPN transistor works as a switch.
  • 12. Components  Crystal oscillator: • Crystal Oscillator is used to provide continuous clock signal to pin 18-19 to get precise frequency of operation. • Here crystal oscillator is made up of piezoelectric material which by giving voltage, vibrates at specific frequency. • We have used 12MHz frequency crystal.
  • 13. Water Pump : • For pumping the water we have used a Fountain pump for serving the purpose. • Voltage 165-220V / 50Hz and Power: 19W. • It is only used in sufficient water condition.Dry run must be avoided.
  • 14. Components  Resistors: • Color coded resistors are used. • Resistor normally here used is of 5V voltage rating. • Various values of resistors like 1K, 4.7K are used.  Capacitors: • In this circuit capacitor is used in crystal oscillator. • We have used two capacitors of 33pf.
  • 15. Components  Buzzer: • Here we have used a buzzer of 200 Hz frequency. • One terminal of buzzer is connected to ground. • Other is connected to output of pin no 28 of controller IC.  Microcontroller(AT89C51): • It is 40 pin IC driven by single 5V power supply. • Here we have used only two I/O ports.
  • 20. Results • Using keil uVision3 software we got the o/p as follows: 1) Initially at running the code , Initially if ground tank has no water P2.7 is’1’(buzzer ON). 2) Making pinP1.4, ‘1’(sufficient water), we got P2.6 ‘1’(motor ON).
  • 21. Results 3)Now if pin P1.0 is ‘1’ then pin P2.0 is ‘1’.(motor is also ON and P1.4 at ‘1’) 4)If pins P1.0 and P1.1 are at ‘1’ then pins P2.0,P2.1 are at ‘1’(motor is also ON and P1.4 at ‘1’)
  • 22. Results 5)If pins P1.0,P1.1,P1.2 are at’1’ then pins P2.0,P2.1,P2.2 are at ‘1’(motor is also ON and P1.4 at ‘1’) 6)If pins P1.0,P1.1,P1.2,P1.3 are at ‘1’ then pins P2.0,P2.1,P2.2,P2.3 are at ’1’and P2.6 is at’0’(motor is OFF and buzzer also OFF)
  • 23.  Advantages: • Less power consumption. • C program can be easily modified if required. • Further modification or addition of extra circuitries and components is possible. • Low cost.( approximately 500Rs., motor expense not included). • Higher processing speed.  Limitations: • Number of LEDs for indicating water level is limited so maximum number of water levels shown here is also limited. • Use of metal wire as sensor may not work for a large water tank . • To overcome this limitation another amplifying circuitry might be required.
  • 24.  CONCLUSION:  If ground tank has no water, sensor senses ‘0’ level and that is fed to controller pin P1.4 so further process is avoided including dry run. And buzzer is ON i.e. pin P2.7 has o/p ‘1’ on the pin.  And continuous monitoring is going on. And If suppose ground tank has water, motor is switched ON for water pumping. Simultaneously water level in overhead tank is displayed by means of glowing LEDs.  We are having wire sensors at 10%, 40%,75% and 90% levels. These sensor outputs are fed to Optocoupler and then to microcontroller as input. According to signals at input port microcontroller is giving signal at output port .  This project serves purpose of water saving as well as electricity saving. It has benefit in terms of ease of expansion and modification(as only 2-ports of microcontroller are used out of 4).
  • 25.  Technology used : • In this project we have used microcontroller(AT89c51).We have used keil uVision3 software for assembly coding for this project.We have also used multisim10 for creating circuit. • We used SuperPro software for writing the assembly code (hex file) on the AT89c51 controller IC.We also used 8051board by MikroElectronika for checking validity of the assembly code.  Future Scope: • In future this project can be expanded in terms of accuracy and number of water levels taken into account by using ADC. • Also using VB(Visual Basic) real water level can be shown on the computer and by the software water level can be monitored.