Common Projects Using 2N3904 Transistors: Practical Builds and Guidance
Explore common projects using 2N3904 transistors: switching, amplifiers, oscillators, calculations and South Africa procurement tips for students and makers.

Versatile small-signal switch
Use the 2N3904 for LED drivers, relay interfaces and microcontroller switching.
Amplifier and oscillator uses
Good for simple preamps, astable multivibrators and sensor conditioning.
SA procurement tips
Buy kits or small bulk packs and check branch stock and lead times at Communica.
Overview: what the 2N3904 is and why it’s useful
The 2N3904 is a small-signal NPN bipolar junction transistor widely used in hobbyist and educational electronics. In this guide you will find practical projects that use the 2N3904, selection tips, basic calculations, wiring diagrams, and troubleshooting advice tailored for South African makers and students. Typical local availability is strong - Communica stocks a variety of small-signal transistors and related components; see the collections for parts and accessories at Shop by Category.
Common project categories using the 2N3904
- Low-current switching (LEDs, relays via driver stages)
- Audio preamps and small amplifier stages
- Oscillators and pulse generators (astable multivibrators)
- Sensor signal conditioning and level shifting
- Simple logic interfacing between microcontrollers and higher-current loads
Key electrical specs at a glance
| Parameter | Typical value | Notes |
|---|---|---|
| Collector current (Ic) | 200 mA max | Stay well below for reliability in hobby projects |
| Vce (collector-emitter) max | ~40 V | Suitable for typical 5-12 V circuits |
| hFE (DC current gain) | ~100 (varies with Ic) | Design conservatively, assume 50-100 for switching |
| Package | TO-92 | Easy to breadboard for education |
Where to source parts locally
For South African builders, components like the 2N3904, resistors, capacitors and perfboard are available from Communica branches in Samrand, Pretoria and Cape Town. Check stock and branch pickup options on the branches page at Branches & Trading Hours. Typical retail price for a single 2N3904 when bought in small quantities is approximately ZAR 3-10 each (estimate: prices vary by supplier and packaging).
Basic selection criteria and calculation reminders
When choosing the 2N3904 for a project, consider the expected collector current, the required voltage, the switching speed, and power dissipation. Use Ohm’s law and power calculations to size base resistors and ensure the transistor operates in the intended region (saturation for switches, active for amplifiers). For practical guidance on using the device in circuits, see how to use a 2N3904 transistor in circuits.
Essential formulas
Ohm’s law and related calculations used across projects:
- V = I * R
- P = V * I (power dissipation)
- Base resistor for switching: Rb = (Vdrive - Vbe) / Ib, with Ib = Ic / hFE_sat (choose hFE_sat = 10-20 for reliable saturation)
Design note
Related Sensors & Semiconductors Products
Discover quality sensors & semiconductors products related to Common Projects Using 2N3904 Transistors: Practical Builds and Guidance
Fgh40n60sfdtu Transistor Igbt 600v 40a 290w To247ab
Fgh40n60sfdtu Transistor Igbt 600v 40a 290w To247ab
Ms183-35 To-18 Transistor Pad • 5.5 X 2.5 + 1mm
Ms183-35 To-18 Transistor Pad • 5.5 X 2.5 + 1mm
Ms53-3 Transistor Pad For To5 Od=9,2 X 3mm
Ms53-3 Transistor Pad For To5 Od=9,2 X 3mm
Ms53-25 Transistor Pad For To5 Od=9,2 X 1,5+1mm
Ms53-25 Transistor Pad For To5 Od=9,2 X 1,5+1mm
Stgwa40h65dfb2 Transistor Igbt 650v 40a To247
Stgwa40h65dfb2 Transistor Igbt 650v 40a To247
Ms34-518 | Transistor Pad For To5 Od=9.2mm Polymide
Ms34-518 | Transistor Pad For To5 Od=9.2mm Polymide
Ms183-25 | Transistor Pad For To18 Od=5,4 X 2,5+1mm
Ms183-25 | Transistor Pad For To18 Od=5,4 X 2,5+1mm
Mlw44 | Transistor Pad - To220/to219/to202
Mlw44 | Transistor Pad - To220/to219/to202
Ms510-15 Fischer Elektronik Pcb Mounting Pad For To5-10 (10 Pin)
Ms510-15 Fischer Elektronik Pcb Mounting Pad For To5-10 (10 Pin)
2n5551 Transistor Si-n 180v 0.6a 0.31w Vid.
2n5551 Transistor Si-n 180v 0.6a 0.31w Vid.
Bu931p Transistor N 400v 500v 15a 135w To247
Bu931p Transistor N 400v 500v 15a 135w To247
Representative projects and wiring diagrams
1. LED switching (microcontroller interface)
Use a 2N3904 as a low-side switch to drive an LED strip or cluster that exceeds the microcontroller pin current. This is one of the most common projects for students learning interfacing principles.
Wiring (ASCII):
MCU pin --- Rb ---|B 2N3904 C|--- LED+ --- Resistor --- +V
|E|
GND
Example: Vdrive = 5V, Vbe ~ 0.7V, Ic = 100mA, choose hFE_sat = 10 => Ib = 10mA
Rb = (5V - 0.7V) / 10mA = 430 ohm (use 470 ohm standard)
2. Simple audio preamplifier
A single-stage common-emitter amplifier with emitter degeneration provides modest gain for sensor or microphone signals. Bias resistors set a mid-rail operating point; coupling capacitors block DC between stages.
3. Astable multivibrator (blinking LEDs / tone generator)
Two 2N3904 transistors, two timing capacitors and four resistors create a simple astable oscillator useful for visual or audio projects in labs. Values determine blink rate and duty cycle.
Practical examples, calculations and accessory choices
Example: driving a 12 V relay
Assume relay coil current Ic = 50 mA at 12 V. Choose hFE_sat = 10 to be conservative. Then base current Ib = 50 mA / 10 = 5 mA. With a 3.3 V GPIO: Rb = (3.3 V - 0.7 V) / 5 mA = 520 ohm (use 470 ohm). Add a flyback diode across the coil. Local stock for diodes, relays and transistor packages is available in Communica’s all products index at All Products.
Accessory bundles and parts to include in a beginner kit
- Pack of 2N3904 transistors (10-50 pieces)
- Assorted resistors and capacitors (E12/E24 sets)
- Diodes (1N400x), LEDs, perfboard and headers
- Small relays, breadboard wire and basic tools
Communica stocks many maker-friendly brands and tools; browse brands at Shop by Brand for compatible parts and development hardware.
Troubleshooting and best practices
Common failure modes
- Excessive power dissipation: ensure P = Vce * Ic is below safe values; use heat sinking or reduce Ic.
- Insufficient base drive: transistor not saturating - increase base current or use a MOSFET for higher currents.
- Reverse voltage spikes from inductive loads: always use a flyback diode or snubber.
Measurement tips
Use a multimeter to verify base/emitter voltages (Vbe ~ 0.6-0.8 V when forward biased) and check continuity for wiring errors. For dynamic testing, an oscilloscope helps verify switching edges and amplifier response. Communica’s test and measurement range is useful; see the test instruments section at Collections for scopes and meters.
South Africa context and procurement notes
For classroom and lab projects, buying small bulk packs reduces per-unit cost. Expect lead time variability for larger quantities depending on global supply; contact Communica for account quotes and VAT invoicing for tertiary or departmental purchases via the company pages at About Us. When budgeting, assume component pack costs and ancillary parts; example estimate: a beginner electronics kit including 2N3904s, resistors, LEDs and breadboard may cost in the range of ZAR 150-400 depending on brand and quantity (estimate only).
Sources
Communica supplies semiconductors and electronic components to industries such as automotive, electrical, automation, mining, and education.
Disclaimer: This content is for educational purposes only. Product availability, pricing, and specifications are subject to change. Always verify current details on the retailer's website before making a purchase. We may earn affiliate commissions from qualifying purchases.
Frequently Asked Questions
Get answers to common questions about Sensors And Semiconductors
Why Choose Communica?
*Free Shipping
Free shipping for orders over ZAR 1,000.00.
7-Day Returns
Get a full refund if you had the product for less than 7 days.
Quick Delivery
Nationwide delivery within 2 - 4 working days.
























