Bidirectoinal Visitor Counter
Bidirectoinal Visitor Counter
A Project Report
By
Dr. ASHIMA
MAY 2023
1
UNDERTAKING
To the best of our knowledge, no part of this work has been plagiarized or
submitted either in part or full for the award of a degree in any other University
or Institution. In case this undertaking is found incorrect, I accept that my degree
may be unconditionally withdrawn.
(ABHAY SINGH)
(ANIKET PANDEY)
(ANSHU HANSA)
2
CERTIFICATE
3
Preface
The advancement of technology has enabled us to automate and streamline many tasks that
were once manual and time-consuming. The visitor counting system is one such area where
technology has brought significant improvements. In public spaces such as conference halls,
seminar rooms, shopping malls, and museums, monitoring visitor traffic is crucial for ensuring
safety and comfort while optimizing space utilization.
The purpose of this project is to develop an automated bidirectional visitor counting system
using Arduino that can accurately and reliably count the number of visitors entering and leaving
a room or space. The system utilizes two infrared sensors to detect the passage of individuals
in both directions and a microcontroller to process the signals and display the count on a 16x2
alphanumeric LCD placed outside the room.
This project provides a cost-effective and efficient solution for managing visitor traffic in public
spaces. The system can be customized to suit different settings and is easy to install and use. It
reduces the risk of errors associated with manual counting and provides real-time data on visitor
traffic, which can be used for management and planning purposes.
The project aims to address the challenges of accurately and efficiently counting visitors in
public spaces, ensuring the safety and comfort of visitors while optimizing space utilization.
The system can be scaled up to different settings and integrated with other smart systems to
enhance overall visitor management.
This project report provides a detailed description of the system design, implementation, and
testing process. The report aims to serve as a guide for anyone interested in developing a similar
system or learning more about visitor counting systems. The report includes circuit diagrams,
source code, and a detailed explanation of the system components and their functions.
We hope that this project report will provide useful insights and inspire further research in the
area of visitor counting systems. We would like to express our sincere gratitude to our project
guide and all those who supported and encouraged us throughout the project.
We'd like to thank Dr. ASHIMA for her feedback and suggestions, which ultimately led us
how to use of renewable energy sources in our locality.
4
Acknowledgements
We express our profound gratitude to our guide and mentor Dr. ASHIMA whose
able guidance and seamless encouragement helped us in studying and successfully
completing this work.
ABHAY SINGH
ANSHU HANSA
&
ANIKET PANDEY
5
Contents
[2]. Objectives 11
[7]. Conclusion 17
[9]. References 20
6
[1].Introduction
7
Arduino Uno
The Arduino Uno is a popular microcontroller board that has become a standard
in the world of DIY electronics. It is based on the ATmega328P microcontroller,
which is a powerful and versatile chip that can be used in a wide range of
applications. The board is affordable and easy to use, making it a favorite among
hobbyists and professionals alike.
The Arduino Uno has 14 digital input/output pins, six analog inputs, and a 16 MHz
quartz crystal. It also has a USB connection, a power jack, and an ICSP header for
programming. These features make it suitable for a wide range of projects, from
simple LED blinking to complex robotics projects.
One of the key advantages of the Arduino Uno is its compatibility with the
Arduino Integrated Development Environment (IDE). This free and open-source
platform makes
it easy to write and upload code to the board. The IDE supports a wide range of
programming languages, including C++, which is widely used in the electronics
industry.
The Arduino Uno has found its way into various applications such as robotics,
home automation, and Internet of Things (IoT) projects. Its versatility,
affordability, and ease
of use make it a popular choice for both hobbyists and professionals. It has
become a go-to board for prototyping and testing new ideas in the world of
electronics.
8
Infrared Sensor (IR Sensor)
An infrared (IR) sensor is an electronic device that detects the presence of objects in its
vicinity by emitting and receiving infrared radiation. IR sensors operate by emitting a
beam of IR light and then measuring the amount of reflected or emitted IR radiation to
determine the presence of an object. They are commonly used in a wide range of
applications, including motion detection, temperature sensing, and distance
measurement.
One of the key advantages of IR sensors is their ability to detect the presence of objects
without physical contact, which makes them ideal for use in situations where physical
contact is not desirable or feasible. They are also relatively low cost, reliable, and can be
easily integrated into electronic systems.
Overall, IR sensors are a versatile and useful technology that are widely used in various
fields, including automation, security, and robotics. Their ability to detect the presence
of objects without physical contact makes them particularly well-suited for use in
situations where hygiene, safety, or accessibility are a concern.
9
Why we use Arduino Uno?
In the project mentioned, the Arduino is used to control the operation of the IR
sensor and the LCD display. The microcontroller continuously monitors the
signals from the IR sensor and updates the LCD display to show the current count
of people entering and leaving the room. By using an Arduino, the project is able
to accurately and reliably count the number of visitors entering and leaving the
room, making it a useful tool for monitoring the occupancy of a conference room,
seminar hall, or other public space.
10
[2]. Objectives
1. To develop a reliable and accurate bidirectional visitor counting system that can
count
the number of visitors entering and leaving a room or space.
2. To utilize the Arduino platform and infrared sensors for the detection and
processing of visitor traffic in real-time.
3. To design a user-friendly system that can be easily installed, configured, and
customized to suit different settings.
4. To provide a cost-effective solution for managing visitor traffic in public spaces
and enhancing overall visitor management and planning.
11
[3]. Components Used
LED
12
[4].Construction
13
14
[5].Principle and Working
The principle of the bidirectional visitor counting system is based on the use of infrared
(IR) sensors to detect the presence of people entering and leaving a room. The system
utilizes two IR sensors placed at the entrance and exit of the room, respectively. These
sensors emit IR beams that are reflected back when a person passes through the
entrance or exit. The reflected IR beam is then detected by the sensor, which triggers
the Arduino Uno to increment or decrement the count based on the direction of the
movement.
1. The bidirectional visitor counting system utilizes two infrared (IR) sensors,
positioned at the entrance and exit points of a room, to detect the presence of
individuals entering and exiting the space.
2. When an individual enters the room, the IR beam emitted by the entrance
sensor is reflected back to the sensor and triggers an interruption detection.
The interruption detection event is processed by an Arduino Uno
microcontroller,
which increments the count and updates the value on the attached liquid crystal
display (LCD) module.
3. Similarly, when an individual exits the room, the IR beam from the exit sensor
is reflected back, interrupting the sensor and triggering a decrement in the count.
The Arduino Uno processes this event and updates the count on the LCD
module.
4. The Arduino Uno serves as the central processing unit of the system,
continuously monitoring the IR sensors, processing the sensor input, and
updating the LCD display. The system is powered by a 9V battery, ensuring
portability and making it suitable for a range of applications. The use of IR
sensors and the Arduino Uno provides a reliable, efficient, and cost-effective
solution for managing visitor traffic in public spaces.
The principle of operation for the system is based on the detection of IR beam
interruptions by the sensors, which are processed by the Arduino Uno microcontroller
to update the count in real-time. The working of the system is achieved through the
continuous monitoring of the IR sensors by the Arduino Uno, which processes the
sensor input and updates the count on the LCD module.
15
[6]. Phenomenon of IR sensing.
How does an IR sensor work?
The phenomena of IR sensing is based on the fact that objects emit or reflect IR
radiation, which can be detected by an IR sensor. IR sensors work by emitting a
beam of IR light and then measuring the amount of reflected or emitted IR
radiation. This process is known as reflection or emission sensing, respectively.
When an object enters the field of view of the IR sensor, it can reflect or emit IR
radiation. The IR sensor detects this radiation and produces an output signal that
is proportional to the amount of radiation detected. The output signal can then be
used to determine the presence or absence of an object in the vicinity of the sensor.
IR sensors can be used in a wide range of applications, including motion detection,
temperature sensing, and distance measurement. They are commonly used in
electronic systems such as home automation, security systems, and robotics.
Overall, the phenomena of IR sensing is a fundamental principle behind the
operation of IR sensors. By detecting the presence of IR radiation, IR sensors can
provide a reliable and accurate method for detecting the presence or absence of
objects in their field of view.
16
[7].Conclusions
After studying and developing the model of VISITOR COUNTER we came
to following conclusion:
1. The bidirectional visitor counting system developed in this project offers a
reliable and cost-effective solution for managing visitor traffic in public
spaces.
2. The system utilizes the Arduino platform and infrared sensors to accurately
count the number of visitors entering and leaving a room or space in real-
time.
3. The system has a wide range of applications in various settings such as
museums, exhibitions, hospitality industry, and transportation hubs,
providing an innovative and practical solution to the challenges faced in
managing visitor traffic.
17
[8].Applications
Museums and Exhibitions: The system can also be used in museums and
exhibitions to monitor the number of visitors who have come to watch a certain
exhibit. This information can be used to optimize space utilization and enhance
overall visitor experience.
18
Hospitality Industry: In the hospitality industry, the system can be used in hotels
and resorts to monitor the number of guests entering and leaving the premises.
This information can be used to manage capacity and ensure guest safety and
comfort.
Transportation Hubs: The system can be used in transportation hubs such as
airports and train stations to monitor passenger traffic and optimize space
utilization. This information can also be used for planning and management
purposes.
Overall, the bidirectional visitor counting system developed in this project has a
wide range of applications and can be customized to suit different settings. It can
provide real-time data on visitor traffic, which can be used for management and
planning purposes.
19
[9].References
20