Title: Distance Measurement Shows Double the Actual Value on nRF52840

I am using an nRF52840 and  nrf52832 to measure distance, but the reported value is almost twice the actual distance. For example, when the actual distance is 1 meter, the reading is around 2 meters.

What could be causing this issue? Is there a setting or calibration step I need to adjust in the Nordic SDK?

I am currently working on this project and would appreciate a quick response.

Parents Reply Children
  • Still pretty incredible that it can do that resolution.

    Then I started thinking how it would be done without a much higher clock and I thought if the receiver was able to echo the signal with a known latency then the required clock would be half and only one precision clock would be needed. Even so that's still high but if there was multiple echoing each time would half the clock requirement at the expense of doubling the time needed to do the measurement.

  • I am measuring the distance between two devices placed 60 cm apart, but the reported distance fluctuates between 0.88 m and 1.43 m. What could be causing this variation, and how can I accurately calibrate the offset?

  • Hi

    It's a bit strange that it fluctuates by this much. Are you testing on two nRF52 DKs or custom boards? And can you share some details on what environment you're testing in? Are the devices in field of view of each other, and is there a lot of other activity on the 2.4GHz band in the space you're testing here? 

    The zero distance calibration can also be done at 0cm, and the offset would be whatever the distance you see there that you will have to implement manually in your application so that the ranging result always adds/subtracts the offset before printing them to the terminal.

    Best regards,

    Simon

  • "I am measuring in an office environment, with both antennas facing opposite to each other."

Related