I am having troubles understanding how the following circuit works. It is from the AoE book 3rd ed. p. 196 Fig. 3.99C.
I added the resistor in red myself as I assume it was missing from the schematic (maybe I am wrong).
Here what authors tell about the circuit.
This circuit is a bit tricky, because you have to juggle several time constants appropriately*. But the basic concept is simple, and elegant: charge a capacitor from the inverted output of the flip-flop’s control input, then momentarily connect the charged capacitor to the control input to make it toggle.
*The capacitor’s charging time to the new state τC=R1C1 should be ∼100 ms to allow for switch bounce; R3C1 should be much shorter, and the discharge time constant of output transistor’s gate capacitance (R3 +R4)Cg should be faster still. Here we chose 100 ms, 2 ms, and ∼0.4ms, respectively.
Could anyone please explain in step-by-step manner, starting from the OFF state, then 1st button press, then 2nd and return into OFF state again? (With all the voltages and names of the components).
Thanks in advance.