Ks0122 keyestudio EASY plug PIR Motion Sensor: Difference between revisions
Jump to navigation
Jump to search
Keyestudio (talk | contribs) (Created page with "==EASY plug PIR Motion Sensor== <br>500px|frameless|thumb<br> ==Introduction== Pyroelectric infrared motion sensor can detect infrared signals from a mo...") |
Keyestudio (talk | contribs) No edit summary |
||
| Line 45: | Line 45: | ||
} | } | ||
</pre> | </pre> | ||
==Resources == | |||
'''Datasheet''' | |||
http://www.keyestudio.com/files/index/download/id/1464156049/ | |||
==Buy from == | |||
http://www.keyestudio.com/keyestudio-easy-plug-pir-motion-sensor-module-for-arduino.html | |||
[[category:Module]] | [[category:Module]] | ||
Revision as of 10:12, 16 February 2017
EASY plug PIR Motion Sensor
Introduction
Pyroelectric infrared motion sensor can detect infrared signals from a moving person or moving animal, and outputs switching signals. It has advantages of low power consumption, good concealing, low cost etc. It can be applied to a variety of occasions to detect the movement of human body.
Note: this module needs to be used together with EASY plug control board.
Specification
- Interface: Easy plug
- 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: 36.4*20mm
- Weight: 6g
Connection Diagram
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
Datasheet
http://www.keyestudio.com/files/index/download/id/1464156049/
Buy from
http://www.keyestudio.com/keyestudio-easy-plug-pir-motion-sensor-module-for-arduino.html
