You are on page 1of 5

DLD Lab Semester Fall 2020

Engr. Salman Saleem

Experiment#2:
Implementation of Basic gates AND, OR and NOT

AND Gate operation

Objective:
1. To check the operation of AND gate according to AND’s truth table.

Tools:
1. Digital/Analog Trainer
2. Cutter
4. Single Core Wire

Circuit Element:
1. 74LS08×1

Procedure:
1. Connect the Digital/Analog trainer to the 220V AC power supply
2. Turn on the trainer and verify the voltage of the power supply using the multi meter. It should
be +5V exactly
3. Install the IC 74LS08 on the trainer’s breadboard
4. Wire the circuit according to the diagram by consulting AND gate IC’s truth table
5. Use any of the two logic switches from S2 to S9 for inputs A and B respectively
6. For output indication use any of the LED’s from (L0-L15)
7. Supply the +5V and GND to the 14 and 7 of the IC
8. Test all the possible combinations of inputs and verify the output according to the truth table
of AND gate
9. Fill the truth table given below according to the results

Observation:
After the experiment we observe that the AND gate always gives low (0) output if one of the
input is low (0) otherwise the output will be high (1)

Diagram:

X
Z
Y
DLD Lab Semester Fall 2020
Engr. Salman Saleem
Vcc 14 13 12 11 10 9 8

1 2 3 4 5 6 7 GND

Quad 2-input AND gate 7408

Truth Table:

Input Output
X Y Z
0 0
0 1
1 0
1 1

OR gate operation

Objective:
1. To check the operation of OR gate according to OR’s truth table.

Tools:
1. Digital/Analog Trainer
2. Cutter
3. Single Core Wire

Circuit Element:
1. 74LS32×1
DLD Lab Semester Fall 2020
Engr. Salman Saleem

Procedure:
1. Connect the trainer to the 220V AC power supply
2. Turn on the trainer and verify the voltage of the power supply using the multi meter.
It should be +5V exactly
3. Install the IC 74LS32 on the trainer’s breadboard
4. Wire the circuit according to the diagram by consulting OR gate IC’s truth table
5. Use any of the two logic switches from S2 to S9 for inputs A and B respectively
6. For output indication use any of the LED’s from (L0-L15)
7. Supply the +5V and GND to the 14 and 7 of the IC
8. Test all the possible combinations of inputs and verify the output according to the
truth table of OR gate
9. Fill the truth table given below according to the results

Observation:
After the experiment we observe that the OR gate always gives high (1) output if
one of the input is high (0) otherwise the output will be low (0)

Diagram: Vcc 14 13 12 11 10 9 8

X
Z
Y

1 2 3 4 5 6 7

GND
Quad 2-input OR gate 7432
Truth Table:

Input Output
X Y Z
0 0
0 1
1 0
1 1
DLD Lab Semester Fall 2020
Engr. Salman Saleem
NOT gate operation
Objective:
1. To check the operation of NOT gate according to NOT’s truth table.

Tools:
1. Analog/Digital Trainer
2. Cutter
3. Single Core Wire

Circuit Element:
1. 74LS04×1

Procedure:
1. Connect the trainer to the 220V AC power supply
2. Turn on the trainer and verify the voltage of the power supply using the multi meter.
It should be +5V exactly
3. Install the IC 74LS04 on the trainer’s breadboard
4. Wire the circuit according to the diagram by consulting NOT gate IC’s truth table
5. Use any of the two logic switches from S2 to S9 for inputs A and B respectively
6. For output indication use any of the LED’s from (L0-L15)
7. Supply the +5V and GND to the 14 and 7 of the IC
8. Test all the possible combinations of inputs and verify the output according to the
truth table of NOT gate
9. Fill the truth table given below according to the results

Observation:
After the experiment we observe that the NOT gate always gives inverted output
that is if we give input 1, it will give 0output and vice versa

Diagram: Vcc 14 13 12 11 10 9 8

1
A1
1
X Y
A1

1 2 3 4 5 6 7

GND
NOT Gate (Hex Inverter) 740
DLD Lab Semester Fall 2020
Engr. Salman Saleem
Truth Table:

Input (x) Output (y)


0
1

You might also like