Any mechanical contact will actually make and break many, many times on each closure. This is because the mass of the moving contact, combined with the spring inherent in all metals, will make it literally bounce off after the initial strike, and several times thereafter.
Jack G. Ganssle did some experiments and captured the waveforms of a bunch of switches, disproving many popular myths about switch bounce. In particular, elastomer button outputs don't "bounce" so much as very slowly rise and fall. The "bounce" on such elastomer button outputs can be eliminated with a Schmitt trigger between the button and the digital logic. "A Guide to Debouncing" http://www.ganssle.com/debouncing.pdf Jack G. Ganssle 2004, 2008
Debouncing Inputs with PICs
Debouncing Inputs with SXs
|file: /Techref/debounce.htm, 2KB, , updated: 2020/9/1 09:14, local time: 2021/9/27 11:33,
|©2021 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/debounce.htm"> Debounce Switch Inputs</A>
|Did you find what you needed?|
PICList 2021 contributors:
o List host: MIT, Site host massmind.org, Top posters @20210927 Neil, Harold Hallikainen, Alan Pearce, RussellMc, Bob Blick, Allen Mulvey, Sean Breheny, Dwayne Reid, Justin Richards, madscientistatlarge,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!