The 74LS74 packs two independent D flip-flops in a 14-pin package with asynchronous set and clear. This page walks every pin and shows the wiring for a one-bit register and a divider.
Pinout: pin 14 is VCC and pin 7 is GND. Inside are two independent D flip-flops, each with a D data input, a CK clock input active on the rising edge, Q and Qbar outputs, an active-low asynchronous set Sbar that forces Q to 1, and an active-low asynchronous clear Cbar that forces Q to 0. The asynchronous pins ignore the clock and can force an initial state the moment power arrives, which makes them the key to power-up initialization.
Basic wiring, the least fuss: D takes the data, CK the clock, and both Sbar and Cbar are tied high so they stay inactive; then every rising clock edge latches D into Q. To clear at power-up, pull Cbar low through a resistor or wire it to a power-on reset circuit. Two stages of 74LS74 in series give divide-by-two then divide-by-four, and one chip is a two-bit register.
Asynchronous pin cautions: Sbar and Cbar must never be low together, the same forbidden state as the basic RS. When unused, tie them high rather than leaving them floating; LS-TTL floats high but picks up noise and false-triggers. Asynchronous clear outranks the clock: the moment Cbar goes low, Q goes 0 even with no clock edge, which is exactly how a hardware reset chain clears a whole row of flip-flops in one stroke.
| Pin | Name | Function |
|---|---|---|
| 1,13 | Sbar | Asynchronous set, active low |
| 2,12 | D | Data input |
| 3,11 | CK | Clock, rising edge |
| 4,10 | Q | Output |
| 5,9 | Qbar | Inverted output |
| 6,8 | Cbar | Asynchronous clear, active low |
| 7 | GND | Ground |
| 14 | VCC | 5V supply |
Tie unused asynchronous pins high, never leave them floating. For power-up initialization wire Cbar to a reset circuit so the initial Q state is defined.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Logic device pinout per GB/T 4728 and IEC 60748 series. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.