<?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>BLE receive mode current consumption calculation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77371/ble-receive-mode-current-consumption-calculation</link><description>Hello community, 
 I have been working on nRF BLE module. I want to make a project that has a small relay control for an appliance. The device will be connected to a mobile application over BLE. I want to power the whole from two AA batteries. The battery</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Jul 2021 15:30:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77371/ble-receive-mode-current-consumption-calculation" /><item><title>RE: BLE receive mode current consumption calculation</title><link>https://devzone.nordicsemi.com/thread/319652?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 15:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0afdb5cc-6cde-45e5-a6d6-bc8567cc9e76</guid><dc:creator>shwetank vishnu</dc:creator><description>&lt;p&gt;Great, thanks a lot for the information. I will test this and post any issues.&lt;/p&gt;
[quote userid="4556" url="~/f/nordic-q-a/77371/ble-receive-mode-current-consumption-calculation/319623#319623"]So I guess system ON idle is what you want. The chip goes to system ON idle between each advertising and connection event automatically.[/quote]
&lt;p&gt;Perfect, so as soon as the nRF powers on I will assign a HOST to it, a connection once established will not require any more scanning.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then I will put it into system ON mode where I can let the chip sleep for some time (1-4s) and check for any received message from the host. During this whole process since the device radio is always active my connection will be alive and I would not require to do the scanning again. Sounds perfect.&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE receive mode current consumption calculation</title><link>https://devzone.nordicsemi.com/thread/319623?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 14:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:390f468d-9b9a-4f67-85b7-95afdae06c67</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>[quote user="shwetank vishnu"]&lt;p&gt;1. I connect the battery nRF to the HOST (takes initial burst current for few seconds or ms)&lt;/p&gt;
&lt;p&gt;2. I keep my battery device in listening mode and wait for the HOST to give any command.&lt;/p&gt;
&lt;p&gt;3. Do whatever I need to do with the command.&lt;/p&gt;[/quote]
&lt;p&gt;That is correct.&lt;/p&gt;
[quote user="shwetank vishnu"]&lt;p&gt;1. when I put the nRF in sleep mode for 1s and start listening and again put it to sleep, will my connection be lost and I need to again connect to the HOST?&lt;/p&gt;
&lt;p&gt;What I am looking to do is to keep my BLE connection alive so it can receive whatever data comes and sleep for rest of the time.&lt;/p&gt;[/quote]
&lt;p&gt;Yes, you can keep the connection alive with a connection interval as long as 4 seconds. The device will be able to receive the command immediately on the scheduled connection event (as long as there is no on air packet loss)&lt;/p&gt;
&lt;p&gt;The device will be sleeping between the connection events. But again, it depends on the definition of sleep. The nRF5 has two sleep modes. System ON idle, which will consume about 2 uA, and system OFF mode, which is consuming about 0.3 uA. In system OFF mode the connection is lost and the device wakes up in a reset state, and will have to re-initialize the stack and connection. Also, it can only wake up from an external event (button or similar) in system OFF mode. So I guess system ON idle is what you want. The chip goes to system ON idle between each advertising and connection event automatically.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE receive mode current consumption calculation</title><link>https://devzone.nordicsemi.com/thread/319617?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 13:47:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:975d8829-adca-4aa8-8cd9-cf5af9e16116</guid><dc:creator>shwetank vishnu</dc:creator><description>&lt;p&gt;Ok, got your overview.&lt;/p&gt;
&lt;p&gt;Now lets say i get past the scanning part and my HOST is connected with the battery device. Now I want to send commands to the battery device from the host. The commands can be random throughout the day but the packet size is ofcourse same. Now I know how can I make nRF work as a beacon by setting interval time to advertise the data, but if I want my device to receive some data (generally on/off for a relay) how would that be?&lt;/p&gt;
&lt;p&gt;So as far as I understand:-&lt;/p&gt;
&lt;p&gt;1. I connect the battery nRF to the HOST (takes initial burst current for few seconds or ms)&lt;/p&gt;
&lt;p&gt;2. I keep my battery device in listening mode and wait for the HOST to give any command.&lt;/p&gt;
&lt;p&gt;3. Do whatever I need to do with the command.&lt;/p&gt;
&lt;p&gt;My questions:-&lt;/p&gt;
&lt;p&gt;1. when I put the nRF in sleep mode for 1s and start listening and again put it to sleep, will my connection be lost and I need to again connect to the HOST?&lt;/p&gt;
&lt;p&gt;What I am looking to do is to keep my BLE connection alive so it can receive whatever data comes and sleep for rest of the time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE receive mode current consumption calculation</title><link>https://devzone.nordicsemi.com/thread/319581?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 12:01:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd085a0d-1c38-4030-bac3-d237872dc9c9</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;In the Bluetooth LE world you have several roles depending on the application. Before any connection is made, you have a scanner and an advertiser. The scanner will be drawing most current and will be the one initiating the connection. The other device needs to be advertising in order to be found by the scanner. Usually the mobile phone is scanning and the battery device is advertising. If you want the battery device to be found by the mobile phone you need to always be advertising (you can advertise at a 1 second interval or more, which would consume very little current), or you can push a button or similar on the battery device to start advertising.&lt;/p&gt;
&lt;p&gt;After the connection is requested by the central (scanner) the peripheral (advertiser) can choose to skip listening for some connection packets in order to save current, this is called slave latency.&lt;/p&gt;
&lt;p&gt;Please check out the &lt;a href="https://devzone.nordicsemi.com/nordic/power/w/opp/2/online-power-profiler-for-ble"&gt;Online Power Profiler&lt;/a&gt; to see how much the total average current will be in both advertising and connected modes.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]1. Do i need to be always listening i.e. the bluetooth connection will always be on taking more current?[/quote]
&lt;p&gt;&amp;nbsp;The device needs to be transmitting advertising packets in order to be discovered by the scanner.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]2. If I put the module to sleep mode, will my radio be still on?[/quote]
&lt;p&gt;Depends on how you define &amp;quot;sleep&amp;quot;. The CPU will always be sleeping between the radio packets.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]3. Lets say I connect the nRF BLE initially and keep it on, how much current will it draw?[/quote]
&lt;p&gt;&amp;nbsp;It depends on the connection interval. If you just maintain a 1 second connection interval without any data being transmitted, the average current will be in the &amp;lt; 10 uA range. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>