Skip to content
A project ofgwark.dev

TI / ON / many · Integrated circuit

CD4017 Decade Counter

Ten outputs, one high at a time, advancing on each clock. Pair it with a 555 and you have a chaser with no code at all.

Cheat sheet (SVG)
Logic level
3-18 V (CMOS)
Package
PDIP-16 / SOIC-16

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Pins 1-8

CD4017

Pins 9-16

Pin detail

Hover a pin for its mappings and gotchas. Click to keep it here.

Logic level
3-18 V (CMOS)
Package
PDIP-16 / SOIC-16

Fig. 1. CD4017 Decade Counter, PDIP-16. Hover or tap a signal to light up every pin that carries it.

2.Watch out

3.Minimum circuit

What has to go around the chip before it will run.

VCCGNDCD4017Wire link between RST (15) and GNDWire linkWire link between CLK INH (13) and GNDWire link100 nF between VDD (16) and GND100 nFVSS (8) to GNDVDD (16) to VCCVSS 8CLK INH 13RST 15VDD 16VDD 16
Fig. 2. Minimum circuit, drawn from Table 1. Crossing wires are not connected.
Table 1. External parts, and why each one is there.
PartBetween
Wire linkRST (15) to GND
Wire linkCLK INH (13) to GND
100 nFVDD (16) to GND

Drive the clock from something with clean edges. A slow or noisy edge counts several times, which is why a 4017 fed straight from a button jumps three or four outputs per press.

4.Full pin reference

Every pin, alias and mapping. This is the table that prints.

Table 2. Pin assignments.

Complete pin reference for CD4017 Decade Counter
PinNameFunctions

Looking for a substitute?

Primary sources

Found a wrong pin? The whole board is one file, data/boards/cd4017.json.

Edit this file on GitHubReport it instead