Specification:
- Working voltage: DC4.5V to 20V
- Quiescent Current: < 50uA
- Output level: high 3.3V, low 0V
- Delay time: adjustable (0.5 sec ~ 200 sec)
- Trigger mode: l not repeatable, h can be repeated, the default value for h
- Induction range: less than 120 degree cone angle, up to 7 meters
- Working temperature: -15~+70
Circuit Connection:
Module Pinouts:
Testing Source Code:
int ledPin = 13; // choose the pin for the LED
int inputPin = 8; // choose the input pin (for PIR sensor)
int pirState = LOW; // we start, assuming no motion detected
int val = 0; // variable for reading the pin status
void setup() {
pinMode(ledPin, OUTPUT); // declare LED as output
pinMode(inputPin, INPUT); // declare sensor as input
Serial.begin(9600);
}
void loop(){
val = digitalRead(inputPin); // read input value
if (val == HIGH) // check if the input is HIGH
{
digitalWrite(ledPin, HIGH); // turn LED ON
if (pirState == LOW)
{
Serial.println("Motion detected!"); // print on output change
pirState = HIGH;
}
}
else
{
digitalWrite(ledPin, LOW); // turn LED OFF
if (pirState == HIGH)
{
Serial.println("Motion ended!"); // print on output change
pirState = LOW;
}
}
}
Features:
1. automatic: when someone enters the sensing range is input high level, people leaving the induction range is automatically delayed closing high level. Output low level.
2. light control (optional): module to set aside a location, you can set the photo control, or strong light during the day without induction. Light control is an optional feature, factory photoresistance is not installed. If you want, please purchase the photoresistance installed.
3. two trigger modes: l not repeatable, h can be repeated. Jumper option defaults to h.
A. not repeatable trigger mode: after the sensor output high level, delay time is over, the output will automatically change from high to low level.
B. can repeat triggered way: that induction output high level Hou, in delay time paragraph within, if has human in its induction range within activities, its output will has been maintained high level, until people left Hou only delay will high level becomes low level (induction module detection to human of each times activities Hou will automatically extended a delay time paragraph, and to finally once activities of time for delay time of starting points).
4. induction blackout time (default setting: 0.2 sec): after each induction the induction module output (high level low level), you can immediately set a blackout time, during this time the sensor does not receive any sensor signal. This feature can be achieved (sensor output and blockade times) the interval between work, can be applied to interval detection products; at the same time this function can inhibit various disturbances load in the process of switching.
5. wide operating voltage range: default voltage DC5V to 20V
6. power consumption: quiescent current 65, particularly suitable for battery-powered appliances.
7. high level signal output: can be easily docked with the circuit.
Reviews
There are no reviews yet.