<?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>LED Control using Proximity on NRF52811 evaluation Board (ublox BMD 360)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115121/led-control-using-proximity-on-nrf52811-evaluation-board-ublox-bmd-360</link><description>Hello Everyone, 
 
 I am using NRF52811 evaluation board for my development purpose using SDK 2.6.1 on visual studio code. 
 My tasks involve LED control using Bluetooth as follows. 
 
 task 1: Turn on/off LEDs using button press on user device(NRF connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Oct 2024 07:52:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115121/led-control-using-proximity-on-nrf52811-evaluation-board-ublox-bmd-360" /><item><title>RE: LED Control using Proximity on NRF52811 evaluation Board (ublox BMD 360)</title><link>https://devzone.nordicsemi.com/thread/505822?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 07:52:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2030c3e5-6c62-4aa5-bc65-d0320346e0df</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Bhavin&lt;/p&gt;
&lt;p&gt;This is a question asked countless times on DevZone already, and you can check out&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/71838/how-can-i-display-the-beacon-signals-receiving-from-nordic-thingy-52-at-my-device-i-want-to-display-the-rssi-of-thingy-52-beacon-to-map-it-with-the-distance-please-suggest-if-there-is-any-approach-to-map-the-same/295608"&gt; this ticket where Edvin&lt;/a&gt; suggests how to get it over advertising reports. You can also look at various DevZone tickets on RSSI &lt;a href="https://devzone.nordicsemi.com/search?q=RSSI%20distance#serp=4"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LED Control using Proximity on NRF52811 evaluation Board (ublox BMD 360)</title><link>https://devzone.nordicsemi.com/thread/505692?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 09:51:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c993c317-3cac-467d-bf5a-aa4e7932b25a</guid><dc:creator>BD2115</dc:creator><description>&lt;p&gt;Hello Simon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the response.&amp;nbsp; My plain idea is to control LED (on/off) using NRF connect app based&amp;nbsp; on input from app which I am able to successfully. Now i want to to extend it using some kind of proximity (does not matter rssi or angle or arrival or something similar) can you tell me how can i do it.&amp;nbsp; Here&amp;nbsp; is my sample implementation for you reference. .&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My nrF52811 evl. kit act as a peripheral and advertise data. with the nrf connect app&amp;nbsp; I&amp;nbsp; make to connection to it and controls the LED.&amp;nbsp; works fine. Now I want to extend it such way that&amp;nbsp; once the&amp;nbsp; nrf connect app (on my andrio phone) comes in a close proximity of my nRF52811 kit, It should autometiclly&amp;nbsp; turn on the LED.&lt;strong&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7345.ble_5F00_application.zip"&gt;devzone.nordicsemi.com/.../7345.ble_5F00_application.zip&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LED Control using Proximity on NRF52811 evaluation Board (ublox BMD 360)</title><link>https://devzone.nordicsemi.com/thread/505687?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 09:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:841a0880-18ae-4427-8549-02552701d29a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry, but the nRF Distance Measurement sample and library won&amp;#39;t be possible to use on the nRF52811. One because the application won&amp;#39;t fit onto the limited RAM and Flash memory of the nRF52811 and two because the application requires FPU, which the nRF52811 doesn&amp;#39;t have, and is the reason you&amp;#39;re seeing this build error I think.&lt;/p&gt;
&lt;p&gt;Also, the Android phones won&amp;#39;t be able to do Distance Measurement I&amp;#39;m afraid, as it is a Nordic proprietary protocol, so then you&amp;#39;re left with using plain old RSSI for determining the distance between the two, which is not very accurate I&amp;#39;m afraid.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LED Control using Proximity on NRF52811 evaluation Board (ublox BMD 360)</title><link>https://devzone.nordicsemi.com/thread/505160?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 11:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d34a6160-c7ba-4ac5-8d42-8254d2eed9dd</guid><dc:creator>BD2115</dc:creator><description>&lt;p&gt;Hello Thank For your response. I am trying to implement the solution suggest by you using DM library. I am using bmd360 evaultion kit which has nRF52811 soc and&amp;nbsp; using build configuration nRF52840 DK nRF52811 . and i am&amp;nbsp; getting following error.&amp;nbsp; Can you help me to solve it. i have set necessary flag in proj.conf same as mentioned in sample.am i missing some more flag to set or reset ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-- west build: generating a build system&lt;br /&gt;Loading Zephyr default modules (Zephyr base).&lt;br /&gt;-- Application: C:/gd_ws/keyless-access-system-ble/ble_application&lt;br /&gt;-- CMake version: 3.21.0&lt;br /&gt;-- Found Python3: C:/ncs/toolchains/cf2149caf2/opt/bin/python.exe (found suitable version &amp;quot;3.9.13&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter &lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.6.1/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.5.99 (C:/ncs/v2.6.1/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)&lt;br /&gt;-- Board: nrf52840dk_nrf52811&lt;br /&gt;-- Found host-tools: zephyr 0.16.5 (C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk)&lt;br /&gt;-- Found toolchain: zephyr 0.16.5 (C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk)&lt;br /&gt;-- Found Dtc: C:/ncs/toolchains/cf2149caf2/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) &lt;br /&gt;-- Found BOARD.dts: C:/ncs/v2.6.1/zephyr/boards/arm/nrf52840dk_nrf52811/nrf52840dk_nrf52811.dts&lt;br /&gt;-- Generated zephyr.dts: C:/gd_ws/keyless-access-system-ble/ble_application/build/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_generated.h: C:/gd_ws/keyless-access-system-ble/ble_application/build/zephyr/include/generated/devicetree_generated.h&lt;br /&gt;-- Including generated dts.cmake file: C:/gd_ws/keyless-access-system-ble/ble_application/build/zephyr/dts.cmake&lt;/p&gt;
&lt;p&gt;warning: Deprecated symbol BT_DEBUG_LOG is enabled.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;warning: Deprecated symbol BT_DEBUG_LOG is enabled.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;warning: Experimental symbol BT_DDFS is enabled.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;warning: Experimental symbol DM_MODULE is enabled.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;warning: Experimental symbol NRF_DM is enabled.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;warning: FPU (defined at soc/arm/nxp_imx/mcimx6x_m4/Kconfig.defconfig.mcimx6x_m4:11, soc/arm/nxp_s32/s32k3\Kconfig.defconfig.s32k344:11, soc/arm/nxp_s32\s32ze\Kconfig.defconfig.series:15, soc/arm\renesas_rzt2m\Kconfig.defconfig:15, arch/Kconfig:847) has direct dependencies (SOC_MCIMX6X_M4 &amp;amp;&amp;amp; SOC_SERIES_IMX_6X_M4) || (SOC_S32K344 &amp;amp;&amp;amp; SOC_SERIES_S32K3XX) || SOC_SERIES_S32ZE_R52 || SOC_RENESAS_RZT2M || CPU_HAS_FPU with value n, but is currently being y-selected by the following symbols:&lt;br /&gt; - NRF_DM (defined at C:/ncs/v2.6.1/nrfxlib\nrf_dm/Kconfig:7), with value y, direct dependencies y (value: y), and select condition !SOC_NRF5340_CPUNET (value: y)&lt;/p&gt;
&lt;p&gt;error: Aborting due to Kconfig warnings&lt;/p&gt;
&lt;p&gt;Parsing C:/ncs/v2.6.1/zephyr/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/ncs/v2.6.1/zephyr/boards/arm/nrf52840dk_nrf52811/nrf52840dk_nrf52811_defconfig&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/gd_ws/keyless-access-system-ble/ble_application/prj.conf&amp;#39;&lt;br /&gt;CMake Error at C:/ncs/v2.6.1/zephyr/cmake/modules/kconfig.cmake:358 (message):&lt;br /&gt; command failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; C:/ncs/v2.6.1/nrf/cmake/modules/kconfig.cmake:29 (include)&lt;br /&gt; C:/ncs/v2.6.1/zephyr/cmake/modules/zephyr_default.cmake:129 (include)&lt;br /&gt; C:/ncs/v2.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)&lt;br /&gt; C:/ncs/v2.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)&lt;br /&gt; CMakeLists.txt:2 (find_package)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/cf2149caf2/opt/bin/python.exe &amp;#39;-Bc:\gd_ws\keyless-access-system-ble\ble_application\build&amp;#39; -GNinja -DBOARD=nrf52840dk_nrf52811 -DNCS_TOOLCHAIN_VERSION=NONE &amp;#39;-Sc:\gd_ws\keyless-access-system-ble\ble_application&amp;#39;&lt;/p&gt;
&lt;p&gt;* The terminal process terminated with exit code: 1. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LED Control using Proximity on NRF52811 evaluation Board (ublox BMD 360)</title><link>https://devzone.nordicsemi.com/thread/504587?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 18:10:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49211fa2-5fe8-45f3-917c-b262a93c27a6</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Calculating distance can be done two ways.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use the Distance Measurement lib which is a proprietary way to calculate the distance. You can try this using the sample provided &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/nrf_dm/README.html"&gt;here&lt;/a&gt;&amp;nbsp;and some discussions in this forum like &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/108929/nrf-distance-measurement-sample?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descending"&gt;this&lt;/a&gt; one can be found.&lt;/li&gt;
&lt;li&gt;Use obtained &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/110694/rssi-value-through-the-ble-connection-process-in-nrf-connect-sdk?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descending"&gt;RSSI value&lt;/a&gt;&amp;nbsp;to evaluate a very rough estimate of the distance and change the LED status at whichever RSSI you find is the proper range for a given distance.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>