Bidirectional Visitor Counter System
Keywords:
Real-Time Systems, Finite State Machine, IoT, Smart Building, Embedded Systems, Occupancy Monitoring, Arduino UNO, IR Sensor, Bidirectional CounterAbstract
This paper presents the design and implementation of a Bidirectional Visitor Counter System using paired Infrared (IR) sensors and an Arduino UNO microcontroller. The system accurately tracks real-time room occupancy, displays the count on a 16×2 LCD, automates room lighting via a relay module, and triggers a buzzer and LED alert when the preset maximum occupancy is reached. A Finite State Machine (FSM) governs the direction-detection logic by analysing the sequential order in which two sensor beams are interrupted. Prototype testing over 100 trials achieved greater than 95% counting accuracy with zero LCD display errors, validating the system as a cost-effective, reliable, and extensible smart building solution at a total hardware cost under INR 800.
References
Arduino Project Hub, "DIY Bi-Directional Counter Using Arduino & IR Sensors," [Online]. Available: https://projecthub.arduino.cc. [Accessed: May 2026].
Techatronic, "Bidirectional Counter Using Arduino," [Online]. Available: https://techatronic.com. [Accessed: May 2026].
A. Mishra and R. Sharma, "IR Sensor Based Bidirectional People Counter," Int. J. Eng. Res. Technol., vol. 6, no. 4, Apr. 2017.
S. Agarwal and P. Verma, "Smart Room Occupancy Detection Using Embedded Sensors," in Proc. IEEE Conf. IoT, 2019, pp. 112–117.
N. Kumar, "FSM Based Directional People Counting System," J. Embedded Syst. Res., vol. 3, no. 2, 2020.
RGPV, Major Project Guidelines, Dept. ECE, Session 2025–26.
N. Dalal and B. Triggs, "Histograms of Oriented Gradients for Human Detection," in Proc. IEEE CVPR, vol. 1, 2005, pp. 886–893.
Espressif Systems, "ESP8266 Technical Reference," ver. 1.7, 2020. [Online]. Available: https://www.espressif.com.
T. E. Rahkonen and J. T. Kostamovaara, "IR Sensor Signal Processing for Human Detection," IEEE Sensors J., vol. 14, no. 8, pp. 2736–2744, Aug. 2014.
V. Viola and M. Jones, "Rapid Object Detection using a Boosted Cascade of Simple Features," in Proc. IEEE CVPR, 2001, pp. 511–518.
Downloads
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.




