Microscale
HC-SR501 PIR Motion Sensor (Adjustable, 3.3V-5V)
HC-SR501 PIR Motion Sensor (Adjustable, 3.3V-5V)
Regular price
₦2,000.00 NGN
Regular price
Sale price
₦2,000.00 NGN
Unit price
per
Shipping calculated at checkout.
Couldn't load pickup availability
The HC-SR501 is a passive infrared (PIR) motion sensor module that detects movement of people or animals within its detection range. It is widely used in security systems, automatic lighting, and hobbyist projects to sense presence and trigger events.
Specifications
| Sensor Type | Passive Infrared (PIR) |
|---|---|
| Supply Voltage | 3.3 – 5 V |
| Output Type | Digital TTL, HIGH on motion |
| Detection Range | Up to 6 m (20 ft) |
| Detection Angle | 110° x 70° |
| Power Consumption | 65 mA |
| Sensitivity | Adjustable, 3 to 7 m |
| Trigger Modes | Retriggerable or single-shot (jumper selectable) |
| Output Voltage | 3.3 V (regardless of VCC) |
Pinout
| Pin | Function |
|---|---|
| VCC | Power input (5-20 V, typically 5 V) |
| OUT | Digital output, HIGH when motion detected |
| GND | Ground |
Using it
- Connect VCC to 5 V (or up to 20 V), GND to ground, and OUT to a digital input pin on your microcontroller.
- The output is 3.3 V logic, so it is safe for 3.3 V systems like ESP32 or Raspberry Pi Pico; it can also drive 5 V inputs.
- Use a simple digitalRead in Arduino; no library is required, but the Forge library includes interrupt and deep-sleep examples.
- Adjust the two trimpots: one for sensitivity (3-7 m) and one for trigger delay (3 s - 5 min).
Good to know
- PIR sensors detect changes in infrared radiation, so they need a clear line of sight and are less effective through glass or in high-temperature environments.
- The module has a jumper to select retriggerable mode (output stays HIGH while motion continues) or single-shot mode.
- For battery-powered projects, note the 65 mA consumption is relatively high during active detection; consider power management if needed.
