Professional Documents
Culture Documents
LABORATORY MANUAL
IN
DIGITAL ELECTRONICS
ELECTRICAL DEPARTMENT
TABLE OF CONTENTS
I. OR Gate
II. AND Gate
III. NOT Gate
IV. NOR Gate
V. NAND Gate
VI. Exclusive OR Gate
VII. Boolean Algebra
VIII. Decimal to BCD Encoder
IX. BCD to Decimal Decoder
X. 0 – 9 Second (or MINUTE) Timer
Technological University of the Philippines
College of Industrial Technology
ELECTRICAL DEPARTMENT
Manila
Experiment No. 1
OR GATE
I. Objectives
1. To examine the characteristics and operation of a TTL OR gate.
2. To construct a logic circuit of an OR gate with an expanded input using 2 – input
TTL OR gates.
A
A+B
B
+ 5V
1
A
< Y
<
0
<
<
1
<
, B
<
<
0
<
,<
< 150 Ω
<
,
<
,
Fig. A
2. Wire the OR gate to each input combination shown in truth table A.1, observe its
output, and records each in the truth table.
3. Using the same circuit shown in Fig. A, complete truth tables A.2 and A.3.
4. Construct the circuit shown in Fig. B.
+ 5V
1
A
< A+B
(A + B) +
<
0
< C
1
<
,< B
<
0<
,<
<
1
<
,< C 150 Ω
<
0<
,
<
,<
<
, Fig. B
5. Wire the circuit to each input combination shown in truth table B, observe its
output, and record each in the truth table.
Truth Table A.1
B A Y
0 0
0 1
1 0
1 1
B A Y B A Y
0 hang hang 0
1 hang hang 1
Truth Table B
C B A Y
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Questions
1. What is the equivalent of floating input of TTL OR gate?
_____________________________________________________________________
_____________________________________________________________________
2. What is the Boolean expression of the circuit shown in Fig. B?
_____________________________________________________________________
_____________________________________________________________________
3. What are the 2 ways that must be done on a three-input OR gate for it to function as a
two-input OR gate?
A. __________________________________________________________________
__________________________________________________________________
B. __________________________________________________________________
__________________________________________________________________
4. Draw the possible connections on how the three two-input OR gates can be wired to
function as a four-input OR gate. Write the Boolean expression for each output of the
OR gate.
CIRCUIT 1
V. Conclusion
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Technological University of the Philippines
College of Industrial Technology
ELECTRICAL DEPARTMENT
Manila
Experiment No. 2
AND GATE
I. Objectives
1. To examine the characteristics and operation of a TTL AND gate.
2. To construct a logic circuit of an AND gate with an expanded input using 2-input
TTL AND gates.
1
< A
<
0
Y
<
1
<
,< B
<
<0
,<
1
< C
,<
< 150 Ω
<
0
,
<
,
<
<
, Fig. B
5. Wire the circuit to each input combination shown in truth table B, observe its
output, and record each in the truth table.
Truth Table A.1
B A Y
0 0
0 1
1 0
1 1
B A Y B A Y
0 hang hang 0
1 hang hang 1
Truth Table B
C B A Y
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Questions
1. What is the equivalent of floating input of TTL AND gate?
__________________________________________________________________
__________________________________________________________________
2. What is the Boolean expression of the circuit shown in Fig. B?
__________________________________________________________________
3. What are the two ways that must be done on a three-input AND gate for it to
function as a two-input AND gate?
A. _______________________________________________________________
_______________________________________________________________
B. _______________________________________________________________
_______________________________________________________________
4. Draw the two possible connections on how the three two-input AND gates can be
wired to function as a four-input AND gate. Write also the Boolean expression
for each output of the AND gate.
Circuit 1
V. Conclusion
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Technological University of the Philippines
College of Industrial Technology
ELECTRICAL DEPARTMENT
Manila
Experiment No. 3
NOT GATE
I. Objectives
1. To examine the characteristics and operation of a TTL NOT gate.
A Ā
1 A Y
150 Ω
Fig. A
2. Complete truth table A of the NOT gate by observing and recording the output of
it for each input state and condition given in the table.
3. Construct the circuit shown in Fig. B.
+ 5V
1 A Y
150 Ω
Fig. B
1 A Y
150 Ω
Fig. C
A Y A Y A Y
0 0
0
1
1 1
hang
Questions
1. What is the equivalent of a floating input of a NOT gate?
_____________________________________________________________________
_____________________________________________________________________
2. Write the Boolean expression for the circuit shown in Fig. B.
_____________________________________________________________________
Its simplified expression is _______________________________________________
3. Write the Boolean expression for the circuit shown in Fig. C.
_____________________________________________________________________
Its simplified expression is _______________________________________________
V. Conclusion
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
Technological University of the Philippines
College of Industrial Technology]
ELECTRICAL DEPARTMENT
Manila
Experiment No. 4
NOR GATE
I. Objectives
1. To examine the characteristics and operation of a TTL NOR gate.
2. To implement NOR function using combination of OR and NOT gates.
A
A+B
B
IV. Procedure
1. Construct the circuit shown in Fig. A.
+ 5V
1
A
Y
0
1
B
0
150 Ω
Fig. A
2. Wire the NOR gate to each input combination shown in truth table A.1, observe
its output, and record each in the truth table.
3. Using the same circuit as shown in Fig. A, complete truth tables A.2 and A.3
4. Construct the circuit shown in Fig. B.
+ 5V
1
A
Y
0
1
B
0
150 Ω
Fig. B
5. Wire the circuit to each input combination shown in truth table B, observe its
output, and record each in the truth table.
Truth Table A.1
B A Y
0 0
0 1
1 0
1 1
B A Y B A Y
0 hang hang 0
1 hang hang 1
Truth Table B
B A Y
0 0
0 1
1 0
1 1
Questions
1. What is the equivalent of a floating input of a NOR gate?
_____________________________________________________________________
_____________________________________________________________________
2. What is the Boolean expression of the circuit shown in Fig. B.
_____________________________________________________________________
3. What are the two ways that must be done on a three-input NOR gate for it to function
as a two-input NOR gate?
A. __________________________________________________________________
__________________________________________________________________
B. __________________________________________________________________
__________________________________________________________________
V. Conclusion
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
Technological University of the Philippines
College of Industrial Technology
ELECTRICAL DEPARTMENT
Manila
Experiment No. 5
NAND GATE
I. Objectives
1. To examine the characteristics and operation of a TTL NAND gate.
2. To implement NAND function using combination of AND and NOT gates.
A
A.B
B
IV. Procedure
1. Construct the circuit shown in Fig. A.
+ 5V
1
A
Y
0
1
B
0
150 Ω
Fig. A
2. Wire the NAND gate to each input combination shown in truth table A.1, observe
its output, and record each in the truth table.
3. Using the same circuit as shown in Fig. A, complete truth tables A.2 and A.3
4. Construct the circuit shown in Fig. B.
+ 5V
1
A
Y
0
1
B
0
150 Ω
Fig. B
5. Wire the circuit to each input combination shown in truth table B, observe its
output, and record each in the truth table.
B A Y B A Y
0 hang hang 0
1 hang hang 1
Truth Table B
B A Y
0 0
0 1
1 0
1 1
Questions
1. What is the equivalent of a floating input of a NAND gate?
_____________________________________________________________________
_____________________________________________________________________
2. What is the Boolean expression of the circuit shown in Fig. B?
_____________________________________________________________________
3. What are the two ways that must be done on a three-input NAND gate for it to
function as a two-input NAND gate?
A. __________________________________________________________________
__________________________________________________________________
B. __________________________________________________________________
__________________________________________________________________
V. Conclusion
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
Technological University of the Philippines
College of Industrial Technology
ELECTRICAL DEPARTMENT
Manila
Experiment No. 6
EXCLUSIVE OR GATE
I. Objectives
1. To examine the characteristics and operation of a TTL XOR gate.
2. To implement XOR function using combinations of logic gates.
A
A + B
B
IV. Procedure
1. Construct the circuit shown in Fig. A.
+ 5V
1
A
Y
0
1
B
0
150 Ω
Fig. A
2. Wire the XOR gate to each input combination shown in truth table A.1, observe
its output, and record each in the truth table.
3. Using the same circuit shown in Fig. A, complete truth tables A.2 and A.3.
4. Construct the circuit shown in Fig. B.
+ 5V
1
A
0
1 Y
B
0
150 Ω
Fig. B
5. Wire the circuit to each input combination shown in truth table B, observe its
output, and record each in the truth table.
B A Y B A Y
0 hang hang 0
1 hang hang 1
Truth Table B
B A Y
0 0
0 1
1 0
1 1
Questions
1. What is the equivalent of a floating input of a TTL XOR gate?
_____________________________________________________________________
_____________________________________________________________________
2. What is the Boolean expression of the circuit shown in Fig. B?
_____________________________________________________________________
3. What are the two ways that must be done on a three-input XOR gate for it to function
as a two-input XOR gate?
A. __________________________________________________________________
__________________________________________________________________
B. __________________________________________________________________
__________________________________________________________________
V. Conclusion
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
Technological University of the Philippines
College of Industrial Technology
ELECTRICAL DEPARTMENT
Manila
Experiment No. 7
BOOLEAN ALGEBRA
I. Objectives
1. To state the Boolean Algebra expressions for the outputs of digital logic gates as a
function of the inputs.
2. To simplify a given circuit using Boolean Algebra.
1. 0 + A = A 11. A . B = B . A
2. 1 + A = 1 12. A + (B + C) = (A + B) + C
3. A + A = A 13. A(BC) = (AB)C
4. A + Ā = 1 14. A(B + C) = AB + AC
5. 0 . A = 0 15. A + AB = A
6. 1 . A = A 16. A(A + B) = A
7. A . A =A 17. (A + B)(A + C) = A + BC
8. A . Ā = 0 18. A + AB = A + B
9. A = A 19. AB + BC = AB + C
10. A + B = B + A
IV. Procedure
A.
1. Refer to the circuit shown in Fig. 1.
D
Fig. 1
2. Write the expression for the output of the gate indicated (that is, gates A, B, C, D, E,
and F)
3. Referring to the output of the circuit of Fig. 1 as Y = (A + B)(B + C) + Ā(C + D), is it
possible to simplify any part of the equation, and if so, which part?
4. Simplify the expression (A + B)(B + C) using Boolean Algebra and state the full
simplified equation for the circuit of Fig. 1.
5. Refer to the circuit shown in Fig. 2.
A
C
Fig. 2
B.
1. Refer to the circuits shown in Fig. 3 and Fig. 4.
B
C
Fig. 3
A
B
C
Fig. 4
2. Write Boolean equation for the circuit shown in Fig. 3.
3. Write Boolean equation for the circuit shown in Fig. 4.
4. Do the circuits in Fig. 3 and 4 perform the same logic function? Explain your answer.
5. Connect the circuits of Fig. 3 and 4. Turn on the power and complete Table 2.
Questions
A.
2. The expression for the output of gate A: _____________________________________
The expression for the output of gate B: _____________________________________
The expression for the output of gate C: _____________________________________
The expression for the output of gate D: _____________________________________
The expression for the output of gate E: _____________________________________
The expression for the output of gate F: _____________________________________
3. Answer:
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
4.Answer:
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
_____________________________________________________________________
6. Answer:
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
7. Answer:
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
B.
2. The Boolean equation for Fig. 3: ___________________________________________
3. The Boolean equation for Fig. 4: ___________________________________________
4. Answer:
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
V. Conclusion
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
Technological University of the Philippines
College of Industrial Technology
ELECTRICAL DEPARTMENT
Manila
Experiment No. 8
DECIMAL TO BCD ENCODER
I. Objectives
1. To understand how encoders work.
2. To use encoders in various applications.
IV. Procedure
1. Gather all the materials needed.
2. Connect the circuit shown in Fig. 1.
3. Press the switch starting with 0 up to 9.
4. Record the data gathered and write it on Table 1.
+ 5V
0
1
2
3
4
5
6
7
8
A B C D
Fig. 1
Table 1
V. Conclusion
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
Technological University of the Philippines
College of Industrial Technology
ELECTRICAL DEPARTMENT
Manila
Experiment No. 9
BCD TO DECIMAL DECODER
I. Objectives
1. To understand how decoders work.
2. To use decoders in various applications.
470 Ω
a b c d e f g
Fig. 2
Table 1
V. Conclusion
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
Technological University of the Philippines
College of Industrial Technology
ELECTRICAL DEPARTMENT
Manila
II. Procedure
1. Connect the circuit shown in Fig. 1.