16
General Discussion / Re: Reading battery supply voltage without a voltage divider?
« on: December 09, 2013, 04:31:40 PM »
I have not yet had time to put this one under real scrutiny, but I am hoping to use it to detect low voltage on long term datalogger project. At the moment, I have only tested it down to about 3.8 volts, and seen a bit of noise in the readings - the flop around by 200 mV ish, but as my project is pretty rough I dont yet know if this is due to the routine, or its simply my cheep AA battery holders giving me grief in a humid environment.
Apparently this code has been floating around for quite a while, so you might be able to find out how reliable the internal 1.1 v ref via google. If you do, please post the extra info here so others can use it...
Apparently this code has been floating around for quite a while, so you might be able to find out how reliable the internal 1.1 v ref via google. If you do, please post the extra info here so others can use it...