This project demonstrates how basic digital logic can be constructed using discrete 2N3904 transistors. You’ll build a transistor inverter, an AND gate, and an OR gate, explore their truth tables, and see how NAND and NOR gates naturally follow by adding an inverter stage. The goal is not speed or efficiency, but clarity — showing how logic actually works at the transistor level using simple, hands-on circuits powered from 5 V.
Explore the 2N3904 – the classic hobbyist NPN transistor.
The 2N3904 is a small-signal NPN bipolar junction transistor that’s been used in countless radios, guitar pedals, logic circuits, and educational labs since the 1960s. Despite its age, it remains one of the most widely available and useful transistors in electronics, making it an ideal part for learning how real circuits work. This site is dedicated to understanding the 2N3904 at a practical level—not just what it is on paper, but how it behaves when you wire it up, bias it, and push it into real operating conditions.
Below you’ll find 2N3904-based projects you can breadboard and experiment with, ranging from simple demonstrations to more involved circuits. These include logic gates, oscillators, current sources, LED tricks, sensor interfaces, and other small but insightful builds. Each project is designed to highlight a specific concept so you can see, measure, and understand what the transistor is actually doing in the circuit.
Browse 2N3904 Projects2N3904 Projects
Each project includes a schematic, theory of operation, parts list, and optional breadboard photo so you can build it step-by-step.
This project explores a basic BJT current mirror built with two 2N3904 transistors, a resistor, and a potentiometer. By matching the transistors and thermally coupling them, a reference current is established and mirrored to drive multiple LEDs with nearly identical current.
This project demonstrates how to use a 2N3904 NPN transistor as a low-side switch to control a 12V relay from a microcontroller or other low-current source. It explains the purpose of the base resistor, the importance of the flyback diode, and how the transistor safely handles the relay coil current.
Two 2N3904 transistors are wired as a Darlington pair to amplify the tiny current from a human finger, allowing a 9-volt powered LED to turn on. This project demonstrates extreme current gain, Darlington pair operation, and how transistors control power rather than supply it.
This astable multivibrator is a foundational 2N3904 project that demonstrates transistor switching, RC timing, and feedback. It’s simple enough to build on a breadboard, yet powerful enough to explain how oscillators, clocks, and timing circuits work in real electronics.
Articles & Blog Posts
Informational posts about how transistors work, circuit concepts, and related topics.
A practical, experience-based guide to the bench equipment I’ve relied on for years while building and testing 2N3904 transistor projects—from simple breadboard circuits to more advanced diagnostics.
The 2N3904 is far more than a symbol on a schematic—it's a simple, reliable building block that lets a small control current safely manage a much larger load. Once you understand cutoff, the active region, and saturation, you can design switches, drivers, and amplifiers with confidence. The same process used in the microcontroller-driven LED example applies to countless other circuits: pick the right device, size your resistors, and make sure the transistor is driven into the correct operating region. From here, you can branch into constant-current sources, small-signal amplifiers, logic gates, and just about any hobby-level transistor project you want to build.