0% found this document useful (0 votes)
5 views

Visitor Counter Using Arduino and Ultrasonic Sensor

Uploaded by

rajender
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Visitor Counter Using Arduino and Ultrasonic Sensor

Uploaded by

rajender
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Visitor Counter Using

Arduino and Ultrasonic


Sensor
A Simple IoT Application
Introduction

 Problem Statement: Why track visitors?


 Over view: This project focuses on creating a visitor counter using an
ultrasonic sensor and Arduino. The sensor detects people passing
through a designated area, while the Arduino processes the data and
displays the visitor count. It's a practical solution for monitoring foot
traffic in places like malls, events, or offices
Components Needed
Hardware Components:
•Arduino UNO
•Ultrasonic Sensor (HC-SR04)
•LCD Display
•Breadboard
•Buzzer
•Jumper Wires
•Resistors (if needed)
•Power Supply
•Potentiometer

•Software:
•Arduino IDE
Working Principle

•Ultrasonic Sensor: Uses sound waves to detect objects within a specific range.
•Visitor Counting Logic: When an object (a person) is detected within a set
• distance by the sensor, the counter increments.
Circuit Diagram
Connections
LCD display to arduino
•Vss = Arduino GND
Potentiometer to arduino
•VDD = Arduino 5V
• Left pin = Arduino GND
•V0 = Potentiometer center pin
• Right pin = Arduino 5v
•RS = Digital pin 3
•center pin = Display VO
•RW = Arduino GND
•E = Digital pin 4
Ultrasonic sensor to Arduino
•D4 = Arduino digital pin 5
•Sensor VCC = Arduino 5V
•D5 = Arduino digital pin 6
•Sensor GND = Arduino GND
•D6 = Arduino digital pin 7
•Sensor Trig = Arduino D10
•D7 = Arduino digital pin 8
•Sensoe Echo = arduino D9
•A = Arduino 5V
•K = Arduino GND
Code Overview
FLOW CHART

Sensor
Object
Start Checks for Yes
Detected?
Object

Display Increase
Count Counter
RESULTS
Applications
•Retail stores for customer tracking
•Office spaces for managing foot traffic
•Events for tracking attendees
CONCLUSTION

 This project successfully demonstrates how an ultrasonic sensor and


Arduino can work together to count visitors accurately. It's a cost-
effective and easy-to-build solution that can be used in various places
to monitor the number of people.
THANKYOU

You might also like