Introduction: Bi-Directional Visitor Counter Using Single Ultrasonic Sensor With LCD on TinkerCad
Often we see visitor counters at the stadium, mall, offices, classrooms etc. Today we are here with a project with bidirectional visitor counter by using Arduino Uno. It is a very interesting project for hobbyists and students for fun as well as learning.
The project of “Digital visitor counter” is based on the interfacing of some components such as sensors, motors etc. with Arduino microcontroller. This counter can count people in both directions. This circuit can be used to count the number of persons entering a hall/mall/home/office in the entrance gate and it can count the number of persons leaving the hall by decrementing the count at the same gate or exit gate and it depends upon sensor placement in mall/hall. It can also be used at gates of parking areas and other public places.
Step 1: Components Required:
1. Arduino UNO
2. Breadboard
3. LCD 16*2
4. Ultrasonic sensor
5. Buzzer
6. Jumper wire
Step 2: Circuit Diagram:
I have used a single ultrasonic sensor for bi-directional visitor counter. Within 40 cm range, it will count how many visitors enter the room on a particular day. Whenever a person enters a room the buzzer will beep and there will be an increment in the integer to show the number of persons.After 40cm, the buzzer will beep again and there will be a decrement in the integer to show the number of persons left the room.
Ultrasonic trigger pin = 10;
Ultrasonic echo pin = 9;
buzzer = 6;
For LCD connections you can visit in the link given below:
Step 3: Code:
For credit, please follow my following accounts.
Thanks
For more interesting projects connect with me on:
Youtube:Techeor
Facebook page:techeor1
Instagram:official_techeor

Participated in the
Arduino Contest 2020
102 Comments
4 months ago
Great project!
Can you please share the code?
Thank you!
lamostejessamae9@gmail.com
3 years ago
Great project! Can you please share the code?
amanpreetsingh.asm@gmail.com
Reply 1 year ago
Sorry, can u send the code
Reply 3 years ago
Code has been shared thanks
2 years ago
Great project!
Can you send the code to glowmoondust@gmail.com please ? Thank you!
2 years ago on Step 2
Sir nice project could you please share the code .My mail id is
sarikatota@gmail.com
2 years ago
sir great project can you please share your code with me sir . my mail id is saiakshaya7117@gmail.com
2 years ago
Hello your project "Bi-Directional Visitor Counter Using Single Ultrasonic Sensor With LCD on TinkerCad" is such a great project. Can you share the code with me? Email me at dkarteu@gmail.com thank you very much!
Question 2 years ago
Please can u send me the code
My email id is
malothakhila2@gmail.com
2 years ago
can u send me the code
@nidhilulla14@gmail.com
2 years ago
Hi this is a great project, could you please send me the code?
Pallavipatel506@gmail.com
2 years ago
Hello Mudit5246
Great Job and So Nice, please help me send the code to muhammadabdulrahman222@gmail.com. Thanks a lot
2 years ago
Hi, i`m from Ukraine
Great project.
CAn you share the code? abcmetalista6@gmail.com
2 years ago
Nice work helps me understood more about arduino. Can you please share the code for this to @amenecersilva05@gmail.com
Question 2 years ago
Great work and educational! Can you please share the code for this to shyams76@gmail.com.
2 years ago on Step 3
Hello, great project! can you please share the code with me. Thank you
Reply 2 years ago
anoushkaprmr@gmail.com
Question 3 years ago on Step 3
Würden Sie mir bitte den Code senden.?
Vielen Dank
nearfred00@gmail.com
Answer 3 years ago
Please share your email id
3 years ago
Hi,
Good project...can send the coding please. taneshparamalingam@gmail.com