HC-SR501 PIR Motion Sensor Module

In stock

The HC-SR501 PIR (Passive Infrared) Motion Sensor Module is a highly sensitive and low-power motion detection sensor designed to detect human movement through infrared radiation. It is widely used in automatic lighting systems, security alarms, smart home automation, energy-saving devices, occupancy detection, and battery-powered projects. ...See more
SKU BTS-00003450
SF Code M3.R2
Delivery Info
truck-fast
Inside Dhaka: 1-2 days
Express (Dhaka): 24 hours
Order before 12.00PM
Outside Dhaka: 2-3 days
hand-holding-dollar
Cash on delivery all over BD
Quality
award
100% Authentic Product
circle-check
Quality Product Guaranteed
Service
credit-card
Safe & secure payment
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account

The HC-SR501 PIR (Passive Infrared) Motion Sensor Module is a highly sensitive and low-power motion detection sensor designed to detect human movement through infrared radiation. It is widely used in automatic lighting systems, security alarms, smart home automation, energy-saving devices, occupancy detection, and battery-powered projects.

Featuring adjustable sensitivity and delay time settings, the HC-SR501 provides reliable motion detection with a sensing range of up to 7 meters and a detection angle of less than 120°. Its ultra-low standby current makes it suitable for both mains-powered and battery-operated applications.

 

Features:

  • Passive Infrared (PIR) motion detection technology

  • High sensitivity and reliable motion sensing

  • Adjustable detection delay time

  • Adjustable sensing distance

  • Ultra-low standby current consumption

  • Wide operating voltage range

  • Repeatable and non-repeatable trigger modes

  • Compatible with Arduino, ESP32, ESP8266, Raspberry Pi, and other microcontrollers

  • Easy digital output interface

  • Optional light sensing and temperature compensation support

  • Suitable for indoor automation and security applications

 

Applications:

  • Motion-activated lighting systems

  • Security and intrusion alarms

  • Smart home automation

  • Automatic fans and ventilation control

  • Occupancy detection systems

  • Energy-saving lighting control

  • Garage and warehouse monitoring

  • Automatic door systems

  • Battery-powered IoT projects

  • Human presence detection

 

Operating Modes:

H Mode (Repeatable Trigger)

  • Output remains HIGH as long as motion continues to be detected.

  • Timer resets whenever new motion is detected.

  • Ideal for lighting and occupancy applications.

L Mode (Non-Repeatable Trigger)

  • Output goes HIGH once when motion is detected.

  • Returns LOW after the preset delay time regardless of continued motion.

  • Suitable for trigger and alarm applications.

 

Specifications:

Parameter Value
Model HC-SR501
Sensor Type Passive Infrared (PIR)
Detection Element LHI778 PIR Sensor
Operating Voltage 4.8V – 20V DC
Standby Current < 50 µA
Output Voltage 3.3V HIGH / 0V LOW
Detection Distance Up to 7 meters
Detection Angle < 120°
Delay Time 0.3 seconds – 200 seconds
Extended Delay Up to 10 minutes (custom modification)
Lock Time 2.5 seconds (default)
Trigger Modes Repeatable (H) / Non-repeatable (L)
Operating Temperature -15°C to +70°C
Mounting PCB Module

 

Pin Configuration:

Pin Function
VCC Power Input (4.8V – 20V)
OUT Digital Output Signal
GND Ground

 

Why Choose HC-SR501?

  • Low power consumption for battery-powered devices

  • Adjustable sensitivity and delay settings

  • Simple interface for microcontrollers

  • Reliable human motion detection

  • Widely supported by Arduino and ESP projects

  • Ideal for automation, security, and IoT systems

 

Package Includes

  • 1 × HC-SR501 PIR Motion Sensor Module

 

HC-SR501 PIR sensor, PIR motion sensor module, motion detector sensor, infrared motion sensor, Arduino PIR sensor, ESP32 motion sensor, human detection sensor, occupancy sensor, security alarm sensor, automatic light sensor, PIR module Bangladesh, low power motion sensor, smart home motion detector, HC SR501, passive infrared sensor, IoT motion sensor, 3.3V PIR output, motion sensing module, DIY electronics sensor, automation sensor module.

arrow-down
See More
View all reviews above by our customers.

How to interface with an Arduino?

The HC-SR501 PIR (Passive Infrared) motion sensor is a popular, low-cost sensor used for motion detection. It is widely used in various security systems and motion-activated lighting. This tutorial will guide you through interfacing the HC-SR501 with an Arduino Uno to detect motion.

 

Components Required

  • Arduino Uno

  • HC-SR501 PIR Motion Sensor Module

  • Jumper wires

  • Breadboard

  • LED (optional for visual feedback)

  • Resistor (220 ohms, optional for LED)

 

Understanding the HC-SR501 PIR Motion Sensor

The HC-SR501 sensor detects motion by measuring changes in infrared radiation levels caused by the movement of objects. It has three pins:

  1. VCC: Power supply (5V)

  2. OUT: Output pin, which gives a HIGH signal when motion is detected

  3. GND: Ground connection

 

Connecting the HC-SR501 to Arduino

Follow these steps to connect the PIR sensor to your Arduino:

  1. Connect the VCC pin of the HC-SR501 to the 5V pin of the Arduino.
  2. Connect the GND pin of the sensor to the GND pin of the Arduino.
  3. Connect the OUT pin of the sensor to digital pin 2 on the Arduino.

Optionally, you can also connect an LED to pin 13 of the Arduino with a 220-ohm resistor for visual feedback when motion is detected.

 

Arduino Code

Below is the Arduino code to interface the HC-SR501 PIR Motion Sensor with the Arduino Uno. When motion is detected, the output pin will go HIGH, and the onboard LED connected to pin 13 will light up.

#define PIRPin 2 // PIR sensor connected to digital pin 2
int LEDPin = 13; // LED connected to digital pin 13

void setup() {
  pinMode(PIRPin, INPUT); // Set the PIR pin as input
  pinMode(LEDPin, OUTPUT); // Set the LED pin as output
  Serial.begin(9600); // Begin serial communication for debugging
}

void loop() {
  int motionState = digitalRead(PIRPin); // Read the state of the PIR sensor
  if (motionState == HIGH) { // If motion is detected
    digitalWrite(LEDPin, HIGH); // Turn on the LED
    Serial.println("Motion detected!");
  } else {
    digitalWrite(LEDPin, LOW); // Turn off the LED if no motion
  }
  delay(100); // Small delay for sensor stability
}

 

Conclusion

By following this guide, you have successfully interfaced the HC-SR501 PIR motion sensor with an Arduino Uno. This setup can be expanded to create more complex projects, such as alarms, automated lighting systems, or security systems. The sensor's sensitivity and delay time can also be adjusted using the two potentiometers on the module.

You might also be interested in...

Customers who bought this also bought...

General Questions

  • What is the latest price of the HC-SR501 PIR Motion Sensor Module in Bangladesh?

    The latest price of HC-SR501 PIR Motion Sensor Module in Bangladesh is BDT 95.00 . You can buy the HC-SR501 PIR Motion Sensor Module at the best price on BDTronics.com or contact us via phone.

  • Where to buy HC-SR501 PIR Motion Sensor Module in Bangladesh?

    You can buy HC-SR501 PIR Motion Sensor Module online by ordering on BDTronics.com or directly collect by visiting our store in person. BDTronics is a trusted provider of high-quality electronics, 3D printers, solar systems, and robotics parts. We offer fast shipping across the country via courier service.

  • What are the delivery options of HC-SR501 PIR Motion Sensor Module in Bangladesh?

    We provide home delivery service all over Bangladesh. We support Cash on Delivery, Online Bank Transfer, bKash and Credit Card (Visa/ MasterCard/ Amex) payment solutions. The delivery time usually takes 1-2 days inside Dhaka and 2-4 days outside Dhaka.

phone
Contact

My Cart

Loading...
home Home
menu Menu
user Account shopping-cart Cart