Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Digital Logic Design

(EE-223)
DE-43 Mechatronics
Syndicate – A

Lab Title: Familiarization with Logic Gates

Week No: 02

Names of Group Members:


1. NS Ahyan Ahmed Reg # 370288
2. GC Saad Nawaz Reg # 398392

Submitted to: LE Adnan Shujah

1|Page
INTRODUTION TO LOGIC GATES

OBJECTIVE:
The objective of this lab is to familiarize ourselves with logic gates and understand the
different logic gates and their usage in different lab tasks.

EQUIPMENT:
 DLD Trainer Board
 Bread Board
 14-pin IC
 Connecting wires

LOGIC GATES:
A Logic Gate is an idealized or physical device implementing a Boolean function, a
logical operation performed on one or more binary inputs that produces a single binary
output.
The Logic Gates introduced to us are AND, OR and NOT Gates.

AND GATE:
An AND gate is an electrical circuit that combines two signals so that the output is on if
both signals are present. The output of the AND gate is connected to a base driver which
is coupled to the bases of transistors, and alternately switches the transistors at opposite
corners of the inverter.

2|Page
Symbol:

Figure 1: AND Gate Symbol

Truth Table:

Figure 2: AND Gate Truth Table

IC Used:
The AND Gate is implemented in 74LS08. It is a 14 pin IC which is used to implement AND Gate in
the circuit. The Data Sheet of IC is shown below.

Figure 3: Pin diagram of 74LS08

3|Page
The output of the AND gate was checked by seeing the LED lights. Illumination
showed output 1 and no light showed output 0.

OR GATE:
The OR gate gets its name from the fact that it behaves after the fashion of the logical
inclusive "or." The output is "true" if either or both of the inputs are "true." If both inputs
are "false," then the output is "false." In other words, for the output to be 1, at least input
one OR two must be 1.
Symbol:

Figure 4: OR Gate Symbol

Truth Table:

Figure 5: OR Gate Truth Table

4|Page
IC Used:
The OR Gate is implemented in HEF4075B. It is a 14 pin IC which is used to implement OR Gate in
the circuit. The Data Sheet of IC is shown below.

Figure 6: Pin diagram of HEF4075B

The output of the OR gate was checked by seeing the LED lights. Illumination
showed output 1 and no light showed output 0.

NOT GATE:
The NOT gate is an electronic circuit that produces an inverted version of the input at
its output. It is also known as an inverter. If the input variable is A, the inverted output is
known as NOT A. This is also shown as A', or A with a bar over the top, as shown at the
outputs.
Symbol:

Figure 7: NOT Gate Symbol

5|Page
Truth Table:

Figure 8: NOT Gate Truth Table

IC Used:
The NOT Gate is implemented in 74LS04. It is a 14 pin IC which is used to implement
NOT Gate in the circuit. The Data Sheet of IC is shown below.

Figure 9: Pin diagram of 74LS04

The output of the NOT gate was checked by seeing the LED lights. Illumination
showed output 1 and no light showed output 0.

6|Page
TASK 1:
In this task, we had to verify that whether the ICs and gates implemented in them are
working or not. For that we used trainer board and the method mentioned in previous
report. We checked each gate separately.

TASK 2:
In this task, we had to implement the following circuit on the bread board using ICs
and confirm its truth table physically. We had three input signals for this circuit.

Figure 10: Circuit Diagram

We were able to prove the following truth table.

A B C A.B (A.B)+C

0 0 0 0 0

0 0 1 0 1

0 1 0 0 0

0 1 1 0 1

1 0 0 0 0

1 0 1 0 1

1 1 0 1 1

1 1 1 1 1
Figure 11: Truth Table

7|Page
TASK 3:
In this task, we had to implement the following circuit on the bread board using ICs
and confirm its truth table physically. We had two input signals for this circuit.

Figure 12: Circuit Diagram

We were able to prove the following truth table.

A B A’ B’ (A’.B) (A.B’) O/P

0 1 1 0 1 0 1

0 1 1 0 1 0 1

1 0 0 1 0 1 1

1 0 0 1 0 1 1
Figure 13: Truth table

CONCLUSION:
In this lab, we got to know how to implement the circuits on bread board and prove
their truth tables accordingly.

8|Page

You might also like