Choosing the right LED is not just about picking a color. The wrong types of light emitting diode for your specific voltage rail or microcontroller GPIO can result in dim output, blown silicon, or a melted breadboard. While the underlying physics of electroluminescence is fascinating, as a circuit builder, you need to know forward voltage drops, current limits, thermal characteristics, and how to bias them safely. This guide cuts the theoretical fluff and gives you the exact decision matrices, biasing math, and default part numbers you need to wire up a reliable indicator or illumination circuit today.
The Direct Answer: Which LED Type Do You Actually Need?
Do not guess based on package size alone. Use this decision tree to select the exact category and form factor for your application. Follow the 'If' condition down to the concrete part recommendation.
| If Your Application Is... | Then Select This LED Type | Concrete Default Pick (Part Number) |
|---|---|---|
| Indicating power/status on a 3.3V or 5V logic board with ample space | Standard 5mm Through-Hole (T-1 3/4) | Kingbright WP7113SRD (Red, 1.85V) |
| Backlighting a custom PCB, tight SMD enclosure, or wearable | 0805 or 0603 Surface Mount (SMD) | Lite-On LTST-C170GKT (Green, 2.2V) |
| Illuminating a workspace, flashlight, or high-lumen spotlight | High-Power 1W/3W COB or Discrete | Cree XLamp XP-E2 (White, 2.9V, 1A) |
| Displaying multi-color status from a single footprint | RGB Common Cathode / Anode | Kingbright WP154A4SUREQBFZGW |
| Optical isolation or IR remote transmission | Infrared (850nm or 940nm) | Osram SFH 4545 (1.5V, 100mA pulse) |
Symbol, Pinout, and Internal Structure
Before you solder, you must correctly identify the polarity. An LED is a diode; it only conducts and emits light when forward-biased.
Schematic Symbol
The standard schematic symbol is a solid triangle pointing toward a vertical line (the cathode bar), representing the diode junction. Two small arrows point diagonally away from the triangle, indicating the emission of photons. The triangle side is the Anode (positive), and the line side is the Cathode (negative).
Physical Pinout Identification (5mm Through-Hole)
- Leg Length: The longer leg is the Anode (+). The shorter leg is the Cathode (-).
- Bulb Rim: Look at the base of the plastic lens. A flattened edge on the rim indicates the Cathode (-) side.
- Internal Structure: Look inside the clear epoxy. The smaller internal post is the Anode. The larger, flat 'anvil' structure that holds the semiconductor die is the Cathode.
Operation Regions and Forward Voltage Specifications
Unlike resistors, LEDs do not have a fixed resistance. They have a non-linear V-I curve. Once the applied voltage crosses the Forward Voltage ($V_f$) threshold, current increases exponentially. A 0.1V increase past $V_f$ can double the current and destroy the die. Always consult the spec sheet. Below are the typical operational parameters for standard indicator types of light emitting diode.
| LED Color / Type | Typical $V_f$ (Volts) | Max Continuous $I_f$ (mA) | Typical Luminous Intensity (mcd) |
|---|---|---|---|
| Infrared (850nm) | 1.2V - 1.5V | 50mA (100mA pulsed) | N/A (mW/sr) |
| Red (620nm - AlInGaP) | 1.8V - 2.2V | 20mA - 30mA | 20 - 80 mcd |
| Yellow / Amber (590nm) | 2.0V - 2.2V | 20mA - 30mA | 40 - 150 mcd |
| True Green (525nm - InGaN) | 3.0V - 3.4V | 20mA - 30mA | 200 - 800 mcd |
| Blue (470nm - InGaN) | 3.0V - 3.4V | 20mA - 30mA | 100 - 500 mcd |
| White (6000K - Phosphor) | 2.9V - 3.4V | 20mA - 30mA | 1000 - 3000 mcd |
For deeper semiconductor theory on how the bandgap energy dictates these specific $V_f$ values, the All About Circuits Semiconductor Textbook provides an excellent breakdown of the P-N junction physics.
How to Bias and Drive LEDs: A Complete 5V Application Circuit
You must limit the current. Wiring an LED directly to a voltage source will cause thermal runaway, melting the internal gold bond wire in milliseconds. We use a series current-limiting resistor for basic indicator circuits.
The Biasing Formula
To find the resistor value ($R$), use Ohm's Law applied to the voltage dropped across the resistor:
$R = (V_{source} - V_f) / I_{target}$
Complete Application Circuit: Blue LED on a 5V Arduino GPIO
Let's build a reliable indicator circuit using a standard 5mm Blue LED ($V_f = 3.2V$, target $I_f = 18mA$) driven by a 5V microcontroller pin.
- Calculate Resistance: $R = (5.0V - 3.2V) / 0.018A = 1.8V / 0.018A = 100\Omega$.
- Select Standard Resistor: 100$\Omega$ is a standard E12 value. Perfect.
- Calculate Power Dissipation: $P = I^2 \times R = (0.018)^2 \times 100 = 0.0324W$. A standard 1/4W (0.25W) through-hole resistor or a 1/10W 0603 SMD resistor is more than adequate.
- Wire the Circuit: Connect the microcontroller GPIO pin to one leg of the 100$\Omega$ resistor. Connect the other leg of the resistor to the Anode (long leg) of the Blue LED. Connect the Cathode (short leg) directly to the system Ground (GND).
- Verify GPIO Limits: Ensure your microcontroller can source 18mA. An ATmega328P (Arduino Uno) can safely source 20mA per pin. An ESP32 can safely source up to 40mA per pin, making this circuit safe for both.
Failure Modes and Multimeter Diode Testing
LEDs rarely fail randomly; they fail because of circuit abuse. Understanding how they die helps you troubleshoot boards efficiently. For practical handling and basic testing protocols, SparkFun's LED Tutorial is a great bench companion.
Common Failure Modes
- Catastrophic Overcurrent: Missing or shorted current-limiting resistor. The internal gold bond wire acts as a fuse, melts, and leaves the circuit open. The LED looks perfectly fine externally but emits no light.
- Thermal Runaway: Driven too close to the max $I_f$ limit in a high-ambient-temperature environment. As the die heats up, its $V_f$ drops. If driven by a stiff voltage source without adequate resistance, current spikes, generating more heat until the semiconductor junction destroys itself.
- Moisture Ingress (SMD Popcorning): SMD LEDs absorb ambient humidity. During reflow soldering, the trapped water turns to steam, cracking the epoxy lens from the inside.
How to Test an LED with a Digital Multimeter (DMM)
Do not use the continuity/beep mode; the test voltage is usually too low (~1.5V) to forward-bias a blue or white LED. Use the dedicated Diode Test Mode (symbol: a triangle with a line and a plus sign).
- Set your DMM dial to the Diode Test setting.
- Place the Red probe on the suspected Anode and the Black probe on the suspected Cathode.
- Expected Reading: The meter should display the forward voltage drop (e.g., '1.850' for a red LED, '2.800' for a white LED). The LED may glow faintly if the meter supplies enough test current (usually 1-2mA).
- Swap the probes (Black to Anode, Red to Cathode).
- Expected Reading: The meter should display 'OL' (Open Loop) or '1' on the far left, indicating reverse blocking.
Diagnostic Matrix:
- Reads 0.000V or beeps in both directions: The LED is shorted internally. Throw it away.
- Reads 'OL' in both directions: The internal bond wire is blown (open circuit). Throw it away.
- Reads a voltage, but the LED is dim/flickering: The die is degraded or suffering from a partial internal connection failure. Do not use in production.
Safe Default Part Numbers for the Workbench
Stop buying unbranded, no-spec LED assortments from random marketplaces. Their $V_f$ varies wildly from batch to batch, ruining your carefully calculated biasing resistors. Stock these specific, datasheet-backed part numbers from reputable manufacturers like Kingbright, Lite-On, and Cree.
| Category | Manufacturer Part Number | Color / $V_f$ | Max Rating |
|---|---|---|---|
| Standard 5mm Indicator | Kingbright WP7113SRD | Red / 1.85V | 20mA Continuous |
| Standard 5mm Indicator | Kingbright WP7113QBC/D | Blue / 3.3V | 30mA Continuous |
| SMD 0805 Indicator | Lite-On LTST-C170GKT | Green / 2.2V | 20mA Continuous |
| SMD 0603 Indicator | Lite-On LTST-C190KRKT | Red / 2.0V | 20mA Continuous |
| High-Power Illumination | Cree XLamp XP-E2 | Cool White / 2.9V | 1000mA (Requires heatsink) |
The Final Verdict: For 90% of breadboard prototyping and panel indicator tasks, stock Kingbright 5mm through-hole LEDs and use a standard 330$\Omega$ resistor for 5V rails (which safely limits red LEDs to ~10mA and blue LEDs to ~5mA, providing excellent visibility without stressing the GPIO). For custom PCB fabrication, default to Lite-On 0805 SMD packages. Never wire any type of light emitting diode directly across a voltage source without a constant-current driver or a properly calculated series resistor.






