Microwave Doppler Wireless Radar Sensor
The microwave motion sensor is a device designed based on the Doppler radar principle for detecting moving objects. Unlike typical infrared sensors, microwave sensors detect the movement of objects by sensing the microwave signals reflected from them. The objects detected are not limited to humans but include a variety of other items. Microwave sensors are unaffected by environmental temperature, offer long detection ranges, and high sensitivity. They are widely used in industries, transportation, and civilian applications, such as vehicle speed detection, automatic doors, motion-sensing lights, and parking sensors.
Since microwave sensors have a broad range of detection, they are often combined with other sensors for more targeted detection. For example, a combination of a microwave sensor and a passive infrared (PIR) sensor can effectively determine if a person has passed by, without interference from sunlight or clothing color, and without reacting to other objects.
Module Source
Purchase Link: https://item.taobao.com/item.htm?spm=a1z10.3-c-s.w4002-19589090137.12.706136b40EmwBc&id=643727489100
Baidu Netdisk Download Link:
https://pan.baidu.com/s/110NZE7hM3ifS1ho53fxmoA
Password: 2cz6
Specifications
Operating Voltage:5V±0.25V
Operating Current: 30~50mA
Detection Range: 2-16m, continuously adjustable
Size: R = 30.6mm
Output Method: GPIO
Pin Count: 3 Pins
Due to the versatility of the microwave sensor, it can detect any object in motion. However, if only the high and low level changes on the OUT pin are monitored, it can only indicate whether movement is detected or not. On the other hand, by reading the analog pin, the sensor can detect changes in the speed of the movement. The smaller the value, the greater the detected velocity change.
Hardware Connection
- VCC: Connect to the Arduino's 5V.
- GND: Connect to the Arduino's GND.
- OUT: The analog output of the HB100 is connected to one of the Arduino's analog input pins (e.g. A0).
Usage Method
/******************************************************************************
* Test Hardware: LCSC ColorEasyDuino Development Board
* Version Number: V1.0
* Modified By: www.lckfb.com
* Modification Date: April 9, 2024
* Function Overview:
*****************************************************************************
* Open-source development board hardware and software information and related projects hardware and software information on official website
* Development board official website: www.lckfb.com
* Technical support resident forum, any technical problems are welcome at any time to exchange learning
* LCSC Forum: club.szlcsc.com
* Follow our Bilibili account: [立创开发板], stay toned to our latest news!
* We focus on cultivating Chinese engineers rather than profiting from board sales.
******************************************************************************/
int dopplerPin = A0; // 定义连接到HB100模拟输出的Arduino引脚
int dopplerValue = 0; // 用于存储读取的值
void setup() {
Serial.begin(9600); // 启动串行通信
}
void loop() {
dopplerValue = analogRead(dopplerPin); // 读取模拟值
Serial.print("Doppler value: ");
Serial.println(dopplerValue); // 打印模拟值
delay(500); // 1秒的延迟,减慢数据读取速率
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Usage Testing
31 was the result detected by hand waving.