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

Difference between battery measurement on ble_app_hrs and ble_app_proximity

Hello

I am working on the NRF51DK i would like to monitor the battery percentage and notifythe value over the air to the user and aslo alert the user if the battery levels fall below the certain percentage so i started testing the battery example on the SDK where the ble_app_proximity example always showing 100percent irrespective of whatever changes have been made on the program and i tried with the ble_app_hrs example it is showing the battery value (depending upon the charge present on the cr2032battery) i dont understand why the proxmity example always showing 100percent ? and how the ble_app_hrs is working? so i request can anyone give me some brief information about this point so that i can able to understand and proceed further for my application

Thank you

Parents Reply
  • Thank you for your kind reply i am using CR2032 Battery i measured with the mulitmeter(it showedtht battery is providing 3 volts) and then i checked the voltage present at VDD pin on the developement kit it is showing 2.81volts so i hoope i am not crossing the maximum supply of 3volts to the circuit ? can i change the condition something like this is it possible?

    if (mvolts >= 3300) { battery_level = 100; }

Children
No Data
Related