Measuring voltage from solar panels