0% found this document useful (0 votes)
61 views4 pages

Microprocessor Lab - Excperiment-01

The laboratory report summarizes an experiment investigating the truth tables of AND and NAND gates. Four students tested various input combinations using breadboards, ICs, and LEDs to observe the outputs. For the AND gate, the output was 1 only when both inputs were 1, matching its truth table. For the NAND gate, the output was 0 when both inputs were 1 and 1 for all other combinations, also matching its truth table. The results verified the expected behavior of each gate according to their truth tables.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views4 pages

Microprocessor Lab - Excperiment-01

The laboratory report summarizes an experiment investigating the truth tables of AND and NAND gates. Four students tested various input combinations using breadboards, ICs, and LEDs to observe the outputs. For the AND gate, the output was 1 only when both inputs were 1, matching its truth table. For the NAND gate, the output was 0 when both inputs were 1 and 1 for all other combinations, also matching its truth table. The results verified the expected behavior of each gate according to their truth tables.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

University of Dhaka

Department of Robotics and Mechatronics Engineering


Laboratory Report
Course code: 2112

Name of the experiment: To investigate and verify the truth tables of AND gate and NAND gate.

Group members:

1) Samiha Tarannum Noor (RH-172-001)


2) Samin Sadique Aurin (SH-172-009)
3) Shudipto Pramanic (JH-34)
4) Zakaria Tasrik (SH-46)

Submitted to:

Dr. Md Mehedi Hasan

Lecturer

Department of Robotics and Mechatronics Engineering

University of Dhaka

Date of performance: 16th of January, 2022

Date of submission: 23rd of January, 2022


Theory: There are three basic gates in total - AND, OR and NOT gate. Except these, there are
other gates like: NAND, NOR, XOR and XNOR. All the gates behave according to their
corresponding truth [Link] tables used to explain the boolean expressions of the logic gates
are called truth tables.

AND Gate:
An AND gate has two or more inputs but only one output. An AND get only shows HIGH output if
and only if all the inputs are HIGH. If even a single input is LOW, the result will be LOW.

With input variables A & B the Boolean expressions for output can be written as:

Q=A.B

Here goes the truth table of an AND gate:

INPUT OUTPUT

A B Q

0 0 0

0 1 0

1 0 0

1 1 1

0 and 1 represents LOW and HIGH input or output respectively.

Pin diagram of IC74LS08 Logic Symbol of AND gate


NAND Gate:
The behavior of a NAND gate is exactly opposite to the behavior of an AND gate. That is, it shows
a LOW output only when both the inputs are HIGH. The rest of the results are always HIGH.
Because a NAND gate is the combination of a NOT gate and an AND gate.

The truth table for NAND gate goes thus:

INPUT OUTPUT

A B Q

0 0 1

0 1 1

1 0 1

1 1 0

0 and 1 represents LOW and HIGH input or output respectively.

Pin diagram of IC74LS00 Logic Symbol of NAND gate

Procedure:
● Set up the breadboard
● Test all required ICs
● Give various combinations of inputs and check the outputs
● Match the outputs with the corresponding truth tables
Observation Table:
LED ON: Logic 1
LED OFF: Logic 0

Input Variables: A, B
Output Variable: Q

Serial No. INPUT(A) INPUT(B) Q = A.B Q = (A.B)'

1 0 0 0 1

2 0 1 0 1

3 1 0 0 1

4 1 1 1 0

Results and Analysis:

AND Gate: The output of an AND gate is only 1 if both its inputs are 1. For all other possible
inputs the output is [Link] both the LEDS are On, then output LED is ON (RED Light)
otherwise Output LED is OFF.

NAND Gate: The output of the NAND gate is a 0 if both inputs are 1 but a 1 if one or the other or
both the inputs are 0.

You might also like