<?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>nrf52 Battery Measurements</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38684/nrf52-battery-measurements</link><description>How can i sample nrf52 own input voltage to do battery measurements?My nrf52 chip is directly connected to a battery and it needs to sample its own input voltage without a voltage divider. In the end my goal is to get battery measurement on my board.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Sep 2018 12:19:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38684/nrf52-battery-measurements" /><item><title>RE: nrf52 Battery Measurements</title><link>https://devzone.nordicsemi.com/thread/149435?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 12:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f250aa4-9df6-4213-baed-27aab4653537</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I assume the battery is below 3.6V at all times. In that case you don&amp;#39;t need a resistor bridge. Internally there is already a 1/6 divider and a 0.6V reference. So this means&amp;nbsp; that if you measure 3V battery, the measurement will be 3V/6 = 0.5V. If you have 8bit resolution, then you will measure approx 2^8 * (0.5V/0.6V) = 213 decimal @ 8bit resolution (or 2^10 * (0.5V/0.6V) = 853 decimal @ 10bit) when VDD= 3V.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 Battery Measurements</title><link>https://devzone.nordicsemi.com/thread/149412?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 11:39:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72479772-66b7-45df-8e88-da4f3fae6fd1</guid><dc:creator>Bilal</dc:creator><description>&lt;p&gt;Hello Kenneth,&lt;/p&gt;
&lt;p&gt;Does it only depends on input voltage ? because most of the example I see has voltage dividers as well. In my setup, chip is directly connected to battery. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 Battery Measurements</title><link>https://devzone.nordicsemi.com/thread/149407?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 11:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f6cc9e7-421a-448f-a640-afa31bd9e540</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;That should simply be opening&amp;nbsp;\examples\peripheral\saadc from a recent nRF5 SDK and change to in saadc_init():&lt;/p&gt;
&lt;p&gt;nrf_saadc_channel_config_t channel_config =&amp;nbsp;NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_VDD);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>