Here's a demo video of a switch bounce.
It is clearly seen that in certain push on the switch, the counting is not accurate. This is causee by the switch bounce. Here now is the image that shows switch bounces and a clean pulse.
As you can see in the top image, this is an image of a clean pulse without a switch bounce. On the other hand, below it, shows the bounces formed from switching.
The upper image use a circuit that is called switch debounce. A switch debounce can be software or hardware. We will create the latter.
The circuit below is a RS latch that is used as a switch debouncer. It's composed by two 2-input NAND gates with outputs feedbacks to the input of another. (other explation from malvino)
No comments:
Post a Comment