Issues with mmWave Sensor Detection Range and Latency Configuration

userHead JOSHUA.ROBERT 2024-05-27 20:13:11 170 Views0 Replies

I have been working with the mmWave sensor recently to detect human presence. For this, I am using the FireBeetle ESP32 microcontroller and the Arduino IDE to control the entire unit. I initially tried using the default code provided on the wiki page, but unfortunately, the sensor could not detect human presence at the intended range. Instead, it only detected presence when the distance was very short, around 2 cm.

To rectify this, I modified the DetRangeCfg and OutputLatency settings. However, I still couldn't achieve accurate detection. Sometimes the sensor continuously alternates between ones and zeros, or it gives a zero for a while and then starts outputting one even in the absence of a human, before eventually returning to zero.

I tried various distance and latency values, but the sensor exhibits the same errors with all settings. Could you please advise if this issue might be due to a defect in the sensor, or if further code adjustments are needed?