ECE PEC 151 Exp 1 Manual
ECE PEC 151 Exp 1 Manual
LABORATORY MANUAL
PREPARED BY
APPROVED BY
EXPERIMENT NO. 01
Aim: Study of Logic Gates
Objectives:
Apparatus Required: IC 7408 (AND Gate), IC 7432 (OR Gate), IC 7404 (NOT Gate),IC 7400
(NAND Gate),IC 7402 (NOR Gate), IC 7486(XOR Gate),Bread Board, Power Supply,
Connecting Wires, LED.
Theory:
Logic Gates:A logic gate is an elementary building block of a digital circuit. Most logic gates
have two inputs and one output. At any given moment, every terminal is in one of the
two binaryconditions: LOW (0) or HIGH (1), represented by different voltage levels. In most
logic gates, the low state is approximately zero volts (0 V), while the high state is approximately
five volts positive (+5 V).
AND, OR and NOT are basic gates. XOR and XNOR are derived gates. NAND and NOR gate
are universal gatesas anylogic can be implemented using only NAND or only NOR.
a) AND Gate gives logic 1 as output only if all of its inputs are at logic 1.
A B A•B
0 0 0
0 1 0
1 0 0
1 1 1
A B A+B
0 0 0
0 1 1
1 0 1
1 1 1
A Y
0 1
1 0
d) NAND Gate gives logic 0 as output only if all of its inputs are at logic 1.NAND gate is a
contraction of AND-NOT.
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
e) NOR Gate gives logic 1 as output only if all of its inputs are at logic 0.NOR gate is a
contraction of OR-NOT.
A B Y
0 0 1
0 1 0
1 0 0
1 1 0
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
g) XNOR Gate gives high output (logic 1)only if both inputs are same. It is complement of
XOR gate. It can be implemented using IC 7486(XOR Gate) and IC 7404 (NOT Gate).
A B C
0 0 1
0 1 0
1 0 0
1 1 1
Experimental Procedure:
1. Turn the power (Trainer Kit) off during circuit implementation.
2. Connect the +5V and ground (GND) leads of the power supply to the power and ground
bus strips on your breadboard.
3. Point all the chips in the same direction with pin 1 at the lower-left corner on
breadboard. (Pin 1 is often identified by a dot or a notch next to it on the chip package).
4. Select a connection and place a piece of hook-up wire between corresponding pins of
the chips on breadboard. It is better to make the short connections before the longer
ones. Mark each connection of schematic in steps, so as not to try to make the same
connection again at a larger stage.
5. If an error is made and not spotted before you turn the power on, turn the power off
immediately before reconstructing the circuit.
6. Verify the truth table of given circuit.
Result: The truth tables of all logic gates AND, OR, NOT, XOR, XNOR, NAND and NOR
gates have been verified.
Result Analysis & Discussion: This section should be written individually by each student.
Inferences & Conclusion: This section should be written individually by each student.
Learning Outcomes:
Applications:
3. EX-OR gates are used in parity generation, checking units and comparators.
Precautions: