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

Measure the voltage with adc pin?

I would like to close a button cell battery (3V) directly to VDD and define the VDD as ADC input. I would like to measure the button cell battery voltage via the internal reference voltage. I do not want to show anything, but an LED should light up when the battery voltage is only 2.5V. Will this work without external components. Can the software realize this?

Thanks!

Related