K
Kieran
Guest
Kieran Asks: RC Debounce: Is there a benefit to placing the capacitor in parallel with the switch?
I've always seen RC debounce circuits drawn wire the capacitor tied to the same potential as the switch.
E.g.
Like this:
But, for a normally open switch, this has the issue of transience at boot-up. At t=0, C1 acts like a short, giving an unwanted rising edge on boot to the signal.
Is there any disadvantage to tying the capacitor to the opposite logic level as the switch? Like this:
I've always seen RC debounce circuits drawn wire the capacitor tied to the same potential as the switch.
E.g.
- if the switch is high-side, the cap is high-side
- if the switch is low-side, the cap is low-side.
Like this:
But, for a normally open switch, this has the issue of transience at boot-up. At t=0, C1 acts like a short, giving an unwanted rising edge on boot to the signal.
Is there any disadvantage to tying the capacitor to the opposite logic level as the switch? Like this:
SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.