<?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>Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69524/battery-level-measurement-without-saadc</link><description>Hi! The nRF52820 chip does not have the SAADC module used to estimate the battery life in its larger counterparts (nrf52840 and nrf52833). Is there a different way to estimate battery life without an SAADC? I&amp;#39;m hoping for a method which does not include</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Feb 2022 01:47:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69524/battery-level-measurement-without-saadc" /><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/352200?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 01:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6cf9789-dc14-4fa5-adbd-10b3cd16f4b3</guid><dc:creator>LuoXF</dc:creator><description>&lt;p&gt;Thanks Johannes it works fine so far&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349438?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 08:23:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:187cb5f5-1068-4a28-8d78-3cdead83db72</guid><dc:creator>Johannes</dc:creator><description>&lt;p&gt;This is how accurate it will be. remember the resolution is only 6V/64 = 93.75 mV per bit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349432?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 08:18:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3be90181-5949-4172-b971-e55de7750024</guid><dc:creator>LuoXF</dc:creator><description>&lt;p&gt;The positive pole of my battery is directly connected to VDDH, and the measured value of my battery with a multimeter is 3.97, using the algorithm you provided：&lt;/p&gt;
&lt;p&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/QQ_FE564772_20220125161756.png" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;is it right or not?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349426?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 07:54:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cf6cefc-5e66-4b9b-a318-bd43117bd6f8</guid><dc:creator>Johannes</dc:creator><description>&lt;p&gt;is your battery fed directly into VDDH or do you have a voltage regulator. Can&amp;#39;t design the whole thing for you. the algorithm works perfectly as long as VDDH is connected directly with the battery. Otherwise you need a voltage divider to bring VBAT/5 to one of the AIN pins&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349425?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 07:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4192480d-c875-4c65-9ab4-9ee0cce04ed6</guid><dc:creator>LuoXF</dc:creator><description>&lt;p&gt;Does the formula require no modification? What I collected seems to be a fixed value&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349424?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 07:47:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4870ee25-39b8-46eb-949c-f2b296a2c2ac</guid><dc:creator>Johannes</dc:creator><description>&lt;p&gt;The formula should work up to 1.2*5V = 6 V.&amp;nbsp; Maximum VDDH for 52820 is 5.5V, so it should work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349415?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 06:28:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c261fad2-da2d-47c7-8625-850f1e80ec41</guid><dc:creator>LuoXF</dc:creator><description>&lt;p&gt;I&amp;#39;m modifying my power supply and one more question, my lithium battery is rated at 4.2v, so, vddh/5, should be approximately 0.84, should the formula be changed accordingly? can you help me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349407?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 05:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef88e24d-370d-4b35-a1f0-42b2af390bb9</guid><dc:creator>Johannes</dc:creator><description>&lt;p&gt;Yes of course. That is how the battery supplies power to the SoC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349406?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 05:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2614d460-5f48-4404-bdc6-a31a35204524</guid><dc:creator>LuoXF</dc:creator><description>&lt;p&gt;So your battery is connected to VDDH?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349405?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 04:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:324ecb31-e03c-4a90-9eb7-a9b2a139f7b5</guid><dc:creator>Johannes</dc:creator><description>&lt;p&gt;No, you cannot measure an external pin that way. Only the supply voltage VDDH&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349404?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 04:32:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69d85510-d17e-46ab-b7cb-db04e0d454e2</guid><dc:creator>LuoXF</dc:creator><description>&lt;p&gt;Thank you for your prompt reply, but I have some problems, is the battery you need to measure connected to P0.07?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349401?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 03:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc45e017-942e-4c7d-93c0-b975b3b4048d</guid><dc:creator>Johannes</dc:creator><description>&lt;p&gt;How accurate do you need it? The resolution of this ladder is only 64 bit so it will be rather coarse.&lt;/p&gt;
&lt;p&gt;The formula is explained like this:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the input is VDDH/5. so 3 V VDDH will be 0.6 V. the comparison value is 1.2 V so at 3 V the approximation should stop yield 32 (as 1.2 V will be 63). so (3000 * ladder) /32 should give the approximate VDDH in mV&lt;/p&gt;
&lt;p&gt;As we are approximating from the bottom up, one should add +1 do the value. I added +3. as empirically this gave me the closest match to the 3V reference power. Adjusting the VDD up and down from there will definitely change the output of the approximation. I cannot say that it is particularly linear or accurate. But in my application it is enough to give a reasonable battery gauge.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/349400?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 03:36:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d3a2e77-d2a1-41c1-bb0a-ffc77daad3dc</guid><dc:creator>LuoXF</dc:creator><description>&lt;p&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;逐次逼近法是否需要修改？&lt;/span&gt;&lt;span style="vertical-align:inherit;"&gt;因为我用了之后不准确，请问uint32_t volt = (3000 * (ladder+3))/32有什么解释吗？&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/339339?ContentTypeID=1</link><pubDate>Wed, 17 Nov 2021 07:45:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45668767-13d4-470a-8574-1ea9deb0b91b</guid><dc:creator>A.P</dc:creator><description>&lt;p&gt;Thank you Johannes!&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll have a look and see if I can make these suggestions work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/339304?ContentTypeID=1</link><pubDate>Tue, 16 Nov 2021 17:34:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a79e4326-66f9-45c4-9379-809c856d3c9f</guid><dc:creator>Johannes</dc:creator><description>&lt;p&gt;Use the following code to measure the battery voltage on the nRF52820 without any external components&lt;/p&gt;
&lt;p&gt;It essentially implements a successive approximation of Vin&amp;nbsp;using the COMP device with the internal&amp;nbsp;VDDH/5 source and modifying the hysteresis threshold:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void comp_handler1(nrf_comp_event_t event)
{
}

uint32_t get_battery_voltage()
{
      uint32_t ladder = 0; //approximate from below
      uint32_t current = 32;
      nrfx_comp_config_t config = {
          .reference = NRF_COMP_REF_Int1V2, // use 1.2 V reference
          .ext_ref = NRF_COMP_EXT_REF_0,
          .main_mode = NRF_COMP_MAIN_MODE_SE,
          .threshold = {.th_up = ladder+1, .th_down = ladder},
          .speed_mode = NRF_COMP_SP_MODE_Normal,
          .hyst = NRF_COMP_HYST_NoHyst,
          .input = NRF_COMP_VDDH_DIV5, // this mode is unique to the 52820
          .interrupt_priority = NRFX_COMP_CONFIG_IRQ_PRIORITY};
      nrfx_comp_init(&amp;amp;config, comp_handler1); // no handler is used but the API requires a blank handler

      while (current &amp;gt; 0) {   
          ladder = ladder | current;         // successive approximation
          nrf_comp_th_t th = {
            .th_up = ladder,
            .th_down = ladder 
          };
          nrfx_comp_stop();   // update the COMP
          nrf_comp_disable();
          nrf_comp_th_set(th);
          nrf_comp_enable();
          nrf_comp_event_clear(NRF_COMP_EVENT_READY);
          nrfx_comp_start(0, 0);
          while(nrf_comp_event_check(NRF_COMP_EVENT_READY) == 0);
          uint32_t sample = nrfx_comp_sample();  // sample 
          if (!sample) { // VDDH/5 is less than VUP
              ladder = ladder &amp;amp; (~current);  // reset the MSB and continue with lower bits
          }
          current = current &amp;gt;&amp;gt; 1;
      }
      nrfx_comp_uninit();
      uint32_t volt = (3000 * (ladder+3))/32;       // the hysteresis ladder is (th_up+1)*VREF (1.2)
                                                    // theoretically this should be latter+1 - +3 is a fudge factor adjustment
      return volt;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/332199?ContentTypeID=1</link><pubDate>Fri, 01 Oct 2021 18:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e37b7dd2-648e-41bd-a0c7-a41fc6545b7f</guid><dc:creator>Johannes</dc:creator><description>&lt;p&gt;Actually there is no external circuity required. One can do an approximation using the hysteresis ladder feature of the COMP peripheral. The nrf52820 can compare VDDH/5 against fractions of the internal 1.2 V reference&amp;nbsp;per the crude unoptimized approach below&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint32_t get_battery_voltage1()
{
      uint32_t ladder = 1; //approximate from below
      nrfx_comp_config_t config = {
          .reference = NRF_COMP_REF_Int1V2, // use 1.2 V reference
          .ext_ref = NRF_COMP_EXT_REF_0,
          .main_mode = NRF_COMP_MAIN_MODE_SE,
          .threshold = {.th_up = ladder, .th_down = ladder-1},
          .speed_mode = NRF_COMP_SP_MODE_Normal,
          .hyst = NRF_COMP_HYST_NoHyst,
          .input = NRF_COMP_VDDH_DIV5, // 
          .interrupt_priority = NRFX_COMP_CONFIG_IRQ_PRIORITY};
      nrfx_comp_init(&amp;amp;config, comp_handler1); // no handler is used but the API requires a blank handler

      nrf_comp_event_clear(NRF_COMP_EVENT_READY);
      nrfx_comp_start(0, 0);
      while(nrf_comp_event_check(NRF_COMP_EVENT_READY) == 0);
      uint32_t sample = nrfx_comp_sample();
      while (sample == 1) {   // VDDH/5 is higher than VUP
          ladder++;           // increase ladder until VDDH/5 is larger than VUP
          nrf_comp_th_t th = {
            .th_up = ladder,
            .th_down = ladder -1
          };
          nrfx_comp_stop();   // update the COMP
          nrf_comp_disable();
          nrf_comp_th_set(th);
          nrf_comp_enable();
          nrf_comp_event_clear(NRF_COMP_EVENT_READY);
          nrfx_comp_start(0, 0);
          while(nrf_comp_event_check(NRF_COMP_EVENT_READY) == 0);
          sample = nrfx_comp_sample();  // sample again
      }
      nrfx_comp_uninit();
      uint32_t volt = (3000 * (ladder+1))/32;       // the hysteresis ladder is (th_up+1)*VREF (1.2)
      return volt;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With this you can approximate VDDH from 0 to 6V in0.09375V increments&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/287294?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 15:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:371fd266-6990-4426-9c2a-a5b798dc41eb</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, you are understanding it correctly. The internal regulators can only regulate down the voltage from VDD, if VDD drops below the reference the chip will no longer be able to regulate it.&lt;/p&gt;
&lt;p&gt;You will need to use an external voltage/resistor divider together with one of the lower internal references.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/286254?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 10:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:359cc31f-f5cf-4415-bdaf-eb4dea929334</guid><dc:creator>A.P</dc:creator><description>&lt;p&gt;Thank you hmoleshworth!&lt;br /&gt;That is indeed a good idea. I will have to see if we can spare a GPIO for this purpose, as well as check if we have any capacitors we can use for this.&lt;/p&gt;
&lt;p&gt;Thank you for the idea!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/286252?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 10:05:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d82c79b-5953-43d3-a22c-1ea25d65febf</guid><dc:creator>A.P</dc:creator><description>&lt;p&gt;Hi &lt;span class="name"&gt;&lt;/span&gt;J&amp;oslash;rgen! &lt;br /&gt;Thank you for the answer.&lt;br /&gt;I&amp;#39;m slightly confused. Lets say I want to use the comperator to know if my VDD voltage has fallen below 2.4V, the higher reference generated by the pin. That would mean I would be comparing VDD with VREF(2.4V), but VDD must be 0.3V higher than VREF, which means that as VDD drops below 2.7V, I can not use the reference voltage to say anything about the VDD voltage. &lt;br /&gt;Am I misunderstanding something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/285453?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 19:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:875c186a-800d-4cb5-87d9-afa14285685c</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;You can be creative and measure the voltage by charging or discharging a capacitor and measuring the time taken to hit the comparator trigger voltage. Two pins can be used, one as the charge pin and one as the sense pin, or better use a single pin as I show here:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//                 +---------------------------------
//                 |                 nRF52832
//                 |
//                 |    VDD
//                 |   --#--
//                 |     |
//                 |     |
//                 |     +-|
//                 |       |&amp;lt;- High
//                 |     +-|
//                 |     |
//   #-------#-----O-----#--------------#--&amp;gt; P0.nn COMP
//   |       |     |     |              |    Ref = VDD/n
//  +++      |     |     +-|            |
//  | |    -----   |       |&amp;lt;- Low    -----
//  | |    -----   |     +-|          -----
//  | |      |     |     |              |
//  +++      |     |     |              |
//   |       |     |   =====          =====
// =====   =====   |    ===            ===
//  ===     ===    |     =              =
//   =       =     |
//                 +----------------------------------
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Conceptual Steps:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Set the port pin to an output, drive high to charge the capacitor&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;start a timer&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;set up comparator to detect voltage falling below a threshold, which releases the pin drive&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;comparator trip captures timer value&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Vo = Vi.e^(-t/CR) where Vi is your Vdd voltage and Vo the comparator trip voltage&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Use a lookup table to map result&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;The above example is charge-measure discharge time, but you can also discharge-measure charge time. The comparator options will probably make one of these easier.&lt;/p&gt;
&lt;p&gt;Maybe study the Capsense examples for help in driving the peripherals&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/285387?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 15:00:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1d74535-6f20-4ca4-ab15-9b988d0d78c9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;There are internal references generated by the chip at 1.2, 1.8, and 2.4 V. Note that the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52820/comp.html#unique_2008257791"&gt;specifications&lt;/a&gt; requires you to have supply voltage (VDD) of minimum VREF + 0.3V for the used reference. You can also provide an external reference, which may make the battery voltage measurements simpler, but it would require external components to have a stable reference voltage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/285310?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 12:35:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb7384f1-5477-470d-936b-748d0000601a</guid><dc:creator>awneil</dc:creator><description>[quote userid="83878" url="~/f/nordic-q-a/69524/battery-level-measurement-without-saadc/285249#285249"]Where do the references voltages come from?[/quote]
&lt;p&gt;that would be in the &lt;strong&gt;Product Specification&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/285249?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 09:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe9951ac-0dac-4da5-8b83-c9b71d54f12b</guid><dc:creator>A.P</dc:creator><description>&lt;p&gt;Where do the references voltages come from? can I control the output voltage on a GPIO, with sufficient accuracy, or will I need to receive the reference voltages from an external source?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/285149?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 15:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38477637-1691-4996-a11f-f01cc293482b</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;You can use it to tell that the battery voltage is above or below a certain level - so you could use that to give a good/low indication ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery level measurement without SAADC</title><link>https://devzone.nordicsemi.com/thread/285011?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 10:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:060497be-ba2b-456c-91e5-14ca267fd6b8</guid><dc:creator>A.P</dc:creator><description>&lt;p&gt;Hi Awneil!&lt;br /&gt;Yes, the nRF52820 does have analog level comp, specified &lt;a title="nRF52 Series comparison" href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_nrf52%2Fstruct%2Fnrf52.html"&gt;here&lt;/a&gt;.&lt;br /&gt;How can I use this to measure the battery?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>