EL-61O‘rtaPremiumTrigger sxemalari

Toggle with a D Flip-Flop: A Debounced Single-Button Switch

Press the button once and the LED lights, press again and it goes out. When you connect the Q̄ output of the D flip-flop in the 74HC74 to its D input, it changes state on every clock pulse. S1 provides the clock pulse; the bounce of the button passes through an RC filter and the Schmitt gate of the 74HC14 and becomes a single clean edge. This way every press makes exactly one change.

0.0(0)
Toggle with a D Flip-Flop: A Debounced Single-Button Switch
It is built on a full-size breadboard with a 5 V supply, one 74HC74, one 74HC14, one button, six resistors, one capacitor and two LEDs. S1, R1, R2 and C1 form a debounce filter; the Schmitt gate of U2 turns the slow edge into a sharp clock pulse. The Q̄ output of U1 is connected to D, so Q is inverted on every press. LED1 shows Q and LED2 shows Q̄. What you learn: toggle logic, switch bounce, the RC filter, the Schmitt trigger and the rising edge.

Premium kontent

Bu sxemaning o‘rnatish qadamlari, qanday ishlashi va ko‘p so‘raladigan savollari Premium a’zolar uchun ochiq.

  • O‘rnatish qadamlari
  • Qanday ishlaydi
  • Ko‘p so‘raladigan savollar