Regularly we see Visitor counters at arena, shopping center, workplaces, study halls and so forth How they tally individuals and turn ON or OFF the light when no one is inside? Today we are here with programmed room light regulator project with bidirectional Visitor counter by utilizing Arduino Uno. It is exceptionally fascinating undertaking for specialists and understudies for no particular reason just as learning.
The task of “Advanced Visitor counter” depends on the interfacing of certain segments like sensors, engines and so on with Arduino microcontroller. This counter can include individuals in the two ways. This circuit can be utilized to check the quantity of people entering a corridor/shopping center/home/office in the passageway door and it can tally the quantity of people leaving the lobby by decrementing the tally at same entryway or leave entryway and it relies on sensor arrangement in shopping center/lobby. It can likewise be utilized at doors of stopping zones and other public spots.
This undertaking is partitioned in four sections: sensors, regulator, counter presentation and door. The sensor would notice an interference and give a contribution to the regulator which would run the counter augmentation or decrement relying upon entering or leaving of the individual. Furthermore, tallying is shown on a 16×2 LCD through the regulator.
At the point when any one goes into in the room, IR sensor will get hindered by the article then other sensor won’t work since we have added a deferral for some time.
Arduino Bidirectional Visitor Counter
There are a few segments of entire Visitor counter circuit that are sensor area, control segment, show segment and driver segment.
Sensor area: In this part we have utilized two IR sensor modules which contain IR diodes, potentiometer, Comparator (Op-Amp) and LED’s. Potentiometer is utilized for setting reference voltage at comparator’s one terminal and IR sensors sense the item or individual and give an adjustment in voltage at comparator’s subsequent terminal. At that point comparator thinks about the two voltages and produces a computerized signal at yield. Here in this circuit we have utilized two comparators for two sensors. LM358 is utilized as comparator. LM358 has inbuilt two low clamor Op-amp.
Circuit Diagram of Bidirectional Visitor Counter
The output of IR Sensor Modules are straightforwardly associated with Arduino advanced pin number 14(A0) and 19(A5). Furthermore, Relay driver semiconductor at advanced pin 2. LCD is associated in 4 digit mode. RS and EN pin of LCD is straightforwardly associated at 13 and 12. Information pin of LCD D4-D7 is likewise straightforwardly associated with Arduino at D11-D8 separately. Rest of associations are appeared in the beneath circuit graph.
Bidirectional Visitor Counter
List of Bidirectional Visitor Counter Component :
- Arduino UNO
- Relay (5v)
- IR Sensor module
- 16×2 LCD display
- Bread Board
- Connecting Wires
- BC547 Transistor
Arduino UNO is utilized for controlling entire the cycle of this Visitor counter task. The yields of comparators are associated with advanced pin number 14 and 19 of Arduino. Arduino read these signs and send orders to hand-off driver circuit to drive the transfer for light controlling. On the off chance that you discover any trouble in working with transfer, look at this instructional exercise on Arduino hand-off control to study working hand-off with Arduino.