Infrared motion sensor module | Botshop

Infrared motion sensor module

R95.00

4 in stock (can be backordered)

SKU: inf-39 Categories: , Tag:

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

Code

int pirPin = 8;
int val;

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

void loop() {
val = digitalRead(pirPin); 
if (val == LOW) {
 Serial.println("No motion"); 
}
else { 
 Serial.println("Motion!"); 
}
delay(1000);
}

Reviews

There are no reviews yet.

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