Lab Report Electronics 5th
Lab Report Electronics 5th
Objectives :
In this lab experiment, we are going to build circuits using NOT, OR and
AND gates to analyze how a logic circuit works with different logic gates.
And then we are going to investigate the circuits in order to fill out the truth
tables verify according to the voltages measured.
Main points
1. To study the truth tables of various basic logic gates
2. To implement an OR gate using NAND gates
3. To implement an AND gate using OR gates
4. Also discussed about NAND and NOR gates
Introduction:
Logic gates are the building block of digital circuits which has two inputs
and one output in terms of Boolean algebra. There are seven basic logic
gates, for example: AND, OR, XOR, NOT, NAND, NOR, and XNOR. All seven
basic logic gates have different rules for their truth table. The truth table
consists of three columns- two inputs and one output. The output
depends on the input for each of the logic gates’ rules. For example, for
AND gate when both inputs are true “1”, the output is also true “1”. But if
only one input is true “1” and the other one is false “0”, then the output is
false “0”. Similarly each of the seven logic gates’ truth tables are filled
with its own rule for the output. But we study only five gates namely
UOC
Department Of Physics 2020-24 Page 1
OR,AND,NOT,NAND and NOR. So we talk about only these five logic gates
in this lab report.
Apparatus :
Bread board, LED, power supplies 5V, Diodes, Transistor, Two-way-
key, connecting wires.
Required IC’s :
7408 AND Gate
7432 OR Gate
7404 NOT Gate
7400 NAND Gate
7402 NOR Gate
Simulation:
Part 1: The OR gate
Symbol :
Circuit Diagram :
UOC
Department Of Physics 2020-24 Page 3
Pin diagram of IC74LS32:
UOC
Department Of Physics 2020-24 Page 4
Truth Table(AND gate) :
Symbol :
Circuit Diagram :
UOC
Department Of Physics 2020-24 Page 5
Pin diagram of IC74LS08:
The logic symbol & truth table of NOT gate are shown in figure 1.e & 1.f
respectively.
The symbol for NOT operation is „-„-‟(bar).
UOC
Department Of Physics 2020-24 Page 6
Truth Table :
Input A Output
0 1
1 0
Symbol :
Circut Diagram :
UOC
Department Of Physics 2020-24 Page 7
Pin diagram for IC74LS04:
Universal Gates:
UOC
Department Of Physics 2020-24 Page 8
Likewise, an OR gate is typically implemented as a NOR gate followed by
an inverter not the other way around!!
NAND gate :
NAND gate is universal gate. It can perform all the basic logic function.
NAND means NOT AND that is, AND output is NOTed.so NAND gate is
combination of an AND gate and aNOT gate. The output is logic 0 level,
only when each of its inputs assumes a logic 1 level. For any other
combination of inputs, the output is logic 1 level. NAND gate is equivalent
to a bubbled OR gate.
Truth Table:
Input A Input B
0 0 1
0 1 1
1 0 1
1 1 0
UOC
Department Of Physics 2020-24 Page 9
Symbol :
Circuit Diagram :
UOC
Department Of Physics 2020-24 Page 10
Pin diagram for IC74LS00:
NOR gate is universal gate. It can perform all the basic logic function.
NOR means NOT OR that is, OR output is NOTed.so NOR gate is
combination of an OR gate and a NOT gate. The output is logic 1 level,
only when each of its inputs assumes a logic 0 level. For any other
combination of inputs, the output is logic 0 level. NOR gate is equivalent
to a bubbled AND gate.
With input variables A & B the Boolean expression for(NOR gate) output
can be written as;
UOC
Department Of Physics 2020-24 Page 11
Truth Table :
Input A Input B
0 0 1
0 1 0
1 0 0
1 1 0
Symbol :
Circuit Diagram :
UOC
Department Of Physics 2020-24 Page 12
Pin diagram for IC74LS02:
UOC
Department Of Physics 2020-24 Page 13
4. Logic gates are also important in data transport, calculation, and
data processing. Even transistor-transistor logic and CMOS circuitry
make extensive use of logic gates.
UOC
Department Of Physics 2020-24 Page 14
UOC
Department Of Physics 2020-24 Page 15
UOC
Department Of Physics 2020-24 Page 16
Summary of Internal architecture of each IC
7408 AND Gate 7402 NOR Gate
UOC
Department Of Physics 2020-24 Page 17
Precautions and surce of errors :
Conclusion :
By using logic gates we perform many function like they control the
THE END
UOC
Department Of Physics 2020-24 Page 18