<?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>ADC to measure battery voltage</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7643/adc-to-measure-battery-voltage</link><description>setup, I have a 3.3 V battery divided down to the bandgap range using a 56k and 10k resistors, so the voltage at the ADC input is 3.3 * (10/66) = 0.5 V，but the fact is 0.498V 
 I&amp;#39;ve configured the ADC to convert at 8 bits, to use no prescaler, and to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Feb 2016 10:12:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7643/adc-to-measure-battery-voltage" /><item><title>RE: ADC to measure battery voltage</title><link>https://devzone.nordicsemi.com/thread/27247?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2016 10:12:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ca9b8a8-0cae-44b2-8050-bf7c3f4a9b65</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;Hello Zcmm could you please tell me how you measure the voltage present on the analog pin 6 i also followed the procedure exactly similar to you but when i measured the voltage available on PIN0.06 by using mulitmeter it is showing 0volt only so i am bit confussed how to monitor the voltage availble on the ADC PIN because am trying to measure to battery voltage and send over the bluetooth to notify the peripheral about the battery percentage&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC to measure battery voltage</title><link>https://devzone.nordicsemi.com/thread/27246?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2015 03:14:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d364e864-507f-4acd-9d5b-da8580265dc3</guid><dc:creator>Nenik</dc:creator><description>&lt;p&gt;You&amp;#39;d go with higher resistances and lower capacitor - higher resistance to reduce the power consumption, but you may need to reduce the capacity to get reasonable response time - the divider, together with the capacitor forms an RC filter element. If you use 10x the resistance, you&amp;#39;d have to reduce the capacity 10-fold to keep the same time constant. You can safely go as low as 1nF, below that, you&amp;#39;d start loosing the other important property of the filter - supplying the ADC input during the sample phase.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC to measure battery voltage</title><link>https://devzone.nordicsemi.com/thread/27245?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2015 08:18:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7546fa9-ecfa-46da-9615-da19df36f025</guid><dc:creator>zcmm</dc:creator><description>&lt;p&gt;thanks.i use 10K and 56K,capacitor is 100nF.it add 45ua to my power consumption.How to reduce power dissipation in this respect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC to measure battery voltage</title><link>https://devzone.nordicsemi.com/thread/27244?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2015 04:20:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89ac31cf-7607-4033-8b71-d234b9eb506c</guid><dc:creator>Nenik</dc:creator><description>&lt;p&gt;Maybe you&amp;#39;re loosing MSB somehow?
Take your value of 0xA7, add the (possibly) lost MSB, thus 0x1A7 = 423 and you&amp;#39;ll get 0.496V, pretty in line with your expected result.&lt;/p&gt;
&lt;p&gt;Anyway, even 0.495 can&amp;#39;t really be considered &amp;quot;less precise&amp;quot;, as at 8bits, your LSB step is almost 5mV.
The fact that you &amp;quot;measured&amp;quot; 0.498 is just a coincidence, it could as well easily be 0.493 or 0.503, both far within the ADC specification (read on quantization noise and all the documented nonlinearities of the ADC).&lt;/p&gt;
&lt;p&gt;Also, I would suggest going with much higher resistances (with a capacitor for better sampling) in the divider, this one is adding 50uA to your power consumption, something you can&amp;#39;t really afford for a battery powered device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>