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
  • Tape measure?

    No seriously I don't know as it's an area of BLE I've not focused on. What I will say is distance requires (I think) two synchronised time sources and a fast/high resolution timer needed to capture the time for the RF to travel the distance in question, in this case 1M.

    RF moves at the speed of light, 300,000km per second.

    So you need a resolution of 1/300^6. I'm impressed it can do 2M with only a 64MHz crystal.

Children
No Data
Related