74HC74 Frequency Divider
Wire one half of a 74HC74 dual D flip-flop as a ÷2 divider and watch a square wave cleanly drop to half its frequency.
Difficulty: Breadboard. Estimated build time: about 25 minutes. Estimated parts cost: about US$2.00. 5-line bill of materials. Compare supplier offers when available. A divide-by-two stage built from a single half of the TI 74HC74 dual edge-triggered D flip-flop.
Place the chip and wire power
Drop the 74HC74 across the breadboard’s centre gully. Pin 14 to V_CC (5 V), pin 7 to GND. Add a 100 nF ceramic from V_CC to GND right next to the chip — CMOS chips object to noisy supplies.
Wire one D flip-flop as a toggle
Use the first half (pins 1–6). Tie pin 1 (CLR) and pin 4 (PRE) to V_CC — both are active-low and you don’t want them activated. Connect pin 6 (Q̄) back to pin 2 (D). Now an input clock on pin 3 (CLK) will cause pin 5 (Q) to toggle on each rising edge.
Provide a clean clock
Drive CLK with an Arduino pin doing tone(3, 1000) for a 1 kHz square wave, or with a 555 in astable mode at roughly 1 kHz. Both work; the 555 demonstrates the principle without a microcontroller in the loop.
Verify the divide-by-two
Probe Q with a scope: input 1 kHz → output 500 Hz, both with a 50 % duty cycle. Without a scope, wire a small piezo and 1 kΩ series resistor to each output — the input note will sound exactly one octave higher than the divided output. Cascade the second flip-flop (pins 8–13) to get ÷4.