Visitor Counter Using Arduino


Here we make Bidirectional Visitor Counter using Arduino and IR sensor. You can also make automatic room light controller with visitor counter using Arduino.



PARTS NEED FOR VISITOR COUNTER

IR SENSOR (INFRARED SENSOR)


You can see the basic hardware structure of the IR Sensor below.

This IR Sensor is consist of two LED Lights. 
  • White: Transmit the IR rays
  • Black: Receive the IR ray
IR Sensor is Digital type sensor, so Its output is high or low.
How IR Sensor Works
As we give power to IR Sensor using Arduino at that time White LED light is transmitted the IR rays. This IR ray is strike with the object, it will reflect back and received at black LED light. As this phenomenon occur IR Sensor Produce Low or High Voltage at output pins. It depends on what type of sensor you choose. 
Your Programming is depended on which type of sensor you choose. So you need to check it out.
  • Active High Sensor: Output is High
  • Active Low Sensor: Output is Low
Condition for Working IR Sensor
  1. IR Sensor doesn’t work with Black color objects, because black color is absorbed the transmitted rays fully
  2. The object must pass in the range of IR Sensor, You can adjust the intensity of IR rays by distance adjust button
  3. IR Sensor doesn’t open directly to the sun

CIRCUIT DIAGRAM OF VISITOR COUNTER USING ARDUINO


Here is the Circuit diagram follow it.

CODE

If you are confused to make it then you can see that below video tutorial for more visualization.

0 Comments