This document describes a bidirectional visitor counter project using an Arduino microcontroller. The project uses a pair of infrared sensors placed at both ends of an entrance to detect people entering and exiting. When a sensor detects someone passing through, it informs the Arduino, which increments or decrements the count and displays it on an LCD screen. The counter can be used to track visitors at venues like stadiums, malls, offices, and parking areas.
2. INTRODUCTION :
• In this project, we will make a Bidirectional Visitor Counter
using Arduino. This project is based on a pair of Infrared Sensor that
detects interrupt when it detects an obstacle.
• The pair of IR sensors can detect the visitor from both directions, i.e. the
number of entering visitors and the number of exiting visitors.
• The project of “Digital visitor counter” is based on the interfacing of some
components such as sensors, motors etc. with Arduino microcontroller.
• Often we see visitor counters at the stadium, mall, offices, classrooms
and It can also be used at gates of parking areas and other public
places.
3. PRINCIPLE :
• The circuit works on the principle of IR sensing. Infrared or simply IR
Sensors are devices that work with Infrared Light Source and a Photo
Detector like a Photo Diode that act as a Transmitter and Receiver
respectively.
• we have used an IR LED as the IR Transmitter and a Photo Diode as
the IR Receiver.
• Two sets of IR sensors consisting of an IR LED and Photo Diode are
placed at two ends of the entrance of a room.
5. WORKING :
• The IR sensor continuously senses the presence of any obstacles (any
person in our case ).
• If sensor 1 senses a person, it informs the controller that a person has
entered so that controller can detect that visit has started and increment
the count.
• At the same time it gives a delay of 1sec so that the person can cross the
sensor 2 and the count is maintained correctly.
• When a person exits, the sensor 2 informs the controller to decrement
the count. Similarly it also provides a delay of 1 sec to maintain count
properly.
• The count is displayed on LCD by the controller. If there is at least 1
person is inside the hall, an LED will glow otherwise it is off.
9. APPLICATIONS :
• The Bidirectional Visitor Counter using 8051 Microcontroller circuit can
be used domestically to get an indication of number of persons
entering a party
• It can be used at official meetings.
• It can be used at homes and other places to keep a check on the
number of persons entering a secured place.
• It can also be used as home automation system to ensure energy
saving by switching on the loads and fans only when needed.
10. CONCLUSION :
• In demonstration of the project, the infrared sensing part used to
detect the passage of visitors worked.
• Microcontroller was very efficient in its task performance, thus
computation of counts and controlling I/O devices.
• Also, the LCD, led and the buzzer were effective in alerting and
notifications. Hence the whole purpose of the bidirectional visitor
counter is applicable in the wider scope.