Design and Development of an Automatic Visitor Entry and Exit Counting System Using Dual PIR Sensors

Authors

DOI:

https://doi.org/10.31848/justise.v4i1.5028

Keywords:

LCD, PIR Sensor, Arduino Uno

Abstract

This study aims to design and build an automated visitor counting system based on the Arduino Uno microcontroller, utilizing Passive Infrared (PIR) sensors for motion detection. The system employs two PIR sensors installed at the entrance and exit to detect the direction of visitor movement, thereby enabling the real-time differentiation of incoming and outgoing individuals. Data is processed by the microcontroller and displayed on an LCD screen, which serves as the primary information interface, while LED indicators signal the room's occupancy status. The research methodology encompasses hardware design, mechanical design, system implementation, and performance testing. Test results demonstrate that the system operates with a success rate of approximately 90% in accurately detecting and counting visitors. PIR sensor performance is influenced by distance and environmental conditions, with detection accuracy decreasing as the distance to the object increases. Consequently, the developed system offers an efficient, real-time, and automated solution for monitoring visitor numbers in various public space applications.

References

L. Suhery, N. Noviardi, and Y. Marlisa, “Rancang Bangun Sistem Penghitung Pengunjung Menggunakan Arduino Uno dan Sensor Ultrasonic,” J. Pustaka AI (Pusat Akses Kaji. Teknol. Artif. Intell., vol. 2, no. 2, pp. 64–68, 2023, doi: 10.55382/jurnalpustakaai.v2i2.368.

L. C. Ratri, H. Fitriyah, and W. Kurniawan, “Deteksi Jumlah Penghuni Pada Ruangan Berpintu Untuk Smart Home Berbasis Arduino dan Sensor PIR,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 2, no. 1, pp. 36–43, 2020, [Online]. Available: https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/download/688/271/

R. Adrian Pangestu et al., “PT. Media Akademik Publisher PERUBAHAN PERAN MANUSIA DALAM LAYANAN PELANGGAN AKIBAT ADOPSI AI,” J. Media Akad., vol. 3, no. 12, pp. 1–12, 2025.

Gatot Herry Djatmika, “Tartib: Jurnal of Educational Management,” Tartib J. Educ. Manag., vol. 4, no. April, pp. 1–26, 2025, [Online]. Available: https://jurnal.darussalamuniversity.ac.id/index.php/TARTIB

J. Penerapan, T. Informasi, A. Dan, and S. Ultrasonik, “IT-EXPLORE,” vol. 02, pp. 104–117, 2023.

S. P. Agustanti, H. Hartini, N. Nurhayani, and D. D. Hartanto, “Aplikasi Mikrokontroler Arduino Uno Dalam Rancang Bangun Kunci Pintu Menggunakan E-Ktp,” Jusikom J. Sist. Komput. Musirawas, vol. 7, no. 1, pp. 74–88, 2022, doi: 10.32767/jusikom.v7i1.1611.

A. K. Permana and A. Rachmawan, “Studi Komparasi Platform Open-Source Internet of Things,” J. Teknol. dan Manaj., vol. 21, no. 1, pp. 43–48, 2023, doi: 10.52330/jtm.v21i1.38.

T. Marjuni, B. Hartawan, R. Efriyo Agung, T. R. Ojahan, A. Ansyori, and A. Prastyo, “Penerapan Sistem Otomasi Serta Sosialisasi Teknologi Otomasi Berbasis Arduino,” Japma, vol. 5, no. 1, pp. 369–375, 2025.

D. Gusmalawati1 and Z. A. , Rodiyati Azrianingsih2, 3, “G-Tech : Jurnal Teknologi Terapan,” G-Tech J. Teknol. Terap., vol. 6, no. 2, pp. 100–109, 2022.

I. W. Suriana, Ahmad Feldiansah, I Wayan Sugara Yasa, and I Wayan Dikse Pancane, “Rancang Bangun Alat Penghitung Pengunjung Berbasis Arduino Atmega328,” J. Inform. dan Rekayasa Elektron., vol. 6, no. 2, pp. 155–161, 2023, doi: 10.36595/jire.v6i2.838.

M. Yakob, H. Saputra, R. A. Putra, and B. A. Uno, “Design a System for Calculating the Number of People Passing Using the Arduino Uno Based PIR ( Passive Infrared Receiver ) Sensor Rancang Bangun Sistem Penghitung Jumlah Orang Melewati Pintu Mengg,” J. Pendidik. Fis. Univ. Muhammadiyah Makassar, vol. 7, no. 3, pp. 271–276, 2017.

Refida Septiana Putri, Firman Nur Hidayat, Sony Subagyo, and Kuat Indartono, “Rancang Bangun Sistem Otomatisasi Lampu dan AC Berbasis IoT Menggunakan Sensor PIR dan IR Transmitter,” Elektrika, vol. 17, no. 2, pp. 81–87, 2025, doi: 10.26623/elektrika.v17i2.12547.

Fahmawaty, “Perancangan Alat Penghitung Jumlah Pengunjung Di Perpustakaan Unis Tangerang Menggunakan Sensor Pir Berbasis IoT,” JIMTEK J. Ilm. Fak. Tek., vol. 1, no. 3, pp. 253–261, 2020, [Online]. Available: http://ejournal.unis.ac.id/index.php/jimtek/article/download/1124/Mega/

H. Darmanto, L. Lamsadi, and H. Asrul, “Monitoring Ketinggian Air Tandon Berbasis IoT Dengan ESP32 Melalui Website,” JUSTER J. Sains dan Terap., vol. 4, no. 2, pp. 67–73, 2025, doi: 10.57218/juster.v4i2.1507.

L. O. M. A. Hidayat, D. K. Sutiari, and R. U. Kasih, “PROTOTYPE VITAL SIGN MONITOR PORTABEL (PARAMETER HEART RATE & SpO2),” Bakti Cendekia, vol. 2, no. 1, pp. 167–175, 2025, [Online]. Available: https://jurnal.ichisultra.or.id/index.php/bakticendekia/article/view/14

Downloads

Published

2026-06-26