Last updated
The HC-SR501 PIR (Passive Infrared) Motion Sensor Module is widely used for motion detection applications. It detects motion by measuring the infrared (IR) light radiating from objects in its field of view. When an object, such as a human, passes within its range, the sensor detects the change in infrared radiation and triggers a signal. This module is commonly used in security systems, automation projects, and lighting control systems.
High Sensitivity: Detects motion up to 7 meters away.
Adjustable Delay Time: User can set the delay time from 5 seconds to 5 minutes.
Wide Range Detection: Covers an angle of 120 degrees.
Low Power Consumption: Efficient and consumes minimal power when idle.
Easy Integration: Simple to connect with microcontrollers like Arduino and Raspberry Pi.
Operating Voltage: 5V to 20V
Detection Range: Up to 7 meters
Detection Angle: 120 degrees
Delay Time: Adjustable from 5 seconds to 5 minutes
Output: High/Low (3.3V TTL)
VCC: Power supply pin (5V to 20V)
GND: Ground pin
OUT: Digital output pin (High when motion is detected, Low otherwise)
Size: 33 x 25 x 30mm
Weight: 25g
Power the Sensor: Connect the VCC pin to a power supply (5V to 20V) and the GND pin to ground.
Connect the Output: Connect the OUT pin to a digital input pin of your microcontroller to receive the motion detection signal.
Adjust Sensitivity and Delay: Use the onboard potentiometers to adjust the sensitivity and delay time as per your requirement.
Code Example: Write a simple program to read the digital output from the sensor and perform actions based on motion detection. For instance, you can trigger an LED or an alarm when motion is detected.