Skip to Content

PIR Motion Sensor SR501 (Infrared Motion Detector)

πŸ‘οΈ PIR Motion Sensor – HC-SR501 (Infrared Motion Detector)

The HC-SR501 PIR Motion Sensor is a popular, low-cost infrared sensor used to detect human motion. It senses changes in infrared radiation, making it ideal for automatic lighting systems, security alarms, robotics, and home automation projects. The sensor includes adjustable sensitivity and delay time via onboard potentiometers.

βš™οΈ Technical Specifications

ParameterSpecification
ModelHC-SR501
Detection TypePassive Infrared (PIR)
Operating Voltage4.5V to 20V DC
Current Draw≀ 65mA
Output TypeDigital HIGH/LOW (3.3V logic)
Delay TimeAdjustable (0.3 – 300 seconds)
Sensitivity RangeUp to 6 meters (adjustable)
Detection Angle~120Β° cone
Dimensions~32mm x 24mm
Trigger ModesRepeatable & non-repeatable (selectable)

βœ… Features

  • πŸ”Ž Detects motion from people, animals, or objects

  • πŸ”§ Two adjustable knobs for delay and sensitivity

  • πŸ” Can be set to trigger once or repeatedly while motion persists

  • πŸ› οΈ Easy to use with Arduino, Raspberry Pi, ESP32

  • ⚑ Works with relays, buzzers, or smart lights

πŸ› οΈ Arduino Connection Guide

PIR PinArduino Pin
VCC5V
GNDGND
OUTDigital Pin (e.g., D2)

πŸ§ͺ Arduino Example Code

int pirPin = 2; int ledPin = 13; void setup() { pinMode(pirPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600); } void loop() { if (digitalRead(pirPin) == HIGH) { digitalWrite(ledPin, HIGH); Serial.println("Motion detected!"); delay(500); } else { digitalWrite(ledPin, LOW); } }

πŸŽ₯ YouTube Tutorial

70.00Β LE 70.00Β LE

This combination does not exist.

Sensor