Wish List 0

Pir Motion Sensor Detector Module Hc Sr501

Rs. 51.00 Rs. 60.00

  • Product Code: SEN-PIR
  • SKU - SE-2176
  • Availability: In Stock
  • Price in reward points: 1
  • For Bulk Order 9962060070
    Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
-The PIR Motion Sensor Detector Module HC SR501 lets in you to experience movement.
-It is sort of always used to stumble on the motion of a human body in the sensor’s range.
-It is often noted the use of “PIR”, “Pyroelectric”, “Passive Infrared” and “IR Motion” sensor.

-The module has an onboard pyroelectric sensor, conditioning circuitry, and a dome-shaped Fresnel lens.
-It has a put off time adjustment Potentiometer and sensitivity adjustment Potentiometer.
-Compatible with ARDUINO, RASPBERRY PI, AVR, PIC, 8051, and many others."

SPECIFICATIONS:
Model                                 PIR HC-SR501
Operating Voltage Range               DC4.5-20V
Average Current Consumption (mA)      <60uA
Distance Measuring Range              3 to 7m (can be adjusted)
Output Type                           (High/ Low-level Signal) 3.3V TTL output
Working Temperature Range             -20°C ~ 80°C
Detection Angle                       <140°
Delay Time                            5 to 200s (Can be Adjusted, Default 5s +/- 3%)
OVERVIEW:
Wide Working Voltage Range    DC 4.5V- 20V
Current Drain                 <60uA
Detection Angle               <140°
Detection Distance            3 to 7m (can be adjusted)
Blockade time                 2.5s (Default)
Work temperature             -20-+80°C

PACKAGE INCLUDES:

1 PCS x Hc Sr501 Pyroelectric Infrared Motion Detector Sensor Module


//SOURCE CODE TAKEN FROM BELOW LINK

//https://www.electronicshub.org/automatic-room-lights-using-arduino-pir-sensor/

int in1 = 9;

int sensor = 8;

int led = 13;

unsigned long t=0;


void setup() 

{

  Serial.begin(9600);

  pinMode(in1, OUTPUT);

  pinMode(sensor, INPUT);

  pinMode(led, OUTPUT);

  

  digitalWrite(in1,HIGH);

  digitalWrite(led,LOW);


  while(millis()<13000)

  {

    digitalWrite(led,HIGH);

    delay(50);

    digitalWrite(led,LOW);

    delay(50);

  }

  digitalWrite(led,LOW);

  

}



void loop() 

{

  digitalWrite(in1,HIGH);

  digitalWrite(led,LOW);

  if(digitalRead(sensor)==HIGH)

  {

   t=millis();

   while(millis()<(t+5000))

   {

   digitalWrite(in1,LOW);

   digitalWrite(led,HIGH);

     if((millis()>(t+2300))&&(digitalRead(sensor)==HIGH))

      {

       t=millis();

      }

   }

  }

}

https://youtu.be/ZC_sEW3_694

15 days

Write a review

Please login or register to review