Slow blinker with a counter chip
Build it step by step
0 of 8 donePower the chip
5 V to pin 16 and GND to pin 8.
Tie reset low
Pin 12 to GND.
Build the oscillator
10 kohm and 100 nF to the junction, 100 kohm from the junction to pin 11.
Add the LED
Pin 1 through 1 kohm to the LED, then GND.
Power up
The LED changes state about every four and a half seconds.
Measure
Time ten changes with a stopwatch.
Move the LED
Try pin 2 for a slower blink and pin 15 for a faster one.
Change the capacitor
Use 220 nF and note the new time.
How do you build a slow blinker with a counter chip?
A chip with a built-in oscillator divides its frequency to blink an LED once every several seconds. You need CD4060 counter and oscillator, Resistor 100 kΩ, Resistor 10 kΩ, Ceramic Capacitor 100 nF, LED 5 mm red, Resistor 1 kΩ, Micro USB breakout board, 5 V 2 A USB adapter and Breadboard 830 Tie Points. It takes 8 steps and about 60 minutes.
- Level
- Beginner
- Time
- About 60 min
- Parts
- 9
Parts list
- Integrated CircuitsBuy
- PassivesBuyResistor 100 kΩ × 1
- PassivesBuyResistor 10 kΩ × 1
- PassivesBuy
- SemiconductorsBuyLED 5 mm red × 1
- PassivesBuyResistor 1 kΩ × 1
- ConnectorsBuy
- PowerBuy
- PrototypingBuy
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| CD4060 pin 16 (VDD) | 5 V from the USB breakout | Power |
| CD4060 pin 8 (VSS) | GND | Ground |
| CD4060 pin 12 (RESET) | GND | Must be low or the counter stays at zero |
| 10 kohm resistor | Pin 10 to a junction J | Timing resistor |
| 100 nF capacitor | Pin 9 to the junction J | Timing capacitor |
| 100 kohm resistor | Junction J to pin 11 | Series resistor, larger than the timing resistor |
| LED plus through 1 kohm | Pin 1 (Q12) | Divided output, about nine seconds a cycle |
| LED minus | GND | Common ground |
Code
The CD4060 contains an oscillator and a fourteen-stage binary counter in one chip. You set the oscillator speed with one resistor and one capacitor, and each output pin gives the clock divided by a different power of two. Slow outputs let you get blinks that last several seconds with no microcontroller and very little power. The oscillator needs three connections: the timing resistor, the timing capacitor and a larger series resistor, joined at one junction. The reset pin must be tied to ground, otherwise the counter is held at zero and the outputs never change. The outputs of this CMOS chip are weak, so use a 1 kilohm resistor for the LED, which makes it a little dim but safe for the chip. Because the frequency depends on the capacitor value, which is usually only accurate to 10 or 20 percent, the blink times are approximate. Change the capacitor or the resistor to speed it up or slow it down, or move the LED to a different output pin.
No code. This is a hardware-only circuit. The notes below are your build sheet. Oscillator frequency is about 1 / (2.2 x Rt x Ct). With Rt = 10 kohm and Ct = 100 nF that is about 455 Hz. Each output divides the clock by a power of two: Pin Output Divide by Time for one full cycle (about) 7 Q4 16 0.035 s 5 Q5 32 0.07 s 4 Q6 64 0.14 s 6 Q7 128 0.28 s 14 Q8 256 0.56 s 13 Q9 512 1.1 s 15 Q10 1024 2.3 s 1 Q12 4096 9 s 2 Q13 8192 18 s 3 Q14 16384 36 s An LED on a given output is on for half of that time and off for half. Real chips and capacitors vary by 20 percent or more, so measure with a stopwatch.
Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| LED on pin 1 | Changes about every 4.5 s |
| LED on pin 15 | Changes about every 1.1 s |
| Double the capacitor | Roughly double the time |
| Reset pin lifted | Output holds at zero |
| Remove the series resistor | Oscillator may not start |
If it does not work
LED never changes
Reset on pin 12 must go to GND.
Fast flicker instead of slow
You are on a low-numbered output, use pin 1, 2 or 3.
Oscillator does not run
Check the junction and the order of pins 9, 10 and 11.
LED very dim
Normal at 5 V with a 1 kohm resistor.
Times far off
The capacitor value differs from the label, measure and adjust.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the slow blinker with a counter chip?
CD4060 counter and oscillator, Resistor 100 kΩ, Resistor 10 kΩ, Ceramic Capacitor 100 nF, LED 5 mm red, Resistor 1 kΩ, Micro USB breakout board, 5 V 2 A USB adapter and Breadboard 830 Tie Points.
How long does the slow blinker with a counter chip take to build?
About 60 minutes for a beginner maker, in 8 steps.
How do I know the slow blinker with a counter chip works?
LED on pin 1: Changes about every 4.5 s. LED on pin 15: Changes about every 1.1 s. Double the capacitor: Roughly double the time.
LED never changes: what should I check?
Reset on pin 12 must go to GND.
Fast flicker instead of slow: what should I check?
You are on a low-numbered output, use pin 1, 2 or 3.
Oscillator does not run: what should I check?
Check the junction and the order of pins 9, 10 and 11.
LED very dim: what should I check?
Normal at 5 V with a 1 kohm resistor.
