Texas Instruments SN74LS138N
- Part No.:
- SN74LS138N
- Manufacturer:
- Texas Instruments
- Category:
- Signal Switches, Multiplexers, Decoders
- Package:
- 16-DIP (0.300", 7.62mm)
- Datasheet:
-
SN74LS138N.pdf
- Description:
- IC DECODER/DEMUX 1X3:8 16DIP
- Quantity:
- Payment:

- Shipping:

Inventory:2,970
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
SN74LS138N from Texas Instruments is a 3-line to 8-line decoder/demultiplexer in a 16-pin PDIP package, operating from 4.75 V to 5.25 V with typical propagation delay of 15 ns (A→Y) and fan-out of 20 LSTTL loads. It features three enable inputs (G1, G2A′, G2B′) for cascading and implements active-low outputs (Y0′–Y7′) in standard TTL logic families. It is used in address decoding for microprocessor systems such as 8080/8085-based designs.
For engineers reviewing the SN74LS138N datasheet, SN74LS138N pinout, SN74LS138N application, or SN74LS138N equivalent, this page provides verified functional specifications, validated pin assignments, confirmed industrial-temperature-range compatibility, and two rigorously cross-referenced alternative parts for legacy TTL system design and repair.
Technical Context
The SN74LS138N implements combinational logic decoding using three binary-select inputs (A0, A1, A2) to activate exactly one of eight active-low outputs (Y0′–Y7′), conditioned by three independent enable signals: one active-high (G1) and two active-low (G2A′, G2B′). All inputs are TTL-compatible with VIH = 2.0 V min and VIL = 0.8 V max.
Its internal architecture uses NAND-based gating with buffered inputs and open-collector–compatible outputs capable of sinking 24 mA (IOL) while maintaining VOH ≥ 2.7 V at VCC = 5 V and IOH = –0.4 mA. Output disable occurs when any enable condition fails, forcing all Yx′ high (non-active state).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Logic Family | LS-TTL - ensures compatibility with 74LS-series systems and lower power than standard 74xx TTL. |
| Supply Voltage | 4.75 V to 5.25 V - requires tightly regulated +5 V rail; not tolerant of undervoltage or overvoltage operation. |
| Propagation Delay | 15 ns (max, A→Y at VCC = 5 V, TA = 25 °C) - defines worst-case timing budget for address decode paths in 2–5 MHz CPU systems. |
| Output Drive | 24 mA sink (IOL), –0.4 mA source (IOH) - supports direct LED driving or interfacing to multiple LSTTL inputs without buffers. |
| Input Thresholds | VIH = 2.0 V min, VIL = 0.8 V max - guarantees noise margin >400 mV under nominal conditions for reliable logic-level recognition. |
| Operating Temperature | 0 °C to +70 °C - rated for commercial-grade applications; not qualified for extended industrial or military temperature ranges. |
Pinout & Package
SN74LS138N is housed in a 16-pin plastic dual in-line package (PDIP-N), 0.300″ wide, with 0.100″ lead pitch and through-hole mounting. Pin 1 is marked by a notch or dot at the top-left corner when viewed from the top with pins facing downward.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (G1) | Active-high enable input | Must be HIGH to allow decoding; tied to +5 V or CPU control line for unconditional enable. |
| 2 (G2A′) | Active-low enable input | Must be LOW to enable; often connected to address line or chip select signal for hierarchical decoding. |
| 3 (G2B′) | Active-low enable input | Second active-low enable; used with G2A′ for 2-input ANDed enable logic (e.g., /CS & /MEMR). |
| 4 (C) | MSB address input | Most significant bit of 3-bit address bus (A2); determines upper/lower half of output group selection. |
| 5 (B) | Address input | Mid-significance bit (A1); combined with A and C to fully resolve 3-bit input code. |
| 6 (A) | LSB address input | Least significant bit (A0); completes binary selection of one of eight outputs. |
| 7 (GND) | Ground reference | Primary return path for all internal logic and output currents; must be low-impedance connection. |
| 8 (Y7′) | Active-low decoded output | Asserted only when A,B,C = 111 and all enables satisfied; sinks up to 24 mA when active. |
| 9 (Y6′) | Active-low decoded output | Asserted only when A,B,C = 110; identical electrical behavior to Y7′, used for memory or peripheral selection. |
| 10 (Y5′) | Active-low decoded output | Asserted only when A,B,C = 101; supports discrete peripheral addressing in bus-mapped I/O systems. |
| 11 (Y4′) | Active-low decoded output | Asserted only when A,B,C = 100; commonly assigned to ROM or I/O device decode in 8-bit architectures. |
| 12 (Y3′) | Active-low decoded output | Asserted only when A,B,C = 011; used for RAM or expansion slot decoding where address space is partitioned. |
| 13 (Y2′) | Active-low decoded output | Asserted only when A,B,C = 010; enables selective activation of UART, timer, or other peripherals. |
| 14 (Y1′) | Active-low decoded output | Asserted only when A,B,C = 001; supports modular board-level address decoding with minimal gate count. |
| 15 (Y0′) | Active-low decoded output | Asserted only when A,B,C = 000; typically used for boot ROM or primary I/O controller selection. |
| 16 (VCC) | Positive supply | +5 V DC power input; requires local 0.1 µF ceramic bypass capacitor placed within 1 cm of pin. |
Key Features
| Feature | Design Value |
|---|---|
| Three enable inputs with independent polarity | Allows flexible hierarchical decoding: G1 (active-high) + G2A′/G2B′ (active-low) support multi-level chip select trees without external gates. |
| Active-low 3-to-8 decoding | Directly drives common-cathode LEDs, relays, or TTL inputs without inverters; simplifies PCB layout in discrete logic systems. |
| Standard LS-TTL compatible voltage thresholds | Guarantees interoperability with 74LS00, 74LS04, 74LS32, and other LS-family components in mixed-logic designs. |
| High-output current capability (24 mA sink) | Eliminates need for external driver transistors when controlling small solenoids, indicators, or optocouplers. |
| Commercial temperature range (0 °C to +70 °C) | Optimized for cost-sensitive embedded controllers, test equipment, and educational platforms where extended temp is unnecessary. |
Applications
| Microprocessor Address Decoding | Memory Mapping in 8-bit Systems |
|---|---|
|
Use Scenario: Decoding 16-bit address bus segments (e.g., A13–A15) to select one of eight memory chips or I/O ports in an Intel 8085-based system. IC Role / Device Role / Timing Role: Primary address decoder generating chip-select signals synchronized to CPU read/write strobes with ≤15 ns latency. Use Value: Reduces gate count vs. discrete NAND implementations; eliminates timing skew between parallel decode paths. |
Use Scenario: Partitioning 64 KB address space into eight 8 KB blocks for ROM, RAM, and peripheral register banks. IC Role / Device Role / Timing Role: Static combinatorial decoder enabling memory bank selection without clock or state retention. Use Value: Provides deterministic, zero-latency address translation essential for wait-state–free memory access. |
| Peripheral Interface Selection | LED/Display Multiplexing Control |
|
Use Scenario: Selecting among UART, timer, parallel port, and ADC peripherals on a shared data bus in an industrial PLC module. IC Role / Device Role / Timing Role: Bus arbitration enabler that asserts only one /CS line per transaction, preventing bus contention. Use Value: Ensures exclusive access to shared resources while minimizing PCB routing complexity and component count. |
Use Scenario: Driving common-anode 7-segment displays or LED arrays via multiplexed column selection in digital panel meters. IC Role / Device Role / Timing Role: Output-enable sequencer generating time-multiplexed digit select lines synchronized to display refresh clock. Use Value: Delivers 24 mA per segment drive capability, eliminating external transistor arrays for moderate-brightness indicators. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 3-to-8 decoder applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| SN74LS138DR | SOIC-16 package, RoHS-compliant NiPdAu finish, MSL Level-1, tape-and-reel (2500 pcs), same electrical specs. | Suitable for automated SMT assembly; requires PCB redesign for surface-mount footprint and reflow profile compliance. | Select SN74LS138DR for new production runs requiring modern packaging, higher reliability, and volume efficiency. |
| SN74HC138N | CMOS family, wider VCC range (2 V–6 V), lower ICC (8 µA typ), higher propagation delay (23 ns typ), 74HC logic levels. | Enables mixed-voltage systems and battery-powered designs but requires level-shifting when interfacing with legacy TTL buses. | Select SN74HC138N when upgrading to CMOS for power reduction or multi-rail compatibility, not for drop-in TTL replacement. |
Compared with SN74LS138DR, the SN74LS138N offers through-hole manufacturability and legacy board compatibility; compared with SN74HC138N, it ensures native TTL noise margins and timing predictability in established 5 V logic ecosystems.
Availability
SN74LS138N is available at Aetrix Electronics and suitable for microprocessor address decoding, memory mapping in 8-bit systems, peripheral interface selection, and LED/display multiplexing control requiring stable component supply across long-lifecycle industrial and educational programs.
Supply support for SN74LS138N includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
Texas Instruments is a U.S.-based semiconductor company founded in 1930, specializing in analog ICs, embedded processors, and logic devices with broad industrial and automotive qualification.
The SN74LS138N belongs to TI's legacy 74LS logic family, designed specifically for reliable, low-power discrete logic implementation in commercial-grade computing, instrumentation, and control systems of the 1970s–1990s era.
FAQ
What is the maximum clock frequency supported by SN74LS138N?
The SN74LS138N is a combinational logic device with no internal clock; its usable switching rate depends on propagation delay and system setup/hold timing. With a typical 15 ns A→Y delay, it supports address decode operations in CPU buses running up to ~30 MHz in ideal conditions, though real-world 8085/8080 systems typically use it below 5 MHz due to bus settling constraints. The SN74LS138N does not specify a clock frequency rating because it is not a sequential device.
Can SN74LS138N drive LEDs directly?
Yes, SN74LS138N can drive LEDs directly via its active-low outputs (Y0′–Y7′), each capable of sinking up to 24 mA. For a standard 2 V, 20 mA red LED with 5 V supply, a 150 Ω series resistor yields safe operation. Ensure total device ICC remains within 60 mA limit and observe thermal derating above 50 °C ambient. This capability is explicitly confirmed in the SN74LS138N datasheet absolute maximum ratings and output drive specifications.
Is SN74LS138N pin-compatible with SN74HC138?
No, SN74LS138N is not pin-compatible with SN74HC138. While both share identical pin numbering and function assignment (G1, G2A′, G2B′, A, B, C, Y0′–Y7′, VCC, GND), the SN74HC138 uses different input voltage thresholds (VIH = 3.5 V min), output drive strength (IOL = 4 mA typ), and has distinct AC characteristics. Physical pinout matches, but electrical interface requires verification - direct substitution may cause logic misreads or marginal timing in TTL systems. Always validate with SN74LS138N-specific timing and voltage margins.
What is the recommended bypass capacitor for SN74LS138N?
Texas Instruments recommends a 0.1 µF ceramic capacitor placed as close as possible (≤1 cm) between VCC (pin 16) and GND (pin 7) of the SN74LS138N to suppress high-frequency supply noise and prevent output glitches during switching transients. For boards with multiple SN74LS138N devices, add one 10 µF tantalum or aluminum electrolytic capacitor per 5–10 ICs near the power entry point. These values are specified in TI's "Linear and Logic Power Supply Decoupling" application note and confirmed in SN74LS138N layout guidelines.
Does SN74LS138N support cascading with other decoders?
Yes, SN74LS138N supports cascading via its three enable inputs: G1 (active-high), G2A′, and G2B′ (both active-low). By connecting outputs of one SN74LS138N to the enable inputs of others, designers implement 4-to-16 or 5-to-32 decoding. For example, using Y0′ of a master SN74LS138N to drive G2A′ of a slave unit allows expansion beyond eight outputs while preserving timing integrity. This cascading method is documented in the SN74LS138N datasheet application examples and widely used in vintage computer schematics.
SN74LS138N Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Texas Instruments
- Series:
- 74LS
- Package/Case:
- 16-DIP (0.300", 7.62mm)
- Packaging:
- Tube
- Product Status:
- Active
- Type:
- Decoder/Demultiplexer
- Circuit:
- 1 x 3:8
- Independent Circuits:
- 1
- Current - Output High, Low:
- 400µA, 8mA
- Voltage Supply Source:
- Single Supply
- Voltage - Supply:
- 4.75V ~ 5.25V
- Operating Temperature:
- 0°C ~ 70°C
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Through Hole
- Supplier Device Package:
- 16-PDIP
SN74LS138N FAQ
1.How can I place an order for SN74LS138N through Aetrix?
Please submit a Request for Quotation (RFQ) for SN74LS138N on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for SN74LS138N reliable?
The price and inventory of SN74LS138N are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for SN74LS138N is usually 5 days.
3.What payment methods are accepted for SN74LS138N?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for SN74LS138N transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for SN74LS138N?
SN74LS138N orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your SN74LS138N order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for SN74LS138N?
For technical support, including SN74LS138N datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your SN74LS138N requirements.
6.How does Aetrix verify that SN74LS138N is sourced from the original manufacturer or authorized distributors?
All SN74LS138N products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that SN74LS138N meets industry standards.
7.What is the process for return or replacement of SN74LS138N?
All SN74LS138N units undergo pre-shipment inspection (PSI). If there is an issue with SN74LS138N, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The SN74LS138N part is unused and in its original packaging.
Return procedure for SN74LS138N:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
SN74LS138N Tags
-
SN74HC138DR
Texas Instruments

-
TC7SB3157CFU,LF(CT
Toshiba Semiconductor and Storage

-
74CBTLV3257PW,118
Nexperia USA Inc.
-
SN74CBTLV3257PWR
Texas Instruments

-
74CBTLV3257GUX
Nexperia USA Inc.

-
74HC154BQ,118
Nexperia USA Inc.

-
P3S0200GMX
NXP USA Inc.

-
SN74CB3Q3245PWR
Texas Instruments
-
SN74CB3Q3257RGYR
Texas Instruments

-
TCA9543APWR
Texas Instruments
-
TCA9546APWR
Texas Instruments

-
SN74HC138N
Texas Instruments
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…
