Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

automation of waterpump using 8051 microcontroller

6,195 views

Published on

useful for automation based on microcontroller

Published in: Engineering
  • Be the first to comment

automation of waterpump using 8051 microcontroller

  1. 1. PROJECT MEMBERS 1.JOSHI PARTH S. [090340109038] 2.MALVI ANKIT M. [090340109003] 3.SHAH MIHIR M. [090340109022] 4.PATEL PARTH B. [090340109034] Guided by-> Mr. MAULIK SHAH
  2. 2. Apparatus-: 1.Watertank 2.8051 microconteroller 3.Spdt relay 4.Capacitors 5.Resistor 6.Crystal 7.Magnetic sensor 8.motor+pump 9.Rectifier circuit 10.BC547 transistor 11.Transformer 12.AN7805 voltage regulator
  3. 3. START -> ASK THE USER FOR SELECTING THE MODE -> COMPILER WILL JUMP TO THE SELSECTED MODE AUTOMATIC ON/OFF MODE PUMP WILL AUTOMATICALLY ON/OFF. IF LEVEL GOES DOWN->PUMP ON IF LEVEL IS FULL ->PUMP OFF MODE1 MODE2 MODE3 USER DEFINED ON/OFF MODE COMPENSAT ION MODE USER WILL TURN MANUALLY ON/OFF THE PUMP CONTROLLER WILL KEEP AUTOMATICALLY COMPANSATE A SPECIFIC WATER LEVEL.
  4. 4. Controll Circuit Diagram
  5. 5. PROGRAMMING org 0000h mov a,#00 mov p0,a mov p1,a set ‘0’ to all the pins mov p2,a mov p3,a setb p1.0 ;switch1 setb p1.1 ;switch2 setb p1.2 ;switch3 setb p1.3 ;switch4 switch: jnb p1.0,mode1 ;mode1=manual on off mode use on off switch switch 5 and switch 6 jnb p1.1,mode2 ;mode2=automatic on off mode , use sensor upper and sensor lower jnb p1.2,mode3 ;mode3=compansating mode use middle sensor5 sjmp switch mode1: setb p1.4 ; switch5 to on the motor
  6. 6. setb p1.5 ;switch6 for off the motor jb p1.4,mode1 motoron: setb p2.0 ;on the motor jb p1.5,motoron ;motor on till off presed clr p2.0 ;stop the motor clr p1.4 clr p1.5 sjmp mode1 mode2: setb p0.2 ;upper level sensor setb p0.3 ;middle level sensor setb p0.4 ;lover level sensor here: jnb p0.4,here ;monitor lower level sensor setb p2.0 ;start the motor here1:jb p0.2,here1 ;monitor upper sensor clr p2.0 ;stop the motor clr p0.2 clr p0.3 clr p0.4 sjmp mode2
  7. 7. clr p2.0 ;stop the motor clr p1.4 clr p1.5 sjmp mode1 mode2: setb p0.2 ;upper level sensor setb p0.3 ;middle level sensor setb p0.4 ;lover level sensor here: jnb p0.4,here ;monitor lower level sensor setb p2.0 ;start the motor here1:jb p0.2,here1 ;monitor upper sensor clr p2.0 ;stop the motor clr p0.2 clr p0.3 clr p0.4 sjmp mode2
  8. 8. mode3:setb p0.3 ;set middle level sensor here2:jnb p0.3,here2 ;monitor middle sensor setb p2.0 ;start the motor here3: jb p0.3,here3 ;monitor middle sensor clr p2.0 clr p0.3 sjmp mode3 end
  9. 9. HARDWARE DESIGN OVERVIEW
  10. 10. PROGRAMMING in KEIL
  11. 11. Our device Price estimation No. Elements Price(Rs.) 1. Microcontroller AT89c2051 Controller 40 2. Rectifier and Voltage Regulator 50 3. Relay (220 v A.C.) 45 4. Current amplifier I.C.(ULN 2308) 15 5. Magnetic proximity sensors (3) 40 6. Switches , cable and L.E.D.s,plug points 30 7. P.C.B. 120 8. Man effort cost 80 9. Extra duties and charges 50 TOTAL 470
  12. 12. LOGIC IC
  13. 13. DESCRIPTION OF CIRCUIT & COMPONENTS 1.Transformer-: To step down voltage from 230v to 12v(A.C). 2.Rectifier-: Bridge rectifier is used to convert 12v ac into D.C. 3.capacitor-: To filter the rectifier output supply. 4.AN7805-: To get regulated 5v dc supply for controller. 5.8051(microcontroller)-: to sence the position of magnetic sensor. 6.crystal-: it is use for controller operation. 7.Magnetic sensor-: It is just a switch . When magnet comes near it, the sensor switch will be close.
  14. 14. 8.BC547(transistor)-: it will give the 12v d.c. current to the relay when it gets the signal from microcontroller. 9.SPDT relay-: It will switch the motor when it gets the power from transistor. 10.resistor-: to limit the base current of BC547. 11.motor+pump-: to suck the water from the ground and send it for fill the watertank.
  15. 15. Application-: 1.This system can be used anywhere ,where water pump are used to fill the watertank. For example-: -residential buildings -Municipality water supply service -industries
  16. 16. Advantages-: 1.Fully automatic service , so there is no need of mankind. 2.Low power consuption circuit. 3.Easy to construct. 4.Low coast. 5.Reliability 6.Less chances of failure

×