Professional Documents
Culture Documents
Microprocessor Lab - Excperiment-01
Microprocessor Lab - Excperiment-01
Name of the experiment: To investigate and verify the truth tables of AND gate and NAND gate.
Group members:
Submitted to:
Lecturer
University of Dhaka
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
INPUT OUTPUT
A B Q
0 0 0
0 1 0
1 0 0
1 1 1
INPUT OUTPUT
A B Q
0 0 1
0 1 1
1 0 1
1 1 0
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
1 0 0 0 1
2 0 1 0 1
3 1 0 0 1
4 1 1 1 0
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 0.When 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.