A BJT bipolar junction transistor is a three-terminal, current-controlled semiconductor device used to amplify or switch electronic signals. The current flowing into the base terminal dictates the much larger current flowing between the collector and emitter. If you are building a circuit and need a reliable switch or linear amplifier, your safe default part numbers are the 2N3904 (NPN, up to 200mA), the 2N2222A (NPN, up to 800mA), and the 2N3906 (PNP equivalent to the 3904). Never rely on the abstract physics models alone; real-world BJT design requires understanding forced-beta saturation, pinout variations, and thermal limits.

The BJT Bipolar Junction Transistor: Pinouts, Symbols, and Defaults

The schematic symbol for a BJT features a circle (optional in modern CAD) with three leads: Base (B), Collector (C), and Emitter (E). The arrow is always on the emitter leg. For an NPN transistor, the arrow points out (away from the base); for a PNP, it points in. A common bench mnemonic is "NPN = Not Pointing iN".

Bench Warning: The TO-92 Pinout Trap
Never assume all TO-92 plastic packages share the same pinout. If you hold a 2N3904 with the flat side facing you and legs pointing down, the pins are Emitter-Base-Collector (E-B-C). However, the equally popular European BC547 in the exact same physical package is Collector-Base-Emitter (C-B-E). Swapping these will instantly destroy the transistor or your microcontroller. Always verify the specific manufacturer datasheet.

Below is the reference table of the most reliable, widely available default BJTs for DIY and prototyping. These parts cost pennies in bulk and cover 95% of general-purpose switching and amplification needs.

Table 1: Safe Default BJT Part Numbers and Ratings
Part Number Type Package Max $I_C$ Max $V_{CEO}$ $h_{FE}$ (Typ) Best Application
2N3904 NPN TO-92 200 mA 40 V 100 - 300 Logic level switching, small signal amp
2N2222A NPN TO-92 / TO-18 800 mA 40 V 100 - 300 Relay drivers, medium power loads
BC547B NPN TO-92 100 mA 45 V 200 - 450 High-gain audio preamps, sensor interfacing
2N3906 PNP TO-92 200 mA 40 V 100 - 300 High-side switching, complementary pairs
TIP120G NPN Darlington TO-220 5 A 60 V 1000+ High current motors, LED strips (needs heatsink)

Operation Regions and Biasing Math

To use a BJT effectively, you must intentionally drive it into one of three distinct operation regions. The most common mistake hobbyists make is using the datasheet's $h_{FE}$ (DC current gain) value to calculate base current for a switching application. Datasheet $h_{FE}$ is specified for the active (linear) region. To use the BJT as a switch, you must drive it hard into saturation using a "forced beta".

Table 2: BJT Operation Regions and Typical Voltages
Region Base-Emitter ($V_{BE}$) Collector-Emitter ($V_{CE}$) Current Relationship Use Case
Cutoff < 0.5 V $\approx V_{CC}$ (Supply) $I_C = 0$ Open switch (Off)
Active (Linear) $\approx$ 0.6 V - 0.7 V > 1.0 V $I_C = h_{FE} \times I_B$ Audio amplifiers, linear regulators
Saturation $\approx$ 0.7 V - 0.9 V < 0.3 V ($V_{CE(sat)}$) $I_C < h_{FE} \times I_B$ Closed switch (On)

Worked Biasing Example: Switching a 12V Relay

Suppose you need to switch a 12V relay with a 120Ω coil using an Arduino (5V GPIO). The coil current ($I_C$) is $12V / 120\Omega = 100mA$. We select the 2N2222A.
While the datasheet lists an $h_{FE}$ of 100 at 150mA, we want guaranteed saturation. We apply a forced beta ($\beta_{forced}$) of 20. This means we overdrive the base to ensure $V_{CE}$ drops to ~0.2V.

  • Required Base Current ($I_B$): $I_C / \beta_{forced} = 100mA / 20 = 5mA$.
  • Base Resistor ($R_B$): The Arduino outputs 5V. The base-emitter junction drops ~0.7V. The voltage across the resistor is $5V - 0.7V = 4.3V$.
  • Calculation: $R_B = 4.3V / 5mA = 860\Omega$.
  • Standard Value: Select the next lower standard E12 resistor value, 820Ω, to guarantee slightly more base current and deeper saturation.

A Complete Switching Application Circuit

Below is the complete component list and wiring for a robust 12V DC motor or relay driver using an NPN BJT. This circuit includes critical protection elements often omitted in basic tutorials.

Required Components
  • Q1: 2N2222A (NPN BJT)
  • R1: 820Ω base resistor (1/4W)
  • R2: 10kΩ base pull-down resistor
  • D1: 1N4007 or 1N4148 flyback diode
  • Load: 12V Relay coil or small DC motor

Wiring Steps:

  1. Connect the Arduino GPIO pin to one end of R1 (820Ω).
  2. Connect the other end of R1 to the Base (middle pin) of the 2N2222A.
  3. Connect R2 (10kΩ) between the Base and Ground. Why? If the microcontroller resets or the pin floats during boot, this resistor pulls the base low, preventing the transistor from accidentally turning on and energizing your load.
  4. Connect the Emitter (left pin, flat side facing you) directly to the system Ground.
  5. Connect one side of the Relay Coil to the Collector (right pin).
  6. Connect the other side of the Relay Coil to the +12V supply.
  7. Place D1 (flyback diode) in parallel with the relay coil. The cathode (stripe) must face the +12V side, and the anode faces the Collector. This safely dissipates the inductive voltage spike when the BJT turns off.

Failure Modes and Multimeter Diode Testing

BJTs are rugged, but they fail predictably when pushed past their Safe Operating Area (SOA). According to ON Semiconductor's 2N2222A datasheet, the most common failure modes include:

  • Thermal Runaway: As a BJT heats up, its base-emitter voltage drop decreases, causing it to draw more base current, which creates more heat. Prevent this by using an emitter degeneration resistor in linear circuits.
  • Secondary Breakdown: Occurs when high voltage and high current are present simultaneously (common in linear power supplies). The silicon develops localized hot spots and melts.
  • Inductive Kickback: Switching off a relay without a flyback diode generates hundreds of volts in reverse, instantly punching through the collector-base junction.

How to Test a BJT with a Digital Multimeter

Do not use the resistance (Ohms) setting. Set your DMM to Diode Test mode. A BJT is essentially two back-to-back diodes sharing the base terminal. Here is the definitive pass/fail sequence for an NPN transistor (like the 2N3904 or 2N2222):

  1. Base to Emitter (Forward): Red probe on Base, Black probe on Emitter. Expected: 0.550V to 0.750V.
  2. Base to Collector (Forward): Red probe on Base, Black probe on Collector. Expected: 0.550V to 0.750V.
  3. Reverse Bias Checks: Swap probes (Black on Base, Red on Emitter/Collector). Expected: "OL" (Over Limit) on both.
  4. Collector to Emitter: Probes on C and E in either direction. Expected: "OL" both ways. If it reads near 0.000V, the junction is shorted and the part is dead.

For a PNP transistor, simply reverse the probe polarities in steps 1 and 2.

BJT vs. MOSFET: When to Choose Which

While the BJT remains a fundamental building block in analog design, modern digital switching often defaults to MOSFETs. Here is how to decide which to put on your board.

Table 3: BJT vs. Logic-Level MOSFET Comparison
Criteria BJT (e.g., 2N2222A) N-Channel MOSFET (e.g., IRLZ44N)
Control Mechanism Current-controlled (requires continuous base current) Voltage-controlled (draws almost zero steady-state gate current)
Voltage Drop (On-State) $V_{CE(sat)}$ is typically 0.2V - 0.4V $R_{DS(on)}$ yields drops of 0.01V - 0.05V at moderate currents
Switching Speed Slower (minority carrier storage time limits high-frequency PWM) Faster (majority carrier device, ideal for high-frequency PWM)
Cost & Complexity Cheaper ($0.05/ea), simpler drive circuitry for low currents Slightly more expensive, requires gate pull-down and sometimes gate driver ICs

Choose the BJT when: You are switching low-power loads (<500mA) from a 3.3V or 5V microcontroller, building linear audio amplifiers, or designing simple constant-current sources. The base resistor calculation is trivial, and the part costs almost nothing.

Choose the MOSFET when: You are driving high currents (>1A), using high-frequency PWM for motor speed control, or switching from a battery-powered system where wasting milliamps on continuous base current is unacceptable. For high-current BJT alternatives, look into Darlington pairs like the TIP120, but be prepared to manage their high $V_{CE(sat)}$ (often 1.5V to 2.0V) which requires a heatsink.

For deeper theoretical analysis of semiconductor physics and load-line analysis, Electronics Tutorials provides excellent interactive graphs. Always verify your final design against the specific manufacturer's datasheet for your exact part variant.