Skip to Content

HC-SR501 PIR Motion Sensor Module

https://circuitsnepal.odoo.com/web/image/product.template/34/image_1920?unique=ead0bcf

Compact PIR motion sensor module for detecting human presence. Offers adjustable sensitivity and wide detection angle. Ideal for security systems, automation projects, and energy-efficient solutions. Easy to interface with microcontrollers like Arduino.

0.00 ₨ 0.0 NPR 0.00 ₨

0.00 ₨

Not Available For Sale

This combination does not exist.

Free Delivery is available on orders worth Rs.2000 or more!

Terms and Conditions

Shipping: 2-3 Business Days

Product Description:


Specifications:

SpecificationValue
Sensor TypePassive Infrared (PIR)
Detection RangeUp to 7 meters (23 feet)
Detection Angle110 degrees
Power Supply5V DC
OutputDigital (high or low)
Operating Temperature-20°C to +80°C
DimensionsApproximately 32mm x 24mm
MountingThrough-hole or surface mount

Features:

  • High Sensitivity: Detects even small movements.
  • Adjustable Sensitivity: Can be fine-tuned for specific applications.
  • Low Power Consumption: Ideal for battery-powered projects.
  • Easy to Use: Simple digital output for easy integration.
  • Wide Range of Applications: Perfect for security systems, lighting control, and automation projects.

Using the HC-SR501 Module with Arduino:

Required Components:

  • Arduino board (e.g., Uno, Nano)
  • HC-SR501 PIR Motion Sensor Module
  • Jumper wires

Wiring:

  1. Power: Connect the VCC pin of the module to the 5V pin of the Arduino.
  2. Ground: Connect the GND pin of the module to the GND pin of the Arduino.
  3. Output: Connect the OUT pin of the module to a digital pin on the Arduino (e.g., 2).

Arduino Code:

C++

const int motionSensorPin = 2;

void setup() {
  pinMode(motionSensorPin, INPUT);
  Serial.begin(9600);
}

void loop() {
  int sensorState = digitalRead(motionSensorPin);

  if (sensorState == HIGH) {
    Serial.println("Motion detected!");
    // Add your desired action here, e.g., turn on a LED
  } else {
    Serial.println("No motion detected.");
    // Add your desired action here, e.g., turn off a LED
  }

  delay(100);
}

Explanation:

  1. Digital Read: The digitalRead() function reads the digital value from the motion sensor pin.
  2. Motion Detection: When motion is detected, the sensorState will be HIGH.
  3. Action Triggering: You can add your desired actions within the if and else blocks, such as turning on/off LEDs, activating motors, or triggering alarms.

Package Includes:


 1x  HC-SR501 PIR Motion Sensor Module

Our latest content

Check out what's new in our company !

Your Dynamic Snippet will be displayed here... This message is displayed because you did not provide both a filter and a template to use.