Better to consider that the micro's analog inputs will be saturated when you get to the full scale of the ADC. And keep in mind that a 3.3V reference (supply?) has a tolerance, and could be some percentage lower than 3.3V. Scale your input to not exceed maybe only 90% of that lowest reference value.... should I make the voltage divider values for R18 and R19 27K and 100K so the signal is 3.3V with ... the battery is fully charged to 4.2V...
by Jake Hertz
by Jake Hertz