This Instructable is to provide a way of displaying the life of a battery on a LCD. This can be useful if you have a project that is powered from batteries. It'll provide an indication whether you need to change out your batteries. The code may also be adjusted to include an alarm or warning LED. The possibilities are up to you!
WARNING: DO NOT CONNECT GREATER THAN 5V TO THE ARDUINO'S ANALOG PINS. THIS COULD POTENTIALLY DESTROY THE MICROCONTROLLER OF THE ARDUINO.
(1) 10K Resistor
(1) 16x2 LCD (16 Pin)
Connect in accordance with the diagram above.