<?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>RSSI smoothing methods</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15606/rssi-smoothing-methods</link><description>Hi, 
 I am planning to make a program so that when a beacon goes far away a specific distance (around 5m) then the led should light up. 
 I have taken some measurements and they are very unexpected. I would like to know if anyone has used BLE for this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Aug 2016 11:01:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15606/rssi-smoothing-methods" /><item><title>RE: RSSI smoothing methods</title><link>https://devzone.nordicsemi.com/thread/59532?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 11:01:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15929096-8414-4fe0-8624-4a499c0999cb</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;To be honest, I am not sure. I&amp;#39;m guessing that some form of averaging will net you better results, but you will have to try this out. Due to the nature of the 2.4 GHz radio signals there will be a lot of fluctuations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI smoothing methods</title><link>https://devzone.nordicsemi.com/thread/59531?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 10:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb51064b-f12b-49fb-8e9e-10cb75a3009b</guid><dc:creator>arsalanjun</dc:creator><description>&lt;p&gt;PWN is a good idea Øyvind but the RSSI varies a lot. How do you smooth the values so that you do not get a lot of variations?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI smoothing methods</title><link>https://devzone.nordicsemi.com/thread/59530?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 05:56:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba5bfaa8-8970-4042-9420-db83270969a3</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;If visuals are important you could PWM a LED when you enter the RSSI range that you want to trigger at, let the LED get more and more lit as you get lower and lower RSSI relative to your decision level. Otherwise just turn on a led when you have 10 samples under a threshold or something.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI smoothing methods</title><link>https://devzone.nordicsemi.com/thread/59529?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2016 10:57:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c23a1f00-127a-467b-8c4b-7a37449a6cce</guid><dc:creator>arsalanjun</dc:creator><description>&lt;p&gt;Thanks for your answer Jan. I a aware that RSSI and BLE are not meant to be used to measure distance but I just want to use it as a proximity purpose. Just like the advertisement of BLE proximity (&lt;a href="https://www.youtube.com/watch?v=g9TudsBHzKw"&gt;here&lt;/a&gt;), I want to use it to turn on an LED after a specific distance.&lt;/p&gt;
&lt;p&gt;How to implement this? Turn on a buzzer/led when link is lost? or turn it on at a specific RSSI dbm?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI smoothing methods</title><link>https://devzone.nordicsemi.com/thread/59528?ContentTypeID=1</link><pubDate>Sun, 07 Aug 2016 19:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f59e32f-24e9-4269-a79f-7af965385c8e</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hello arsalan,&lt;/p&gt;
&lt;p&gt;The suggestion is: don&amp;#39;t use BT LE RSSI for anything related to distance measurement because results are very uncertain.&lt;/p&gt;
&lt;p&gt;If you go deeper into how 2.4GHz radio works you will see that signal can be reflected and shielded by pretty much everything. The topology can be linked to RSSI only in very isolated (laboratory) conditions, otherwise you can maybe talk about some close/medium/distant zones and accuracy (relating RSSI to such &amp;quot;zones&amp;quot;) of less then 100%. If you see all these &amp;quot;BT RSSI vs. distance&amp;quot; or &amp;quot;Wifi RSSI vs. distance&amp;quot; (which is very similar physics) solutions they usually come to only one or two thresholds which is making zone boarders and then they more or less say where the thing is. If you really want something more accurate then you need to work with multiple broadcasters and receivers model, known topology and calibration. Nothing for low cost solutions such as &amp;quot;beacon and mobile phone&amp;quot;.&lt;/p&gt;
&lt;p&gt;Btw. there are several posts on this topic (search for RSSI) on this forum and conclusions are basically the same.&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>