Technical parameters:
1.Operating voltage: DC5V to 20V
2.Static power consumption: 65 microamps
3.Level output: 3.3V, low 0V
4.Delay time: adjustable (0.3 seconds to 18 seconds)
5.Blockade Time: 0.2 seconds
6.Trigger Mode: L can not be repeated, H can be repeated default value H
7.Sensing range: less than 120 degree cone angle of less than 7 meters
8.Operating temperature: -15 to +70 degrees
9.PCB Dimensions: 32 * 24mm, screw hole distance 28mm, screw aperture 2mm sensor lens size: (diameter): 23mm (default)
Features:
1. automatic induction: when someone enters its sensing range input high, people leave the sensor range automatic delay off high. Output low
2. photosensitive control (optional): module is reserved for the location, you can set the photosensitive control, daytime or light sensing. The photosensitive Control optional features not installed at the factory photoresistor. If necessary, please purchase separately photoresistor install it yourself
3. two trigger modes: L can not be repeated, H can be repeated. Jumper selectable, default is H
A. not repeat the trigger mode: the sensor output high, the delay time has elapsed, the output automatically from high to low.
B. repeatable trigger mode: the sensor output high, the delay period, if human activities within its sensing range, the output will always remain high until people leave only delay the high level goes low (sensor module detected after every activity of the body’s automatic postponed a delay period of time, and the last time activities as the starting point of the delay time)
4. induced blockade time (default setting: 0.2 seconds): sensing module in every sensor output (high to low) followed by set up a blockade of the time, in this period of time the sensor is not receiving any induction signal. This feature can be achieved both of the (inductive output time and the blocking time) interval can be applied to the interval detection products; This feature can effectively suppress the various interference generated in the process of load switching
5. wide operating voltage range: default Voltage DC5V to 20V
6. micro-power: quiescent current of 65 microamps, particularly suitable for battery- powered electrical products
7. output high signal: easy to achieve docking with the various types of circuits
Instructions for use:
1. Sensing module is powered initialization time of about one minute, during which the module will output 0-3 times the interval, one minute after entering standby
2. Should avoid lights and other sources of interference the a close direct module surface of the lens, in order to avoid the introduction of the interference signal malfunction; using the environment as much as possible to avoid the flow of the wind, the wind will cause interference sensor
3. Sensing module uses dual probe, the probe window is rectangular, dual (A $ B $) in the long direction at both ends, from left to right or from right to left when the body is walked by infrared spectroscopy reach the dual time, distance difference, the greater the difference, the more sensitive the induction, when the human body from the front to the probe or from top to bottom or from the bottom to the previous direction came dual detection distance of less than infrared spectroscopy, no difference value, the sensor should be installed up to the direction of the probe dual direction with human activities as parallel as possible to ensure that the human body has been passed by the probe dual induction sensor insensitive or does not work; Round lens in order to increase the sensing range of angles, the module also makes the probe surrounded induction, but the left and right sides still up and down both directions sensing range and sensitivity, still need to try to install the above requirements
DownLoad Url osoyoo.com
You must be logged in to post a comment.
TEST OK :
HARDWARE :
Osoyoo UNO Board (Fully compatible with Arduino UNO rev.3) x 1
PIR Motion sensor x 1
Relay x 1
Breadboard x 1
Jumpers
USB Cable x 1
PC x 1
Pin Definitions :
VCC : 3.3V-5V ⇔ UNO 5V
GND : The Ground ⇔ UNO GND
OUT : I/O Interface of PIR Motion sensor ⇔ PIN 4
Mixly source :
volatile int val;
volatile int pir;
void setup()
{
val = 0;
pir = LOW;
pinMode(4, INPUT);
pinMode(13, OUTPUT);
Serial.begin(9600);
}
void loop()
{
val = digitalRead(4);
if (val == HIGH) {
digitalWrite(13,HIGH);
if (pir == LOW) {
Serial.println(“motion detected”);
pir = HIGH;
}
} else {
digitalWrite(13,LOW);
if (pir == HIGH) {
Serial.println(“motion ended”);
pir = LOW;
}
}
}