<?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>Using ADC to measure battery voltage internally</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9853/using-adc-to-measure-battery-voltage-internally</link><description>Looking at the ADC HAL, I see 8 choices for ADC input, plus a disabled case. Is it possible to choose as the input to the ADC a node that is proportional to the VCC battery voltage? In other words, I want to measure the battery voltage without adding</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Oct 2015 14:32:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9853/using-adc-to-measure-battery-voltage-internally" /><item><title>RE: Using ADC to measure battery voltage internally</title><link>https://devzone.nordicsemi.com/thread/36570?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2015 14:32:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e73a22fc-af4f-4f2d-8b4e-904768ae6167</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You choose the analog input pins in combination with one of the three&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_ADC_CONFIG_SCALING_INPUT_FULL_SCALE
NRF_ADC_CONFIG_SCALING_INPUT_TWO_THIRDS
NRF_ADC_CONFIG_SCALING_INPUT_ONE_THIRD
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;but you can also choose one of the two&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_ADC_CONFIG_SCALING_SUPPLY_TWO_THIRDS
NRF_ADC_CONFIG_SCALING_SUPPLY_ONE_THIRD
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;which measures the supply voltage directly and not an analog input pin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>