







Please select an option to see price and availability
Green
BlueThe HC-SR501 PIR Motion Sensor is a compact, reliable module that senses movement by detecting the infrared radiation from people and animals. It comes in a standard version and a blue PCB version, both with adjustable sensitivity and delay time. It covers a 120° detection cone with a range of up to 7 meters, and gives a simple digital output (3.3V HIGH when motion is detected). It runs on a wide DC supply up to 20V with very low standby current. It works with Arduino, ESP32, Raspberry Pi, and other microcontrollers, and is ideal for security alarms, automatic lighting, and home automation.
حساس الحركة HC-SR501 PIR هو وحدة مدمجة وموثوقة تستشعر الحركة عن طريق اكتشاف الأشعة تحت الحمراء المنبعثة من الأشخاص والحيوانات. يتوفر بإصدار قياسي وإصدار بلوحة زرقاء، وكلاهما يتميز بحساسية وزمن تأخير قابلين للضبط. يغطي مجال كشف بزاوية 120° ومدى يصل إلى 7 أمتار، ويوفر خرجاً رقمياً بسيطاً (3.3 فولت عند اكتشاف الحركة). يعمل بجهد تيار مستمر واسع يصل إلى 20 فولت مع استهلاك منخفض جداً للطاقة في وضع الاستعداد. يعمل مع Arduino و ESP32 و Raspberry Pi وغيرها من المتحكمات، وهو مثالي لأنظمة الإنذار والأمان، والإضاءة التلقائية، وأتمتة المنازل.
The HC-SR501 PIR (Passive Infrared) Motion Sensor is one of the most popular and widely used motion detection modules in electronics. It detects the infrared radiation naturally emitted by warm bodies, such as humans and animals, within its field of view. When someone moves across the detection zone, the change in IR level makes the sensor output a HIGH digital signal. A microcontroller can read this signal, or it can drive an external device directly. When the body leaves the range, the output returns LOW automatically after the set delay time.
At the heart of the module is a pyroelectric infrared sensor paired with a white Fresnel lens. The lens focuses incoming IR onto the sensing element and widens the detection area to a cone of about 120°, with a maximum range of about 7 meters.
The module has two potentiometers: one sets the sensitivity (detection distance), and the other sets the delay time, which is how long the output stays HIGH after motion is detected. A trigger mode jumper selects between two behaviors:
An on-board voltage regulator gives the module a wide input voltage range, and its standby current of about 65µA makes it ideal for battery-powered and energy-saving projects. The 3.3V logic-level output connects directly to Arduino, ESP8266/ESP32, Raspberry Pi, STM32, PIC, and other common boards.
Two versions are available:
Important note: After power-on, the sensor needs about 30–60 seconds to stabilize and calibrate to its environment, and it may give a few false triggers during this warm-up. For best results, mount it away from direct heat sources, moving air, and direct sunlight.
| Pin | Function |
|---|---|
| VCC | Power input (typically 5V) |
| OUT | Digital output: 3.3V HIGH when motion is detected, 0V LOW when idle |
| GND | Ground |
| Parameter | Standard Version | Blue PCB Version |
|---|---|---|
| Module | HC-SR501 PIR Motion Sensor | HC-SR501 (Blue PCB Version) |
| Sensing Type | Passive infrared (pyroelectric) | Passive infrared |
| Operating Voltage | DC 5V – 20V | DC 4.5V – 20V |
| Standby Current | About 65µA | – |
| Output | Digital: HIGH = 3.3V, LOW = 0V | Digital: HIGH = motion, LOW = no motion |
| Detection Angle | Less than 120° cone | About 120° cone |
| Detection Range | Up to about 7 m (adjustable) | Up to 7 m (adjustable) |
| Delay Time | Adjustable, about 0.3 – 18 s | Adjustable, 0.3 – 200 s |
| Block (Lockout) Time | About 0.2 s | – |
| Trigger Modes | Repeatable / non-repeatable (jumper) | Repeatable / non-repeatable |
| Adjustments | Sensitivity and delay time (two potentiometers) | Sensitivity and delay time (onboard potentiometers) |
| Lens | 23mm Fresnel lens | Dome lens |
| Dimensions | About 32 × 24 mm (PCB) | About 32 × 24 × 18 mm (with dome lens) |
| Mounting Holes | 28mm spacing, 2mm diameter | – |
| Weight | – | About 10 g |
| Operating Temperature | -15°C to +70°C | -15°C to +70°C |