EENG0027 Lab - Logic Gates
EENG0027 Lab - Logic Gates
You are reminded of the University rules on Academic Integrity as stated in the student handbook.
Examples of conduct regarded as a breach of these regulations include
• Plagiarism: reproducing in any work submitted for assessment or review (for example,
examination answers, essays, project reports, dissertations or theses) any material derived from
work authored by another, without clearly acknowledging the source
• Duplication of Material
• Conspiring with others to reproduce the work of others without proper acknowledgement,
including knowingly permitting work to be copied by another student
• Falsification of data/evidence.
Circuit board
2
Demonstrator Checking: Completed Uncompleted Demonstrator:
Practice- To examine the logic operation of a NOR gate.
Circuit to be investigated
1. Connect the circuit on the circuit board as shown in the figure below.
2. Fill in the truth table shown below, i.e. deduce the outputs experimentally and theoretically.
A B A+ B (theo A+ B
ry) (experiment)
0 0
0 1
1 0
1 1
3
Demonstrator Checking: Completed Uncompleted Demonstrator:
Student Name: , login: , Group:
Circuit to be investigated
Experiment-
1. Construct the above circuit on the circuit board. You may use any two of NOT gates and a AND gate. Clearly
draw the wire links that you have used on the diagram of the board shown in Figure 1.1.
Figure 1.1
2. Fill in the truth table shown below i.e. deduce the outputs experimentally and theoretically.
4
Demonstrator Checking: Completed Uncompleted Demonstrator:
A B A B F F
(theory) (theory) (theory) (experiment)
0 0
0 1
1 0
1 1
3. What is the above circuit equivalent to? Explain why this is so.
5
Demonstrator Checking: Completed Uncompleted Demonstrator:
Task 2- Logic Gate Reduction, aiming to demonstrate that a complicated logic circuit (se below) can be
reduced to a much simpler one.
[30/100]
Circuit to be investigated
Experiment
1. Construct the above circuit on the circuit board. You may use any two of NOT gates and a AND gate. Clearly
draw the wire links that you have used on the diagram of the board shown in Figure 2.1.
Figure 2.1
6
Demonstrator Checking: Completed Uncompleted Demonstrator:
2. Fill in the truth table shown below i.e. deduce the OUTPUT experimentally.
A∙B A∙B B F F
A B (theory)
(theory) (theory) (theory) (experiment)
0 0
0 1
1 0
1 1
3. What is the above circuit equivalent to? Explain why this is so.
7
Demonstrator Checking: Completed Uncompleted Demonstrator:
Task 3- Logic Circuit Design, aiming to design a simple logic circuit which is capable of fulfilling a simple
specification.
[50/100]
There are two SENSORS on the right-side of the lower section of the test board (Figure 3.1). The sensor at
the bottom is a magnetic field sensor (MAG). Its logic output depends on the presence or not of a magnetic
field produced by a bar magnet. The sensor on the top is an infra-red (IR) sensor (OPTO). Its logical output
depends on whether the IR beam is interrupted by an object placed in its slot.
A logic circuit is to be designed such that the OUTPUT of the circuit is ‘Logic 1’ ONLY when,
the magnetic field is present to the MAG sensor AND the IR beam of the IR sensor is un-interrupted,
OR
the magnetic field is absent from the MAG sensor AND the IR beam of the IR sensor is interrupted.
1. By monitoring the outputs of the MAG and IR sensors with LEDs on the base unit, determine when the
outputs of the sensors are Logic 1 (ON) and when they are Logic 0 (OFF). Record your results in the table
below,
2. After you have investigated the magnetic field sensor and IR sensor experimentally, you will be in a position
to fill in the output columns of the truth table below according to the logical requirements (leave the last
column for the time being)
OUTPUT F OUTPUT F
MAG sensor A IR sensor B
(required) (experiment)
3. Write down below the Boolean logical expression for output F with respect to Inputs A and B.
8
Demonstrator Checking: Completed Uncompleted Demonstrator:
4. Draw up a circuit diagram according to the truth table able
9
Demonstrator Checking: Completed Uncompleted Demonstrator:
5. Construct the circuit on the test board based on the diagram you obtained above. Clearly draw the wire links
that you have used in your circuit on the diagram of the board shown in Figure 4.1
Figure 3.1
10
Demonstrator Checking: Completed Uncompleted Demonstrator: