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

How to measure Lithium battery voltage with low-power mode 1.8V

Hey everyone. Found this thread about measuring the voltage on lipo battery: devzone.nordicsemi.com/.../how-to-measure-lithium-battery-voltage

Parents
  • Ok, let's says I'll use this combination: VDD 1.8V, prescaling 1/1 then AIN_MAX is 2.1V

    V_AIN_MIN = 2200 / (2200+10000) * 3.0 = 0.54V V_AIN_MAX = 2200 / (2200+10000) * 4.2 = 0.76V

    And I'll use 8 bits resolution. So I get: (0.76 - 0.54) / 256 = 0.00086

    It's quite small number, will I be able to determine at least 10 different battery levels?

    Or should I change the divider, so it has bigger "spread"?

    Sorry for probably very basic question. I'm quite new to this :)

Reply
  • Ok, let's says I'll use this combination: VDD 1.8V, prescaling 1/1 then AIN_MAX is 2.1V

    V_AIN_MIN = 2200 / (2200+10000) * 3.0 = 0.54V V_AIN_MAX = 2200 / (2200+10000) * 4.2 = 0.76V

    And I'll use 8 bits resolution. So I get: (0.76 - 0.54) / 256 = 0.00086

    It's quite small number, will I be able to determine at least 10 different battery levels?

    Or should I change the divider, so it has bigger "spread"?

    Sorry for probably very basic question. I'm quite new to this :)

Children
No Data
Related