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 TypeConcrete Default Pick (Part Number)
Indicating power/status on a 3.3V or 5V logic board with ample spaceStandard 5mm Through-Hole (T-1 3/4)Kingbright WP7113SRD (Red, 1.85V)
Backlighting a custom PCB, tight SMD enclosure, or wearable0805 or 0603 Surface Mount (SMD)Lite-On LTST-C170GKT (Green, 2.2V)
Illuminating a workspace, flashlight, or high-lumen spotlightHigh-Power 1W/3W COB or DiscreteCree XLamp XP-E2 (White, 2.9V, 1A)
Displaying multi-color status from a single footprintRGB Common Cathode / AnodeKingbright WP154A4SUREQBFZGW
Optical isolation or IR remote transmissionInfrared (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.
Bench Tip: If you are salvaging LEDs with clipped legs and scuffed lenses, do not guess. Use your multimeter's diode test mode (covered below) to definitively identify the anode and cathode before soldering into a tight SMD pad or dense through-hole board.

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 / TypeTypical $V_f$ (Volts)Max Continuous $I_f$ (mA)Typical Luminous Intensity (mcd)
Infrared (850nm)1.2V - 1.5V50mA (100mA pulsed)N/A (mW/sr)
Red (620nm - AlInGaP)1.8V - 2.2V20mA - 30mA20 - 80 mcd
Yellow / Amber (590nm)2.0V - 2.2V20mA - 30mA40 - 150 mcd
True Green (525nm - InGaN)3.0V - 3.4V20mA - 30mA200 - 800 mcd
Blue (470nm - InGaN)3.0V - 3.4V20mA - 30mA100 - 500 mcd
White (6000K - Phosphor)2.9V - 3.4V20mA - 30mA1000 - 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.

  1. Calculate Resistance: $R = (5.0V - 3.2V) / 0.018A = 1.8V / 0.018A = 100\Omega$.
  2. Select Standard Resistor: 100$\Omega$ is a standard E12 value. Perfect.
  3. 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.
  4. 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).
  5. 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.
Pro-Tip for PWM Dimming: If you plan to dim this LED using PWM, the resistor still limits the peak current during the 'ON' phase of the duty cycle. Do not reduce the resistor value just because the average current drops; the instantaneous peak current will still blow the LED or the microcontroller GPIO.

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).

  1. Set your DMM dial to the Diode Test setting.
  2. Place the Red probe on the suspected Anode and the Black probe on the suspected Cathode.
  3. 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).
  4. Swap the probes (Black to Anode, Red to Cathode).
  5. 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.

CategoryManufacturer Part NumberColor / $V_f$Max Rating
Standard 5mm IndicatorKingbright WP7113SRDRed / 1.85V20mA Continuous
Standard 5mm IndicatorKingbright WP7113QBC/DBlue / 3.3V30mA Continuous
SMD 0805 IndicatorLite-On LTST-C170GKTGreen / 2.2V20mA Continuous
SMD 0603 IndicatorLite-On LTST-C190KRKTRed / 2.0V20mA Continuous
High-Power IlluminationCree XLamp XP-E2Cool White / 2.9V1000mA (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.