Professional Documents
Culture Documents
Objectives: Experiment 1 Combinational Logic
Objectives: Experiment 1 Combinational Logic
(KMS2201)
EXPERIMENT 1
Combinational Logic
Objectives
Equipment
Digital Trainer
Breadboard
Components (74LS00 , 74LS04 , 74LS08 , 74LS10 , 74LS32 , 74LS86 ,
74LS02)
Resistor (560)
Preparation
Answer the following question and note for verification in the lab session.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
LABORATORY III
(KMS2201)
Procedures
I. AND GATE EXPERIMENT
1. Observe Fig. 1-1, (marked 7408 AND GATE IC), plug the IC into the digital
trainer
and select any of a set of AND GATE, connect it according to the circuit in
Fig. 1-1
(b) circuit shows. Connect the INPUT A, B to Data Switch SW1,
SW2.Connect
the output Y to LED display. (Dont forget to connect the +V CC and GND).
(a)
2. Change Data Switches SW1, SW2 to turn the LED light on or off (that
means the
OUTPUT is 1 or 0), observe the relationship between input and output,
and
then record it in Table 1.
VC C 4A
4B
4Y
3A
3B
3Y
8
14
13
12
11
10
1
1A
2
1B
3
1Y
4
2A
5
2B
6
2Y
7
G N D
(a)
7408
AND G ATE
A
B
0
S1
1
+5V
S2
1
Table 1
Y
560
LED
0
0
1
1
0
1
0
1
+5 V
(b)
Y=A.B
LABORATORY III
(KMS2201)
Fig. 1-1
1. Observe Fig. 1-2, (marked 7432 OR GATE IC), plug it into the digital trainer.
Select any of a set of OR GATE and connect it. Referring to the circuit in
Fig.1-2
(b), connect input A and B to Data Switches SW1 and SW2 respectively,
connect output Y to the LED display. (Dont forget to connect the +V CC and
GND).
2. Change Data Switches SW1 and SW2 from 0 to 1 and back to 0,
then observe the input and output situations, record them in Table 2.
V C C
4A
4B
4 Y
3A
3 B
3Y
14
13
12
11
1 0
1
1A
2
1B
3
1Y
4
2 A
5
2B
6
2 Y
7
G N D
(a)
LABORATORY III
(KMS2201)
Table 2
A
0
0
1
1
0
1
0
1
Y=A+B
7432
O R G ATE
A
B
0
S1
1
+5 V
560
S2
0
LED
+5 V
(b)
Fig. 1-2
1. Referring to Fig. 1.3, which is marked 7404 NOT GATE IC, plug this IC in
the
breadboard of digital trainer and select any of a set of NOT GATE,
according to
the circuit in Fig. 1.3(b) circuit shows.
2. Connect the INPUT A to Data Switch SW1, Output Y to LED display.
(Note: Dont forget to connect the +5V to the 14 th pin of IC, and the 7th pin
to GND.)
LABORATORY III
(KMS2201)
VCC
6A
6Y
5A
5Y
4A
4Y
14
13
12
11
10
1
1A
2
1Y
3
2A
4
2Y
5
3A
6
3Y
GND
(a)
Table 3
A
1
0
Y=A
7404
N O T G A T E
Y
560
S 1
0
1
L E D
+ 5V
(b)
Fig. 1-3
LABORATORY III
(KMS2201)
V C C 4A
14 13
4B
12
4Y
11
3A
3B
10
3Y
8
Table 4
1
1A
2
1B
4
2A
5
2B
(a)
7400
NAND G ATE
Y
B
3
1Y
S1
1 0
+5V
6
2Y
7
G N D
0
0
1
1
0
1
0
1
560
S2
1
Y=A.B
LED
+5V
(b)
Fig. 1-4
LABORATORY III
(KMS2201)
1. See Fig. 1-5, (marked 7402 NOR GATE IC), plug the IC into the digital
trainer
and select any of a set of NAND GATE, connect it according to the circuit
in
Fig.1-5(b) circuit shows. Connect the INPUT A and B to Data Switches
SW1,
SW2 respectively. Connect the output Y to LED display. (Dont forget to
connect the +VCC and GND).
2. Change Data Switches SW1, SW2 to turn the LED light on or off (that
means
the OUTPUT is 1 or 0, observe the relationship between input and
output,
and then record it in Table 5.
V C C 4 Y
1 4
1 3
1
1 Y
2
1 A
3 Y
1 0
3 A
1 2
4 B
1 1
3
1 B
4
2 Y
5
2 A
6
2 B
Y
B
S1
1
+5V
560
S2
0
3 B
8
7
G N D
(a)
7402
N O R G AT E
4 A
LED
Table 5
A
0
0
1
1
B
0
1
0
1
+5 V
(b)
Y=A+B
Fig. 1-5
LABORATORY III
(KMS2201)
V C C 4A
14 13
4B
12
4Y
11
3A
10
3B
9
3Y
8
Table 6
A
1
1A
2
1B
7486
E X -O R G A T E
A
B
0
S1
1 0
3
1Y
4
2A
(a)
5
2B
6
2Y
7
G N D0
0
1
1
0
1
0
1
560
S2
1
LED
+5V
+5 V
Y=AB
(b)
Fig. 1-6
LABORATORY III
(KMS2201)
Task
1. Based on the Boolean expression given on each diagram below, construct
a similar combinational circuit by substituting NAND gates only. Test the
circuit and verify.
LOGIC
FUNCTION
SYMBOL
Inverter
AND
A
B
A . B
OR
A
B
A + B
NOR
A
B
A + B
XOR
A
B
LABORATORY III
(KMS2201)
Part II
I.
Prepare a circuit schematic diagram of the circuit shown in Figure 2a. The
two inputs, A and B will connect to toggle switches and the output F will
connect to an LED on the digital trainer. Complete the truth table in Figure
2b and compare with the truth table in Figure 1-4.
A
0
0
1
1
(a) Logic diagram
B
0
1
0
1
A
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
C
0
1
0
1
0
1
0
1
LABORATORY III
(KMS2201)
III.
A
0
0
0
0
1
1
1
1
(a) Logic diagram
B
0
0
1
1
0
0
1
1
C
0
1
0
1
0
1
0
1
LABORATORY III
(KMS2201)
Appendix A
Triple NAND Gate (74LS10)