Measure DC voltage with Arduino using an analog pin and a voltage divider.
Arduino analog pins must not receive more than 5V. To measure higher voltages, use a voltage divider so the analog pin stays safe.