How do I monitor battery voltage with nRF51 series?
How do I monitor battery voltage with nRF51 series?
you can use the built-in ADC to measure the internal 1.2V bandgap reference and calculate VDD from it. This method allows you to estimate the battery voltage without extra hardware. Simply unblocked games configure the ADC to use VBG as input and VDD as the reference. Then, use the formula VDD = (1.2V × 1024) / ADC result
to get the battery voltage in millivolts.
you can use the built-in ADC to measure the internal 1.2V bandgap reference and calculate VDD from it. This method allows you to estimate the battery voltage without extra hardware. Simply unblocked games configure the ADC to use VBG as input and VDD as the reference. Then, use the formula VDD = (1.2V × 1024) / ADC result
to get the battery voltage in millivolts.