HCSR501 PIR Motion Sensor (Passive Infrared Sensor)
ποΈβπ¨οΈ HC-SR501 PIR Motion Sensor
Human Motion Detection β’ Low Power β’ Smart Automation
The HC-SR501 PIR Motion Sensor Module is a widely used Passive Infrared (PIR) sensor designed to detect motion from humans or animals by sensing changes in infrared radiation. It is commonly used in security systems, automatic lighting, robotics, and IoT projects.
The module includes a pyroelectric infrared sensor and Fresnel lens that helps detect movement within its detection range.
π Infographic Overview
πΉ Basic Specifications
| Feature | Details |
|---|---|
| π Operating Voltage | 5V β 20V DC |
| β‘ Operating Current | ~50 Β΅A (very low power) |
| π‘ Output Type | Digital (High/Low) |
| π Detection Range | 3 β 7 meters |
| π Detection Angle | ~120Β° |
| β± Delay Time | Adjustable (3s β 5 min) |
| π‘ Operating Temperature | -15Β°C to +70Β°C |
π§© Main Components (Based on the Image)
The module typically contains:
πΉ Fresnel Lens Dome β focuses infrared signals
πΉ PIR Sensor Element β detects infrared radiation changes
πΉ BISS0001 Controller IC β signal processing chip
πΉ Sensitivity Adjustment Potentiometer
πΉ Delay Time Adjustment Potentiometer
πΉ Voltage regulator & capacitors
π Pin Configuration
| Pin | Function |
|---|---|
| VCC | Power supply (5β20V) |
| OUT | Digital output signal |
| GND | Ground |
βοΈ Working Principle
The PIR sensor detects infrared radiation emitted by warm objects like humans.
Step-by-Step Operation
1οΈβ£ The Fresnel lens focuses infrared radiation onto the sensor.
2οΈβ£ The PIR element detects changes in heat energy.
3οΈβ£ When a human or animal moves, IR levels change.
4οΈβ£ The controller IC processes the signal.
5οΈβ£ The module outputs HIGH signal when motion is detected.
π Sensor Layout (Simplified)
HC-SR501 PIR Motion Sensor
ββββββββββββββββββββββ
β Fresnel Lens β
β (Motion Detection)β
ββββββββββββββββββββββ
β
ββββββββββββββββββββββ
β PIR Sensor Chip β
β Signal Processor β
ββββββββββββββββββββββ
Adjustments
βββββββββββββββββ
β Sensitivity β
β Delay Time β
βββββββββββββββββ
Pins
βββββββ¬ββββββ¬ββββββ
βVCC βOUT βGND β
βββββββ΄ββββββ΄ββββββ
π Adjustable Settings
The HC-SR501 has two adjustable potentiometers:
π§ Sensitivity Adjustment
Controls motion detection distance
β± Delay Time Adjustment
Controls how long the output stays HIGH after motion detection
π€ Common Applications
π Home security systems
π‘ Automatic lighting systems
πͺ Smart door automation
π€ Robotics motion detection
π· Security camera triggering
π IoT smart home devices
π Compatible Microcontrollers
The PIR sensor can easily connect to popular development boards:
Arduino Uno
ESP32
Arduino Nano
Raspberry Pi
π‘ Advantages
β
Very low power consumption
β
Wide detection angle (~120Β°)
β
Adjustable sensitivity and delay
β
Easy digital output interface
β
Ideal for motion detection systems
β οΈ Limitations
β Cannot detect stationary objects
β Sensitive to temperature changes
β False triggers possible from pets or heat sources
π§ Example Project Idea
π‘ Automatic Motion-Activated Light
Components
PIR Motion Sensor (HC-SR501)
Arduino Uno
Relay module
LED light or bulb
Working
β Sensor detects human motion
β Microcontroller activates relay
β Light turns ON automatically
β Light turns OFF after delay
