Pure silicon (Si) or germanium (Ge) is an intrinsic semiconductor. Adding controlled impurities (doping) creates two distinct regions:
A diode is a two-terminal semiconductor device (Anode `+` and Cathode `-`, marked by a painted band on the package) that acts primarily as a one-way valve for electric current.
| Diode Type | Typical Forward Drop ($V_F$) | Switching Speed | Key Characteristics & Primary Applications | Common Part Numbers |
|---|
| Standard Rectifier Diode | 0.7 V – 1.1 V | Slow (50/60 Hz line frequency) | High current/voltage handling; AC-to-DC bridge rectifiers, reverse-polarity protection | `1N4001` – `1N4007` (1A), `1N5408` (3A) |
| Fast-Recovery / Signal Diode | 0.6 V – 0.7 V | Very Fast (nanoseconds) | Low junction capacitance; high-frequency signal clipping, logic clamping, flyback protection | `1N4148`, `1N914`, `UF4007` |
| Schottky Barrier Diode | 0.15 V – 0.45 V | Ultra-Fast (zero reverse recovery) | Metal-semiconductor junction; low power loss, buck/boost converters, solar bypass, OR-ing | `1N5819` (1A), `1N5822` (3A), `SS34` |
| Zener Diode | ~0.7 V (forward) | Fast | Engineered to operate safely in reverse breakdown at a precise Zener voltage ($V_Z$); voltage references, over-voltage clamping | `1N4728A` (3.3V), `1N4733A` (5.1V), `1N4742A` (12V) |
| TVS Diode (Transient Voltage Suppressor) | 0.7 V – 1.5 V | Sub-nanosecond (< 1 ps) | Absorbs massive high-energy electrostatic discharge (ESD) and inductive voltage spikes; bidirectional or unidirectional | `SMBJ5.0A`, `1.5KE18CA`, `PESD5V0` |
| LED (Light-Emitting Diode) | 1.8 V – 3.4 V (by color) | Fast | Emits photons when forward biased; always requires a current-limiting series resistor | Red (~1.8V), Green/Yellow (~2.1V), Blue/White (~3.2V) |
| Photodiode | N/A (Reverse-biased) | Ultra-Fast | Converts incident light into reverse photocurrent; optical encoders, LiDAR receivers, IR remotes | `BPW34`, `SFH203` |
$$R = \frac{V_{supply} - V_F}{I_F}$$
A transistor is a three-terminal active semiconductor device used either as an electronic switch (saturation/cutoff) or a linear signal amplifier (active region). The two primary families are Bipolar Junction Transistors (BJTs) and Metal-Oxide-Semiconductor Field-Effect Transistors (MOSFETs).
| Parameter | BJT (Bipolar Junction Transistor) | MOSFET (Metal-Oxide-Semiconductor FET) |
|---|
| Control Mechanism | Current-Controlled (Base current $I_B$ controls Collector current $I_C$) | Voltage-Controlled (Gate-to-Source voltage $V_{GS}$ controls Drain current $I_D$) | ||
| Three Terminals | Base (B), Collector (C), Emitter (E) | Gate (G), Drain (D), Source (S) | ||
| Polarity Variants | NPN (sinks current to ground) and PNP (sources current from $+V$) | N-Channel (low-side switch) and P-Channel (high-side switch) | ||
| Input Impedance | Low-to-Moderate (draws continuous base current) | Extremely High ($10 | 9$–$10 | {12}\ \Omega$; draws near-zero steady DC gate current) |
|---|---|---|---|---|
| On-State Loss | Fixed Collector-Emitter Saturation Voltage ($V_{CE(sat)} \approx 0.1\text{ V} - 0.3\text{ V}$) | Resistive On-Resistance ($R_{DS(on)}$, often $1\text{ m}\Omega - 50\text{ m}\Omega$; power loss $= I_D | 2 \times R_{DS(on)}$) | |
| Switching Speed | Moderate (limited by minority carrier storage time) | Very Fast (tens of nanoseconds; ideal for high-frequency PWM & motor ESCs) | ||
| Best Applications | Analog audio/sensor amplification, low-current logic level shifting, current mirrors | High-current power switching, DC-DC converters, brushless ESCs, battery protection | ||
| Common Part Numbers | NPN: `2N2222`, `2N3904`, `BC547`, `TIP120` (Darlington) / PNP: `2N3906`, `2N2907` | N-Ch: `2N7000`, `IRLZ44N` (Logic-Level), `IRF540N` / P-Ch: `IRF9540N`, `AO3401` |
To switch a load (relay, LED strip, buzzer) cleanly to ground using a microcontroller GPIO pin (`3.3 V` or `5 V`):
$$R_B = \frac{V_{GPIO} - V_{BE(sat)}}{I_B}$$
where $V_{BE(sat)} \approx 0.7\text{ V}$.
Use a digital multimeter set to Diode Test Mode (typically supplies ~2–3 V and displays forward voltage drop in volts) with the component unpowered and isolated from parallel circuit paths:
Treat a BJT as two back-to-back diodes sharing the Base terminal: