| ??? 12/03/02 16:18 Read: times |
#33675 - RE: switch debouncing |
I agree with Daniel. Worrying about the loss of 30 or 50 milliseconds in a system where user is interacting with a finger on a button is not even relevant.
It may be a concern however in other types of sensor inputs to a microcontroller where a synchronization issue is at stake. A typical example of this might be a rotating mechanism that has a microswitch that gets triggered for a portion of the rotational period. In this case the switch output delay "could" be critical.....and if it was then I suggest that the switch is not the proper type of detector. It could be that an optical interrupter may more applicable. But at the same time note that even a slotted optical interrupter may have some "bounce" in the form of a slow rise time or hesitant output switching time. Especially at slower speeds. It is also possible that the FLAG used to break the optical path in the interrupter may have some mechanical vibration in it which also leads to output uncertainty. Michael Karas |



