1. Киришүү
The DIYmall HC-SR501 PIR (Passive Infrared) Motion Sensor Module is designed to detect infrared radiation emitted by moving objects, typically human bodies. This module is commonly used in security systems, automated lighting, and various DIY electronics projects, especially with microcontrollers like Arduino. It offers adjustable sensitivity and delay time, making it versatile for different applications.

Image 1: A pack of five HC-SR501 PIR motion sensor modules.
2. Өзгөчөлүктөрү
- Adjustable output timing from 0.5 seconds to 200 seconds using Potentiometer 105.
- Adjustable sensitivity for varied detection ranges.
- Supports both single trigger and repeatable trigger modes.
- Designed for integration into security products, human body sensor toys, industrial automation, and control systems.
- Equipped with an infrared sensor cell to detect human body infrared radiation.
3. Техникалык шарттар
| Параметр | Нарк |
|---|---|
| Продукт түрү | HC-SR501 Body Sensor Module |
| Operating Voltage Диапазон | DC 4.5-20V |
| Тынч агым | <50уА |
| Trigger Mode | L: Non-repeatable trigger / H: Repeatable trigger (Default: Repeatable) |
| Кечиктирүү убактысы | 5-18 seconds (adjustable, range 0.xx seconds to tens of seconds) |
| Блок убактысы | 2.5 seconds (default, can be adjusted) |
| Башкарманын өлчөмдөрү | 32мм x 24мм |
| Sensor Angle | <100° cone angle |
| Lens Size (Sensor Diameter) | 23mm (Default) |
| Максималдуу диапазон | 15 фут (болжол менен 4.5 метр) |
| Элемент Салмагы | 1.58 унция |
4. Орнотуу
4.1 Pin аныктамасы
The HC-SR501 module typically has three pins for connection:
- VCC: Power input (DC 4.5-20V).
- ЧЫГЫШ: Digital signal output (High when motion detected, Low when no motion).
- GND: Жерге туташтыруу.

Image 2: Pin definitions and example wiring diagrams for DC and AC loads.
4.2 Basic Connection (e.g., with Arduino)
To connect the HC-SR501 to a microcontroller like Arduino, follow these steps:
- туташтыруу VCC pin of the HC-SR501 to the 5V pin on your Arduino.
- туташтыруу GND pin of the HC-SR501 to the GND pin on your Arduino.
- туташтыруу OUT pin of the HC-SR501 to a digital input pin on your Arduino (e.g., Digital Pin 2).

Сүрөт 3: Мисample connection of the HC-SR501 to an Arduino board.
4.3 Баштапкы кубаттуулук
Upon initial power-up, the sensor typically undergoes a calibration period of approximately 30-60 seconds. During this time, it may trigger randomly. Avoid movement in front of the sensor during this period to ensure proper calibration.
Видео 1: Бүттүview of the DIYmall HC-SR501 PIR Motion Sensor Module and its basic functionality.
5. Модулду иштетүү
The HC-SR501 module features two potentiometers and a jumper for configuration.
5.1 Сезимталдыкты жөндөө
The potentiometer labeled 'Sensitivity' (often marked 'Sx' or 'S') controls the detection range of the sensor.
- Turning the potentiometer саат жебеси боюнча (оңго) decreases sensitivity, reducing the detection range (e.g., to approximately 3 meters).
- Turning the potentiometer counter-clockwise (left) increases sensitivity, extending the detection range (e.g., to approximately 7 meters).

Image 4: The potentiometers on the HC-SR501 module for sensitivity and delay time adjustment.
5.2 Delay Time Adjustment
The potentiometer labeled 'Delay Time' (often marked 'Tx' or 'T') controls how long the output signal remains HIGH after motion is detected.
- Turning the potentiometer саат жебеси боюнча (оңго) increases the delay time (e.g., up to approximately 5 minutes).
- Turning the potentiometer counter-clockwise (left) decreases the delay time (e.g., down to approximately 3 seconds).
5.3 Trigger Mode Selection
A solder jumper on the module allows selection between two trigger modes:
- H (Repeatable Trigger): In this mode, if motion is detected again during the delay time, the delay timer is reset, and the output remains HIGH. This is the default setting.
- L (Single Trigger): In this mode, once motion is detected and the output goes HIGH, it will remain HIGH for the set delay time, regardless of further motion. After the delay, the output goes LOW and the sensor must re-detect motion to trigger again.
Note: The retrigger jumper is a solder jumper, requiring soldering to change its setting.

Image 5: Visual guide for adjusting sensitivity, delay, and setting the trigger mode jumper.
Video 2: Demonstration on how to adjust the sensitivity and time delay of the HC-SR501 PIR sensor.
6. Техникалык тейлөө
The HC-SR501 PIR motion sensor module requires minimal maintenance. Keep the sensor lens clean and free from dust or obstructions to ensure optimal performance. Avoid exposing the module to extreme temperatures or moisture.
7. Кыйынчылыктарды
- Erratic Behavior or Inconsistent Output: Ensure the module is powered with a stable DC 5V supply. While the module can operate up to 20V, 5V is a common and reliable voltage for consistent output, especially when interfacing with microcontrollers.
- False Positives:
- Айланадагы жарык: The sensor can be sensitive to sudden changes in ambient light. Position the sensor in areas with stable lighting or use it in darker environments.
- Movement Direction: The sensor's sensitivity can vary based on the direction of movement. If experiencing issues, try rotating the sensor 90 degrees to optimize detection for the intended movement path.
- Электрдик ызы-чуу: Shorten signal wires and consider adding a small capacitor (e.g., 0.1uF) between the signal and ground pins if electrical noise is suspected.
- Сенсор иштебей жатат:
- Verify power connections (VCC and GND) and ensure the correct operating voltage.
- Check the sensitivity adjustment; it might be set too low.
- Сенсордун талаасын тоскон эч кандай тоскоолдуктар жок экенин текшериңиз view.
- Allow for the initial calibration period after power-up.
8. Тиркемелер
The HC-SR501 PIR sensor module is suitable for a wide range of applications, including:
- Коопсуздук системалары: Motion detection for alarms and surveillance.
- Автоматташтырылган жарыктандыруу: Automatically turning lights on/off in hallways, corridors, or rooms.
- Акылдуу үй түзмөктөрү: Integration into home automation projects for presence detection.
- Энергияны үнөмдөө: Controlling fans, washing machines, and other devices based on human presence.
- Interactive Displays: Triggering events or displays when a person approaches.

Сүрөт 6: Мисample application: controlling a 220V light bulb with the motion sensor.
9. Колдоо
For further assistance or to explore other products, please visit the official DIYmall store:





