You're currently on: Catalog » Guides » CD4060BCN: crystal oscillator and 14-stage divider guide
Many projects need a slow, steady beat: a blinking LED, a 1-second tick or a clock for another chip. Making that directly is awkward, but making a fast stable signal and halving it many times is easy. The Fairchild CD4060BCN does both in one 16-pin DIP: it contains the amplifier for an oscillator plus fourteen divide-by-two stages. This guide explains how a binary divider works, what every pin does, how the datasheet's 32.768 kHz crystal circuit is wired and what happens from reset to the first output edge.
A divide-by-two stage is a flip-flop that changes state once per clock pulse. Because its output goes high on one pulse and low on the next, it completes one full cycle for every two input cycles: the output frequency is half the input frequency. Chain fourteen such stages and the last one runs at the input frequency divided by 214 = 16384.
Read together, the stage outputs also form a binary counter. Q1 is the least significant bit (weight 1), Q2 has weight 2, Q4 weight 8 and Q14 weight 8192. The CD4060BC advances one count on each falling edge (high-to-low transition) of its internal clock, and a high level on RESET returns every stage to zero, independent of the clock.
It is called a ripple counter because the stages are not clocked together. Stage 1 is clocked by the oscillator, stage 2 by stage 1, and so on, so a change ripples down the chain with a small delay at every step. For a frequency divider that does not matter; for decoding several outputs at once it does (see the limits below).
The CD4060BC also contains the inverting gates for its own oscillator. Add a crystal or a resistor-capacitor network on pins 9–11 and the chip clocks itself. Only ten of the fourteen stages reach a pin: Q1–Q3 and Q11 stay inside the package.
The CD4060BCN is the 16-lead plastic DIP (package N16E, 0.300 in wide) version of the CD4060BC. The output pins are deliberately not in order, so check every connection against the pinout (Fairchild datasheet, page 1):
Fairchild shows two oscillator circuits on page 3 of the datasheet. The crystal oscillator is the most accurate and the easiest to reproduce: a 15 MΩ resistor from pin 11 to pin 10 biases the internal gate into its linear region, 330 kΩ from pin 10 feeds the crystal, and the 32.768 kHz watch crystal sits between pin 11 and the far end of that resistor. 10 pF from pin 11 to ground and a 39 pF trimmer from the other crystal end to ground set the load; turning the trimmer adjusts the frequency slightly. Pin 9 is not used.
Why 32.768 kHz? It is exactly 215 Hz, so after 14 stages Q14 delivers exactly 2 Hz. One more divide-by-two stage gives a 1 Hz tick for a clock.
The RC oscillator uses pin 9 as well: Cx from pin 9 to the junction of R1 (to pin 10) and R2 (to pin 11). The datasheet gives R2 = 2 to 10 × R1 and f ≈ 1 / (2.2 × R1 × Cx), but specifies that formula at VDD = 10 V. It also warns that the RC oscillator is not recommended below 7 V with R1 under 50 kΩ. At 5 V, either use R1 ≥ 50 kΩ and measure the actual frequency, or use the crystal.
To turn the 2 Hz output into a 1 Hz tick, use one half of a J-K flip-flop in toggle mode, as described in the MC14027B J-K flip-flop guide. For a clean, debounced RESET button, see the MC14093B Schmitt-trigger guide. If you only need an adjustable clock without division, the LMC555 CMOS timer guide shows the alternative.
Pinout, package, oscillator connections, ratings and timing: Fairchild Semiconductor, CD4040BC, 12-Stage / CD4060BC, 14-Stage Ripple Carry Binary Counters, Rev. 1.5 (May 2007). The step-by-step example is a teaching circuit, not a tested product design.
See the CD4060BCN product · Fairchild CD4060BC datasheet (PDF)
We use cookies to provide you with the best possible experience. They also allow us to analyze user behavior in order to constantly improve the website for you.