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

How to read in a 4.2V battery reading on a nRF51822

I am using a lithium polymer 4.2V battery to power an nRF51822 (as a side note the power goes through a voltage regulator before going to Vdd).  I want to be able to check if the battery is low by checking the voltage using an analog input pin on the nRF51822.  The problem I'm having is that the lowest prescaler value I see is for 1/3 which will still be too much voltage for the chip to handle.  Is there a way I can work around this in software?  If not am I going to have to implement something in hardware to make this reading?

Related