Jotrin Electronics
Descrizione Quantità Totale (USD) Operazione
Carrello della spesa prodotti
Carrello della spesa prodotti : 0
Home > Other > Hex Inverter 74LS04: Datasheet, PDF, and Pinout

Hex Inverter 74LS04: Datasheet, PDF, and Pinout

tempo di aggiornamento: 2023-12-08 11:44:19



The 74LS04 Hex Inverter is a member of the 74XXYY IC series. 74 series are digital logic ICs. 74LS04 IC has six non-gates. These non-gates perform the inversion function. Hence the name Hexagonal Inverting Gate. In logic converters, an inverter is primarily tasked with inverting incoming logic, whether in a HIGH or LOW state. These devices are commonly referred to as NOT gates. Creating inverters is a straightforward process involving the utilization of NMOS and PMOS transistors. They possess a singular input and output. Transistors fundamentally operate by providing an output opposite to the input signals. The inherent design of the NOT gate circuit, employing transistor configurations, results in a larger and more intricate structure, making it comparatively more complex and costly than alternative solutions. In this article, we'll explore the 74LS04 hex inverter, including its datasheet, pinout, uses, etc., and the difference between 74HC04.

What is 74LS04?

The 74LS04 is a digital control switch chip with several internal electronic switch circuits that control the internal switch states by external signals and is used in holiday lights to control the lights to turn on and off in a set sequence. Among its primary functionalities is the generation of a reverse-phase output. Noteworthy attributes of the 74LS04 include its broad working voltage range, versatility in various working conditions, and seamless interfacing capabilities with CMOS, NMOS, and TTL technologies.


Working Principle

The 74LS04 is an inverter with six single inputs. 

Its output signal is opposite in phase to the input signal. The six inverters share the power and ground terminals. The others are independent. The output signal is also amplified to a certain extent by the ability of the manual load.

Inverters can reverse the phase of the input signal by 180 degrees. This circuit is used in analog circuits, such as audio amplification, clock oscillators, etc.

74LS04 Pinout

74LS04 Pinout.png

74LS04 pin diagram

The 74LS04 is a 14-pin integrated circuit, as illustrated in the 74LS04 pinout. This IC is offered in diverse packages, and the selection of the suitable package depends on specific requirements. Detailed descriptions for each pin configuration are provided below.

Pin No.Description
115A-INPUT of GATE 5
136A-INPUT of GATE 6
7GND- Should be connected to ground

VCC-Should be connected to a positive voltage



Circuit Diagram

74LS04 Circuit Diagram.png

74LS04 Features and Specifications

74LS04 Features and Specifications.png

What does the 74LS04 do?

The 74LS04 provides six independent inverters, each usable individually. An inverter, also known as a NOT gate, is a logic gate that produces an output opposite to its input. Refer to the truth table below to ascertain the corresponding output for any specific input:


Truth table for the NOT gate (inverter)

Hex NOT Gate internal

The NOT gate is crafted using a combination of transistors and resistors. The transistor serves as a switch, while the resistor is employed to modulate the maximum current flow. Connecting the transistor to the power supply and resistor, the base of the transistor functions as the input, and the emitter acts as the output. The circuit diagram is depicted below.

GATE circuit diagram.jpg

Two operational states govern the circuit. When the input "A" is in a HIGH state, the transistor initiates the current flow. Voltage from VCC directs the current from VCC to Ground through the transistor, reducing voltages on A'. This voltage reduction signifies a LOW state. Conversely, when the input to the transistor is LOW, the transistor remains inactive. This non-operation allows the power supply to deliver the full voltage to the output pin.

74LS04 Truth Table

The application of maximum voltages results in a HIGH output state when the transistor input is LOW. Regardless of the design approach for the inverter, it consistently adheres to the specified pattern. The output is consistently determined by the following truth table, where the input consistently follows the formula A = A’.


Where to use 74LS04?

The 74LS04 finds application in various scenarios, including:

  1. Essential usage occurs in situations requiring a logic inverter. The Inverter Gates within this chip furnish an output representing the negated

    logic input. The chip encompasses six gates specializing in NOT operations.

  2. When TTL outputs are essential, this chip becomes valuable. The gates embedded in the chip yield crucial TTL logic outputs,

    particularly indispensable in specific applications.

  3. Due to its cost-effectiveness, the 74LS04 is a preferred choice in the market, especially in scenarios where the application cost needs to be


How to use 74LS04

As previously mentioned, the 74LS04 accommodates six individual INVERTING GATES. The internal connectivity of these gates can be outlined 

as follows.

Let's take a closer look at a single gate from the set of six and illustrate its configuration in the circuit diagram.

74LS04 internal connection of gates.jpg

To facilitate a clearer comprehension of the NOT gate's operation, let's represent it more simplified.

GATE circuit diagram.jpg

In the illustrated diagram, a transistor forms the core of the NOT gate. The input, denoted as 1A, is linked to a button. Output 1Y connects to an 

LED through a resistor, with the LED serving to indicate the output status.

NOT GATE circuit diagram.jpg

Within the circuit:

When the button is unpressed:

The current through the transistor's base registers zero, placing the transistor in an OFF state. The supply voltage manifests across the 

transistor in this state, resulting in a HIGH output for 1Y. 

Therefore, when the button is not pressed, INPUT 1A = LOW, and OUTPUT 1Y = HIGH.

When the button is pressed:

Voltage emerges at the transistor's base, allowing current to flow. With the presence of base current, the transistor switches ON. In the ON 

state, the total supply voltage appears across the resistor, and the voltage across the transistor drops to zero. 

Consequently, the output 1Y becomes LOW. Thus, when the button is pressed, INPUT 1A = HIGH, and OUTPUT 1Y = LOW.

By constructing a truth table based on these scenarios, we obtain:

Input 1A      Output 1Y

LOW            HIGH

HIGH           LOW

The truth table elucidates that the OUTPUT for the NOT gate is the negation or inversion of the INPUT, expressed as Y = A.

With six such gates in the 74LS04 chip, their utilization can be tailored to specific requirements, allowing for using one or all six gates as needed.

Even Number Example

Observing the input inversion from the 74LS04 NOT gate, let's employ two NOT gates consecutively and examine the resulting output.


Upon inspecting the image, it becomes evident that the output remains unaffected when various inputs are applied with three 74LS04 NOT gates connected in series. Experimenting with an odd number of gates, let's observe the outcomes.

Odd in Series Example


An odd number of gates behaves similarly to a single gate within the series. The interconnected arrangement doesn't influence the circuit independently.

 However, if there's a need to alter the state of individual inputs in other gates, connecting a NOT gate to the input proves effective. Multiple NOT gates are occasionally employed to establish coherent logic in the circuit. It's crucial to remember that the impact on the circuit arises when multiple NOT gates are in series along the same wire. Removal may be warranted if numerous NOT gates are attached to the same wire, especially if they are in even quantity.

Streamlining the circuit by retaining only one NOT gate minimizes cost and size.

74LS04 Circuit Diagram

74LS04 Circuit Diagram.png

74LS04 Circuit Example

A NOT gate finds utility in a myriad of applications. For instance, it can transform an AND gate into a NAND gate, as illustrated below:

74LS04 Circuit Example 1.png

Alternatively, it can convert an OR gate into a NOR gate, as demonstrated here:

74LS04 Circuit Example 2.png

Learn more Implementing NOR Gate from NAND Gate

Advantages of 74LS04

  • The integrated circuit is notably more economical than an individual PMOS or CMOS inverter.

  • It produces TTL output, allowing seamless integration with any TTL device when needed. The IC can be effortlessly employed with various

    TTL devices.

  • The single-chip configuration offers four inverters characterized by compact size and enhanced speed.

74LS04 Applications

  • General purpose logic

  • Servers

  • Memory Units

  • Computers and laptops

  • Digital Electronics

  • Networking

  • Digital Systems

74LS04 Equivalents

In most cases, the CD7404 and 74LS14 can replace the 74LS04.

74LS04 Models

74LS04 Model1.png

74LS04 Model2.png

74LS04 Model3.png

74LS04 Package

74LS04 Package.png

Hex Inverter 74LS04 Datasheet Download

74LS04 vs 74HC04

74LS04 vs 74HC04.png

The 74LS04 integrates six autonomous gates, each executing the logic INVERT operation. The output signals from these six inverters are a mirror image of the input signals, effectively reversing the input signal phase by 180 degrees. This circuit finds applications in analog circuits, such as audio amplifiers and clock oscillators.

On the other hand, the 74HC04 is a hex inverter within a CMOS circuit, designed to operate within a voltage range of 2V to 6V. While both the 74LS04 and 74HC04 serve as inverters, the distinction lies in their terminology: LS denotes low-power Schottky, and HC represents high-speed CMOS. The LS variant, utilizing TTL levels, performs slightly faster than the HC variant. In contrast, the 74HC04, employing CMOS levels, translates to an easy understanding: a low-level input results in a high-level output, and vice versa for a high-level input.


In conclusion, the 74LS04 is an exceptional IC within the 74LS series for transistor-like applications. Featuring six internal inverters, each operating with a single power supply, it offers individual usability akin to its counterparts. The inverter IC is available in multiple packages, enhancing its adaptability across various devices. With cost-effectiveness and compact size, the 74LS04 is a TTL/CMOS-based IC, ensuring dependable compatibility with other microcontroller TTL devices.

Read More

Frequently Asked Questions

How many gates is 74LS04?

The 74LS04 IC has six non-gates. These non-gates perform the inversion function. This is why they are named hexagonal inverted gates.

How many inputs are in a 74LS04 IC?

The 74LS04 is a 2-input quad 8-bit non-gate IC.

What is the difference between IC 74LS04 and IC 74HC04?

The 74LS04 and 74HC04 are both inverters, but LS stands for Low Power Schottky, and HC stands for High-Speed COMS.

What is the use of ic 74ls04?

The 74LS04 is a 2-input quadruple 8-bit NOT gate IC. Within logic converters, an inverter is an electronic device designed to invert incoming logic, whether it is in a HIGH or LOW state. These devices are commonly referred to as NOT gates.

What gate is 74LS04?

The 74-series comprises digital logic integrated circuits. The 74LS04 IC encompasses six NOT gates, executing the Inverting function, hence earning the designation of HEX INVERTING GATES.

What is the nominal supply voltage for 74LS04?


Why is NOT gate called an inverter?

A NOT gate, commonly referred to as an inverter, serves as a suitable introductory digital logic gate due to its singular input and straightforward behavior. Its primary function involves logical negation of the input, meaning that if the input is true, the output becomes false.

What is a hex inverter?

A hex inverter is an integrated circuit featuring six individual inverters. Inverters play a crucial role in sophisticated digital devices, such as multiplexers, decoders, and state machines. The primary function of an inverter circuit is to produce an output voltage representing the opposite level to its input.

What is the difference between an inverter and a hex inverter?

The inverter is a fundamental component in digital electronics, finding application in multiplexers, decoders, state machines, and various other advanced digital devices. An integrated circuit known as the hex inverter houses six individual inverters, making it a versatile tool in electronic design.

Precedente: CR1220 Battery Equivalent, Specification, Application

Prossimo: 1N5817 Schottky Diode Datasheet, Equivalent, and Pinout

Ratings and Reviews





Chat dal vivo