# 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.

Canonical: https://roboticsengineering.in/components/sn74hc138-3-to-8-decoder/ | Published: 2026-11-03 | Updated: 2026-11-03

**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](https://roboticsengineering.in/components/sn74hc595-shift-register/) when you only need one line active at a time. Figures are from the Texas Instruments SNx4HC138 datasheet SCLS107G.

## Key specifications

| Function | 3-to-8 decoder |
| --- | --- |
| Supply | 2–6 V |
| Delay | 15 ns typical |
| Outputs | active low, ±4 mA at 5 V |
| ICC | 80 µA max |
| Enables | three |
| Packages | SOIC-16, SSOP-16, PDIP-16, TSSOP-16 |

## What the datasheet promises

| Item | Datasheet value |
| --- | --- |
| Function | 3-line to 8-line decoder and demultiplexer |
| Supply voltage | 2 V to 6 V |
| Propagation delay | 15 ns typical |
| Outputs | Active low (the selected output is low); ±4 mA output drive at 5 V; can drive up to 10 LSTTL loads |
| Power | 80 µA maximum ICC; 1 µA maximum input current |
| Enable inputs | Three 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](https://roboticsengineering.in/components/uln2003a-darlington-driver/) 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

- [Texas Instruments SN54HC138, SN74HC138 datasheet (SCLS107G)](https://www.ti.com/lit/ds/symlink/sn74hc138.pdf) — function, supply, delay, outputs, power, enable inputs and packages above.

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.
