Skip to Content
Circuitera

74HC74 dual D flip-flop

Sample a digital input on the rising clock edge and use active-low control pins to initialize a 74HC74 circuit.

74HC74 dual D flip-flop photograph
ROCKY-518HV - STMicroelectronics 74HC74-2398.jpg by Raimond Spekking · CC BY-SA 4.0. Resized and encoded as WebP without cropping.

Clocked storage

On a rising clock edge, the flip-flop stores D at Q if the data meets setup and hold requirements. Q stays in the captured state until a new edge or an asynchronous control changes it.

Source: Texas Instruments

Reset and preset

Preset and clear are active low and operate independently of the clock. Hold both at their inactive level when using normal clocked behavior. Check the datasheet function table for unusual simultaneous assertions.

Source: Texas Instruments

Divide by two

Connect the inverted output to D and each rising edge toggles Q. A mechanically bouncing switch can produce several clock edges for one press, so condition a manual clock before using this circuit.

Source: Texas Instruments

Specifications

ParameterValue or conditionSource
Recommended supply2–6 V for SN74HC74Texas Instruments
Flip-flopsTwo D-type, positive-edge-triggeredTexas Instruments

Compatibility and practice

Define clock, data, preset and clear levels; keep switch bounce away from the clock.

Sources and datasheets