automation of waterpump using 8051 microcontroller
-
Upload
parth-joshi -
Category
Engineering
-
view
342 -
download
12
description
Transcript of automation of waterpump using 8051 microcontroller
AUTOMATION OF WATER PUMP USING 8051
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
Apparatus-:1.Watertank2.8051 microconteroller3.Spdt relay4.Capacitors5.Resistor6.Crystal7.Magnetic sensor8.motor+pump9.Rectifier circuit10.BC547 transistor11.Transformer12.AN7805 voltage regulator
STARTSTART
-> ASK THE USER FOR SELECTING THE MODE-> ASK THE USER FOR SELECTING THE MODE
-> COMPILER WILL JUMP TO THE SELSECTED MODE-> COMPILER WILL JUMP TO THE SELSECTED MODE
AUTOMATIC ON/OFF MODE
AUTOMATIC ON/OFF MODE
PUMP WILL AUTOMATICALLY ON/OFF.IF LEVEL GOES DOWN->PUMP ONIF LEVEL IS FULL ->PUMP OFF
PUMP WILL AUTOMATICALLY ON/OFF.IF LEVEL GOES DOWN->PUMP ONIF LEVEL IS FULL ->PUMP OFF
MODE1MODE1 MODE2MODE2 MODE3MODE3
USER DEFINED ON/OFF MODE
USER DEFINED ON/OFF MODE
COMPENSATION MODECOMPENSATION MODE
USER WILL TURN MANUALLY ON/OFF THE PUMP
USER WILL TURN MANUALLY ON/OFF THE PUMP
CONTROLLER WILL KEEP AUTOMATICALLY COMPANSATE A SPECIFIC WATER LEVEL.
CONTROLLER WILL KEEP AUTOMATICALLY COMPANSATE A SPECIFIC WATER LEVEL.
Controll Circuit Diagram
PROGRAMMINGorg 0000hmov a,#00mov p0,amov p1,a set ‘0’ to all the pinsmov p2,amov p3,a setb p1.0 ;switch1setb p1.1 ;switch2setb p1.2 ;switch3setb p1.3 ;switch4 switch:jnb p1.0,mode1 ;mode1=manual on off mode use on off switch switch 5 and switch 6jnb p1.1,mode2 ;mode2=automatic on off mode , use sensor upper and sensor lowerjnb p1.2,mode3 ;mode3=compansating mode use middle sensor5
sjmp switchmode1: setb p1.4 ; switch5 to on the motor
setb p1.5 ;switch6 for off the motorjb p1.4,mode1motoron: setb p2.0 ;on the motorjb p1.5,motoron ;motor on till off presed
clr p2.0 ;stop the motorclr p1.4clr p1.5sjmp mode1 mode2: setb p0.2 ;upper level sensorsetb p0.3 ;middle level sensorsetb p0.4 ;lover level sensor here: jnb p0.4,here ;monitor lower level sensorsetb p2.0 ;start the motorhere1:jb p0.2,here1 ;monitor upper sensorclr p2.0 ;stop the motorclr p0.2clr p0.3clr p0.4sjmp mode2
clr p2.0 ;stop the motorclr p1.4clr p1.5sjmp mode1 mode2: setb p0.2 ;upper level sensorsetb p0.3 ;middle level sensorsetb p0.4 ;lover level sensor here: jnb p0.4,here ;monitor lower level sensorsetb p2.0 ;start the motorhere1:jb p0.2,here1 ;monitor upper sensorclr p2.0 ;stop the motorclr p0.2clr p0.3clr p0.4sjmp mode2
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
HARDWARE DESIGN OVERVIEW
PROGRAMMING in KEIL
Our device Price estimation
No. Elements Price(Rs.)1. Microcontroller AT89c2051 Controller 402. Rectifier and Voltage Regulator 503. Relay (220 v A.C.) 45
4. Current amplifier I.C.(ULN 2308) 15
5. Magnetic proximity sensors (3) 406. Switches , cable and L.E.D.s,plug points 30
7. P.C.B. 1208. Man effort cost 80
9. Extra duties and charges 50
TOTAL 470
LOGIC IC
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.
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.
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
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.Reliability6.Less chances of failure
THANK YOU