Ks0052 keyestudio PIR Motion Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 53: Line 53:


==Buy from==
==Buy from==
'''Official Website'''


http://www.keyestudio.com/keyestudio-pir-motion-sensor-for-arduino.html
http://www.keyestudio.com/keyestudio-pir-motion-sensor-for-arduino.html
'''Amazon Store'''


https://www.amazon.com/keyestudio-PIR-Motion-Sensor-Arduino/dp/B0177V3A6U/ref=sr_1_1?ie=UTF8&qid=1480303306&sr=8-1&keywords=keyestudio+PIR+Motion+Sensor+for+Arduino
https://www.amazon.com/keyestudio-PIR-Motion-Sensor-Arduino/dp/B0177V3A6U/ref=sr_1_1?ie=UTF8&qid=1480303306&sr=8-1&keywords=keyestudio+PIR+Motion+Sensor+for+Arduino


[[Category: Sensor]]
[[Category: Sensor]]

Revision as of 16:28, 14 November 2017

Introduction

Pyroelectric infrared motion sensor can detect infrared signals from a moving person or moving animal, and output switching signals. It can be applied to a variety of occasions to detect the movement of human body. Conventional pyroelectric infrared sensors require body pyroelectric infrared detector, professional chip, complex peripheral circuit, so the size is bigger, with complex circuit, and lower reliability. Now we launch this new pyroelectric infrared motion sensor, specially designed for Arduino. It uses an integrated digital body pyroelectric infrared sensor, has smaller size, higher reliability, lower power consumption and simpler peripheral circuit.
thumb


Specification

  • Input Voltage: 3.3 ~ 5V, 6V Maximum
  • Working Current: 15uA
  • Working Temperature: -20 ~ 85 ℃
  • Output Voltage: High 3V, low 0V
  • Output Delay Time (High Level): About 2.3 to 3 Seconds
  • Detection Angle: 100 °
  • Detection Distance: 7 meters
  • Output Indicator LED (When output HIGH, it will be ON)
  • Pin Limit Current: 100mA
  • Size: 30*20mm
  • Weight: 4g

Connection Diagram


thumb

Sample Code

byte sensorPin = 3;
byte indicator = 13;
void setup()
{
  pinMode(sensorPin,INPUT);
  pinMode(indicator,OUTPUT);
  Serial.begin(9600);
}

void loop()
{
  byte state = digitalRead(sensorPin);
  digitalWrite(indicator,state);
  if(state == 1)Serial.println("Somebody is in this area!");
  else if(state == 0)Serial.println("No one!");
  delay(500);
}

Resources

Video

http://www.keyestudio.com/wp/2016/05/ks0052-keyestudio-pir-motion-sensor-module/

Datasheet

http://www.keyestudio.com/files/index/download/id/1463713899/

Buy from

Official Website

http://www.keyestudio.com/keyestudio-pir-motion-sensor-for-arduino.html

Amazon Store

https://www.amazon.com/keyestudio-PIR-Motion-Sensor-Arduino/dp/B0177V3A6U/ref=sr_1_1?ie=UTF8&qid=1480303306&sr=8-1&keywords=keyestudio+PIR+Motion+Sensor+for+Arduino