Aim: Study of truth tables of basic logic gates, universal logic gates, XOR and XNOR logic gates.
Material required: IC7408, IC7432, IC7404, IC7486, IC74266, A Breadboard, A Battery(5V), A LED, Connecting wires.
Theory:
AND, OR, and NOT gates are basic gates, NAND and NOR are universal gates. Basically, logic gates are electronic circuits because they are made up of numbers of electronics devices and components. Input and Output of logic gates can occur only in two levels. These two levels are term High and Low or True and False or ON and OFF or simply 1 and 0. A table which lists all possible combinations of input and variables, and the corresponding output is called a 'truth table'. It shows the logic circuit's output respond to various combinations of logic levels at the inputs.
Procedure:
- All the ICs and other components were tested.
- The breadboard was set-up.
- All combination of input and output was verified, for each logic gates.
1.Basic gates -
- OR gate: If any input is high, output is high.
| symbol of OR gate |
Truth Table for OR Gate
| Input A | Input B | Output |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
- AND gate: If any input is low, output is low.
| symbol of AND gate |
Truth Table for AND Gate
| Input A | Input B | Output |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
- NOT gate: Invert the input
| symbol of NOT gate |
Truth Table for NOT Gate
| Input A | Output | |
|---|---|---|
| 0 | 1 | |
| 1 | 0 | |
- NAND gate: Its output is high only high when one of the inputs is low.
| symbol of NAND gate |
Truth Table for NAND Gate
| Input A | Input B | Output |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
- NOR gate: Its output is high only when all the input is low.
| symbol of NOR gate |
Truth Table for NOR Gate
| Input A | Input B | Output |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
3.Derived gates from universal gate -
- XOR gate: Output is high only when odd number of inputs are high.
| symbol of XOR gate |
Truth Table for XOR Gate
| Input A | Input B | Output |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
- XNOR gate: Output is high only when even number of inputs are high.
| symbol of XNOR gate |
Truth Table for XNOR Gate
| A | B | Output |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Note: please search the ICs diagram on google especially on Wikipedia. I have given a diagram of OR gate Integrated circuit 7432. click the link below
IC number of some common logic gates:
AND Gate: 7408
OR Gate: 7432
NOT Gate (Inverter): 7404
NAND Gate: 7400
NOR Gate: 7402
XOR Gate: 7486
XNOR Gate: 74266
| diagram of IC7432 i.e. of OR gate |
These IC numbers are part of the 7400 series, which is widely used in digital electronics.
Result: The truth table of basic and universal (XOR and XNOR) logic gates was studied and verified.
Precautions:
- Make sure the apparatus is not defective.
- Make sure connecting wire is not loose.
- Never touch live wire.

Comments
Post a Comment