LabWired The easy way to build hardware
board I/O module

74HC4051 8-channel analog multiplexer

The 74HC4051 8-channel analog multiplexer is a board I/O module in the LabWired part catalog. Its catalog type is 74hc4051. It connects to the MCU over GPIO. It has 15 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

From the catalog: analog_mux. S0–S2 select Y0..Y7 onto Z, which drives one ADC channel. E is optional (absent means tied active). Y inputs are sources that name this mux, not MCU pads.

Key facts

CategoryBoard I/O modules
Catalog type74hc4051
InterfaceGPIO
Pins15

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

74HC4051 8-channel analog multiplexer pinout

PinElectrical typeFunction
Y0 Passive —
Y1 Passive —
Y2 Passive —
Y3 Passive —
Y4 Passive —
Y5 Passive —
Y6 Passive —
Y7 Passive —
Z Passive —
S0 Input GPIO
S1 Input GPIO
S2 Input GPIO
E Input GPIO
VCC Power input Supply
GND Power input Supply

How to simulate the 74HC4051 8-channel analog multiplexer in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the 74HC4051 8-channel analog multiplexer (catalog type 74hc4051).
  3. Connect VCC and GND to the supply and ground of the board.
  4. Connect S0, S1, S2 and E to free GPIO pins.
  5. Connect Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7 and Z as your circuit needs.
  6. Run the firmware. It drives and reads the pins of the part, and the device model responds on those pins.

Related Board I/O modules

All Board I/O modules · All parts

No manufacturer datasheet is indexed for this part yet, so none is linked here.