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

- Shipping:

Inventory:3,440
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
SN74HC138NG4 from Texas Instruments is a 3-line to 8-line decoder/demultiplexer in 16-pin PDIP package, operating from 2 V to 6 V with typical propagation delay of 15 ns at 6 V, ±4-mA output drive at 5 V, and active-low outputs enabling direct LED column sinking in matrix displays.
For engineers reviewing the SN74HC138NG4 datasheet, SN74HC138NG4 pinout, SN74HC138NG4 application, or SN74HC138NG4 equivalent, this device serves as a high-speed memory decoder and data-routing IC with three enable inputs for cascading, low-power CMOS logic compatibility, and precise binary-select decoding for industrial control and embedded I/O expansion.
Technical Context
The SN74HC138NG4 implements a 3-to-8 binary decoder with three select inputs (A, B, C) and three enable pins (G1 active-high, G2A/G2B active-low), where only one output Y0–Y7 goes LOW per valid input combination while all others remain HIGH. Its function table defines strict enable hierarchy: all three enables must be asserted to activate decoding.
Designed for high-performance memory systems, it minimizes system decoding delay-its tpd (15 ns typ. at 6 V) and fast enable path ensure negligible contribution to total memory access time when paired with high-speed memories and fast enable circuits.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Supply Voltage | 2 V to 6 V - supports mixed-voltage logic interfacing and battery-powered operation down to 2 V. |
| Propagation Delay (tpd) | 15 ns typical at VCC = 6 V - enables sub-67-MHz synchronous decoding in memory and address routing paths. |
| Output Drive | ±4 mA at 5 V - sufficient to directly sink LED columns or drive 10 LSTTL loads without buffering. |
| Quiescent Current (ICC) | 80 µA maximum - ensures ultra-low static power in always-on control logic and standby modes. |
| Input Leakage (II) | 1 µA maximum - guarantees reliable logic-level recognition even with high-impedance pull-ups or long PCB traces. |
| Logic Output Polarity | Active-low (Y0–Y7) - simplifies low-side switching in LED matrices and relay drivers without external inverters. |
Pinout & Package
SN74HC138NG4 uses a 16-pin plastic dual in-line package (PDIP) with 19.32 mm × 6.35 mm body size, through-hole mounting, and industry-standard pin spacing (0.1 inch). Pin 1 is located at the top-left corner with notch orientation marking.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| A (Pin 1) | Select input A (LSB) | Binary address bit 0; determines least-significant output selection when enables are active. |
| B (Pin 2) | Select input B | Binary address bit 1; combines with A and C to uniquely select one of eight outputs. |
| C (Pin 3) | Select input C (MSB) | Binary address bit 2; completes 3-bit decode word for full 8-output resolution. |
| G2A (Pin 4) | Active-low enable A | First enable gate; must be LOW for decoding to proceed - used for hierarchical chip selection. |
| G2B (Pin 5) | Active-low enable B | Second enable gate; both G2A and G2B must be LOW alongside G1 HIGH to activate outputs. |
| G1 (Pin 6) | Active-high enable | Primary enable; must be HIGH to permit decoding - simplifies cascade logic with minimal external gates. |
| Y0 (Pin 15) | Output 0 (LSB) | Low-asserted output corresponding to A=B=C=0; sinks current when selected in LED or load-switching roles. |
| Y7 (Pin 7) | Output 7 (MSB) | Low-asserted output for A=B=C=1; provides highest-address column drive in multiplexed display systems. |
| VCC (Pin 16) | Positive supply | CMOS rail voltage (2–6 V); requires local 0.1-µF bypass capacitor for stable high-speed switching. |
| GND (Pin 8) | Ground reference | Return path for all internal logic and output currents; must be low-impedance for noise immunity. |
Key Features
| Feature | Design Value |
|---|---|
| Three enable inputs (G1, G2A, G2B) | Enables seamless 24-line decoding without external inverters and 32-line expansion with only one inverter. |
| Active-low outputs | Directly interfaces with N-channel MOSFETs or NPN transistors for low-side switching in LED, relay, and solenoid drivers. |
| High-speed CMOS process | Delivers 15 ns typical propagation delay at 6 V while maintaining TTL-compatible input thresholds and fanout. |
| Wide supply range (2–6 V) | Permits interoperability across 3.3 V microcontrollers, 5 V legacy peripherals, and 2.5 V/2 V battery-backed subsystems. |
| Low input current (≤1 µA) | Eliminates loading on upstream logic or microcontroller GPIOs, supporting long trace runs and high-density I/O expansion. |
Applications
| LED Matrix Display Control | Industrial I/O Expansion |
|---|---|
|
Use Scenario: Driving 8-column cathodes in an 8×8 monochrome LED matrix using row-scanning technique. IC Role / Device Role / Timing Role: Low-side column selector that asserts exactly one Yx output LOW per scan cycle to illuminate a single column. Use Value: Eliminates need for discrete transistor arrays or dedicated driver ICs - reduces BOM count and PCB area while ensuring mutually exclusive column activation. |
Use Scenario: Expanding GPIO count of a PLC controller to manage 8 independent relay outputs. IC Role / Device Role / Timing Role: Address-decoded output enable for solid-state relays, activated via microcontroller address bus and enable strobes. Use Value: Provides deterministic, glitch-free relay activation with hardware-based address decoding - avoids software timing dependencies and CPU overhead. |
| Memory Address Decoding | Server Backplane Signal Routing |
|
Use Scenario: Selecting one of eight SRAM chips in a 64 kB memory bank using upper address bits. IC Role / Device Role / Timing Role: High-speed address decoder placed between MPU address bus and chip-select lines of parallel memory devices. Use Value: Propagation delay ≤38 ns over full temperature range ensures no impact on memory access timing - maintains full system bandwidth. |
Use Scenario: Routing diagnostic signals (e.g., fault indicators, status LEDs) across multiple server blade slots. IC Role / Device Role / Timing Role: Demultiplexer that routes a shared control signal to one of eight slot-specific indicator circuits based on slot ID. Use Value: Enables centralized management of distributed indicators with minimal interconnect - reduces backplane pin count and routing complexity. |
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 |
|---|---|---|---|
| 74HC238D | Identical pinout and logic function but includes latch-enable input; higher propagation delay (20 ns typ. at 6 V). | Preferred where input latching is required before decoding; unsuitable if latch functionality introduces unwanted latency. | Select 74HC238D only when synchronized address capture is needed; otherwise SN74HC138NG4 offers faster response. |
| CD74HC138E | Same logic, same PDIP-16 package, identical electrical specs - manufactured by TI under alternate part numbering. | No functional difference; CD74HC138E is a legacy TI prefix variant with identical performance and qualification. | CD74HC138E is a direct form-fit-function replacement; choose SN74HC138NG4 for G4 suffix compliance (lead-free, RoHS-compliant finish). |
Compared with 74HC238D, SN74HC138NG4 delivers lower propagation delay and simpler enable architecture; compared with CD74HC138E, it provides identical functionality with updated environmental compliance and packaging markings.
Availability
SN74HC138NG4 is available at Aetrix Electronics and suitable for industrial I/O expansion, LED matrix display control, and memory address decoding requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for SN74HC138NG4 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 global semiconductor leader specializing in analog, embedded processing, and logic solutions, with decades of leadership in high-reliability logic families.
The SN74HC138NG4 belongs to TI's 74HC high-speed CMOS logic series, designed for low-power, high-noise-immunity digital interfacing in industrial, computing, and communications equipment.
FAQ
What is the operating temperature range for SN74HC138NG4?
The SN74HC138NG4 is rated for operation from –40°C to +85°C, matching the commercial-grade specification of the SN74HC138 family. This range supports deployment in industrial control panels, network infrastructure equipment, and consumer electronics environments where ambient temperatures remain within standard commercial limits. The PDIP package provides robust thermal performance with RθJA = 54.8°C/W.
Does SN74HC138NG4 support 3.3 V logic systems?
Yes, SN74HC138NG4 fully supports 3.3 V operation: its recommended VCC range is 2 V to 6 V, and input thresholds (VIH = 2.0 V min, VIL = 0.8 V max at VCC = 3.3 V) ensure reliable interfacing with 3.3 V microcontrollers and FPGAs. Output drive remains ±4 mA at 3.3 V, sufficient for driving standard CMOS loads and small-signal transistors.
How many enable inputs does SN74HC138NG4 have, and what are their polarities?
SN74HC138NG4 has three enable inputs: G1 (active-high), G2A (active-low), and G2B (active-low). All three must be simultaneously asserted - G1 HIGH and both G2A/G2B LOW - for any output Y0–Y7 to respond to A/B/C inputs. This configuration allows flexible hierarchical decoding and simplifies cascading without external inverters.
Can SN74HC138NG4 drive LEDs directly?
Yes, SN74HC138NG4 can drive LEDs directly in low-side configuration: each output sinks up to 4 mA at 5 V (or ~2.6 mA at 3.3 V), sufficient for indicator LEDs or low-current segments in multiplexed displays. Its active-low outputs align naturally with common-anode LED matrices, and the 15 ns propagation delay ensures crisp column scanning without ghosting.
Is SN74HC138NG4 pin-compatible with other 74HC138 variants?
Yes, SN74HC138NG4 shares identical pinout and function with all PDIP-packaged 74HC138 variants including CD74HC138E and SN74HC138N. It is not pin-compatible with SOIC, SSOP, TSSOP, or surface-mount versions due to differing package footprints and lead forms - mechanical layout must match PDIP-16 dimensions (19.32 mm × 6.35 mm, 0.1″ pitch).
SN74HC138NG4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Texas Instruments
- Series:
- 74HC
- Package/Case:
- 16-DIP (0.300", 7.62mm)
- Packaging:
- Tube
- Product Status:
- Discontinued at Digi-Key
- Type:
- Decoder/Demultiplexer
- Circuit:
- 1 x 3:8
- Independent Circuits:
- 1
- Current - Output High, Low:
- 5.2mA, 5.2mA
- Voltage Supply Source:
- Single Supply
- Voltage - Supply:
- 2V ~ 6V
- Operating Temperature:
- -40°C ~ 85°C
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Through Hole
- Supplier Device Package:
- 16-PDIP
SN74HC138NG4 FAQ
1.How can I place an order for SN74HC138NG4 through Aetrix?
Please submit a Request for Quotation (RFQ) for SN74HC138NG4 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 SN74HC138NG4 reliable?
The price and inventory of SN74HC138NG4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for SN74HC138NG4 is usually 5 days.
3.What payment methods are accepted for SN74HC138NG4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for SN74HC138NG4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for SN74HC138NG4?
SN74HC138NG4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your SN74HC138NG4 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 SN74HC138NG4?
For technical support, including SN74HC138NG4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your SN74HC138NG4 requirements.
6.How does Aetrix verify that SN74HC138NG4 is sourced from the original manufacturer or authorized distributors?
All SN74HC138NG4 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 SN74HC138NG4 meets industry standards.
7.What is the process for return or replacement of SN74HC138NG4?
All SN74HC138NG4 units undergo pre-shipment inspection (PSI). If there is an issue with SN74HC138NG4, 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 SN74HC138NG4 part is unused and in its original packaging.
Return procedure for SN74HC138NG4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
SN74HC138NG4 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…
