• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Logic XOR Gate Circuit with Transistors

Logic XOR Gate Circuit with Transistors

Last updated on 13 October 2025 by Admin-Lavi Leave a Comment

This is project is for Logic XOR Gate Circuit with Transistors

It uses transistors and resistors.

It shows how XOR logic works.

Output is high only when inputs are different.

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:

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

Three NPN transistors are used.

Resistors control current to transistors.

When both inputs are same then output is low.

When inputs are different then output goes high.

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.

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:

  • Collect all the parts as shown in circuit diagram
  • Q1 base gets input A through R2.
  • Q2 base gets input B through R3.
  • Q1 and Q2 collectors connect to +5V through R1 resistor.
  • Q3 base connects between collectors of Q1 and Q2.
  • Q3 collector connects to output Y through R4.
  • All emitters connect to ground (GND).

Conclusion:

This Logic XOR Gate Circuit with Transistors uses simple components.

It has three transistors and a few resistors to perform XOR function.

The circuit is easy to build and understand.

It helps beginners and students learn basic digital logic with hardware.

References:

XOR gate

Filed Under: Transistor Circuits

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « Logic NOR Gate Circuit with Transistors
Next Post: Logic XNOR Gate Circuit with Transistors »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar




Categories

  • Alarm Circuits (35)
  • Amplifier Circuits (67)
  • Arduino Projects (59)
  • Audio Circuits (99)
  • Automobile Circuits (19)
  • Battery Charger Circuits (54)
  • Free Energy (13)
  • Heater and Temperature Controllers (10)
  • High Voltage (1)
  • Indicator Circuits (42)
  • Inverter Circuits (16)
  • LDR Circuits (18)
  • LED and Lamps (123)
  • Meters and Testers (30)
  • Motor Controllers (18)
  • Oscillator Circuits (34)
  • Power Supply Circuits (93)
  • Remote Control Circuits (7)
  • Security and Protection (26)
  • Sensors and Detectors (99)
  • Solar Circuits (22)
  • Timer Circuits (32)
  • Transistor Circuits (65)
  • Transmitter Circuit (14)
  • Tutorials (6)
  • Water Level Controller (4)

Recent Posts

  • Electronic Eye Circuit using IC 4049
  • Sound And Light Metronome Circuit using Transistors
  • Simple LED Circuit
  • IR Burglar Alarm Circuit
  • LED Blinking Circuit using 555 Timer

Recent Comments

  1. Admin-Lavi on FM Transmitter Circuit (100 meters range)
  2. DEVINDER SINGH on FM Transmitter Circuit (100 meters range)
  3. Admin-Lavi on Constant Voltage, Constant Current Battery Charger Circuit
  4. Bill on Constant Voltage, Constant Current Battery Charger Circuit
  5. Admin-Lavi on Long Range FM Transmitter Circuit (2km)

Copyright © 2025 | New Circuit Ideas