Skip to content
A project ofgwark.dev

TI / ON / many · Integrated circuit

CD4051 8-Channel Analog Mux

One analog pin becomes eight. Bidirectional, so it multiplexes sensors into an ADC or fans a signal back out.

Cheat sheet (SVG)
Logic level
3-18 V (CD4051), 2-10 V (74HC4051)
Package
PDIP-16 / SOIC-16

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Pins 1-8

CD4051

Pins 9-16

Pin detail

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

Logic level
3-18 V (CD4051), 2-10 V (74HC4051)
Package
PDIP-16 / SOIC-16

Fig. 1. CD4051 8-Channel Analog Mux, 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.

VCCGNDCD4051Wire link between VEE (7) and GNDWire linkWire link between INH (6) and GNDWire link100 nF between VDD (16) and GND100 nFVSS (8) to GNDVDD (16) to VCCINH 6VEE 7VSS 8VDD 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 linkVEE (7) to GND
Wire linkINH (6) to GND
100 nFVDD (16) to GND

VDD sets the largest signal the switches will pass, and the three address pins are digital inputs that must be driven, never left floating. With VEE on a negative rail the part switches signals that swing below ground, which is the reason to choose a 4051 over a 74HC4051.

4.Full pin reference

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

Table 2. Pin assignments.

Complete pin reference for CD4051 8-Channel Analog Mux
PinNameFunctions

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

Edit this file on GitHubReport it instead