0% found this document useful (0 votes)
6 views6 pages

Exp 2

The experiment aimed to implement and verify basic digital logic gates (AND, OR, NOT, NAND, NOR, XOR, XNOR) using transistors, analyzing their functionality and truth tables. Results showed that the transistor-based gates produced outputs consistent with theoretical predictions, although challenges with resistor values and connections were noted. The experiment highlighted the foundational understanding of digital logic using discrete components, despite the slower and more power-consuming nature of transistor-based gates compared to IC-based ones.

Uploaded by

dolunequ
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)
6 views6 pages

Exp 2

The experiment aimed to implement and verify basic digital logic gates (AND, OR, NOT, NAND, NOR, XOR, XNOR) using transistors, analyzing their functionality and truth tables. Results showed that the transistor-based gates produced outputs consistent with theoretical predictions, although challenges with resistor values and connections were noted. The experiment highlighted the foundational understanding of digital logic using discrete components, despite the slower and more power-consuming nature of transistor-based gates compared to IC-based ones.

Uploaded by

dolunequ
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

Experiment Number: 02

Experiment Name: Implementation and verification of basic logic gates using


transistor .

Objective:
To implement and verify the operation of basic digital logic gates (AND, OR,
NOT, NAND, NOR, XOR, XNOR) using transistors. This experiment aims to analyze the
functionality of these gates and verify their truth tables by using transistors as basic switching
elements.

Theory:
Digital logic gates are the foundational components of digital circuits and are used to perform
logical operations on binary inputs. Each gate produces an output based on a set of
logical rules:

[Link] Gate:
• The AND gate outputs a HIGH (1) only if both of its inputs are HIGH.
• Boolean Expression: Y=A⋅B
[Link] Gate:
• The OR gate outputs a HIGH (1) if at least one of its inputs is HIGH.
• Boolean Expression: Y=A+B
[Link] Gate (Inverter):
• The NOT gate outputs the complement of the input (HIGH becomes LOW, and vice versa).
• Boolean Expression: Y=A‾
[Link] Gate:
• The NAND gate outputs a LOW (0) only when both of its inputs are HIGH.
• Boolean Expression: Y=(A.B)’
[Link] Gate:
• The NOR gate outputs a LOW (0) if any of its inputs are HIGH.
• Boolean Expression: Y=(A+B)’
[Link] Gate:
• The XOR gate outputs HIGH (1) only when the inputs are different.
• Boolean Expression: Y=A⊕B=A⋅B‾+A‾⋅B
[Link] Gate:
• The XNOR gate outputs HIGH (1) only when both inputs are the same.
• Boolean Expression: Y=A⊕B‾Y=A⊕
Logic Diagram:

OR Gate AND Gate

NOT Gate NOR Gate


NAND Gate XOR Gate

Apparatus Required:
1. Transistor (2N3904)
2. Breadboard
[Link]

4. LEDs
[Link] Supply (5V DC)
6. Connecting Wires.

Truth Table:
AND Gate
Input A Input B Output (A.B)
0 0 0
0 1 0
1 0 0
1 1 1
OR Gate
Input A Input B Output (A+B)
0 0 0
0 1 1
1 0 1
1 1 1

NOT Gate
Input A Output (A')
0 1
1 0

NAND Gate
Input A Input B Output (A ⋅ B)'
0 0 1
0 1 1
1 0 1
1 1 0

NOR Gate
Input A Input B Output (A + B)'
0 0 1
0 1 0
1 0 0
1 1 0

XOR Gate
Input A Input B Output (A ⊕ B)
0 0 1
0 1 1
1 0 1
1 1 0
Result:
In this experiment, the implementation of each transistor-based digital logic gate (AND, OR,
NOT, NAND, NOR, XOR, and XNOR) produced outputs that matched the theoretical truth
tables for each gate type. By applying various input combinations (such as 0,0; 0,1; 1,0; and
1,1), we were able to observe the expected behavior in each gate configuration.

Discussion:
The transistor-based logic gate circuits functioned as expected, producing the correct outputs
for all gates tested. The results were consistent with the theoretical predictions. Some
challenges included finding the correct resistor values to ensure stable switching, as the
incorrect values caused the transistors to remain partially on or off. Additionally, precise
connections on the breadboard were necessary, as loose connections led to unexpected
outputs.
Transistor-based logic gates, while functional, are generally slower and more power-consuming
than IC-based gates due to the physical arrangement and individual component requirements.
However, this experiment demonstrates a foundational understanding of
digital logic using discrete components.

Conclusion:
This experiment successfully demonstrated the implementation and verification of
transistor-based digital logic gates. By understanding the fundamental principles of
transistor operation and logic gates, it is possible to design and build complex digital circuits.

You might also like