

The 7404 is a hex inverter integrated circuit (IC) that contains six independent inverters. Each inverter takes a single input and produces an output that is the logical NOT of the input. This IC is part of the 7400 series of TTL (Transistor-Transistor Logic) devices, which are widely used in digital electronics. The 7404 is commonly employed in circuits where signal inversion is required, such as in logic gates, signal conditioning, and clock signal manipulation.








The 7404 IC is a TTL-based device with the following key specifications:
| Parameter | Value |
|---|---|
| Supply Voltage (Vcc) | 4.75V to 5.25V |
| Input Voltage (High) | 2.0V (minimum) |
| Input Voltage (Low) | 0.8V (maximum) |
| Output Voltage (High) | 2.4V (minimum) |
| Output Voltage (Low) | 0.4V (maximum) |
| Maximum Output Current | 16mA (per output) |
| Propagation Delay | ~10ns |
| Power Dissipation | 10mW (typical) |
| Operating Temperature | 0°C to 70°C |
| Package Types | DIP-14, SOIC-14, and others |
The 7404 IC is typically available in a 14-pin Dual Inline Package (DIP). The pinout is as follows:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | A1 | Input to inverter 1 |
| 2 | Y1 | Output of inverter 1 |
| 3 | A2 | Input to inverter 2 |
| 4 | Y2 | Output of inverter 2 |
| 5 | A3 | Input to inverter 3 |
| 6 | Y3 | Output of inverter 3 |
| 7 | GND | Ground (0V) |
| 8 | Y4 | Output of inverter 4 |
| 9 | A4 | Input to inverter 4 |
| 10 | Y5 | Output of inverter 5 |
| 11 | A5 | Input to inverter 5 |
| 12 | Y6 | Output of inverter 6 |
| 13 | A6 | Input to inverter 6 |
| 14 | Vcc | Positive supply voltage (4.75V to 5.25V) |
Below is an example of using the 7404 to invert a digital signal:
+5V ----+------------------+
| |
[7404] [LED]
| |
GND GND
The 7404 can be used with an Arduino UNO to invert a digital signal. For example, if you want to invert the state of a digital output pin, you can connect the Arduino pin to one of the 7404 inputs and read the inverted signal from the corresponding output.
// Example: Using 7404 to invert a digital signal from Arduino UNO
const int inputPin = 2; // Pin connected to 7404 input (e.g., A1)
const int outputPin = 3; // Pin connected to 7404 output (e.g., Y1)
void setup() {
pinMode(inputPin, OUTPUT); // Set inputPin as output
pinMode(outputPin, INPUT); // Set outputPin as input
}
void loop() {
digitalWrite(inputPin, HIGH); // Send HIGH signal to 7404 input
delay(1000); // Wait for 1 second
digitalWrite(inputPin, LOW); // Send LOW signal to 7404 input
delay(1000); // Wait for 1 second
}
No Output Signal:
Erratic Output:
Overheating:
Incorrect Logic Levels:
Q1: Can the 7404 operate at 3.3V?
A1: No, the 7404 is designed for TTL logic levels and requires a supply voltage between 4.75V and 5.25V.
Q2: Can I use multiple inverters simultaneously?
A2: Yes, all six inverters can be used independently, provided the total current does not exceed the IC's limits.
Q3: What happens if I leave an input pin floating?
A3: Floating inputs can cause erratic behavior. Always tie unused inputs to GND or Vcc.
Q4: Is the 7404 compatible with CMOS logic?
A4: The 7404 is a TTL device, but it can interface with CMOS logic if the voltage levels are compatible. Use level shifters if needed.