ExpertTimers & Logic

Four-Bit Ripple Counter from D Flip-Flops

Use two SN74HC74s as toggle flip-flops to count 555 clock edges in binary and inspect ripple timing.

Estimated time: 2–3 hours · Skills: D flip-flops, asynchronous controls, ripple counters

Parts from the database

Other supplies

Amazon links may be affiliate links. As an Amazon Associate, Electronics Hobby Hub earns from qualifying purchases.

Connections

  1. 555 astable: pins 1/8 ground/+5 V, pin 4 high, pins 2/6 joined, 10 kΩ +5 V to pin 7, 68 kΩ pin 7 to pins 2/6, 10 µF node to ground (+ at node), 10 nF pin 5 to ground. Pin 3 is clock.
  2. Each HC74 flip-flop toggles by feeding D from its own /Q. Tie /PRE high. Tie all active-low /CLR pins high with 10 kΩ and use one button to pull all low for reset.
  3. Clock first stage from 555 pin 3; for an up-count, clock each next stage from preceding /Q so it sees a rising edge when Q falls. Verify DIP-14 pin mapping in TI's datasheet.
  4. Show each Q with LED/resistor; add 100 nF to every IC supply.

Build steps

  1. Verify the slow 555 output first.
  2. Build and test one toggle stage.
  3. Add counter stages one at a time and reset after power-up.
  4. Read LEDs as bit0–bit3; ripple stages do not switch simultaneously.

Software and firmware setup

This is a hardware-only circuit; no firmware is required.

Test your build

Counter advances 0000 through 1111 then wraps; higher bits toggle more slowly and with propagation delay.

Troubleshooting

  • Random initial value: press the common active-low clear.
  • Counts in reverse or skips: check next clock uses /Q and inspect 555 edge.
  • Runs too fast: check 555 capacitor and resistor wiring.

Safety and limitations

Educational 5 V counter only, not a precision timer or safety controller.

Manufacturer and platform documentation

Community Notes for This Project

These are unverified visitor contributions, separate from the build guide and manufacturer specifications. Verify technical advice against the linked datasheets before relying on it.

Set up the comments service to load community notes.

Share a tip or question about this build

← Browse all projects