Opens in a new tab

Authorized electronic component supplier · 12,000+ part numbers in stock

MENU

Instant Quote

SEARCH PARTS

SN74LS138N

3-to-8 decoder/demux, active-low outputs, 3 enables, LS TTL, PDIP-16

Effective inventoryPCS

14000
in stock

SpecificationsTechnical data

Manufacturer part

SN74LS138N

Package

PDIP-16 (19.3 x 6.35 x 4.57mm, 2.54mm pitch, through-hole)

Brand

TI

Category

Integrated Circuits ICs, Interface ICs

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

Product Overview

The SN74LS138N is a 3-line to 8-line decoder/demultiplexer from Texas Instruments with 3 enable inputs and inverting outputs in a 16-pin PDIP package.

Key Specifications

Function 3-to-8 decoder/demultiplexer
Logic Family LS (Low-power Schottky)
Supply Voltage 4.75V to 5.25V (5V nominal)
Inputs 3 address (A, B, C) + 3 enable (G1, G2A, G2B)
Outputs 8 active-low (Y0-Y7)
Propagation Delay 22ns typical (address to output)
Enable to Output Delay 18ns typical
Output Low Current (IOL) 8mA
Operating Temperature 0°C to +70°C
Package PDIP-16 (19.3 x 6.35mm)

Features

  • 3-to-8 line decoder with active-low outputs
  • 3 enable inputs: G1 (active high), G2A and G2B (active low)
  • Demultiplexing capability with data input via enable pins
  • Direct replacement for 74138 and 74LS138
  • Input clamp diodes for undershoot protection
  • Multiplex expansion using multiple devices

Applications

  • Memory chip select decoding
  • I/O port address decoding
  • Data demultiplexing
  • Clock distribution and enable generation
  • 7-segment display digit selection
01SN74LS138N · Product Introduction
The SN74LS138N from Texas Instruments is a 3-line to 8-line decoder/demultiplexer designed for high-performance memory decoding and data routing. Three binary address inputs (A, B, C) select one of eight active-low outputs (Y0-Y7). The three enable inputs provide flexible control: G1 is active-high, while G2A and G2B are active-low. The device is enabled only when G1 is high AND both G2A and G2B are low. When disabled, all outputs are high (inactive). The active-low outputs directly drive chip-select pins on memory and peripheral ICs without external inverters. As a demultiplexer, data applied to one of the enable inputs is routed to the selected output. Multiple SN74LS138 devices can be cascaded using the enable inputs to expand the decoding range to 4-to-16, 5-to-32, or more. The N suffix denotes the PDIP-16 through-hole package.
02SN74LS138N · Working Principle
The SN74LS138N decodes a 3-bit binary address into one of eight mutually exclusive active-low outputs. When the device is enabled (G1=HIGH, G2A=LOW, G2B=LOW), the 3-bit address on inputs C, B, A (where C is MSB) selects one output to go LOW while all other outputs remain HIGH. For example, CBA=000 selects Y0 (LOW), CBA=001 selects Y1 (LOW), and so on through CBA=111 selecting Y7 (LOW). The three enable inputs provide cascading capability: a 4-to-16 decoder is built by using the 4th address bit to enable one of two 138 devices (G1 of one device, G2A of the other). For demultiplexing, data is applied to one of the enable pins (e.g., G1) while the other enables are held active; the data signal is then routed to the output selected by the address inputs. The active-low output convention matches the active-low chip-select pins found on most memory and peripheral ICs.
03SN74LS138N · Pin Description
Pin Name Type Description
1 A Input Address input A (LSB)
2 B Input Address input B
3 C Input Address input C (MSB)
4 G2B Input Enable input (active low)
5 G2A Input Enable input (active low)
6 G1 Input Enable input (active high)
7 Y7 Output Decoded output 7 (active low)
8 GND Power Ground
9 Y6 Output Decoded output 6 (active low)
10 Y5 Output Decoded output 5 (active low)
11 Y4 Output Decoded output 4 (active low)
12 Y3 Output Decoded output 3 (active low)
13 Y2 Output Decoded output 2 (active low)
14 Y1 Output Decoded output 1 (active low)
15 Y0 Output Decoded output 0 (active low)
16 VCC Power Supply (4.75V to 5.25V)
04SN74LS138N · Application Scenarios
  • Memory Decode: 3 address lines generate 8 active-low chip selects for 8 memory-mapped peripherals
  • I/O Port Decode: Cascading two 138s creates a 4-to-16 decoder for 16 I/O ports from 4 address lines
  • Display Select: Active-low outputs directly drive common-cathode 7-segment display digit enables
  • Data Routing: As demultiplexer, routes serial data to one of 8 output destinations under address control
  • Clock Distribution: Routes a clock signal to one of 8 destinations using enable pin as data input
05SN74LS138N · Alternative Models
Model Manufacturer Key Difference Package Supply
74LS138N TI/Nexperia Original TTL version with 5V-only supply, typical propagation delay 10-15ns DIP-16 5V TTL
74LS138D TI/Nexperia Surface-mount SOIC version of LS with identical logic function SOIC-16 5V TTL
74HC138D TI/Nexperia CMOS version with wide 2-6V supply range, lower power consumption and higher noise immunity SOIC-16 2-6V CMOS
74HC138N TI/Nexperia Through-hole DIP version of HC family for prototyping and repair DIP-16 2-6V CMOS
74HCT138D TI/Nexperia CMOS with TTL-compatible input levels, ideal for mixing with LS devices at 5V SOIC-16 4.5-5.5V TTL-in
74HCT138N TI/Nexperia Through-hole DIP version of HCT family for prototyping and repair DIP-16 4.5-5.5V TTL-in
74AC138D TI/Nexperia Advanced CMOS with 2-6V supply and higher output drive current (24mA vs 6mA for HC) SOIC-16 2-6V CMOS
74AC138N TI/Nexperia Through-hole DIP version of AC family for prototyping and repair DIP-16 2-6V CMOS
74LVC138D TI/Nexperia Low-voltage CMOS for 1.65-3.6V modern logic with 24mA output drive and bus-hold inputs SOIC-16 1.65-3.6V CMOS
74LVC138N TI/Nexperia Through-hole DIP version of LVC family for prototyping and repair DIP-16 1.65-3.6V CMOS

The 74138 is a 3-Line to 8-Line Decoder/Demultiplexer. Family variants span from the original LS TTL (5V only) to modern LVC/AUP (down to 0.8V). HC and HCT versions offer 2-6V CMOS operation with HCT providing TTL-compatible input thresholds for mixed 5V systems. CD4000-series equivalents offer the widest 3-18V supply range at the cost of lower switching speed. DIP packages (N suffix) are through-hole; SOIC (D suffix) and TSSOP are surface-mount.

Request a quoteWithin 24h

Tell us the quantity you need. We confirm price and availability within one business day.

DatasheetPDF

Specifications subject to change by the manufacturer.

IC-Vendor · Sourcing

Verified stock, quoted fast.

AuthenticityOriginal parts
Lead time1 business day
ShippingDHL / FedEx / UPS

Recommended

Related parts you may need

ADUM1200ARZ-RL7

Dual-channel digital isolator based on ADI iCoupler technology, 2/0 direction, SOIC-8 narrow body, 1Mbps (A grade), 2.7-5.5V dual supply, 2500Vrms isolation, >25kV/us CMTI, -40C to +105C.

Brand: analog-devicesPackage: SOIC-8 Narrow (5.06 x 3.99 x 1.75mm)

IN STOCK: 12476pcs

Cargo cycle: 3~7 Days

The minimum order is 1

SN65HVD75DR

3.3V RS-485/422 transceiver, 50Mbps, 1/8 unit load (256 nodes), SOIC-8

Brand: TIPackage: SOIC-8 (4.9 x 3.9 x 1.5mm)

IN STOCK: 11101pcs

Cargo cycle: 3~7 Days

The minimum order is 1

TPD2E007DCKR

2-ch ESD protection, AC-coupled, 15pF, +/-8kV, SC-70, back-to-back diodes

Brand: TIPackage: SC-70 (SOT-323) (2.15 x 1.4 x 1.0 mm)

IN STOCK: 7620pcs

Cargo cycle: 3~7 Days

The minimum order is 1

DL-165

1-ch high-speed optocoupler, 10Mbps, 3750Vrms, logic output, DIP/SOP-8, -40~85°C

Brand: BroadcomPackage: DIP-8 / SOP-8

IN STOCK: 4567pcs

Cargo cycle: 3~7 Days

The minimum order is 1

TJA1040

High-speed CAN transceiver, ISO 11898, 1Mbps, 5V, standby/wake-up, SOIC8, NXP automotive

Brand: NXPPackage: SOIC-8 (3.9 mm width)

IN STOCK: 9850pcs

Cargo cycle: 3~7 Days

The minimum order is 1

DP83848CVVX/NOPB

10/100 Ethernet PHY transceiver, MII/RMII/SNI, 3.3V, LQFP-48, commercial temp

Brand: TIPackage: LQFP-48 (7 x 7 mm)

IN STOCK: 5472pcs

Cargo cycle: 3~7 Days

The minimum order is 1

QUALITY COMMITMENT

Quality Commitment

Every order is sourced, inspected and documented so your production line receives parts that meet specification.

Authenticity & traceability

We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.

Incoming inspection

  • Visual inspection of labels, packaging, marking and date codes.
  • Lot and quantity verification against the purchase order.
  • Moisture-sensitivity and ESD packaging checks.
  • Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.

Documentation

Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.

Warranty & returns

Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.

Counterfeit prevention

Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.

SHIPPING & PAYMENT

Shipping & Payment

From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.

Lead time

In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.

Carriers & tracking

We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.

Freight & insurance

Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.

Payment methods

  • Bank transfer (T/T) in USD, EUR or CNY.
  • PayPal for smaller or sample orders.
  • Alipay / RMB transfer for domestic settlement.

A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.

Order changes & cancellation

Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.

Customs & duties

We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.

SERVICE & PACKAGING

Service & Packaging

Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.

BOM sourcing & kitting

Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.

Value-added services

  • Programming and firmware loading.
  • Tape-and-reel, re-reeling and tray packing.
  • Baking and dry-pack for moisture-sensitive parts.
  • Barcode, QR and custom label generation.

Packaging options

Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.

Documentation & traceability

Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.

After-sales support

For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.