<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Title: Distance Measurement Shows Double the Actual Value on nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118821/title-distance-measurement-shows-double-the-actual-value-on-nrf52840</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Feb 2025 13:02:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118821/title-distance-measurement-shows-double-the-actual-value-on-nrf52840" /><item><title>RE: Title: Distance Measurement Shows Double the Actual Value on nRF52840</title><link>https://devzone.nordicsemi.com/thread/523892?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 13:02:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:827da6ec-e220-491f-886e-013ee305a2c3</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you try the other one; zero calibration?&lt;/p&gt;
&lt;p&gt;Distance measurement is also affected by the environment; if there is interreference in the environment there is high chance not to get the accurate measurement. How does your testing environment look like?&lt;/p&gt;
&lt;p&gt;There is a case&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/108929/nrf-distance-measurement-sample/472368"&gt;(+) nRF Distance Measurement sample - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone&lt;/a&gt;&amp;nbsp;which states about adding low pass filter to remove unwanted signal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98193/distance-measurement-from-iq-samples-and-error-estimation/418411"&gt;RE: Distance measurement from IQ samples and error estimation&lt;/a&gt;&amp;nbsp;describes about Signal to Interference plus Noise Ratio indicators. If these does not seem optimal, we need to change the setup to improve those.&lt;/p&gt;
&lt;p&gt;you can also try taking multiple measurements&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/96348/distance-measurement-accuracy/408436"&gt;(+) Distance Measurement Accuracy - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone&lt;/a&gt;&amp;nbsp;to improve accuracy.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Title: Distance Measurement Shows Double the Actual Value on nRF52840</title><link>https://devzone.nordicsemi.com/thread/522564?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 05:57:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c299abfb-5f5e-4d18-a385-0beb1c4cb327</guid><dc:creator>Usha</dc:creator><description>&lt;div class="flex max-w-full flex-col flex-grow"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="64ff79eb-9ee2-4c01-9636-134028510806" data-message-model-slug="gpt-4o"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert dark"&gt;
&lt;p data-start="23" data-end="314" data-is-last-node=""&gt;&amp;quot;I have already implemented high-precision calculations, but the distance measurement is still inaccurate. Could you suggest specific parameters or settings that might improve accuracy? Also, are there any known issues with MPSL or SoftDevice configurations that could affect the results?&amp;quot;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="mb-2 flex gap-3 empty:hidden -ml-2"&gt;
&lt;div class="items-center justify-start rounded-xl p-1 flex"&gt;
&lt;div class="flex items-center"&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div class="flex"&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="hidden"&gt;&lt;/span&gt;
&lt;div class="flex items-center pb-0"&gt;&lt;span class="overflow-hidden text-clip whitespace-nowrap text-sm"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Title: Distance Measurement Shows Double the Actual Value on nRF52840</title><link>https://devzone.nordicsemi.com/thread/522445?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 13:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db7712c1-87b9-44b5-a5a3-17fcef02f311</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you looked at this zero calibration&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/nrf_dm/README.html#zero-distance_calibration"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/nrf_dm/README.html#zero-distance_calibration&lt;/a&gt;&amp;nbsp;process which includes an offset.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;To determine the offset value, place the devices at a reference distance of 60 cm from each other and collect a batch of measurement data. The difference between the average measurement value and the actual distance can be used as an estimate of the offset.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;For more accurate result you can try to do high precision calculation&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/nrf_dm/README.html#high-precision_calculation"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/nrf_dm/README.html#high-precision_calculation&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>