Passive Infrared Sensor (PIR)

IR 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.

Quick Spec

  • Supply Voltage: 5-20V
  • Standby Current: 50μA
  • Detect angle:110 Degree
  • Detect distance:7 meters
  • Size:28mm×36mm
  • Weight:25g

Pinouts

Passive Infrared pinouts
HC-SR501-008

Sample Code

Connect Sensor (Pin 2) to Arduino (Pin 2)

int pirPin = 2;         //digital 2

void setup(){
 Serial.begin(9600); 
 pinMode(pirPin, INPUT);
}

void loop(){
  int pirVal = digitalRead(pirPin);

  if(pirVal == LOW){       //Was motion detected
    Serial.println("Motion Detected"); 
    delay(2000); 
  }
}

Resources

Shipping List

  • 1 x Passive Infrared Sensor (PIR)


Passive Infrared Sensor (PIR)

  • Brand: Generic
  • Product Code: HC-SR501
  • Weight: 0.008kg
  • Product Status : Active
  • Stock

    Warehouse Stock Status Location
    Centurion In Stock UG151+UG152
    Stellenbosch In Stock J4050 / J4051 / J4052
    Bulk Location No Stock

    We ship free of charge between branches to complete your order.

  • R24.00 (Inc Tax: R27.60)


Related Products

Sparkfun Sound Detector

Sparkfun Sound Detector

Sparkfun Sound Detector - New Version The SparkFun Sound Detector is a small and very easy to use audio sensing board with three different outputs. The Sound Detector not only provides an audio outpu..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: SEN-14262
Product Status : Active

R218.00 (Inc Tax: R250.70)

Magnetometer 3-Axis with Voltage Regulator

Magnetometer 3-Axis with Voltage Regulator

Magnetometer 3-Axis with Voltage Regulator A Magnetometer is a instrument used for measuring magnetic forces, especially the earth's magnetism. This module is a carrier/breakout board for the ST LI..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: 2737
Product Status : Active

R164.00 (Inc Tax: R188.60)

Passive Infrared Motion Sensor, Corridor Light Control, Load 220V 40W

Passive Infrared Motion Sensor, Corridor Light Control, Load 220V 40W

Passive Infrared Motion Sensor, Corridor Light Control, Load 220V 40W IR sensors allow you to sense motion, almost always used to detect whether a human has moved in or out of the sensors range. Th..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: PIR-220V
Product Status : Active

R78.00 (Inc Tax: R89.70)

PIR Switch 2155 VIN 5-24V

PIR Switch 2155 VIN 5-24V

PIR Switch 2155 VIN 5-24V IR 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 t..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: PIR2155-524
Product Status : Active

R98.00 (Inc Tax: R112.70)

IR PL-N823 Breakout - Qwiic

IR PL-N823 Breakout - Qwiic

IR PL-N823 Breakout - Qwiic This board utilizes Kemet Corporation’s lensless passive infrared sensor, PL-N823. It uses the pyroelectric effect of ceramic by absorbing infrared rays emitted from the h..

Centurion (In Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: SPX-15804
Product Status : Active

R398.00 (Inc Tax: R457.70)

Mini Passive Infrared Motion Sensor PIR

Mini Passive Infrared Motion Sensor PIR

Mini Passive Infrared Motion Sensor PIR This mini PIR sensor based on MH-SR602 is ideal for detecting movement at a distance of 0 to 3.5m. This module has high sensitivity, fast response, low stati..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: SR602
Product Status : Active

R24.00 (Inc Tax: R27.60)

Sonoff SNZB-03 - Zigbee Motion Sensor

Sonoff SNZB-03 - Zigbee Motion Sensor

Sonoff SNZB-03 - Zigbee Motion Sensor This ZigBee motion sensor is an extra-handy smart device for placing anywhere in your home to detect motion and trigger alarms. That means the sensor will send a..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: 6920075776119
Product Status : Active

R228.00 (Inc Tax: R262.20)

PIR Sensor, 9-24V, Relay Output,  Ceiling Mount

PIR Sensor, 9-24V, Relay Output, Ceiling Mount

PIR Sensor, 9-24V, Relay Output, Ceiling Mount If your looking for an affordable way to DIY your own security system, these PIR sensors are what you will want. Easy to install, automatic, convenient,..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: PIR-12V-RELAY
Product Status : Active

R182.00 (Inc Tax: R209.30)

Tags: PIR, passive, infrared, sensor (pir), list, all, products