Project Hub /Basic Analog & Power Electronics/Discrete & Component Electronics/How to Build a NAND Gate with Transistors?
How to Build a NAND Gate with Transistors?
Beginner
ANALOG / DISCRETE
< ₹500
3 – 6 Hours
Partial Kit

How to Build a NAND Gate with Transistors?

Learn how to construct a fundamental NAND logic gate using NPN transistors (2N2222) and resistors on a breadboard.

Originally published on CircuitDigest
View original tutorial
0

Parts You'll Need

This project is sourced from another site, not written by us — this list is our best match of their components against what we stock, not a verified bill of materials. Always check the original blog (linked above) for the actual parts list before buying.

This list includes a generic resistor set as a placeholder — it is not matched to the exact value or part number this circuit needs. The correct one is specified on the original source page linked above; check it before buying.

We don't carry yet: Transistors (BC547 / 2N2222 / TIP / MOSFET)
9V Battery + Snap

Browse all components

How It Works

Why Build This

Discover how basic transistors can be combined to build fundamental digital logic gates.
Understand the internal workings of computer logic without relying on pre-made integrated circuits.
Practice constructing and troubleshooting custom circuits on a breadboard using discrete components.

Real-World Application

Used in digital logic circuits, universal gate implementations, data storage, error detection, programmable logic controllers (PLCs), and computational hardware.

Skills You'll Learn

Transistor switching operation
discrete logic gate design
breadboard circuit assembly
pull-down resistor configuration
LED current limiting

Safety Precautions

Ensure correct polarity when connecting the 9V battery to prevent component damage.

Technology Tags

TRANSISTORS
NPN BJT
2N2222
LOGIC GATES
DIGITAL ELECTRONICS
RTL
BOOLEAN LOGIC

Frequently Asked Questions

The two 2N2222 NPN transistors are wired in series to create the required logic. Both transistors must be turned on simultaneously to pull the output low, which is how a NAND gate functions.
The 10kOhm resistors act as pull-down resistors for the transistor bases, ensuring the inputs default to a safe low state when the push buttons are not being pressed.
The project is designed around a 9V battery, but changing the voltage would require recalculating the resistor values to ensure the LEDs and transistors receive the correct current without being damaged.

Gallery

This page is part of Kitkraft's Project Hub — a curated collection of electronics & robotics projects gathered from the maker community to help students and hobbyists discover and learn to build. Kitkraft does not claim authorship of the original project, and makes no representation as to the accuracy, completeness or safety of third-party source material. The summary and "How It Works" explanation above are AI-generated, rewritten with reference to the original tutorial — not a reproduction of it. Full credit and a direct link to the original source are provided above. If you're the original creator and have a concern about how your work is represented here, please contact us and we'll address it promptly.

Kitkraft Project Hub — curated from the maker community, credited at the source.
PRJ-00818