<?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>[SAADC] how to measure battery with more precision digits</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24180/saadc-how-to-measure-battery-with-more-precision-digits</link><description>[CONDITION]
1. R1 = 1.5M, R2 = 430K
2. GAIN = 1/2
3. RESOLUTION = 10bits
4. Single End 
 [ISSUE DESCRIPTION]
1. If voltage is changed by 0.1V step (4.1V -&amp;gt; 4.0V), the outputs from ADC is ok to distinguish.
2. However, if voltage is changed by 0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Aug 2017 07:23:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24180/saadc-how-to-measure-battery-with-more-precision-digits" /><item><title>RE: [SAADC] how to measure battery with more precision digits</title><link>https://devzone.nordicsemi.com/thread/95215?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2017 07:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b655cdc-577a-4f5c-b300-1da1a73308a2</guid><dc:creator>Louis</dc:creator><description>&lt;p&gt;I do not fully understand nordic SAADC. Thanks for the reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [SAADC] how to measure battery with more precision digits</title><link>https://devzone.nordicsemi.com/thread/95214?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2017 06:09:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8907258-d69e-4b74-8405-9a18ad6d8ae8</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;nRF52832 has a 12 bit ADC, and the spec says&lt;/p&gt;
&lt;p&gt;&amp;quot;14-bit resolution with oversampling&amp;quot;&lt;/p&gt;
&lt;p&gt;This is 2 bits better than the nRF51&amp;#39;s ADC&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure however I fully understand your problem.&lt;/p&gt;
&lt;p&gt;If your resistor divider is 1500k and 430k  , you can measure up to voltages of 4.246V as that divides to 3.3V at the ADC&lt;/p&gt;
&lt;p&gt;For for a 10 bit ADC, thats 1024 steps so 4.246 / 1024 = 0.004V resolution. Which is better than you now say you require.&lt;/p&gt;
&lt;p&gt;However....&lt;/p&gt;
&lt;p&gt;I think you do not fully understand the operation of an ADC.
See
&lt;a href="https://devzone.nordicsemi.com/question/67316/nrf51-adc-max-input-resistance/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So you need you either need to use much lower value resistors (which may be impractical as it would flatten the battery).
Or you need to implement a circuit described here&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/blogs/30/measuring-lithium-battery-voltage-with-voltage-div/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [SAADC] how to measure battery with more precision digits</title><link>https://devzone.nordicsemi.com/thread/95213?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2017 05:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14de2c52-3b56-4f0a-974c-1bb07a7ecce4</guid><dc:creator>Louis</dc:creator><description>&lt;p&gt;Roger, thanks for quick reply.
Does that mean no way to measure battery voltage with 0.01V precision by nrf52832?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [SAADC] how to measure battery with more precision digits</title><link>https://devzone.nordicsemi.com/thread/95212?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2017 03:33:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f46c4beb-88c4-46a0-9608-c1af878f1ffb</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;If you need more than 10 bit resolution, you would need to use an external ADC to measure the voltage, which has more than 10 bit resolution.&lt;/p&gt;
&lt;p&gt;You could investigate oversampling the internal ADC e.g. See&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.embedded.com/design/mcus-processors-and-socs/4008894/Oversampling-with-averaging-to-increase-ADC-resolution"&gt;www.embedded.com/.../Oversampling-with-averaging-to-increase-ADC-resolution&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, this is a far from optimal solution, hence why you can buy 20 bit ADC&amp;#39;s&lt;/p&gt;
&lt;p&gt;You also start to need to consider the stability of your voltage reference when you are measuring to these sorts of resolution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>