<?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>Measure battery level of the nrf52 with internal ADC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62737/measure-battery-level-of-the-nrf52-with-internal-adc</link><description>I need to be able to measure the battery level of the NRF52 with the internal ADC. 
 I know it can be done, but I don&amp;#39;t really know how to configure it 
 
 I am using MBED for software development</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jun 2020 11:38:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62737/measure-battery-level-of-the-nrf52-with-internal-adc" /><item><title>RE: Measure battery level of the nrf52 with internal ADC</title><link>https://devzone.nordicsemi.com/thread/255748?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 11:38:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa81dc19-8ef7-491d-ae62-82e4d65c444b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There may be some mbed ADC API I am not aware of, but in any case, it should be possible to use the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/hardware_driver_saadc.html"&gt;SDK SAADC driver &lt;/a&gt;directly. In that case, I suggest you refer to the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrf_dev_saadc_example.html"&gt;SAADC example&lt;/a&gt;. The only thing. you need to know in addition is that you can sample VDD by using NRF_SAADC_INPUT_VDD as input (instead of e.g. NRF_SAADC_INPUT_AIN0).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>