测试使用萤火工场人体存在传感器24GHz毫米波雷达感应模块 .
该传感器模块区别于传统雷达通过检测人体移动的大幅度动作或肢体动作来判断人体存在,主要特点是在传统人体感应雷达的功能基础上,同时具备检测积累人体微动幅度的运动,来判断人体的存在的功能,因此准确率更高。
实现效果如下
Arduino 代码如下
/*
https://blog.csdn.net/weixin_40825989/article/details/81148177
https://blog.csdn.net/weixin_37281967/article/details/105780318
*/
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
delay(500);
//初始化I2C地址0X3C
// by default, we'll generate the high voltage from the 3.3v line internally! (neat!)
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64)
// init done
display.setTextSize(1); //设置字体大小
display.setTextColor(WHITE); //设置字体颜色
display.setCursor(0,0); //设置起始光标
display.clearDisplay();
display.println("HELLO OLED");
display.display();
delay(2000);
display.clearDisplay();
}
String a="";
void loop() {
if(Serial.available()>0)
{
char val=Serial.read();
a+=val;
if(val=='\n'){
display.clearDisplay();
// display.display();
// display.setTextSize(1); //设置字体大小
// display.setTextColor(WHITE); //设置字体颜色
display.setCursor(0,0); //设置起始光标
display.print(a);
display.display();
a="";
}
}
}
视频展示如下:
萤火工厂CEM5826-M11雷达模块测评
该模块可进行相关拓展,如应用于门禁、实验室、商场、医院等各种场景的人体监测和人员流动统计,相较于传统探测器在功能方面实现了增强(速度信息获取)且灵敏度和准确度均得到提高。