Pyroelectric Infrared Body Motion Sensor PIR Detector

I received this motion detector.

I’ll give it a try and report back.

Module For Arduino / MCU / PIC
Features:

* Great ! With this sensor module, Any one in its Detector range will not be missed . It is easy to control with your Arduino , MCU , PIC controller.

infrared sensor with control circuit boards
Detector range: 0 – 7m
Detector angle: 110°
Power Voltage: 4.5 — 20V DC
Level Output: 0 – 3.3V(2.7V-5V customizable)
Level Holding Time: 0.3-18 seconds adjustable
Trigger method: L unrepeatable trigger; H repeatable trigger
Quiescent current: 50uA
Environment temprature: -20℃—+50℃
PCB Dimension: 32*24mm
* Test Code :

int ledPin = 13;
int switchPin = 2;
int value = 0;
void setup() {
pinMode(ledPin, OUTPUT);
pinMode(switchPin, INPUT);
}
void loop() {
value = digitalRead(switchPin);
if (HIGH == value) {
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
}

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>