EE203-ECE203-COMP205 Digital Circuits I Lab Manual Fall23-24
EE203-ECE203-COMP205 Digital Circuits I Lab Manual Fall23-24
FACULTY OF ENGINEERING
Department of Electrical and Electronic Engineering
EE203/ECE203/COMP205
Digital Circuits I
LABORATORY MANUAL
Ex. 1 Ex. 2 Ex. 3 Ex. 4 Ex. 5 Ex. 6 Ex. 7 Ex. 8 Ex. 9 Ex. 10 Ex. 11
Table of Contents
2
LABORATORY RULES
1. Perform laboratory work only when your Laboratory Assistant is present.
Unauthorized or unsupervised laboratory experimenting is not allowed.
2. Your concern for safety should begin even before the first activity. Always read
and think about each step of the laboratory assignment before starting.
3. Never hurry. Work deliberately and carefully.
4. Be as careful for the safety of others as for yourself. Think before you act. Be tidy
and systematic
5. Avoid bulky, loose or trailing clothes. Avoid long loose hair. Remove metal
bracelets, rings or watchstraps when working in the laboratories. Do not use
metallic pencils, metal or metal edge rulers
6. Clear your bench top of all unnecessary materials such as books and clothing
before starting your work.
7. Food, beverages and other substances are strictly prohibited in the laboratory at
all times. Avoid working with wet hands and clothing.
8. Be sure that every device is switched off before starting to connect your
experimental circuit.
9. Call your Laboratory assistant when you connect your circuit and only after
getting his approval turn the devices on.
10. Never change wiring with circuit plugged into power source
11. Avoid unnecessary movement and talk in the laboratory.
12. Any laboratory accident, however small, should be reported immediately to your
Laboratory Assistant.
13. Before leaving the laboratory, ensure that devices are turned off and tidy your
bench.
14. If you have any doubt ask the Laboratory Assistant.
NEVER!!!!!!!!!!!
Work Unsupervised
3
1. Electric Shock:
When someone suffers serious electrical shock, he or she may be knocked unconscious.
If the victim is still in contact with the electrical current, immediately turn off the
electrical power source. If you cannot disconnect the power source, depress the
Emergency Power Off switch.
IMPORTANT!!!!!!
Do not touch a victim that is still in contact with a live power source
Have someone call for emergency medical assistance immediately. Administer
first-aid, as appropriate.
2. Electrical Fire:
If an electrical fire occurs, try to disconnect the electrical power source. Call for help
from the building security and the building management.
DANGER!!!!!!!
NEVER use water to extinguish an electrical fire.
4
Experiment 1 – General Information
Introduction
Reports of the experiments given below should be submitted to the lab instructor.
Reports should include truth table, schematic diagram and conclusion for each part.
5
Date:_____________
Objective
To become familiar with the logical operations of AND, OR, NOT, NOR and NAND, and the
use of truth tables.
Equipment Required
Logic Tutor LT345 MKII
Power Supply Unit +5V dc at 500mA
Experiment
1. Test 2-input and 3-input AND, OR, NAND and NOR gates. (4 Pts)
6
2. Construct AND gate using a 7400 IC and test it. (4 Pts)
Conclusion (2 Pts)
7
Date:_____________
Objective
To become familiar with the logical operations of Product of Sum and Sum of Product related
expressions.
Equipment Required
Logic Tutor LT345 MKII
Power Supply Unit +5V dc at 500mA
Experiment
1. Realize A.B+A.B’ with AND/OR and NAND/NAND structures. (4 Pts)
8
2. Realize (A’+B’).(A+B) with OR/AND structures. (4 Pts)
Conclusion (2 Pts)
9
Date:_____________
Experiment 4– Comparators
Objective
To be familiar with circuits based upon inputs to perform equality and inequality.
Equipment Required
Logic Tutor LT345 MKII
Power Supply Unit +5V dc at 500mA
Experiment
Design and test the following:
1. 3-bit comparator for a reference of 100.
Truth Table
A B C G E L L ABC ABC ABC ABC
0 0 0 0 0 1 ABC E ABC
0 0 1 0 0 1 ABC G ABC ABC ABC
0 1 0 0 0 1 ABC
0 1 1 0 0 1 ABC These are the equations we obtained directly from truth
1 0 0 0 1 0 table, but we can simplify a couple of them further by
ABC
using the k-map.
1 0 1 1 0 0 ABC
1 1 0 1 0 0 ABC
1 1 1 1 0 0 ABC
For Greater
BC
A
BC BC BC BC
A 1 . 1 . 1
L= A E= ABC G= AC AB
10
As we have obtained the simplest form the equation we are ready to design the circuit for G, E
and L. (4Pts)
A1 A0 B1 B0 Y
A1
A0 Y 0 0 0 0
B1 0 0 0 1
B0 0 1 0 1
1 0 1 0
1 1 1 1
Conclusion (2 Pts)
11
Date:_____________
Experiment 5– Multiplexers
Objective
To be familiar with the multiplexer and their uses in designing
Equipment Required
Logic Tutor LT345 MKII
Power Supply Unit +5V dc regulated
Experiment
1. Design a given block diagram of 2-to-1-line multiplexer and test it. (3 Pts)
A
Y=AS+BS
B
S
Truth Table
S A B 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
12
2. Implement 4-to-1 MUX using 2-to-1 Multiplexers (5 Pts)
Conclusion (2 Pts)
13
ate:_____________
Objective
To be familiar with the use of encoder and decoder circuits.
Equipment Required
Logic Tutor LT345 MKII
Power Supply Unit +5V dc regulated
Experiment
3. Rig-up a 1-of-4-to-2 encoder and test it. (3 Pts)
D C B A P Q
0 0 0 1 0 0
0 0 1 0 0 1
0 1 0 0 1 0
1 0 0 0 1 1
P=C+D Q=B+D
Conclusion (2 Pts)
14
Date:_____________
Objective
To be familiar with the circuits for the numerical addition of binary numbers.
Equipment Required
Logic Tutor LT345 MKII
Power Supply Unit +5V dc at 500mA
Experiment
With available gates in the kit design and test the following:
1. Half-adder (2 Pts)
2. Full-adder (2 Pts)
15
3. Half subtractor (2 Pts)
Conclusion (2 Pts)
16
Date:_____________
Objective
To become familiar with the working principles of flip-flops, and be able to construct various
examples.
Equipment Required
Logic Tutor LT345 MKII
Power Supply Unit +5V dc regulated
Experiment
1. Construct clocked D flip-flop using NAND gates. (2 Pts)
17
3. Construct a 4-bit D latch given below and show its outpun on truth table (3 Pts)
Conclusion (2 Pts)
18
Date:_____________
Experiment 9 – Counters
Objective
To become familiar with the design methods of counters, and be able to construct various
examples.
Equipment Required
Logic Tutor LT345 MKII
Power Supply Unit +5V dc at 500mA
Experiment
Realize and test the following:
1. 3-bit binary counter (2 Pts)
Truth Table
C B A
Q0 Q1 Q2 Q2 Q1 Q0
0 0 0 0
1 0 0 1 J Q J Q J Q
19
2. Realize a 3-bit down counter and test it. (2 Pts)
3. Realize a 3-bit down counter that produces the sequence 111, 110, 101, 100 and 011;
and test it. (4 Pts)
Conclusion (2 Pts)
20
Date:_____________
Objective
To be familiar with the design methods of ring and shift counters
Equipment Required
Logic Tutor LT345 MKII
Power Supply Unit +5 V dc at 500 mA
7400IC
Breadboard
Experiment
1. Realize a 4-bit Ring counter and test it. (4 Pts)
21
2. Realize a 4-bit Johnson counter and test it. (4 Pts)
Conclusion (2 Pts)
22
Experiment 11- Experimental Design
Objective:
PROCEDURE
Design such a circuit, which can count up or down depending on the choice (selector switch).
(2 Pts.)
Draw the circuit diagram (2 Pts.)
Build the circuit on breadboard (3Pts.)
Part 2 Justifying the Design
Test the circuit and write the experimental results into truth table. (3 Pts.)
23
Experiment 12- Experimental Exam
24