Protect a battery from overcharging to prevent damage on the battery.
This is a demonstration on changing a 5V battery by using a capacitor.
* Switch the switch to discharge and charge the capacitor to see the charging effect.
*The LED will change from red to green when the battery is fully charged.