Hello alltogether,
Some information about my case:
im working on a POC research project in which i want to use an XM125 for presence detection. Due to certain limitations, im using the XM125 not via an adruino, tho using a debian and connecting the device via the usb-c spi. Im also working on a custom golang client package that connects to the XM125 and uses the default firmware for exptool usage. (as mentioned its a POC).
My issue:
While i was successful to the point of connecting , configuring the device, starting the scanning and parsing the framedata - im now at a point where i feel kinda lost. Even tho i read through the documentation multiple times, i still dont understand how i can use the parsed tuples ( already calculated the phase and amplitude as described here https://docs.acconeer.com/en/latest/rad … _data.html ) to calculate the distance of a detected reflector. It’s probably obvious to someone experienced in working with such sensors, tho to me its a book with 7 seals.
My Question:
Could anyone explain me in simple (non to-depth math terminology ^^) how i can use the data i got to calculate the distance to a reflecting object?
Additional Information:
Im aware that “d” (which seems related to the start_point, num_points and step_length) plays a role in the calculation - but i still dont really understand “how”. Also the current configuration i use to setup the XM125 (maybe its relevant for the answer):
{
"groups":[
[
{
"sensor_id":1,
"config":{
"sweep_rate":0.0,
"frame_rate":5.0,
"continuous_sweep_mode":false,
"double_buffering":true,
"inter_frame_idle_state":"deep_sleep",
"inter_sweep_idle_state":"ready",
"sweeps_per_frame":1,
"subsweeps":[
{
"start_point":1,
"num_points":10,
"step_length":4,
"profile":1,
"hwaas":16,
"receiver_gain":0,
"enable_tx":true,
"enable_loopback":false,
"phase_enhancement":false,
"prf":"19_5_MHz"
}
]
}
}
]
],
"cmd":"setup"
}
I hope i choose the right section for this post and wanne thank anyone taking time to answer in advance