Oct262019

Why switch debouncing is so important...

Published by paul at 1:58 PM under General

Here's a graphic illustration of why mechanical switch debouncing is so important:

 
 
It's the output of a push-button switch when I press it. The metal contacts inside the switch bounce against each other, creating two pulses when I expected just one. If I'd been debugging something sensitive to pulses, like using the output as a clock pulse, this would have messed up the debugging.
 
There are various methods of debouncing switches, and the most common is to use an S-R latch


[KickIt] [Dzone] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

E-mail | Permalink | Trackback | Post RSSRSS comment feed 0 Responses

Comments

Comments are closed