Free Shipping over ₹1299

Lesson-06 NAND Gate (IC 7400) – Universal Logic Gate

Introduction

In this lesson, we will learn about the NAND gate, one of the most important logic gates in digital electronics.

A NAND gate is the inverse of the AND gate.
It gives an output LOW (0) only when ALL inputs are HIGH.
For all other input combinations, the output is HIGH.

The NAND gate is called a Universal Gate because any logic gate can be built using only NAND gates.


What Is a NAND Gate?

A NAND gate is a two-input logic gate.

Simple meaning:

Output is OFF only if Input A AND Input B are ON.

This makes NAND logic very powerful and flexible.


Truth Table of NAND Gate

Input AInput BOutput
001
011
101
110

Output is LOW only when both inputs are HIGH.


IC 7400 – Quad 2-Input NAND Gate

IC 7400 contains four NAND gates inside a single IC.

Key Features:

  • 4 independent NAND gates
  • Operates at 5V
  • TTL logic IC (74xx family)
  • Very common in digital and control circuits

IC 7400 Pin Configuration

PinFunction
1Input A1
2Input B1
3Output Y1
4Input A2
5Input B2
6Output Y2
7GND
8Output Y3
9Input A3
10Input B3
11Output Y4
12Input A4
13Input B4
14VCC (5V)

Why Is NAND Gate Called Universal?

Using only NAND gates, we can create:

  • NOT gate
  • AND gate
  • OR gate
  • XOR gate

This is why NAND is widely used in IC design and digital systems.


Components Required

ComponentQuantityPurpose
IC 74001NAND logic
Push Buttons2Input control
LED1Output indication
220Ω Resistor1LED protection
10K Resistor2Input control
Breadboard1Circuit building
Jumper WiresAs requiredConnections
5V Power Supply1Power source

Circuit Diagram / Wiring

  1. Place IC 7400 on the breadboard
  2. Connect Pin 14 to +5V
  3. Connect Pin 7 to GND
  4. 10kΩ resistor from Pin 1 (Input A) → GND
  5. 10kΩ resistor from Pin 2 (Input B) → GND
  6. Connect Push Button 1 to Pin 1 (Input A)
  7. Connect Push Button 2 to Pin 2 (Input B)
  8. Connect Pin 3 (Output) to LED through 220Ω resistor
  9. Connect LED’s other end to GND

Working Principle

Case 1: Both Buttons NOT Pressed (0,0)

  • Output = HIGH
  • LED ON

Case 2: Only One Button Pressed (1,0 or 0,1)

  • Output = HIGH
  • LED ON

Case 3: Both Buttons Pressed (1,1)

  • Output = LOW
  • LED OFF

This confirms NAND gate logic.


Observation Table

Button AButton BOutputLED
OFFOFF1ON
ONOFF1ON
OFFON1ON
ONON0OFF

Common Mistakes & Troubleshooting

❌ LED never turns OFF
✔ Check if both inputs are actually HIGH

❌ IC overheating
✔ Verify power supply polarity

❌ Unstable output
✔ Avoid floating inputs (use pull-downs if needed)


Real-Life Applications

  • Digital IC design
  • Control logic
  • Security systems
  • Microprocessor architecture
  • Alarm circuits

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Need Help?