This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Proximity App battery service not changing

I am using the nrf51422 development kit with sdk11.  I am running the proximity application for the battery life service.  I am inputting voltages ranging from 3000 millivolts to 2100 millivolts  using an external power source (not using the USB).  Regardless of what value I input I am still receiving a value of 0x64 through the nrf connect app.  I have eliminated the diode voltage drop and still I am receiving the same value.  I waited the default measurement period of 120 seconds and still the percentage did not change.  For example I am using 2300 mililivolts.  I am expecting a value close to 3 but I am still receiving 0x64.  What could the problem be?

Parents Reply
  • Hi,

    Yes, the ADC has a dedicated input connected to VDD. However, this is in fact not a very good way of measuring the battery voltage, as the voltage will typically drop when the ADC is enabled, drawing a lot of current. The voltage drop depends on the current charge of the battery, the internal resistance of the battery and the current consumption of the board at the time of sampling.

Children
No Data
Related