Visitor capacity management in libraries requires accurate monitoring to ensure comfort and safety. This study designed a people counter simulator and automatic access controller at the Darul Ulum Amban Mosque Library Building. The system uses an Arduino Uno microcontroller as the control center and two US-015 ultrasonic sensors installed sequentially at the entrance and exit to detect visitor movement direction. The visitor count is displayed in real-time via a 16x2 LCD with a maximum capacity limit of 15 people. When capacity is reached, the system provides a multi-modal response by automatically closing the portal using a servo motor, activating a buzzer, and turning on an LED as a warning indicator. Test results show that the ultrasonic sensors work optimally within a range of 1 cm to 65 cm with adequate accuracy. Electrical power measurements show very efficient system consumption of 2.29 Watts. With a total manufacturing cost of approximately IDR 499,000, this system proves to be an economical, accurate, and effective solution for replacing manual counting and preventing room overcrowding.
Copyrights © 2026