You are on page 1of 20

DE LA SALLE LIPA

COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING


ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL

De La Salle Lipa
1962 J.P. Laurel, Mataas na Lupa, Lipa City
Department of Electrical Engineering

Experiment # 1
LOGIC GATES

NAME: INOCENO, IVYGEIL NICOLE N. DOP: August 23, 2018


COURSE AND YEAR: BS-EE / 4TH YR DOS: September 1, 2018
SUBJECT AND SECTION: LOGSWIT – V4B

GRADE

ENGR. RAMON FLORES IV


INSTRUCTOR
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL

I. OBJECTIVES
1. To identify the different types of Basic Logic Gates
2. To identify the different functions and characteristics of Basic
Logic Gates
3. To learn how to test Basic Logic Gate

II. THEORY:
NOT Gate (Inverter)
A NOT gate, often called an inverter, is a nice digital logic gate to start
with because it has only a single input with simple behavior. A NOT
gate performs logical negation on its input. In other words, if the input
is true, then the output will be false. Similarly, a false input results in a
true output.

INPUT OUTPUT
False True
True False

Symbol

ASNI/ IEEE IEC

OR Gate
An OR gate is a digital logic gate with two or more inputs and one output
that performs logical disjunction. The output of an OR gate is true when one or
more of its inputs are true. If all of an OR gate's inputs are false, then the output
of the OR gate is false.

INPUT A INPUT B OUTPUT


False False False
False True True
True False True
True True True
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL

Symbol

ASNI/ IEEE IEC

AND Gate
An AND gate is a digital logic gate with two or more inputs and one output
that performs logical conjunction. The output of an AND gate is true only when all
of the inputs are true. If one or more of an AND gate's inputs are false, then the
output of the AND gate is false.

INPUT A INPUT B OUTPUT


False False False
False True False
True False False
True True True

Symbol

ASNI/ IEEE IEC

III. EQUIPMENTS AND MATERIALS USED


PC/s DESCRIPTION MANUFACTURER RANGES
1 – POWER SUPPLY 5V DC
1 – LOGIC PROBE
CONNECTING WIRES - -
1 – BREADBOARD
1 – 7404 NOT GATE FAIRCHILD Supply Voltage - 7V
SEMICONDUCTOR Input Voltage - 5.5V
Operating Free Air
Temperature Range - 0°C
to +70°C Storage
Temperature Range -
−65°C to +150°C
1 – 7408 AND GATE FAIRCHILD Supply Voltage - 7V
SEMICONDUCTOR Input Voltage - 5.5V
Operating Free Air
Temperature Range - 0°C
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL

to +70°C Storage
Temperature Range -
−65°C to +150°C
1 – 7432 OR GATE NATIONAL Supply Voltage - 7V
SEMICONDUCTOR Input Voltage - 5.5V
Operating Free Air
Temperature Range - 0°C
to +70°C Storage
Temperature Range -
−65°C to +150°C

IV. SCHEMATIC DIAGRAM

FIGURE 1. LOGIC CIRCUIT (NOT GATE)

FIGURE 2. LOGIC CIRCUIT (OR GATE)


DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL

FIGURE 3. LOGIC CIRCUIT (AND GATE)

V. SAMPLE COMPUTATIONS

NOT GATE

If A is True then X is False if X is False then Y is True if Y is True then Z is


False.

A = 1 THEN X = 0
X = 0 THEN Y = 1
Y = 1 THEN Z = 0
OR GATE

If A or B or C or D is True then either/all of XYZ will be also True.


If ABCD are all False then XYZ will be also False.

A = 1 THEN XYZ = 1
A = 0 BUT B = 1 THEN XYZ = 1
A & B = 0 BUT C = 1 THEN X=0; YZ = 1
A, B & C = 0 BUT D =1 THEN XY = 0; Z = 1

AND GATE

If A & B are False then XYZ will be False.


If A & B are True but C&D are False then X will be True but YZ will be False.
If A & B are False but C & D are True then XYZ will be False.

A & B = 1 THEN X=1 YZ=0


A & B = 1 C & D = 1 THEN XYZ=1
A & B = 0 C & D = 1 THEN XYZ =0
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL

VI. FINAL DATA SHEET


DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL

VII. DISCUSSION:
Three of the simplest and most commonly used logic gates are the
inverter NOT Gate, the OR Gate, and the AND Gate (also known as Basic
Logic Gates). The function of an inverter NOT is either to change a 1 input to
a 0 output, or a 0 input to a 1 output. Hence, it inverts or complements the
signal. An inverter has only one input and one output. The symbol for an
inverter is a small triangle with a bubble

(Fig. 1). The standard TTL inverter is the 7404 IC.

Figure 1
An OR gate, electrically performs the logical OR function; if any input is
HIGH (logic 1), the output is also HIGH. In the 74xx series, only 2-input OR
gates are manufactured. These are the 7432 ICs. A 3-input OR gate can
be constructed using two 7432 gates. Its output will be HIGH if any one of
the inputs is HIGH.

Figure 2
The AND gate is similar to OR gate and conceptually may have any
number of inputs. Its input is the logical AND of the inputs (i.e., all inputs
must be 1 in order for the output to be 1). The standard symbol for AND
gate is shown on Fig. 3. The basic TTL AND gate is the TTL series 7408
quad 2-input AND gate. Triple 3- and 4-input AND gates are also
available. The 3- and 4-input AND gates can be constructed from 7408
gates.
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL

Figure 3

VIII. DATA AND RESULTS


Truth Table 1. NOT Gates
A X Y Z
0 1 0 1
1 0 1 0

Truth Table 2. OR Gates

A B C D X Y Z
0 0 0 0 0 0 0
0 0 0 1 0 0 1
0 0 1 0 0 1 1
0 0 1 1 0 1 1
0 1 0 0 1 1 1
0 1 0 1 1 1 1
0 1 1 0 1 1 1
0 1 1 1 1 1 1
1 0 0 0 1 1 1
1 0 0 1 1 1 1
1 0 1 0 1 1 1
1 0 1 1 1 1 1
1 1 0 0 1 1 1
1 1 0 1 1 1 1
1 0 1 0 1 1 1
1 1 1 1 1 1 1
Truth Table 2. AND Gates

A B C D X Y Z
0 0 0 0 0 0 0
0 0 0 1 0 0 0
0 0 1 0 0 0 0
0 0 1 1 0 0 0
0 1 0 0 0 0 0
0 1 0 1 0 0 0
0 1 1 0 0 0 0
0 1 1 1 0 0 0
1 0 0 0 0 0 0
1 0 0 1 0 0 0
1 0 1 0 0 0 0
1 0 1 1 0 0 0
1 1 0 0 1 0 0
1 1 0 1 1 0 0
1 0 1 0 0 0 0
1 1 1 1 1 1 1
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL

IX. CONCLUSION
It is concluded in the results of the experiment that when it comes to NOT
Gates whenever the user’s input is in high its output will always be in low or if
the input is in low the output will be high since NOT’s output will always be the
opposite of what its input is.
While on the OR Gates if one of its input is in high even the next input(s)
next to it are in low the outputs that it will show is also in high. OR Gates
simply means if one of the inputs are satisfied by a given condition then the
output will simply turn-on (Starting from when the input starts to operate up to
the last).
And last but not the least is the AND Gates, In operating AND gates the
inputs should be both operating so the output will also operate by means of
the pair inputs should both be in high so that the output will also operate in
high.
To not be confused with the pin assignment of the ICs used while
performing the experiment it is seen that the odd numbers of the pins are all
INPUTs while the even numbers in the ICs are the outputs, Exception to the
pin on the lowest part on the left side of the IC since it is the Ground and the
one on the highest part on the right side of the IC since it is the one who serve
as the VCC or supply of the IC.
DE LA SALLE LIPA
COLLEGE OF INFORMATION TECHNOLOGY AND ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
LOGSWIT – LOGIC CIRCUITS AND SWITCHING THEORY
LABORATORY EXPERIMENT MANUAL

X. PRELIMINARY DATA SHEET

You might also like