0% found this document useful (0 votes)
11 views3 pages

# Lab Report Basic Logic Gates

Java mcq questions for summery and revision

Uploaded by

r9hbbykxpc
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
11 views3 pages

# Lab Report Basic Logic Gates

Java mcq questions for summery and revision

Uploaded by

r9hbbykxpc
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 3

# **Lab Report: Basic Logic Gates**

**Name**: Arina Salem


**Student Number**: 2310355

### **Objective**
The objective of this lab is to understand the operation of basic logic gates using the following
ICs:
- 74LS04 (NOT Gate)
- 74LS32 (2-input OR Gate)
- 74LS08 (2-input AND Gate)
- 74LS00 (2-input NAND Gate)
- 74LS10 (3-input NAND Gate)
- 74LS86 (2-input XOR Gate)

### **Equipment**
1. **Power Supply** (from Lab 1)
2. **Logic Probe / LED** (from Lab 1)
3. **Switches with 10K Ohm pull-down resistor**

---

## **AND Gate (74LS08) Circuit Setup**

1. **Datasheet**:
I referred to the [74LS08 datasheet](https://www.futurlec.com/74LS/74LS08.shtml) for the pin
diagram, function table, and operating conditions of the IC.

2. **Connections**:
- The **74LS08** IC was placed on a breadboard.
- **Pin 14** was connected to **+5V** (VCC), and **Pin 7** to **GND**.
- **Pin 1** and **Pin 2** were connected to two switches, each using a 10k Ohm pull-down
resistor.
- The **output** from **Pin 3** was connected to an LED through a resistor, with the LED
grounded to complete the circuit.

3. **Truth Table Verification**:


I tested the circuit with various input combinations and compared the output to the truth table:

| Input 1 (Pin 1) | Input 2 (Pin 2) | Output (Pin 3) | LED Status

4. **Results**:
The output matched the expected behavior of the AND gate. The LED turned ON only when
both inputs were HIGH (1), verifying the truth table.

---

## **OR Gate (74LS32) Circuit Setup**

1. **Datasheet**:
I referred to the 74LS32 datasheet for the pin diagram and function table.

2. **Connections**:
- The **74LS32** IC was placed on the breadboard.
- **Pin 14** was connected to **+5V** and **Pin 7** to **GND**.
- **Pin 1** and **Pin 2** were connected to switches (with pull-down resistors).
- The **output** from **Pin 3** was connected to an LED.

3. **Truth Table Verification**:


| Input 1 (Pin 1) | Input 2 (Pin 2) | Output (Pin 3) | LED Status |
4. **Results**:
The circuit worked as expected. The LED turned ON when either or both inputs were HIGH.

---

### **Additional Gates**


Repeat the same process for the remaining gates:

- **NOT Gate (74LS04)**: Inverts the input.


- **NAND Gate (74LS00)**: Output is 1 for any input combination except when both inputs are 1.
- **3-input NAND (74LS10)**: Output is 0 only when all three inputs are 1.
- **XOR Gate (74LS86)**: Output is 1 when inputs are different.

### **Conclusion**
The basic logic gates (AND, OR, NOT, NAND, XOR) were successfully implemented using their
respective ICs. Each gate’s function was verified through circuit construction and comparison
with the respective truth tables. The circuits worked as expected, and outputs were observed
through LEDs or logic probes.

---

### **Pictures**
Include pictures or screenshots of the working circuits with both input combinations and their
corresponding outputs.

You might also like