I'm sure this is alot easier than I'm making it. I need a circuit where I can depress a pushswitch and it charges a cap. Upon release of the push switch it also discharges the cap. My intentions are to have absoulutely as few switches as possible. My inexperienced guess is that I can do this simply with a source, relay, and a cap. Could somebody please render me assistance.
Connect the capacitor from 'COM' to 0V, the power supply to 'L2' and the load to 'L1'. **broken link removed**
As is standard with all schematics, the switch is shown in its unactivated (depressed) state.