MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Pin functions and practical wiring of the 74LS74 dual D flip-flop
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Pin functions and practical wiring of the 74LS74 dual D flip-flop

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.

1. How it works

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.

2. Numbers and practice

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.

3. Pitfalls and fixes

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.

4. 74LS74 pin function quick reference

PinNameFunction
1,13SbarAsynchronous set, active low
2,12DData input
3,11CKClock, rising edge
4,10QOutput
5,9QbarInverted output
6,8CbarAsynchronous clear, active low
7GNDGround
14VCC5V supply

5. Notes

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.

6. References

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.

7. Cautions

⚠️ Three common pitfalls:
① Sbar and Cbar pulled low together:the forbidden state, and the output is undefined after release
② Asynchronous pins left floating:they pick up noise and false clear or set, output goes wild
③ CK without supply decoupling:supply ripple false-triggers the rising edge and the divide ratio wanders

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL