Experiment 6
Experiment 6
• The term passive refers to the fact that PIR devices do not radiate
energy for detection purposes.
• PIR sensors detect general movement, hence used for motion detection.
2
Symbolic Representation
• Every object emits low-level radiation, and for hotter object more radiation is emitted.
• A pyroelectric sensor consists of a window with two rectangular slots (two halves). They
allows infrared radiation to pass through them.
• There are two separate infrared sensor electrodes, one responsible for producing the
positive output and the other for producing the negative output.
• When one slot detects more or less IR radiation than other, it means motion is detected
(logic HIGH).
• When change is not detected, both slots has same IR radiation. These two outputs will
cancel each other which means motion is not detected (logic LOW).
5
Working Principal of PIR Sensor
6
Construction of HC-SR501 PIR sensor
H Mode
8
Aim
● The main objective of this experiment is
9
Circuit Connections: Objective 6(a)
10
Program: Objective 6(a)
int PIRSensor = 4; If (PIRSensorState == HIGH)
int PIRSensorState; {
void setup() Serial.println(“Motion detected");
{ }
pinMode(PIRSensor, INPUT);
Serial.begin(9600); else
} {
Serial.println(“Motion not detected");
void loop() }
{
PIRSensorState = digitalRead(PIRSensor); }
Serial.print("PIR Sensor Output = ");
Serial.println(PIRSensorState);
delay(2000);
11
Circuit Connections: Objective 6(b)
12
Circuit Connections: Objective 6(c)
13
Self Assessment Questions
14
THANK YOU