Introduction: Visitor Counter Using Arduino

It's my first instructable. I'm sorry if I missed something.

Project :

A Visitor Counter is a system made for managing rooms/places
efficiently. This system consist of an Arduino(controller) which will process the information. Infrared sensors which gives input as entry/exit to the controller. Relay module which acts as a switch for lights and a display which will show status/information outside the room.

This system is able to keep the count of people inside room. If anyone enters room, lights will be turned on. If everyone leaves the room, lights will be turned off. This system not just only counts how many people entered, but also how many people exited the room. So, we get correct information. The display outside room will show the count of people, notification if room is full and Light status as on/off.


  1. Arduino Uno
  2. Infrared sensor(IR sensor)
  3. 16X2 LCD Display
  4. Relay Module
  5. Breadboard
  6. Jumper wires
  7. LED
  8. 10k Pot

Step 1: Connections

Connect all devices as shown in the diagram using jumper wires.

Step 2: Coding

First download LiquidCrystal library from Here.

Open Arduino IDE software and Sketch-> include library -> add .zip library.

Browse and select the downloaded liquid crystal library.

Add the given code to sketch and upload.