<?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>Low voltage detector on &amp;quot;ble_app_blinky&amp;quot; peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25280/low-voltage-detector-on-ble_app_blinky-peripheral</link><description>Hello
we have a projekt with periperal &amp;quot;ble-app-blinky&amp;quot; und central &amp;quot;ble_app_blinky_c&amp;quot;. 
 how to do: 
when the &amp;quot;peripheral&amp;quot; battery is below 2.3V
then the led 4 on &amp;quot;central&amp;quot; must going on? 
 (In the moment we do it with a external voltage detector</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Sep 2017 07:32:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25280/low-voltage-detector-on-ble_app_blinky-peripheral" /><item><title>RE: Low voltage detector on "ble_app_blinky" peripheral</title><link>https://devzone.nordicsemi.com/thread/99619?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2017 07:32:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b30a77c2-9584-473b-97a5-92a6779e6711</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I don&amp;#39;t have time to make an example for you, but there is an &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/lpcomp_example.html?cp=4_0_6_4_5_11"&gt;LPCOMP example in the SDKs&lt;/a&gt; that you can pretty much copy and paste into ble-app-blinky periheral example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low voltage detector on "ble_app_blinky" peripheral</title><link>https://devzone.nordicsemi.com/thread/99618?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 16:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de667bb2-84a6-45ac-86c5-eec9f7579891</guid><dc:creator>mc</dc:creator><description>&lt;p&gt;thank you for the answer
I think the power-fail comperator is ok. but we are new and no found the code to implement
in &amp;quot;ble-app blinky periheral&amp;quot;. thank you ,  wehen you can send us the full code and where we must implenet in &amp;quot;ble-app_blinky. peripheral. Best regards MC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low voltage detector on "ble_app_blinky" peripheral</title><link>https://devzone.nordicsemi.com/thread/99617?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2017 08:56:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d0fdb12-12b0-422f-8277-81d97b162ad3</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You have at least three options:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use the ADC with the internal 1.2V reference voltage and Supply voltage with 1/3 prescaling as input. This is great since you don&amp;#39;t need any external components. However, you will need to sample the input at regular intervals.&lt;/li&gt;
&lt;li&gt;Use the Low power comparator (LPCOMP) to trigger an event when an external voltage crosses a given threshold. This is great because you don&amp;#39;t need to sample the input, but you will need an external reference voltage and probably a voltage divider.&lt;/li&gt;
&lt;li&gt;Use the Power-fail comparator (refer to the POWER chapter in the reference manual). No external components or software triggered sampling is required, but it doesn&amp;#39;t work when the chip is in System OFF mode or when HFCLK is not running.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>