A light emitting diode (LED) works through a process called electroluminescence. When a forward voltage is applied across its PN junction, electrons from the N-type material cross the depletion region and recombine with holes in the P-type material. This recombination drops the electrons into a lower energy state, releasing the excess energy as photons (light). The specific semiconductor material's bandgap dictates the photon's wavelength, which determines the color you see. But on the workbench, you don't need a quantum physics degree to use one. You need to understand its exponential voltage-current (V-I) curve, its forward voltage drop ($V_f$), and how to limit current so you don't instantly melt the silicon die.

LED Symbol, Pinout, and Operating Regions

Before wiring anything, you must correctly identify the terminals. On a schematic, the LED symbol is a triangle (representing the anode/positive side) pointing into a vertical line (representing the cathode/negative side), with two small arrows radiating outward to indicate light emission.

Physically, a standard 5mm through-hole LED has three polarity indicators:

  • Leg Length: The longer leg is the Anode (+). The shorter leg is the Cathode (-).
  • Lens Flat Spot: The plastic dome has a flattened edge on the bottom rim; this flat side denotes the Cathode.
  • Internal Structure: Looking inside the lens, the smaller metal post is the Anode, and the larger, cup-like reflector is the Cathode.

Unlike resistors, LEDs are highly non-linear. They do not obey Ohm's law linearly. Below is the operational behavior of an LED across different bias regions.

Operating Region Bias Condition Voltage Range (Typical) Current Flow Physical Result
Reverse Blocking Cathode more positive than Anode 0V to -5V Microamps (leakage) Off. Junction blocks current safely.
Reverse Breakdown Excessive reverse voltage Beyond -5V (Zener region) High (uncontrolled) Avalanche breakdown. Junction destroys instantly.
Forward Sub-Threshold Anode positive, below $V_f$ 0V to ~1.5V (varies by color) Nanoamps Off. Voltage is insufficient to cross the bandgap.
Forward Active (Emitting) Anode positive, at or above $V_f$ $V_f$ (e.g., 2.0V for Red) Exponential (1mA to 30mA+) On. Electroluminescence occurs. Current must be limited externally.

The exact forward voltage ($V_f$) required to reach that active emitting region depends entirely on the semiconductor bandgap, which correlates directly to the color of the light. Here are the standard bench values you will encounter.

LED Color Peak Wavelength Typical $V_f$ (at 20mA) Max Continuous Current Semiconductor Material
Infrared (IR) 850nm - 940nm 1.2V - 1.5V 50mA - 100mA Gallium Arsenide (GaAs)
Red 620nm - 660nm 1.8V - 2.2V 20mA - 30mA Aluminum Gallium Arsenide (AlGaAs)
Orange 600nm - 610nm 2.0V - 2.2V 20mA Gallium Arsenide Phosphide (GaAsP)
Yellow 580nm - 590nm 2.0V - 2.2V 20mA Gallium Arsenide Phosphide (GaAsP)
True Green 520nm - 530nm 3.0V - 3.4V 20mA Indium Gallium Nitride (InGaN)
Blue 460nm - 470nm 3.0V - 3.4V 20mA Indium Gallium Nitride (InGaN)
White (Phosphor) Broadband 3.0V - 3.4V 20mA InGaN with YAG Phosphor coating

Biasing, Selection, and the Safe Default Circuit

Because an LED's V-I curve is exponential, a tiny increase in voltage past the $V_f$ threshold causes a massive, destructive spike in current. You must never connect an LED directly across a voltage source like a battery or a 5V logic pin. You must use a series current-limiting resistor or a dedicated constant-current driver.

Bench Tip: The E12 Resistor Derating Trick
Datasheets list the 'Absolute Maximum' current (usually 20mA or 30mA for 5mm LEDs). Running an LED at its absolute maximum drastically shortens its lifespan and shifts its color due to heat. Always design for 60% to 75% of the max current. A target of 15mA provides nearly identical perceived brightness to 20mA but runs much cooler.

Worked Example: 5V Logic Indicator Circuit

Let's build a standard power indicator driven by a 5V Arduino GPIO pin or a 5V breadboard rail.

  • Source Voltage ($V_s$): 5.0V
  • Target LED: Standard Red ($V_f$ = 2.0V)
  • Target Current ($I_f$): 15mA (0.015A) for safe derating

Using Ohm's law to find the resistor value ($R$):

$R = (V_s - V_f) / I_f$
$R = (5.0V - 2.0V) / 0.015A = 3.0V / 0.015A = 200\Omega$

The exact value 200$\Omega$ is not in the standard E12 resistor series. The nearest standard E12 values are 180$\Omega$ and 220$\Omega$. Choosing 220$\Omega$ yields a current of 13.6mA, which is perfectly safe and bright enough for an indicator.

Next, verify the resistor's power dissipation to select the correct wattage rating:

$P = I^2 \times R = (0.0136A)^2 \times 220\Omega = 0.040W$
A standard 1/4W (0.25W) through-hole resistor is more than sufficient, providing a massive safety margin.

Safe Default Part Numbers

When stocking your bench, avoid no-name bulk bins. These are the reliable, datasheet-backed defaults that will behave exactly as their specs promise:

  • Red 5mm LED: Lite-On LTL-307E (639nm, 2.1V $V_f$, 20mA max, high reliability).
  • Blue 5mm LED: Kingbright WP710A102LSECK (460nm, 3.2V $V_f$, water-clear lens).
  • Current Limiting Resistor: Yageo CFR-25JB-52-220R (220$\Omega$, 1/4W, 5% carbon film).

How LEDs Fail and How to Test Them

LEDs rarely just 'wear out' under normal conditions. When they fail, it is almost always due to one of three specific abuse scenarios:

  1. Thermal Runaway: If driven without a resistor, the LED heats up. As silicon heats, its forward voltage drops. A lower $V_f$ draws more current from the fixed voltage source, which creates more heat, dropping $V_f$ further. This feedback loop melts the internal bond wire in seconds.
  2. Reverse Voltage Punch-Through: Standard LEDs have a terrible reverse breakdown voltage, typically around 5V. If you accidentally apply 12V in reverse, the junction avalanches and shorts out permanently.
  3. Electrostatic Discharge (ESD): Blue, White, and True Green LEDs (InGaN based) are highly sensitive to ESD. A static shock from your finger can punch a microscopic hole through the die, causing it to fail prematurely or flicker.

Testing an LED with a Digital Multimeter

You don't need a specialized component tester to diagnose an LED. Any standard digital multimeter (DMM) with a Diode Test mode will tell you if the junction is intact.

Numbered Testing Procedure:
  1. Turn the DMM dial to the Diode Test mode (the symbol looks like a diode with a plus sign).
  2. Insert the red probe into the V/$\Omega$/Diode jack, and the black probe into the COM jack.
  3. Touch the red probe to the LED's Anode (long leg) and the black probe to the Cathode (short leg/flat edge).
  4. Observe the reading: A healthy LED will display its forward voltage (e.g., '1.850' for a red LED, or '2.800' for a blue LED) and the LED will emit a dim glow. The DMM is internally sourcing a safe ~1mA test current.
  5. Swap the probes: Red to Cathode, Black to Anode. The DMM should display 'OL' (Open Loop) or '1' on the far left, indicating the junction is successfully blocking reverse current.

Diagnostic Cheat Sheet:

  • If forward bias reads 'OL': The internal bond wire has snapped (open circuit). The LED is dead.
  • If reverse bias reads a voltage or the meter beeps: The junction has shorted (likely from reverse voltage punch-through). The LED is dead.
  • If the LED glows during the test but won't light in your circuit: Your circuit's drive voltage is too low to overcome the $V_f$, or your current-limiting resistor value is too high.

Standard Indicator vs. High-Power vs. Addressable

While the 5mm through-hole LED is the undisputed king of breadboard indicators, modern projects often require different form factors. According to SparkFun's LED engineering guide, choosing the wrong category for your application leads to over-engineered thermal headaches or underpowered lighting. Here is how the three main families compare on the bench.

LED Category Primary Use Case Drive Method Thermal Management Example Part / IC
Standard 5mm Status indicators, simple DIY toys, panel lights. Series resistor from GPIO or VCC. None required. Ambient air is sufficient at 20mA. Lite-On LTL-307E
High-Power (1W+) Flashlights, automotive lighting, grow lights, architectural spots. Constant-current buck driver (e.g., PT4115 or Mean Well LDD). Mandatory. Must be mounted to an aluminum MCPCB and a heatsink. Cree XLamp XP-E2
Addressable (RGB) Dynamic displays, bias lighting, interactive art installations. 5V logic data line (single-wire protocol) + dedicated power injection. Copper pour on PCB or aluminum substrate required if running full white. Worldsemi WS2812B

When working with high-power LEDs, the series resistor trick completely falls apart. A 1W Cree LED drawing 350mA at 3.0V would require a massive, heat-dissipating resistor if driven from a 12V source. In those cases, you must switch to a switching constant-current driver to maintain efficiency and prevent thermal destruction. For addressable LEDs like the WS2812B, remember that the internal controller IC has its own voltage drop; you must supply a clean 5V (not 3.3V) to the VCC pin, and inject power every 50 to 100 pixels to prevent voltage sag and color shifting at the end of the strip.

Understanding the underlying semiconductor physics is useful for academic context, but mastering the practical biasing math, recognizing the physical pinout, and knowing how to verify the junction with your multimeter is what actually gets your circuit working on the first power-up.