EL-64AdvancedPremiumFlip-flop circuits

Ring Counter: A Rotating Light on Four LEDs with the 74HC74

Press S2: LED1 lights and the other three go out. Then each press of S1 moves the single light one LED along, and after LED4 it returns to LED1. The four D flip-flops in two 74HC74s (U1, U2) are connected like a ring: the Q output of the last flip-flop comes back to the D input of the first. S2 loads the starting pattern through the set and reset inputs. The clock comes from S1, debounced with a 74HC14 (U3).

0.0(0)
Ring Counter: A Rotating Light on Four LEDs with the 74HC74
It is built on a full-size breadboard with a 5 V supply, two 74HC74s, one 74HC14, two buttons, seven resistors, one capacitor and four LEDs. The clock from S1 is cleaned by R1, R2, C1 and the Schmitt gate of U3, and goes to all four flip-flops together. Q1 is connected to the D input of the second flip-flop, Q2 to the third, Q3 to the fourth, and Q4 back to the D input of the first. S2 and R3 load the starting pattern (1000). LED1 to LED4 show Q1 to Q4. What you learn: the ring counter, feedback, the set and reset inputs.

Premium Content

This circuit's build steps, how-it-works guide and FAQ are open to Premium members.

  • Build Steps
  • How It Works
  • Frequently Asked Questions