Professional Documents
Culture Documents
Submitted
In partial fulfillment
Bachelor of Technology
17EWEEC005
ANITA CHOUHAN
AJMER,RAJASTHAN
CERTIFICATE
I hereby declare that the work, which is being presented in the Project Report,
entitled “Contactless Temperature Detector & Automatic Door Open for Covid
Safety” in partial fulfillment for the award of Degree of “Bachelor of Technology”
in Dept. of Computer Science and submitted to the Department of Computer
Science & Engineering. St. Wilfred’s Institute of Engineering & Technology,
Rajasthan Technical University is a record of my own investigations carried under
the Guidance of Mr. Mangi Lal Sir , Department of Computer Science &
Engineering & Technology.
I have not submitted the matter presented in this Major Project any where for
the award of any other Degree.
ANITA CHOUHAN
17EWECS002
Counter Signed by
HARDWARE SOFTWARE
REQUIREMENTS: REQUIREMENTS :
• Arduino UNO R3 Language: Arduino
• LCD 1602A Software
• PIR Sensor Language : C
• Contactless Temperature C++
Sensor GY-906
• Connecting wires
• Bread board
• 220 ohm resistor
• Power supply
• LED Diode
• Servo Motors
BLOCK DIAGRAM :
PIR sensors allow you to sense motion, almost always used to detect whether a
human has moved in or out of the sensors range. They are small, inexpensive,
low-power, easy to use and don't wear out. For that reason they are commonly
found in appliances and gadgets used in homes or businesses. They are often
referred to as PIR, "Passive Infrared", "Pyroelectric", or "IR motion" sensors.
OVERVIEW
PIR sensors allow you to sense motion, almost always used to detect whether a
human has moved in or out of the sensors range. They are small, inexpensive,
low-power, easy to use and don't wear out. They are often referred to as PIR,
"Passive Infrared", "Pyroelectric", or "IR motion" sensors. PIRs are basically made
of pyro electric sensor which can detect levels of infrared radiation. Everything
emits some low-level radiation, and the hotter something is, the more radiation
is emitted. The sensor in a motion detector is actually split in two halves. The
reason for that is that we are looking to detect motion (change) not average IR
levels. The two halves are wired up so that they cancel each other out. If one half
sees more or less IR radiation than the other, the output will swing high or low.
Along with the pyroelectric sensor is a bunch of supporting circuitry, resistors
and capacitors. Some PIR Sensors use the BISS0001 (Micro power PIR Motion
detector IC) which is very inexpensive chip. This chip takes the output of the
sensor and does some minor processing on it to emit a digital output pulse from
the analog sensor. PIR sensors are cheap, consumes low power, have a wide lens
range, and are easy to interface
• We have already seen in the Arduino PIR Sensor Tutorial about how a PIR
Sensor Works and how to interface a PIR Sensor to an Arduino.
Features:
• Low power CMOS technology (ideal for battery operated PIR devices)
• CMOS high input impedance operational amplifiers
• Bi-directional level detector / Excellent noise immunity
• Built-in Power up disable& output pulse control logic
• Dual mode: retriggerable & non-retriggerable
HOW PIRs WORK :
The PIR sensor itself has two slots in it, each slot is made of a special material that
is sensitive to IR. When the sensor is idle, both slots detect the same amount of
IR, the ambient amount radiated from the room or walls or outdoors. When a
warm body like a human or animal passes by, it first intercepts one half of the PIR
sensor, which causes a positive differential change between the two halves.
When the warm body leaves the sensing area, the reverse happens, whereby the
sensor generates a negative differential change. These change pulses are what is
detected.
INFRARED TEMPERATURE SENSOR GY-906 MLX90614
TEMPERATURE SENSOR
ARDUINO UNO R3 :
The Arduino Uno is a microcontroller board based on the ATmega328 It has 14
digital input/output pins (of which 6 can be used as PWM outputs), 6 analog
inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP
header, and a reset button. It contains everything needed to support the
microcontroller; simply connect it to a computer with a USB cable or power it
with a AC-to-DC adapter or battery to get started.
ARDUINO UNO R3 :
int contrast=120;
LiquidCrystal lcd(12,11,5,4,3,2);
#include <Servo.h>
#include <Wire.h>
#include <Adafruit_MLX90614.h>
//LiquidCrystal_I2C lcd(0*27,16,2);
Servo myservo1;
Servo myservo2;
#define red 13
#define haha 4
int pos1,pos2;
void setup() {
Serial.begin(9600);
pinMode(red,OUTPUT);
pinMode(haha,INPUT);
myservo1.attach(7);
myservo2.attach(8);
myservo1.write(90);
myservo2.write(90);
mlx.begin();
analogWrite(6,contrast);
lcd.begin(16,2);
}
void loop() {
if(montion == 1){
Serial.print("made");
Serial.print("\n");
// lcd.setCursor(0,0);
//lcd.print("ObjectTemp:");
kaiguan();
void kaiguan(){
Serial.print(temp_obj);
Serial.print("\n");
lcd.setCursor(0,0);{
lcd.print(temp_obj);}
lcd.setCursor(0,1);{
lcd.print("Not detected!");}
}if(temp_obj > 30 && temp_obj <38){
lcd.setCursor(0,0);{
lcd.print("temp_obj");}
lcd.setCursor(0,1);{
myservo1.write(pos1);
myservo2.write(180-pos1);
delay(15);
delay(5000);
myservo1.write(pos1);
myservo2.write(180-pos1);
delay(50);
if(temp_obj>37){
digitalWrite(red,HIGH);
lcd.setCursor(0,0);{
lcd.print("temp_obj");}
lcd.setCursor(0,1);{
delay(500);
}
digitalWrite(red,LOW);
void setup() {
Serial.begin(9600);
pinMode(irPin1, INPUT);
pinMode(irPin2, INPUT);
analogWrite(6,contrast);
lcd.begin(16,2);
void loop() {
outsideIr=true;
delay(100);
i++;
state1 = false;
outsideIr=true;
delay(100);
i=1;
count++;
Serial.println(count);
state2 = false;
//lcd.print(
outsideIr=true;
delay(100);
i=2;
state2 = false;
outsideIr=true;
delay(100);
count--;
Serial.println(count);
i = 1;
state1 = false;
if (digitalRead(irPin1)){
state1 = true;
}
if (digitalRead(irPin2)){
state2 = true;
lcd.setCursor(0,0);
{lcd.print("person enter");
lcd.scrollDisplayLeft();
delay(500);
lcd.setCursor(0,1);
lcd.print("person out");
lcd.scrollDisplayLeft();
delay(500);
}
LCD 1602A DISPLAY
LCD1602, or 1602 character-type liquid crystal display, is a kind of dot matrix
module to show letters, numbers, and characters and so on. It's composed of 5x7
or 5x11 dot matrix positions; each position can display one character. There's a
dot pitch between two characters and a space between lines, thus separating
characters and lines. The model 1602 means it displays 2 lines of 16 characters.
Generally, LCD1602 has parallel ports, that is, it would control several pins at the
same time. LCD1602 can be categorized into eight-port and four-port
connections. If the eight-port connection is used, then all the digital ports of the
SunFounder Uno board are almost completely occupied. If you want to connect
more sensors, there will be no ports available. Therefore, the four-port
connection is used here for better application.
A servo motor is a rotary actuator that allows for precise control of angular
position. It consists of a motor coupled to a sensor for position feedback. It also
requires a servo drive to complete the system. The drive uses the feedback sensor
to precisely control the rotary position of the motor.
.
SERVO MOTOR
LED DIODE
A light-emitting diode (LED) is a semiconductor light source that emits light
when current flows through it. Electrons in the semiconductor recombine
with electron holes, releasing energy in the form of photons. The color of the light
(corresponding to the energy of the photons) is determined by the energy
required for electrons to cross the band gap of the semiconductor. White light is
obtained by using multiple semiconductors or a layer of light-emitting phosphor
on the semiconductor device.
LED DIODE
RESISTOR
A resistor is a passive two-terminal electrical component that
implements electrical resistance as a circuit element. In electronic circuits,
resistors are used to reduce current flow, adjust signal levels, to divide
voltages, bias active elements, and terminate transmission lines, among other
uses. High-power resistors that can dissipate many watts of electrical power as
heat, may be used as part of motor controls, in power distribution systems, or as
test loads for generators. Fixed resistors have resistances that only change
slightly with temperature, time or operating voltage. Variable resistors can be
used to adjust circuit elements (such as a volume control or a lamp dimmer), or
as sensing devices for heat, light, humidity, force, or chemical activity.
Resistors are common elements of electrical networks and electronic circuits and
are ubiquitous in electronic equipment. Practical resistors as discrete
components can be composed of various compounds and forms. Resistors are
also implemented within integrated circuits.
RESISTOR
BREAD BOARD
A breadboard, or protoboard, is a construction base
for prototyping of electronics. Originally the word referred to a literal bread
board, a polished piece of wood used when slicing bread. [1] In the 1970s
the solderless breadboard (a.k.a. plugboard, a terminal array board) became
available and nowadays the term "breadboard" is commonly used to refer to
these.
Because the solderless breadboard does not require soldering, it is reusable. This
makes it easy to use for creating temporary prototypes and experimenting with
circuit design. For this reason, solderless breadboards are also popular with
students and in technological education. Older breadboard types did not have
this property. A stripboard (Veroboard) and similar prototyping printed circuit
boards, which are used to build semi-permanent soldered prototypes or one-offs,
cannot easily be reused. A variety of electronic systems may be prototyped by
using breadboards, from small analog and digital circuits to complete central
processing units (CPUs).
Firmware is then developed for the MCU to test, debug, and interact with the
circuit prototype.
High frequency operation is then largely confined to the SoC's PCB. In the case of
high speed interconnects such as SPI and I²C, these can be debugged at a lower
speed and later rewired using a different circuit assembly methodology to exploit
full-speed operation.
A single small SoC often provides most of these electrical interface options in a
form factor barely larger than a large postage stamp, available in the American
hobby market (and elsewhere) for a few dollars, allowing fairly sophisticated
breadboard projects to be created at modest expense.
• In hospitals and scientific labs, automatic doors can be used to secure an
area by ensuring that the doors are shut at all times, while reducing the risk
of cross-contamination since people do not need to handle the doors to
pass through them.
DIADVANTAGE
Cannot used for security purpose.
FUTURE DEVELOPMENT
Can be ftrther used in security systems by implementing tinger print on it. Fans
air conditioner- curtains- control can be added alons with automatic door.
CONCLUSION
This project is a simple design of Contactless Temperature Detector and
Automatic Door Open for Covid Safety where Temperature sensor and PIR sensor
serves the main input function and here arduino uno is microcontroller based.
Thus, we can conclude that this is a simple and low cost architecture of
contactless temperature detector and automatic door open for covid safety
system but having lots of benefits such as we can conserve energy , reduce human
efforts, save time etc.
References
https://www.robotix.in/
https://learn.adafruit.com/pir-passive-infrared-proximity-motion-sensor/
http://circuitdigest.com/microcontroller-projects/automatic-door-opener-projectusing-arduino/