»ç¿ë ¿¹Á¦ÀÔ´Ï´Ù. http://blog.naver.com/roboholic84/220471644767
PIR ¼¾¼´Â ¸ð¼ÇÀ» °¨ÁöÇÒ ¼ö ÀÖ´Â ±â´ÉÀÌ ÀÖ½À´Ï´Ù. ÀÚÆDZ⠾ÕÀ» Áö³¯ ¶§, LED µîÀÌ ÄÑÁö´Â °Í ȤÀº ºÒÀÌ ²¨Áø ÈÀå½Ç¿¡ µé¾î°¡´Â ¼ø°£ ºÒÀÌ ÄÑÁö´Â µîÀÇ µ¿ÀÛÀ» ¿ä±¸ÇÒ ¶§ »ç¿ëµÉ ¼ö ÀÖ°í, ³Î¸® »ç¿ëµÇ°í ÀÖ´Â Á¦Ç°À̱⵵ ÇÕ´Ï´Ù. Àû¿Ü¼±À» ³Ð°Ô ÆÛÆ®¸®´Â ¹æ½ÄÀ¸·Î ÀνÄÇÏ¸ç ¸ðµâÈ°¡ µÇ¾îÀÖ¾î µðÁöÅÐ ½ÅÈ£·Î °ªÀ» Ãâ·ÂÇÕ´Ï´Ù.
Ư¡ ÀÔ·Â Àü¾Ð : 3.3 ~ 5V, ÃÖ´ë 6V µ¿ÀÛ Àü·ù : 15uA µ¿ÀÛ ¿Âµµ : -20 ~ 85µµ Ãâ·Â Àü¾Ð : HIGH 3V, LOW 0V Ãâ·Â Áö¿¬ ½Ã°£ : 2.3 ~ 3ÃÊ ÀÎ½Ä °¢µµ : 100µµ ÀÎ½Ä °Å¸® : 7m Å©±â : 30 x 22mm
¾ÆµÎÀÌ³ë ¼Ò½ºÄÚµå // # // # Editor : Youyou from DFRobot // # Date : 04.06.2014 // # E-Mail :
youyou.yu@dfrobot.com // # Product name: PIR (Motion) Sensor // # Product SKU : SEN0171 // # Version : 1.0 // # Description: // # The sketch for using the PIR Motion
sensor with Arduino/Raspberry Pi controller to achieve the human detection
feature. // # Hardware Connection: // #
PIR Sensor -> Digital pin 2 // #
Indicator LED -> Digital pin 13 // # byte sensorPin = 2; 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);
}
INTRODUCTION
PIR sensors allow you to sense
motion, almost always used to detect whether a human has moved in or out of the
sensors range. They are small, inexpensive, low-power, easy to use and don't
wear out. For that reason they are commonly found in appliances and gadgets
used in homes or businesses. They are often referred to as PIR, "Passive
Infrared", "Pyroelectric", or "IR motion" sensors.
This PIR (Motion) Sensor can
detect the infrared signals from human body or other animals and triggers with
movement. So it can be applied to a variety of scenarios which require motion
detection. Conventional pyroelectric infrared sensors require body pyroelectric
infrared detector, integrated chipsets, complex peripheral circuit. So the size
is slightly big, circuit is complex, and reliability is slightly lower. We
bring this new pyroelectric infrared motion sensor which is specially designed
for your Arduino projects, an integrated digital body pyroelectric and infrared
sensor, with small size, high reliability, low power consumption, and simple
peripheral circuit. Very simple to use in any project.
Compatiblility
¡¤
Arduino UNO
¡¤
Arduino Due
¡¤
Rassperry Pi
APPLICATIONS
¡¤
Moving human
detection.
¡¤
Occupancy
detection.
¡¤
Security systems.
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
¡¤
Connection
Interface: PH2.0-3
¡¤
Module size: 30mm
¡¿ 22mm
DOCUMENTS
¡¤
WiKi Doc
¡¤
Schematic
SHIPPING
LIST
¡¤
PIR sensor module
¡¿1
¡¤
Digital connection
wire ¡¿1
|