마이크로웨이브 도플러 레이다 센서 -2-16M
(Microwave Doppler Radar Sensor -16M)
개요
- 본 제품은 마이크로웨이브 도플러 모션 센서입니다.
- 도플러 효과를 이용하여 움직이는 물체를 감지하고자 하는 경우에 사용이 가능한 센서입니다.
- 적외선을 사용하는 PIR 센서와 다르게 2-16M의 원거리 탐지 및 사람이 아닌 물체도 탐지가 가능합니다.
- 뒷면의 포텐셔미터를 이용하여 탐지거리를 조절하여 사용할 수 있습니다.
특징
- Working voltage : 5V±0.25V
Operating Current (CW): 50mA max., 30mA typical
size: R=30.6mm
Emission parameters:
Detection distance: Used with adapter plate or reference circuit below, 2-16m continuously adjustable (minimum 2m, maximum 16m)
Helium emission frequency : 10.525 GHz
Frequency setting accuracy : 3MHz
Output power (minimum): 13dBm EIRP
harmonic emission: <-10dBm
Average current (5%DC) : 2mA typ.
Pulse width (Min.): 5uSec
Duty cycle (Min.): 1%
Receive parameters:
Sensitivity (10dB S/N ratio) 3Hz to 80Hz Bandwidth: -86dBm
10.3Hz to 80Hz Bandwidth Clutter 10uV
Antenna gain: 8dBi
Vertical 3dB beam width: 36 degrees
level 3dB Beam width: 72 degrees
문서
- datasheet
#include <MsTimer2.h> //Timer interrupt function Int pbIn = 0; // Define the interrupt PIN is 0, that is, digital pins 2 Int ledOut = 13; Int count=0; Volatile int state = LOW; //Define ledOut, default is off Void setup() { Serial.begin(9600); pinMode(ledOut, OUTPUT); attachInterrupt(pbIn, stateChange, FALLING); // Sets the interrupt function, falling edge triggered interrupts. MsTimer2::set(1000,process); // Set the timer interrupt time 1000ms MsTimer2::start();//Timer interrupt start } Void loop() { Serial.println(count); // Printing times of 1000ms suspension Delay(1); If(state == HIGH) //When moving objects are detected later, 2s shut down automatically after the ledout light is convenient. { Delay(2000); State = LOW; digitalWrite(ledOut, state); //Turn off led } } Void stateChange() //Interrupt function { Count++; } Void process() //Timer handler { If(count>1) //1000ms interrupt number greater than 1 is considereddetected a moving object (this value can be adjusted according to the actual situation, equivalent to adjust the detection threshold of the speed of a moving object) { State = HIGH; digitalWrite(ledOut, state); //Lighting led Count=0; //Count zero } Else Count=0; //In 1000ms, interrupts does not reach set threshold value is considered not detect moving objects, interrupt the count number is cleared to zero. }