“clean” high-to-low signal at the flip-flop output. The waveforms in Fig. 8-31b illustrate the behavior.
ANOTHER DEBOUNCE CIRCUIT
The circuit shown in Fig. 8-32 uses a 74123 retriggerable monostable, to NOR gates connected to form the latch, a 3-input NOR gate, and a NOR gate used as an inverter to remove contact bounce. Here’s how it works;
เว้นเติมรูป
Fig. 8-32
1. Opening the switch. When the switch opens, there is no bounce problem. Point A immediately goes to +Vcc. Point A is connected directly to one of the inputs of the 3-input NOR gate and its output at C goes low. Thus the circuit output at A1 goes high. At the same time, A sets the latch and B goes high. The transition of A at the monostable input has no effect, and thus its output at Q remain low. The circuit output at A1 simply follows the switch input at A.
2. Closing the switch. Contact bounce now appears at A. The first high-to-low transition at the monostable input causes it to switch, and Q goes high; Q thus resets the latch and holds it reset, and B goes low. Every subsequent high-to-low transition at A restarts the timing cycle of the monostable. Thus the output of the 74123 at Q remains high until allowed to time out after the last contact bounce. When Q goes low after timing out, all inputs to the 3-input NOR gate are then low, C goes high, and A goes low.