Vous êtes sur la page 1sur 12

Sensors and

Instrumentation

Visitor Counting
Project
“VISITOR COUNTING PROJECT”

PROJECT REPORT
Submitted for the course- Sensors and Instrumentation
(ECE1005)

By
(Name of the Students with Registration Numbers)
AKSHAT MATHUR 18BEC0880
PRANAV CHAUDHARY 18BEC0902
PRAKHAR SHUKLA 18BEC0903
SLOT: TB1

Name of Faculty- MUTHU RAJA S


(SCHOOL OF ELECTRONICS ENGINEERING)

CERTIFICATE
This is to certify that the project work entitled “Visitor Counting” that
is being submitted by a group of three candidates for Sensors and
Instrumentation (ECE1005) is a record of bonafide work done under
my supervision. The Contents of this Project work, in full or in parts,
have neither been taken from any other source nor have been submitted
for any other CAL course.

Place: Vellore
Signature of Students:
AKSHAT MATHUR
PRANAV CHAUDHARY
PRAKHAR SHUKLA

Signature of Faculty: Prof. MUTHU RAJA S

ACKNOWLEDGEMENTS
This report would not have been possible without the essential
And gracious support of Mr. MUTHU RAJA S sir. His
willingness to motivate us contributed tremendously to our report.
We also would like to thank him for showing us some examples
related to the topic of report. He encouraged all of us even when we
had any sort of obstacles or difficulties and guided through it. It
couldn’t be possible without him. He inspired us and gave thoughtful
ideas and innovative hints which paid dividends to our project.
Besides we would like to thank the authority of VIT UNIVERSITY for
providing us the good environment and facilities to complete this
report. Also, we would like to thank them for offering this subject. It
gave us an opportunity to participate and learn which could be fruitful
for our future and carrier. Finally, we would like to thank our family
and friends for their support and understanding towards our project as
without their help we couldn’t even possibly have had been able to
finish our assignment.

AKSHAT MATHUR
PRANAV CHAUDHARY
PRAKHAR SHUKLA

ABSTRACT
This is a project developed with a sense of all-round security of
a living area. The “Visitor Counting and room light and fan
controlling” model includes all those essential components that
can sense the presence of any living being (human or animals)
in a compartment. It is an Arduino controlled circuit which uses
IR sensor modules to detect the existence of any individual and
counts the frequency of the human beings.
We will be using IR sensor modules (emits IR to sense some
aspects of the surroundings). Infrared waves are not visible to
the human eye. In the electromagnetic spectrum, infrared
radiation can be found between the visible and microwave
regions. The infrared waves typically have wavelengths
between 0.75 and 1000µm.

The transmitter section includes an IR sensor, which transmits


continuous IR rays to be received by an IR receiver module.
Therefore, it contains a LED which transmits the IR rays and it
is received by the photo diode of the same IR sensor. Whenever
there is any sort of disturbance in the flow of the above process
the module counts each disturbance as a single count.

AIM
To make a smart room sensor which uses a sensor
module and displays the count of the people in the
room.
MATERIALS REQUIRED

1. Arduino UNO R3 development board


2. Sensor module (infrared LED, photodiode)
3. Jumper wires
4. Potentiometer
5. Bread board
6. 16 X 2 LCD display
7. Buzzer

ABOUT COMPONENTS:
 THE BRAIN OF THE PROJECT- ARDUINO

Arduino is an open-source electronics platform based on easy-to-use hardware


and software. Arduino boards are able to read inputs - light on a sensor, a finger
on a button, or a Twitter message - and turn it into an output - activating a motor,
turning on an LED, publishing something online. We can tell the board what to
do by sending a set of codes to the board. We use the Arduino software (IDE) to
do the same.

 SENSOR MODULE:
An infrared sensor is an electronic device that emits in order to sense some aspects
of the surroundings. An IR sensor can measure the heat of an object as well as
detects the motion. The radiations are invisible to our eyes, which can be detected
by an infrared sensor. The emitter is an IR LED (Light Emitting Diode) and the
detector is an IR photodiode which is sensitive to IR light of the same wavelength
as that emitted by the IR LED.

 LCD (liquid crystal display)


Liquid Crystal Display screen is an electronic display module and find a wide
range of applications. A 16x2 LCD display is very basic module and is very
commonly used in various devices and circuits. These modules are preferred over
seven segments and other multi segment LEDs. The reasons being: LCDs are
economical; easily programmable; have no limitation of displaying special &
even custom characters (unlike in seven segments), animations and so on. A 16x2
LCD means it can display 16 characters per line and there are 2 such lines. In this
LCD each character is displayed in 5x7 pixel matrix. This LCD has two registers,
namely, Command and Data. The command register stores the command
instructions given to the LCD. A command is an instruction given to LCD to do
a predefined task like initializing it, clearing its screen, setting the cursor position,
controlling display etc. The data register stores the data to be displayed on the
LCD. The data is the ASCII value of the character to be displayed on the LCD

CODE:
#include<LiquidCrystal.h>
LiquidCrystal lcd(2,3,4,5,6,7);

#define in 8
#define out 9
#define Buzzer 10

int count=0;

void setup()
{
lcd.begin(16,2);
lcd.print("Welcome to Event");
delay(2000);
pinMode(in, INPUT);
pinMode(out, INPUT);
pinMode(Buzzer, OUTPUT);
lcd.clear();
lcd.print("Person In Audi.:");
lcd.setCursor(0,1);
lcd.print(count);
}

void loop()
{
int in_value = digitalRead(in);
int out_value = digitalRead(out);
if(in_value == LOW)
{

count++;

lcd.clear();
lcd.print("Person In Audi.");
lcd.setCursor(0,1);
lcd.print(count);
delay(1000);

if(out_value == LOW)
{
void setup()
{
pinMode(7,OUTPUT);
lcd.begin(16,2);
lcd.print("Visitor
Counter"); delay(2000);
pinMode(in, INPUT);
pinMode(out, INPUT);
pinMode(relay,
OUTPUT); lcd.clear();
lcd.print("Person In Room:");
lcd.setCursor(0,1); lcd.print(count);
}
void loop()
{

if(digitalRead(in))
IN();
if(digitalRead(out))
OUT();

if(count<=0)
{
lcd.clear();
digitalWrite(relay, LOW);
lcd.clear();
lcd.print("Nobody In Room");
lcd.setCursor(0,1);
lcd.print("Light Is Off");
delay(200);
digitalWrite(7,LOW);
}

else{ digitalWrite(relay,
HIGH);
digitalWrite(7,HIGH);
} }
DESIGN DETAILS:

WORKING OF IR SENSOR:
• The IR sensor continuously senses the presence of any obstacles.
• If sensor 1 senses the person it informs controller that a person has entered
so that controller can increment the count. At the same time it gives a delay,
so that the person can cross the sensor 2 and the count maintained correctly.
• When a person exits the sensor 2 informs the controller to decrement the
count. Similarly it also provides a delay to maintain count properly.
• The count is displayed on the LCD by the controller.

CIRCUIT DIAGRAM:
APPLICATIONS AND ADVANTAGES
1. Can be used in various rooms like seminar hall, where the capacity of
room is limited and should not be exceeded. Project will display the
actual number of persons inside the room.
2. Can be used in conference room, study rooms in colleges.
FUTURE DEVELOPMENT
1. We can send this data to a remote location using mobile or internet

2. Voice alarm system can be added to indicate that room is full & persons
can’t enter inside

REFERENCES:
1. https://circuitdigest.com/
2. https://www.arduino.cc/
3. http://www.gadgetronicx.com/visitor-counter-project-using-arduino/
4. https://www.wikipedia.org/
5. http://www.electronicshub.org/

Vous aimerez peut-être aussi