Components / Integrated circuits / 74HC138 3-to-8 decoder

74HC138 3-to-8 decoder

Picks one of eight outputs from a 3-bit address.

Function3-to-8 line decoder
Supply voltage2 to 6 V
PackageDIP-16
Integrated CircuitsReviewedMPN SN74HC138NUsed in 4 projects
74HC138
In short

What is the 74HC138 3-to-8 decoder and what is it used for?

Picks one of eight outputs from a 3-bit address. Makers use it for chip select, LED scanning.

How it works

Logic gates decode the binary address so exactly one output goes LOW.

Key specifications

Integrated circuit specValue
Function3-to-8 line decoder
Supply voltage2 to 6 V
PackageDIP-16

Pinout

1to 3Address inputs A0, A1, A2
4and 5Enable inputs E1 and E2, active LOW
6Enable E3, active HIGH
7Output Y7
8GND
9to 15Outputs Y6 to Y0 (active LOW)
16VCC

How to use it

Selects one of eight outputs from a 3-bit address, for example chip selects or LED rows. Tie E1 and E2 LOW and E3 HIGH to enable.

Applications

Alternatives

Buy at

Common questions

What is the 74HC138 3-to-8 decoder used for?

In maker projects: chip select, LED scanning.

How does the 74HC138 3-to-8 decoder work?

Logic gates decode the binary address so exactly one output goes LOW.

What voltage does the 74HC138 3-to-8 decoder need?

2 to 6 V.

What can I use instead of the 74HC138 3-to-8 decoder?

74HC595 Shift Register.