
A complete guide to the 74LS04 (7404) NOT logic gate. Learn about its function as an inverter, technical specifications, pinout, truth table, and practical applications with Arduino.
emmanuelhdev
Salida = NOT A| salida | Entrada A |
|---|---|
| 1 | 0 |
| 0 | 1 |
The 74LS04 (also known as 7404) is a fundamental integrated circuit in digital electronics that contains six independent NOT logic gates (inverters). It is powered with +5V (4.75–5.25V), and each gate performs the Boolean negation operation: Y = ¬A. This means that if the input is "1" (HIGH), the output will be "0" (LOW), and vice versa.
This component from the 74LS (Low-power Schottky) series is indispensable in projects with Arduino, microcontrollers, and any digital system where a logic signal needs to be inverted.
The 74LS04 is a hex low-power inverter (LS series). Its main features are:
Its main function is simple but crucial: inverting a digital signal.
Each inverter in the 74LS04 follows a very simple logic: the output is always the opposite state of the input. The Boolean operation is expressed as Y = A'.
Truth table for each NOT gate:
| Input A | Output Y |
|---|---|
| 0 | 1 |
| 1 | 0 |
Internal operation: As part of the low-power Schottky TTL family, it uses transistors and Schottky diodes to achieve fast switching with a typical propagation delay of about 10 nanoseconds.
The 74LS04 comes in a 14-pin DIP package with the following configuration:
| Specification | Parameter (74LS04) |
|---|---|
| Logic Function | NOT (Inverter) |
| Number of NOT gates | 6 (Hex) |
| Inputs per gate | 1 |
| Supply Voltage | 4.75 – 5.25 V |
| Technology | TTL 74LS family (LS-TTL) |
| Output Current (IOL) | up to 8 mA (low level) |
| Output Current (IOH) | –0.4 mA (high level) |
| Typical Delay (tpd) | ~10 ns (propagation) |
| Operating Trange | 0 °C to 70 °C |
There are several versions of the 7404 inverter, compatible with different logic families:
The 74LS04 is extremely versatile:
Example circuit: A push-button (S1) with a pull-up resistor (R1) controls the gate's input. The Y output controls an LED with a resistor (R2). When the button is not pressed, the input is "1", the output is "0", and the LED is off. When the button is pressed, the input goes to "0", the output to "1", and the LED turns on.
Circuit connections:
What gate is the 7404? The 7404 (or 74LS04) is an integrated circuit containing six NOT logic gates (inverters).
What is the truth table for the 7404? The truth table for each inverter is simple: if the input is 0, the output is 1. If the input is 1, the output is 0.
What does the 7404 integrated circuit do? It inverts logic signals. It converts a HIGH logic level to LOW and a LOW level to HIGH.
What voltage does the 74LS04 operate at? It operates at a standard TTL voltage of 5V (recommended range 4.75–5.25V).
How do I connect the 74LS04? Connect pin 14 to +5V and pin 7 to GND. Then, use the input/output pin pairs (like 1 and 2) for your signals.
What do SN74LS04, 74HC04, etc., mean? They are different logic families: 74LS04 (TTL Low-Power Schottky), 74HC04 (High-speed CMOS), and 74HCT04 (CMOS with TTL-compatible inputs). All are inverters, but they vary in voltage, speed, and consumption.
References: Information is based on official datasheets from Texas Instruments and digital electronics technical guides.

A complete guide to the 74LS04 (7404) NOT logic gate. Learn about its function as an inverter, technical specifications, pinout, truth table, and practical applications with Arduino.
emmanuelhdev

Complete IC datasheet guide for 7408 AND gate, 7432 OR gate, 7404 NOT gate, 7400 NAND gate, and 7486 XOR gate. Pin diagrams, truth tables, and specifications included.
emmanuelhdev
Click to load comments