Posts

Showing posts from April, 2017

Visitor Counter

Image
This Arduino project will automate the lights of the room and also count the person in the rooms  it also have self-intelligence that if there is no body in the room it will turn of the light
for example if 3 person enters the room then three person should exit also to turn the lights off
  Material needed:- Arduino board2 IR sensor  Jumper wireChassis (optional) 
Connect the IR sensor output on pin 14&19 (I am using Arduino Mega that's why I have connected  it to 14&19 you can change it as your needs in the program)

and the connect led or Relay module on pin 2 (you can change this also as per your need)

Then upload the code  /* * This Code is For Visitor Counter * made by Diy-Areeb * http://bit.ly/diyareebyoutube */#definein7//defining the in sensor#defineout6//defining the out sensor #defineled13//you can connect relay module alsointcount=0;voidsetup(){Serial.begin(9600);//start Serial moniterSerial.println("Visitor Counter");//print the title of te projectdelay(2000);…