Free Shipping over ₹1299

Lesson-04 AND Gate (7408) – Two Switch Control

Introduction

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

An AND gate gives an output HIGH (1) only when ALL its inputs are HIGH.
If any one input is LOW, the output becomes LOW.

This lesson will help you understand:

  • How multiple inputs control a single output
  • How IC 7408 works
  • How to build a practical AND gate circuit using push buttons and an LED

What Is an AND Gate?

An AND gate is a two-input logic gate.

Simple meaning:

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

Real-life example:

  • A machine starts only when Power switch AND Safety switch are ON
  • A door opens only when Password AND Fingerprint are correct

Truth Table of AND Gate

Input AInput BOutput
000
010
100
111

Output is HIGH only when both inputs are HIGH.


IC 7408 – Quad 2-Input AND Gate

IC 7408 contains four AND gates inside a single IC.

Key Features:

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

5. IC 7408 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 Do We Use an AND Gate?

AND gates are used when:

  • Multiple conditions must be satisfied
  • Safety logic is required
  • Permission-based control is needed

Example uses:

  • Industrial safety systems
  • Password verification
  • Digital decision making

7. Components Required

ComponentQuantityPurpose
IC 74081AND 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 7408 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: No Button Pressed (0,0)

  • Output = LOW
  • LED OFF

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

  • Output = LOW
  • LED OFF

Case 3: Both Buttons Pressed (1,1)

  • Output = HIGH
  • LED ON

This confirms the AND gate logic.


Observation Table

Button AButton BOutputLED
OFFOFF0OFF
ONOFF0OFF
OFFON0OFF
ONON1ON

Common Mistakes & Troubleshooting

❌ LED never turns ON
✔ Check both input buttons

❌ LED always ON
✔ Inputs may be shorted to 5V

❌ IC not working
✔ Check Pin 14 (VCC) and Pin 7 (GND)


Real-Life Applications

  • Security systems
  • Voting machines
  • Digital locks
  • Control panels
  • Logic decision circuits

    Leave a Reply

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

    Need Help?