EL-56IntermediatePremiumFlip-flop circuits
Switch Bounce Cleaner: A Debouncer with the 74HC00
When a switch closes, its contacts bounce several times within milliseconds, and a logic circuit thinks a single move is many pulses. This SR latch, built from two NAND gates of the 74HC00, changes once at the first touch of the SW1 slide switch and ignores the bounces after it. LED1 and LED2 show the clean output; you build the debounce logic yourself.
0.0(0)

It is built on a half-size breadboard with a 5 V supply, one 74HC00, one slide switch, four resistors and two LEDs. The two NAND gates of U1 are cross-coupled to make an active-low SR latch. The middle leg of SW1 is at GND; when the slider moves left, U1 pin 1 is pulled to 0, and when it moves right, U1 pin 5 is pulled to 0. Even if the contact bounces, the output changes only at the first touch. What you learn: switch bounce, the NAND latch, pull-up resistors and hardware debouncing.
Premium Content
This circuit's build steps, how-it-works guide and FAQ are open to Premium members.
- Build Steps
- How It Works
- Frequently Asked Questions
