<?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>Unaccurate battery level measurment on Beacon device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2685/unaccurate-battery-level-measurment-on-beacon-device</link><description>Hi, 
 I know that a lot of question exists on that subject, but I can&amp;#39;t manage to have an accurate battery measure on [Nordic Beacon device] (battery CR1632 3V) ( www.nordicsemi.com/.../nRF51822-Bluetooth-Smart-Beacon-Kit) . The measure is always -100mV</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Jul 2014 13:41:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2685/unaccurate-battery-level-measurment-on-beacon-device" /><item><title>RE: Unaccurate battery level measurment on Beacon device</title><link>https://devzone.nordicsemi.com/thread/10527?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2014 13:41:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ac3261f-385b-41aa-ab51-88da5421f996</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I apologize again for a very late response. I was on vacation.&lt;/p&gt;
&lt;p&gt;Do you have an answer to your question yet?  60mV measurement error is very high. For 10 bit measurement it is around 17 bit error.&lt;/p&gt;
&lt;p&gt;My question is: when are you measuring the battery voltage? If you measure it during a radio event, you will measure lower voltage then when measuring when the chip is idle and not consuming a lot of current. How much voltage drop is during the radio event (or whenever the chip consumes the most current) really depends on the internal resistance of your battery, which is very different for different battery manufacturers. Ideally you should measure the battery voltage at the moment the chip is consuming the most current.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unaccurate battery level measurment on Beacon device</title><link>https://devzone.nordicsemi.com/thread/10526?ContentTypeID=1</link><pubDate>Thu, 26 Jun 2014 14:09:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60868c8a-9e08-4a79-82d7-7cc8421c2a2c</guid><dc:creator>S&amp;#233;bastien Despont</dc:creator><description>&lt;p&gt;Hi Stefan,
Thank you for your support.
I agree with the fact that enable 16MHz for the battery measurement is nonsense in my case, but I would my code be closest to the Nordic reference code found in the GitHub repository before asking for help.
At this time, I removed the 16MHz enabling code for the battery measurement. I can ensure you that my code is really minimal and nothing is enabling before the end of the battery check.
I was doing the battery measurement in debug mode (with the segger connected to the computer) which is bad. The value is close to the reality now: -60mV
But, all the battery measurements done with the development kit are really accurate. Can you confirm that a difference of -60mV is acceptable for ADC measurements using a button battery CR1632?
Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unaccurate battery level measurment on Beacon device</title><link>https://devzone.nordicsemi.com/thread/10525?ContentTypeID=1</link><pubDate>Wed, 25 Jun 2014 04:50:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aca71ae2-26e9-4f3f-aa19-d2004fa0ddbb</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Sebastien&lt;/p&gt;
&lt;p&gt;I am unhappy about that I did not see your message before. Sorry for the late response.&lt;/p&gt;
&lt;p&gt;What is actually the current consumption of your beacon device by the time you are sampling. If it is high, the measured voltage is lower than the battery voltage that you measure with your voltage meter. This is because of the internal resistance of the battery, which will create a lower battery output voltage on high current drain. The internal resistance of the battery greatly varies between battery manufacturers and battery types.&lt;/p&gt;
&lt;p&gt;To check if the high current consumption is creating that much difference in the battery reading, try to not request the high frequency clock. Enabling the high frequency clock will create most of the current consumption for the ADC sampling, so by not enabling the high frequency clock, the current consumption should be much lower and you should see some difference in your ADC readings.&lt;/p&gt;
&lt;p&gt;However, measuring the battery voltage when the device consumes the most current is perhaps the preferred method for battery level measuring.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unaccurate battery level measurment on Beacon device</title><link>https://devzone.nordicsemi.com/thread/10524?ContentTypeID=1</link><pubDate>Wed, 25 Jun 2014 01:44:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24e14e4f-c53b-4e7a-af52-f24bacfd7487</guid><dc:creator>Dan Danknick</dc:creator><description>&lt;p&gt;Are you running on the Eval Board or your own HW? If your own, you certainly want to set DIODE_FWD_VOLT_DROP_MILLIVOLTS to 0.&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unaccurate battery level measurment on Beacon device</title><link>https://devzone.nordicsemi.com/thread/10523?ContentTypeID=1</link><pubDate>Tue, 24 Jun 2014 15:09:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3222a078-0114-4cab-b0ca-b14bfe3ea1df</guid><dc:creator>S&amp;#233;bastien Despont</dc:creator><description>&lt;p&gt;After 4 weeks, still no help for my problem. Is there someone to help me to figure this out?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>