Project pptx

Download Report

Transcript Project pptx

Mini Project
Group :
•
•
•
•
Onkar Deshmukh
Sarang Gadhave
Sheshanarayan Dhakane
Ankush Jaybhaye
Visitor Counter And Automatic
Room Power Control
Introduction
In todays world there is great need of
automating the things. As the world has
become faster and closer, the SMART work is
always appretiated.
So here we have made an attempt be the
instrument for such a particular kind of need
“Visitor Counter and Automatic Room Power
Control ”
Objectives
The objective of the project is to prepare a system which
will
1. Count the number of persons entering the room.
2. Count the number of persons leaving the room.
3. Switch OFF the Power if no one inside the
Room.
4. Switch ON the Power Suppy even if a single person is
inside the Room.
Assumptions
• There is only one door for enter and exit.
• Two persons cannot enter simultaneously
• As the ‘ir sensors’ are used it can count the
object as well as the persons. But in our case
we assume that only persons are entering the
room.
Block Diagram
Block Diagram Description
•
1.
2.
3.
4.
•
This system basically consist of
two Ir sensors ,
one lcd 16x2,
2 relay,
a led interfaced with
microcontroller 89s52.
In this system, one Ir sensor is
used to count the number of
people getting in to the room ,
which is placed at the entrance .
Other Ir sensor is used to count
number of people going out of
room and is placed at the exit of
the room.
•
With each person getting
inside the complex, the Ir1 sensor
will increase the number of count
indicating the number of people
present inside the complex at the
respective time period.
•
With each person going out
of the complex, the Ir2 sensor will
decrease the count, maintaining
the present strength of the
people inside complex.
•
With each count the relay
will switch on the Power and
supply will start. Lcd is used to
show the count value of the
present human beings.
Operation Flowchart
start
microcontroller
Enter Sensor
Exit Sensor
Check if
count=1
Check if
count=0
Yes
Switch ON
Power Supply
No
No Change
Yes
Switch OFF
Power Supply
No
No Change
Circuit Diagram
PROGRAM LOGIC
DESCRIPTION
Enter:
As per the program logic
(downloaded in the
microcontroller), when the
first person enters the
room the IR 1 detects it.
Then the person passes
through the IR2 sensor
which detects it.
The microcontroller
checks whether it is first
detected by IR1. If yes then
increment the count by 1.
If no then it remains in the
loop and no change.
Program Logic Description
Exit
• As per the program logic
(downloaded in the
microcontroller), when the first
person Exits the room the IR 2
detects it.
• Then the person passes through
IR1 sensor which detects it.
• The microcontroller checks
whether it was first detected by
IR2. If yes then decrement the
count by 1.
• If no then it remains in loop and
no change.
Power Supply Switching
• When the first person enters the
room immediately the count
increases by 1(initially 0). Thus
the command goes to the
microcontroller to switch ON the
Relay. Thus the Relay controls the
main Power Supply Switch.
Similarly,
• When all the persons inside the
room Exit or if no one is in the
room(i.e count=0) then the
microcontroller again gives the
command to the Relay to switch
OFF.
•
Thus the objectives of the
project are satisfied.
Component
Diodes
Microcontroller
Capacitors
Resistors
Crystal
Connectors(32pins)
Ir sensors
mountings
heat sinks
PCB
Multistrand Wire
Voltage Regulator
Relay
LCD
Transformer
Regulator
Relimate
Relimate
Tie Cables
Out fittings
Specification
Qty
Rate
1N4007
AT 89c52
33pf ceramic
104 ceramic
103 ceramic
11.0592Mhz
4
1
5
5
5
15
2
( Rs.)
4
70
0.5
0.5
0.5
1
8
5cm range
40 pin
4*3
7805
12 Vdc
16*2
15 Vac , 500ma
7805
2 pin
4 pin
8 cm
2
1
2
3
2 meters
1
4
1
1
1
5
4
1 pack
25
10
4
350
9/meter
10
30
180
80
18
3
5
70
chassy,nuts,
Bolts, screws.
1 pack
270
Cost
(Rs.)
8
70
4.5
4.5
4.5
20
16
32
50
10
8
350
18
10
120
180
80
18
15
20
70
270
APPLICATIONS, ADVANTAGES &
DISADVANTAGES
• Application
– For counting purposes
– For automatic room light control
• Advantages
–
–
–
–
Low cost
Easy to use
Implement in single door
Automation and no requirement of separate monitoring
• Disadvantages
• It is used only when one single person cuts the rays of the sensor
hence it cannot be used when two person cross simultaneously.
Looking into the Future
• By using this circuit and proper power supply
we can implement various applications
Such as fans, tube lights, etc.
• By modifying this circuit and using two relays
we can achieve a task of opening and closing
the door.
The End
THANK YOU