To ensure the safety and security of our homes or anywhere, it is essential we install alarm systems. Motion sensors are one of the essential components of these systems. We can also employ PIR (Passive Infrared) Sensors for doing the same. HC-SR501 is a low-cost PIR sensor that can detect the presence of humans or animals by sensing the Infrared Radiation coming out of the body. Its sensitivity can be controlled by sensitivity control potentiometer and it also has an onboard signal conditioning circuitry and Fresnel Lens to improve its field of view. It is used in Motion Activated lights in bathrooms, halls, rooms, etc. in alarm applications, etc.
Specifications
- Supply Voltage 5V
- Output 3.3V TTL Logic
- Infrared Sensor with Control Circuit Board
- The Sensitivity and Holding Time Can be Adjusted
- Can cover 120° and 7m range
- Low power consumption 65mA
- Temperature Range -20°C to 80°C
Product Description
To connect it to any microcontroller, power the device with 5V and GND pin from your controller like Arduino, Raspberry Pi, PIC, etc. Connect the output pin to any GPIO pin of your controller and go through your intended program. Adjust the sensitivity and time delay as per your liking from the two potentiometers provided on the module. You can also select the mode whether you want the output to remain high or go low after a specific time when a motion is detected.
Additional Resources
Datasheet of HC-SR501 PIR sensor Module
PIR Sensor Based Motion Detection Project using Arduino
PIR Sensor Project with a Relay