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
  • What do you mean by "both antennas facing opposite to each other"? As in away from one another?

    Try putting the devices next to each other and see what the measured distance is then. That should give you less of a fluctuating distance and an idea of how much it should be calibrated with. With the 0.88-1.43m measurements it's hard to say as I don't know the median value or how often it reaches the minimum and maximum, but if it is an even spread/bell curve of measurements I guess the median value would be ~1.15m, meaning the calibration should be set to 0.55m so that the measurements will average ~60cm.

    Best regards,

    Simon

Reply
  • What do you mean by "both antennas facing opposite to each other"? As in away from one another?

    Try putting the devices next to each other and see what the measured distance is then. That should give you less of a fluctuating distance and an idea of how much it should be calibrated with. With the 0.88-1.43m measurements it's hard to say as I don't know the median value or how often it reaches the minimum and maximum, but if it is an even spread/bell curve of measurements I guess the median value would be ~1.15m, meaning the calibration should be set to 0.55m so that the measurements will average ~60cm.

    Best regards,

    Simon

Children
No Data
Related