Hey everyone. Found this thread about measuring the voltage on lipo battery: devzone.nordicsemi.com/.../how-to-measure-lithium-battery-voltage
Hey everyone. Found this thread about measuring the voltage on lipo battery: devzone.nordicsemi.com/.../how-to-measure-lithium-battery-voltage
Hi Michal
When using low-voltage-mode, supply voltage is ~1.8V. You should not expose higher voltage to GPIO or AIN pins than the supply voltage. More information on the ADC input voltage limitations are on this thread.
The voltage-divider setup for lithium battery is valid for low-voltage mode because the maximum voltage exposed through the voltage divider to the ADC AIN input pin is V_AIN = 2200 / (2200+10000) * 4.2 = 0.76V.
Hi Michal
When using low-voltage-mode, supply voltage is ~1.8V. You should not expose higher voltage to GPIO or AIN pins than the supply voltage. More information on the ADC input voltage limitations are on this thread.
The voltage-divider setup for lithium battery is valid for low-voltage mode because the maximum voltage exposed through the voltage divider to the ADC AIN input pin is V_AIN = 2200 / (2200+10000) * 4.2 = 0.76V.