Site icon Circuit Ideas for You

Logic XOR Gate Circuit with Transistors

This is project is for Logic XOR Gate Circuit with Transistors and it uses transistors and resistors and also it shows how XOR logic works.

Output is high only when inputs are different and therefore this circuit is good for students and beginners to learn digital logic.

Truth Table for Logic XOR Gate:

Input AInput BOutput Y (A ⊕ B)
000
011
101
110

Symbol for Logic XOR Gate:

Symbol for Logic XOR Gate Diagram

Circuit Working:

Logic XOR Gate Circuit Diagram with Transistors

Parts List:

ComponentsValuesQuantity
Resistors1k 1/4 watt2
10k 1/4 watt2
SemiconductorsTransistor BC547 NPN3

The circuit diagram above uses three NPN transistors, and the resistors control the current flowing into the transistors.

When both inputs are same then output is low and when inputs are different then output goes high and then this shows XOR logic operation in hardware.

Formulas with Calculations:

Below are the formulas for XOR gate circuit.

Each base resistor R2 and R3 is 10k to control input base current.

Base current Ib = (Vin – Vbe) / Rb.

If Vin is 5V and Vbe is 0.7V, then Ib = (5 – 0.7) / 10000 = 0.43 mA.

Collector current Ic = β × Ib.

If transistor gain β is 100, then Ic = 43 mA.

Therefore, this current is enough to drive the logic output.

How to Build:

To build a Logic XOR Gate Circuit with Transistors follow the below steps for connections:

Conclusion:

Overall, this Logic XOR Gate Circuit with Transistors uses simple components and it has three transistors and a few resistors to perform XOR function.

Moreover, the circuit is easy to build and understand and also it helps beginners and students learn basic digital logic with hardware.

Exit mobile version