0% found this document useful (0 votes)
79 views5 pages

Mini Project Counter

This document describes a bidirectional visitor counter project using Arduino. The components required are an Arduino Nano, two IR sensors, a 16x2 LCD display, resistors, a potentiometer, an LED, a buzzer, a power supply, a rocker switch, and connecting wires. The IR sensors detect visitors entering and exiting and send signals to the Arduino. The Arduino counts the visitors and calculates the total entering, exiting, and present. The LCD display shows these numbers. The LED indicates when no visitors are present.

Uploaded by

hii MC
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views5 pages

Mini Project Counter

This document describes a bidirectional visitor counter project using Arduino. The components required are an Arduino Nano, two IR sensors, a 16x2 LCD display, resistors, a potentiometer, an LED, a buzzer, a power supply, a rocker switch, and connecting wires. The IR sensors detect visitors entering and exiting and send signals to the Arduino. The Arduino counts the visitors and calculates the total entering, exiting, and present. The LCD display shows these numbers. The LED indicates when no visitors are present.

Uploaded by

hii MC
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

GROUP NO: B14

Members:
1. Vinay Hanumant Khalate
2. Pavan Dilip Khadse

Topic no:1
Bidirectional Visitor
Counter using Arduino.

Block Diagram:
Circuit Diagram:
Components Required:

Components Name Quantity


Arduino NANO 1
IR Sensor Module 2
16×2 LCD Display Module 1
220ohm Resistor (R1, R2) 2
10K ohm Potentiometer (VR1) 1
Red LED  1
5v Buzzer 1
9v Power Supply 1
Rocker Switch 1
PCB board 1
Connecting wires As required in the circuit diagram

Project Overview:
This is an Arduino based very simple project, a few major
components are needed to build this project. These major
components are Arduino, two IR sensors, and an LCD display.
Here we are using an Arduino board which acts as the main
microcontroller to control this system.
A pair of IR sensors are used to detect the visitor from both
directions, i.e., it detects the number of entering visitors and the
number of exiting visitors. The LCD Display is used to display the
total number of entering visitors, the total number of exiting
visitors, and also shows the total number of visitors currently
present inside the place.

Principle:
First of all, we need to set one IR sensor (IR sensor-1) at the entry
gate and another one (IR sensor-2) set at the exit gate. Normally when
IR sensors do not detect any obstacle, it produces a HIGH (1) output
value from the Output Pin.
When a visitor enters through the entry gate the IR sensor-1 detects
the visitor (obstacle) and produces a Low (0) output value from the
Output Pin. Then the Arduino read this value and counts 1+ using the
code. Similarly, When the IR sensor-1 detects another visitor
(obstacle), the Arduino increment the counting by 1+. In this way
every time the Arduino adds +1 in the count when a visitor passes
through this gate and calculates the total number of entering visitors.
 In the same way, when a visitor leaves through the exit gate the IR
sensor-2 detects the visitor (obstacle) and produces a Low (0) output
value from the Output Pin. Then the Arduino read this value and
counts 1+ using the code. Similarly, When the IR sensor-2 detects
another visitor (obstacle), the Arduino increment the counting by 1+.
In this way every time the Arduino adds +1 in the count when a
visitor passes through this gate and calculates the total number of
exiting visitors.
Every time Arduino Subtracts the total number of entering visitors
from the total number of exiting visitors to calculate the total number
of visitors currently present inside the place.
After counting and calculating all numbers the Arduino sends data to
the 16×2 LCD Display. The LCD Display shows the total number of
entering visitors, the total number of exiting visitors, and the total
number of visitors currently present inside the place. The LED starts
glowing when no one is present inside that place.
Project reference:

1. https://www.electroduino.com/bidirectional-visitor-counter-
using-arduino/

You might also like