Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/05/04 16:53
Read: times


 
#76923 - RE: debouncing for matrix keypad ?
Responding to: ???'s previous message
Is it really necessary to debounce matrix keypad for normal applications?

Yes, of course! The mistake in your theory is, that debouncing is a chaotic process, which cannot be predicted in any way. This also includes the bouncing time. What you observed with your microswitch is a 'friendly' bouncing, which only lasts for a few miliseconds. To tell the truth, if you take a brand new switch you will hardly observe bouncing which lasts longer than 5msec.

BUT: This is only true for a NEW switch! The older your switch gets the less proper is the surface of contacts and the longer bouncing lasts! Think of dust penetrating the switch enclosure and contaminating the contacts. Not to forget chemicals like SO2 etc, which cause the contacts to become oxidized and sulfurized. Think also of the mechancial stress of thousands of times hitting the switch, and the fine arcs between contacts, when the switch is released.

So, your theory might be true for a new and perfect switch, but for a normal one, which is a bit aged your theory fails. From experience I know, that bouncing can take place for about 50msec. Means, if debouncing time constant is 50msec, then probability that a bouncing could not be suppressed is acceptable low.

Kai

List of 37 messages in thread
TopicAuthorDate
debouncing for matrix keypad ?            01/01/70 00:00      
   RE: debouncing for matrix keypad ?            01/01/70 00:00      
   correction            01/01/70 00:00      
   RE: debouncing for matrix keypad ?            01/01/70 00:00      
      RE: debouncing for matrix keypad ?            01/01/70 00:00      
         RE: debouncing for matrix keypad ?            01/01/70 00:00      
            RE: debouncing for matrix keypad ?            01/01/70 00:00      
         RE: debouncing for matrix keypad ?            01/01/70 00:00      
            RE: debouncing for matrix keypad ?            01/01/70 00:00      
               RE: debouncing for matrix keypad ?            01/01/70 00:00      
            RE: debouncing for matrix keypad ?            01/01/70 00:00      
               RE: debouncing for matrix keypad ?            01/01/70 00:00      
                  RE: debouncing for matrix keypad ?            01/01/70 00:00      
                     RE: debouncing for matrix keypad ?            01/01/70 00:00      
                        RE: debouncing for matrix keypad ?            01/01/70 00:00      
                           RE: debouncing for matrix keypad ?            01/01/70 00:00      
                              almost            01/01/70 00:00      
                                 RE: almost            01/01/70 00:00      
                                    RE: almost            01/01/70 00:00      
                                       RE: almost            01/01/70 00:00      
         RE: debouncing for matrix keypad ?            01/01/70 00:00      
            RE: debouncing for matrix keypad ?            01/01/70 00:00      
               RE: debouncing for matrix keypad ?            01/01/70 00:00      
                  RE: debouncing for matrix keypad ?            01/01/70 00:00      
                     RE: debouncing for matrix keypad ?            01/01/70 00:00      
                        RE: debouncing for matrix keypad ?            01/01/70 00:00      
            RE: debouncing for matrix keypad ?            01/01/70 00:00      
   my example code            01/01/70 00:00      
      RE: my example code            01/01/70 00:00      
   RE: debouncing for matrix keypad ?            01/01/70 00:00      
      RE: debouncing for matrix keypad ?            01/01/70 00:00      
   RE: debouncing for matrix keypad ?            01/01/70 00:00      
      RE: debouncing for matrix keypad ?            01/01/70 00:00      
   4k7 does not present a strong pull-up!            01/01/70 00:00      
      RE: 4k7 does not present a strong pull-u            01/01/70 00:00      
         RE: 4k7 does not present a strong pull-u            01/01/70 00:00      
            RE: 4k7 does not present a strong pull-u            01/01/70 00:00      

Back to Subject List