-1

I made a contact debouncing circuit using a capacitor. The main idea was to charge the capacitor, so that the bouncing on the signal would be "smoothed out".

enter image description here

It works, but It's been a while since I last looked at it, and I don't understand exactly why/how the capacitor charges and discharges slowly when the contact is switched ON/OFF.

Is there no charge on the capacitor, when the switch is ON and there's 5 V on both sides? And if so, then why does the voltage drop slowly, when the contact is switched OFF?

Circuit simulation: http://goo.gl/itgLb8

ASM_JOE
  • 1
  • 2
  • this circuit makes little sense and looks weird 2) debouncing is possible using a resistor and a capacitor, these make a filter, filtering out rapid changes resulting from contact bounce 3) in practice most switches are connected to a microcontroller and some software running on it takes care of contact bounce. 4) you might want to Google on this subject and see how others solve this and try to understand how and why things are done like that.
  • – Bimpelrekkie May 23 '16 at 08:27
  • You may want to read this question about drawing schematics. – Dmitry Grigoryev May 23 '16 at 08:35