ABSTRACT
This paper presents the design and construction of a digital bidirectional visitor counter (DBVC).
The DBVC is a reliable circuit that takes over the task of counting number of persons / visitors in the
room very accurately and beeps a warning alarm when the number of visitors exceeds the capacity
limit of the auditorium/hall. When somebody enters the room then the counter is incremented by one
(+1) and when any one leaves the room then the counter is decremented by one (-1). The total
number of persons inside the room is also displayed on the LCD (Liquid Crystal Display).
The microcontroller is used for detecting an entry or exit action and computing the figures (addition
and subtraction) to acquire accurate results. It receives the signals from the sensors, and this signal is
operated under the control of embedded programming code which is stored in ROM of the
microcontroller. The microcontroller continuously monitors the Infrared Receivers. When any object
pass through the IR Receiver's then the IR Rays falling on the receivers are obstructed.
The obstruction occurs under two circumstances, either you obstruct sensor 1 (i.e. outside the
building) before sensor 2 (i.e. which is inside the building) this shows that you are entering the
building or you do it the other way round, which is obstructing sensor 2 before sensor 1 to indicates
an exit movement. This obstruction is sensed by the Microcontroller, computed and displayed by a
16x2 LCD screen.
Keywords: Digital bidirectional visitor counter, IR Rays/Receivers, Microcontroller, Liquid Crystal
Display and Circuit.