Infrared motion sensor module

Infrared motion sensor module

R95.00

Out of stock

Product Description

This is a simple to use Arduino motion sensor. Power it up and wait 1-2 seconds for the sensor to get a snapshot of the still room. If anything moves after that period, the ‘alarm’ pin will go low. This sensor checks for infrared heat in it’s detecting angle. The human body, pets and several other things emit energy that the sensor is looking for, it compares with the snapshot and if there is a recent change it triggers.Specification

  • Type: Digital
  • Supply Voltage:3~5V
  • Current:50μA
  • Working temperature:0℃~+70℃
  • Output level(HIGH):4V
  • Output level(LOW):0.4V
  • Detect angle:110 Degree
  • Detect distance:7 meters
  • Size:28mm×36mm
  • Weight:25g

Example Sketch & Diagram

PIRSensor_bb

int pirPin = 8;
int val;

void setup() {
  Serial.begin(9600);
}

void loop() {
  val = digitalRead(pirPin); //read state of the PIR
  
  if (val == LOW) {
    Serial.println("No motion"); //if the value read is low, there was no motion
  }
  else {
    Serial.println("Motion!"); //if the value read was high, there was motion
  }
  
  delay(1000);
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.