Measuring Voltage using an Arduino Uno:
How can one measure or monitor voltages greater than 5V using an Arduino board? The easiest way is to use a voltage divider network — which consists of only two resistors as shown in the circuit diagram below.
A full article on the subject is available with more information, code (an Arduino sketch) and some precautions that need to be taken into consideration.