SN74HC138 decoder: 3-line to 8-line, 2 to 6 V, active-low outputs

A 3-to-8 line decoder and demultiplexer for chip selects and I/O expansion: supply, delay, drive, enable inputs and packages.

By Jignesh Panchal · Editorial & verification standards

  • TypeBoards
  • LevelBeginner
  • ReviewedNov 2026

The SN74HC138 is a 3-line to 8-line decoder and demultiplexer: three address inputs pull exactly one of eight outputs low, from a 2 V to 6 V supply with a typical propagation delay of 15 ns. It turns three GPIO pins into eight chip-select lines. It is a simpler alternative to the serial SN74HC595 when you only need one line active at a time. Figures are from the Texas Instruments SNx4HC138 datasheet SCLS107G.

Key specifications

Function3-to-8 decoder
Supply2–6 V
Delay15 ns typical
Outputsactive low, ±4 mA at 5 V
ICC80 µA max
Enablesthree
PackagesSOIC-16, SSOP-16, PDIP-16, TSSOP-16

What the datasheet promises

ItemDatasheet value
Function3-line to 8-line decoder and demultiplexer
Supply voltage2 V to 6 V
Propagation delay15 ns typical
OutputsActive low (the selected output is low); ±4 mA output drive at 5 V; can drive up to 10 LSTTL loads
Power80 µA maximum ICC; 1 µA maximum input current
Enable inputsThree enable inputs to simplify cascading or data reception
Packages (SN74)SOIC-16, SSOP-16, PDIP-16, SO-16 and TSSOP-16

Active-low outputs suit chip-select pins, which are usually active low too. With the three enable inputs you can cascade two decoders for sixteen lines, as the datasheet describes for cascading.

Using it on a robot

  • Select one of eight SPI devices with three GPIO pins plus the enable line.
  • Drive a row of eight LEDs or relays one at a time, within the output current limit above; add a transistor or driver such as the ULN2003A for anything heavier.
  • Run it at 3.3 V from a modern controller, inside the 2 V to 6 V range.

Sources and further reading

Last reviewed: November 2026. Limits are from the Texas Instruments datasheet; breakout boards and modules vary. No price is quoted because it has not been checked.

Where to buy in India

These open a store search. Compare seller, price and reviews before you order.

Free: the final-year project pack

A shortlist with BOMs, a report outline that matches the usual chapter scheme, a costing sheet and 40 viva questions. Built for the February–April submission season.

The Build Note

One short email when something is worth your bench time.

A new build sheet, a part price that moved, or a mistake worth avoiding. No daily drip, no recycled news.

One short email when a build or a price is worth your time. Unsubscribe in one click.