(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
automation of waterpump using 8051 microcontroller
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
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.
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. 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. 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. 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
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. 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. 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. 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