How to read the voltage of capacitor