<?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>Dual antenna with nrf51822 to detect exact position of BLE device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12854/dual-antenna-with-nrf51822-to-detect-exact-position-of-ble-device</link><description>I am working on a device where i need to sense proximity of a smart phone and then judge its exact position and then take action depending on the position. Below is my theoretical solution... 
 
 the two antennas in the diagram can be switched using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Apr 2016 11:38:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12854/dual-antenna-with-nrf51822-to-detect-exact-position-of-ble-device" /><item><title>RE: Dual antenna with nrf51822 to detect exact position of BLE device</title><link>https://devzone.nordicsemi.com/thread/48882?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 11:38:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d6db44d-17e1-45eb-9e8d-417f987d416b</guid><dc:creator>Chris Fog</dc:creator><description>&lt;p&gt;@endnode:  Thanks!  We met with Philip Dumas from Unikey last week, and are considering using them as a supplier :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual antenna with nrf51822 to detect exact position of BLE device</title><link>https://devzone.nordicsemi.com/thread/48881?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 08:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cbe2a28-1d10-4c7f-8541-235b9e0555f7</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi Chris, patent search is discipline on its own (which gives business to various lawyers and other free-loaders) and I cannot advice on that as I&amp;#39;m luckily not in charge of it in our group. However just by simple look it should be evident that trying to patent this in 2016 is coming like 2-10 years after the party. Here is one example from locksmith/access control business, it should lead to many older applications not by this company only: &lt;a href="http://www.freshpatents.com/-dt20130711ptan20130176107.php"&gt;www.freshpatents.com/-dt20130711ptan20130176107.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual antenna with nrf51822 to detect exact position of BLE device</title><link>https://devzone.nordicsemi.com/thread/48880?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 07:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:935278f9-eab2-4172-96f6-9306e5af68ca</guid><dc:creator>Chris Fog</dc:creator><description>&lt;p&gt;@endnode, how would I search for those patents? We are also looking at a similar solution! I googled without success.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual antenna with nrf51822 to detect exact position of BLE device</title><link>https://devzone.nordicsemi.com/thread/48883?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 05:52:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7edd8fb-fefd-40bc-9c66-d1f1185a0343</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;From what I can see, this question consists of two parts:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;How to control the RF switching.&lt;/li&gt;
&lt;li&gt;How to use BLE in this scenario.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;RF switching&lt;/strong&gt;:
You will want to switch between the two antennas before a RX event.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;nRF51&lt;/strong&gt;: &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.sds.v1.0%2Fdita%2Fsoftdevices%2Fs130%2Fradio_notif%2Fradio_notif.html&amp;amp;cp=2_6_2_0_7"&gt;Radio notifications&lt;/a&gt; can be used to konw whether the radio is being used or not, using  a software interrupt; it will send an ACTIVE signal prior to a radio event, and a nACTIVE signal after a radio event. The ACTIVE signal will tell you if a radio event is coming up, however, you cannot know whether it is a TX or RX event. To distinguish between TX and RX events, you will have to use the VDD_PA pin. VDD_PA will go to 1.8 V 130 us before a TX operation starts. &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.sds.v1.0%2Fdita%2Fsoftdevices%2Fs130%2Fradio_notif%2Fradio_notif_peripheral_events.html"&gt;Note that a radio event can consist of multiple RX and TX.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;nRF52&lt;/strong&gt;: With the softdevice S132 it is possible to use the LNA configuration to control the RF switching; it will toggle a GPIO to know when to turn on/off a LNA. In your case, you can use this information to switch between the two antennas.&lt;/p&gt;
&lt;p&gt;The LNA configuration is enabled using sd_ble_opt_set(..) with the option BLE_COMMON_OPT_PA_LNA and configuration parameters of the type  ble_opt_t -&amp;gt; common_opt --&amp;gt; pa_lna (ble_common_opt_pa_lna_t)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BLE:&lt;/strong&gt;
If the nRF5 device is in a connection with a smart phone, it can alternate between the two antennas between connection each events, each connection interval. In BLE, the central/master has to transmit a packet each connection  interval.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual antenna with nrf51822 to detect exact position of BLE device</title><link>https://devzone.nordicsemi.com/thread/48879?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 21:17:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adedc649-27d8-4ac7-b66e-b5d27ad4d5fa</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Yes, it will work (= it works). Just be careful, there are already bunch of patents around such solution. Unless you don&amp;#39;t care...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>