<?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>Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36072/detection-of-low-charge-in-battery</link><description>Hi, 
 I&amp;#39;m using a custom nRF51822 board powered by a coin cell and need to trigger a specific LED when the battery is low. 
 Using this thread as the reference, I tried to find the analog inputs on my board but it appears that the only pins available</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jun 2020 12:29:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36072/detection-of-low-charge-in-battery" /><item><title>RE: Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/thread/254260?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 12:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d36353b-ad03-4c4e-9b95-bfeffc32b460</guid><dc:creator>Abrie</dc:creator><description>&lt;p&gt;Thanks! Got it to work from the SAADC example just now but cannot find an example of how to set the gain? Just need the command to put in the saadc_init() function&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/thread/254255?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 12:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dca85125-c0bd-4b5d-9dc9-09e757ed8660</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;There is internal path to VDD that can be used yes. No need for external connection.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/thread/254211?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 10:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b143f45-a673-46c9-8e17-2c0fe4a0171b</guid><dc:creator>Abrie</dc:creator><description>&lt;p&gt;I am using the Ublox ANNA b112 which uses the NRF52832&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/thread/254209?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 10:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5121a36-9a29-4e22-a426-d8ce3629bdaa</guid><dc:creator>Abrie</dc:creator><description>&lt;p&gt;Hi Kenneth&lt;/p&gt;
&lt;p&gt;Yes I think this will work. I am finalising hardware design. Do you need to make a physical connection (track) from VDD to one of the analog inputs or can the connection be made with software?&lt;/p&gt;
&lt;p&gt;I allready made a board with no physical connection that is why I am looking for a way that does not require any connections from VDD to the analog pins&lt;/p&gt;
&lt;p&gt;Thanks for the help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/thread/254208?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 10:06:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:123c70fd-cdac-4a9f-90fd-7719a22568de</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Is this question for nRF51-series or nRF52-series?&lt;/p&gt;
&lt;p&gt;For new development I recommend to check out nRF52-series, in such case you can find that you can connect VDD internal as input for the SAADC:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/saadc.html#register.CH-0-7.PSELP"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/saadc.html#register.CH-0-7.PSELP&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In addition you can set gain to 1/6 and use 0.6V internal reference:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/saadc.html#register.CH-0-7.CONFIG"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/saadc.html#register.CH-0-7.CONFIG&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then when you sample VDD you should get a value between for instance for a fresh battery 3V : 3V * 1/6 = 0.5V, which is less than the internal reference than 0.6V so this should work without any external components.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/thread/254177?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 08:44:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d2898b0-2ec0-4470-8a9f-9d2b43458f8e</guid><dc:creator>Abrie</dc:creator><description>&lt;p&gt;I will be using a CR2477 coin cell. Fully charged at 3.0V , depleted at around 2.0V&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/thread/254170?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 08:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7822aed1-4629-4994-9edd-0173f1376355</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The answer depend on what battery you are using (e.g. max and min voltage).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/thread/254102?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2020 19:52:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e10a181c-d9a9-4466-9850-98a5c1a415b5</guid><dc:creator>Abrie</dc:creator><description>&lt;p&gt;Hi. Do you have an answer on this? I need a solution to get a low battery warning without adding any external circuitry.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/thread/139042?ContentTypeID=1</link><pubDate>Thu, 05 Jul 2018 06:01:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7f9d5ce-3055-4320-8269-0dbc3b94e13d</guid><dc:creator>DMS</dc:creator><description>&lt;p&gt;Will I be able to use those methods if i cant connect anything to the Analog input?&lt;/p&gt;
&lt;p&gt;Because it looks like those methods need some ADC input from the battery.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detection of low charge in battery</title><link>https://devzone.nordicsemi.com/thread/138992?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 13:47:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:754c73c1-56c4-465a-a655-2e373deb79e5</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi, check out:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/17395/reading-battery-voltage-using-nrf51822"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/17395/reading-battery-voltage-using-nrf51822&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>