TroubleshootingArduino

FM24-NP100 24GHz Microwave Radar Incorrect Output Data

userHead Luke_ 2022-09-06 08:07:14 505 Views1 Replies

Hello,

 

I have recently purchased the 24GHz Microwave Radar Sensor, and the output data I am receiving from the sensor differs from the output data described in the Sensor Module Description (https://wiki.dfrobot.com/24GHz_Microwave_Radar_Sensor_SKU:%20SEN0306#target_6). The output data I am receiving is shown below, and it can be seen that the start bits occur multiple times throughout the data, and the stop bit never occurs.

Here is the full array that has the output data:

[255, 255, 255, 0, 245, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 44, 1, 1, 1, 1, 1, 1, 1, 1, 18, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 10, 1, 1, 1, 1, 1, 1, 1, 255, 255, 255, 0, 245, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 44, 1, 1, 1, 1, 1, 1, 1, 255, 255, 255, 0, 245, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]

 

Attached in the file upload is the program used for the radar, which is the same as the provided code, except that it is printing the buffer_RTT values when a detection is made. 

 

I would like to know why the output data is incorrect, and how to fix this. I believe that the output is overwriting itself, hence why the start bits keep appearing, but am unable to fix this, or find any solution online.

 

Kind regards,

 

 

icon multiple_targets_detection.zip 1KB Download(0)
2022-09-23 17:45:25

Hi,The communication protocol of this product consists of the first frame 0xff, 0xff and 0xff, distance data 0x##, 0x##, spectrum data 0x##, 0x##, and data tail frames 0x00, 0x00 and 0x00. Is the stop bit you mentioned not part of the protocol, or is it the data tail frame 0x00, 0x00, 0x00?If you want to view the raw data, we suggest that you view the raw data only by detecting a single target (the first example code of wiki). Multiple targets can cause too much raw data to be viewed.

userHeadPic jenna