74HC74 D Flip-Flop
Components

74HC74 D Flip-Flop

0.0(0)
The 74HC74 is a 14-pin (DIP-14) logic IC that contains two independent D-type flip-flops. A D flip-flop is a one-bit memory: at the moment the clock input rises from 0 to 1 it copies the value on the D input to the Q output and keeps it until the next clock pulse; the second output is always the opposite of Q. Pins of the first flip-flop: 1 clear, 2 D, 3 clock, 4 preset, 5 Q, 6 inverted output. The clear and preset inputs are active at 0 and must be tied to VCC when they are not used. It runs from 2 to 6 V; pin 14 is VCC and pin 7 is GND. If you connect the inverted output to the D input you get a T flip-flop that changes state on every clock pulse, in other words a circuit that divides a frequency by two. Watch out for contact bounce when a button drives the clock; a capacitor or a 555 is needed to make a clean pulse. It is the building block of memory, divide-by-two, shift register and counter circuits.