0% found this document useful (0 votes)
15 views4 pages

Digital Techinques Lab

Uploaded by

wwwwww1267
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

Digital Techinques Lab

Uploaded by

wwwwww1267
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

DIGITAL TECHINQUES LAB

XOR AND NAND GATES

OBJECTIVE

To verify the truth tables of XOR and NAND gates by building circuits
using ICs.

MATERIALS REQUIRED
XOR IC (e.g., 7486 IC for XOR gates)
NAND IC (e.g., 7400 IC for NAND gates)
Breadboard
Connecting wires
Power supply (typically +5V for TTL logic ICs)
Multimeter or LED indicators for output verification
THEORY

1. XOR Gate: A gate that outputs HIGH (1) only when the inputs differ.
- Truth Table for XOR Gate:

A B Output (A XOR B)
0 0 0
0 1 1
1 0 1
1 1 0

2. NAND Gate: A gate that outputs HIGH unless both inputs are HIGH,
in which case the output is LOW.

- Truth Table for NAND Gate:

A B Output (A NAND B)
0 0 1
0 1 1
1 0 1
1 1 0

PROCEDURE
PART 1: XOR GATE EXPERIMENT

1. Setup:

-Insert the XOR IC (e.g., 7486) onto the breadboard.


-Connect the Vcc (typically pin 14) to the +5V power supply and
ground (typically pin 7) to the ground of the power supply.

2
- Connect input pins (for one XOR gate, e.g., pins 1 and 2) and the
output pin (e.g., pin 3) to verify output.

2. Testing:

- Apply different combinations of inputs to the XOR gate.


- Use the multimeter or LED indicators to observe the output for each
input combination.

- Record the results and compare them with the expected truth table
for an XOR gate.

PART 2: NAND GATE EXPERIMENT

1. Setup:

- Insert the NAND IC (e.g., 7400) onto the breadboard.


- Connect the Vcc (typically pin 14) to the +5V power supply and
ground (typically pin 7) to the ground.

- Connect input pins (for one NAND gate, e.g., pins 1 and 2) and the
output pin (e.g., pin 3) to verify output.

2. Testing:

- Apply different input combinations to the NAND gate.


- Use the multimeter or LED indicators to observe the output for each
input combination.

- Record the results and compare them with the expected truth table
for a NAND gate.

3
OBSERVATIONS AND DATA RECORDING
XOR GATE OBSERVATIONS:

A B Expected Output Observed Output


0 0 0
0 1 1
1 0 1
1 1 0
NAND GATE OBSERVATIONS:

A B Expected Output Observed Output


0 0 1
0 1 1
1 0 1
1 1 0

CONCLUSION

After verifying the output of the XOR and NAND gates using ICs, you
should find that the observed outputs match the expected results from
the truth tables. This confirms the correct functionality of the XOR and
NAND logic gates.

You might also like