# PIR Infrared Motion Sensor (HC-SR501)

**Type:** Product page · **SKU:** CE05786 · **Brand:** [Core Electronics](https://core-electronics.com.au/brands/core-electronics-australia)
**Page:** https://core-electronics.com.au/modmypi-pir-infrared-motion-sensor-hc-sr501.html ([markdown](https://core-electronics.com.au/modmypi-pir-infrared-motion-sensor-hc-sr501.html.md))

PIR sensors often referred to as, "Passive Infrared" or "IR motion" sensors, enable you to sense motion

## Pricing

- **Price:** $1.55 (inc GST) — $1.41 AUD, exc GST
- **Quantity discounts:** 10+ $1.27 (exc GST) · 50+ $1.20 (exc GST)

## Availability & dispatch

- In stock, ships same business day if ordered before 2PM (Australia/Sydney).
- We can dispatch 148 today; more stock is typically available with a 8–12 day lead time.

## Description

PIR sensors often referred to as, "Passive Infrared" or "IR motion" sensors, enable you to sense motion. Everything emits a small amount of infrared radiation (IR), and the hotter something is, the more radiation it emits. PIR sensors are able to detect a change in average IR levels of their detection zone (e.g. when a human enters a room, that room will increase in temperature slightly) and hence sense motion.

This one's great, as it can be powered via the Raspberry Pi's 5V output, and be read directly from the Raspberry Pi's GPIO input (as the sensor has a digital 3.3V output!)

This PIR includes an adjustable delay before firing (approx 0.5 - 200 seconds), has adjustable sensitivity and two M2 mounting holes! It runs on 4.5V-20V power ([or 3V by bypassing the regulator with a bit of soldering](https://techgurka.blogspot.com/2013/05/cheap-pyroelectric-infrared-pir-motion.html)) and has a digital signal output (3.3V) high, 0V low. Its sensing range is up to 7 meters in a 100-degree cone.

The operating mode of the PIR sensor can be changed by bridging the solder pads on the back of the board, by bridging the centre and L pad, single trigger mode will be selected, meaning that the sensor will only output one single when triggered. By bridging the centre and H pad, multi trigger mode will be enabled meaning that the sensor will continue to output signals while an IR presence is detected.

### Features

- Input Voltage: 4.5V - 20V
- Current Draw: &lt;50µA
- Digital Output: 3.3V (High)
- Digital Output: 0V (Low)
- Working Temperature: -15°C to 70°C
- Delay Time: 0.5 - 200 Seconds
- Sensing Angle: 100° Cone
- Range 5m - 7m
- Dimensions
- Sensor Lens Diameter: 23mm
- Length: 24.03mm
- Width: 32.34mm
- Height (with lens): 24.66mm
- Centre screw hole distance: 28mm
- Screw hole diameter: 2mm (M2)

### Examples

#### Raspberry Pi Pico - Micropython

 ```
from utime import sleep
import machine

onboard_led = machine.Pin(25, machine.Pin.OUT)

button = machine.Pin(3, machine.Pin.IN, machine.Pin.PULL_UP)

while True:
    if button.value() == 0:
        onboard_led.on()
    else:
        onboard_led.off()
        sleep(0.1)
```

## Guides for this product

- [Effective Ways To Detect People Using Common Sensors](https://core-electronics.com.au/guides/sensors/effective-ways-to-detect-people-using-common-sensors/)

## Videos for this product

- [Effective Ways To Detect People Using Common Sensors](https://core-electronics.com.au/videos/effective-ways-to-detect-people-using-common-sensors)

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/p/i/pir-motion-sensor-1024x780_1.jpg)
