(SKU:RB-02S079)PIR Sensor

From ALSRobot-Wki
Jump to: navigation, search



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.

Technical parameters and performance

  1. Input Voltage: 3.3 ~ 5V, 6V Maximum
  2. Working Current: 15uA
  3. Working Temperature: -20 ~ 85 ℃
  4. Output Voltage: High 3V, low 0V
  5. Output Delay Time(High Level): About 2.3 to 3 Seconds
  6. Detection angle: 100 °
  7. Detection distance: 7 meters
  8. Output Indicator LED(When output HIGH, it will be ON)
  9. Pin limit current: 100mA
  10. Connection Interface: PH2.0-3

using method

Pin definition

  • S: signal output
  • +: power supply (VCC)
  • -: (GND)

Connect Icon

  • S port is received from the controller's digital input pin.
  • 5V and +5V are respectively connected to the power of GND and GND.

Application Routine

infrared heat releasing electric sensors and LED lights in accordance with the procedure access Arduino uno controller were observed when the state LED lights with a after the unmanned and people.

Sample code

byte sensorPin = 2;
byte indicator = 13; 

void setup()

void loop()
  byte state = digitalRead(sensorPin);      

  if(state == 1)Serial.println("Somebody is in this area!"); 
  else if(state == 0)Serial.println("No one!");


Program effect

if the sensor detects a person or animal, will light up pin 13 test lamps and through the serial output "somebody is in this area!", otherwise extinguished pin 13 test lamps, and through the serial output "no one!".

Product recommendation

Buy address:PIR Sensor

Personal tools