If you are searching for who invented the light emitting diode, the answer spans several decades of semiconductor research, but the credit for the first practical, visible-spectrum LED belongs to Nick Holonyak Jr. In 1962, while working at General Electric, Holonyak developed the first red LED using gallium arsenide phosphide (GaAsP). His work built upon the 1961 infrared LED patent by James R. Biard and Gary Pittman at Texas Instruments, and the foundational 1927 observations of electroluminescence by Russian scientist Oleg Losev. Holonyak's 1962 breakthrough transformed the LED from a laboratory curiosity into the backbone of modern optoelectronics (IEEE Spectrum).
Today, the descendants of Holonyak's first red indicator are used in everything from 3.3V logic state indicators to 48V architectural lighting. But an LED is not just a lightbulb; it is a highly non-linear semiconductor junction that will destroy itself (and your microcontroller) if biased incorrectly. This guide bridges the gap between semiconductor history and bench-ready circuit design, giving you the exact math, part numbers, and testing procedures to deploy modern LEDs reliably.
The LED Symbol, Pinout, and Internal Structure
Before wiring any component, you must correctly identify its polarity. The standard schematic symbol for an LED is a triangle (representing the anode/P-type material) pointing toward a vertical line (the cathode/N-type material), with two small arrows pointing away to indicate photon emission.
For the ubiquitous 5mm through-hole package (like the T-1 3/4 size), physical identification relies on three distinct markers:
- Lead Length: The Anode (+) is the longer leg; the Cathode (-) is the shorter leg. (Note: Always verify with other methods, as leads are often trimmed during prep).
- Internal Structure: Look inside the epoxy lens. The Anode connects to a small post; the Cathode connects to a large, flat metallic flag (the anvil) that acts as a heat sink and reflector.
- Lens Flat Spot: The rim of the plastic lens has a flat edge on the Cathode side. This is the most reliable indicator on trimmed or surface-mount components.
Operation Regions and Forward Voltage (Vf) Specs
An LED does not obey Ohm's Law linearly. Below its forward voltage threshold ($V_f$), it conducts almost zero current. Once the applied voltage exceeds $V_f$, current increases exponentially. A tiny voltage increase of 0.1V can double the current, leading to immediate thermal destruction if not limited by an external component.
The table below outlines the typical operating regions for standard 5mm indicator LEDs. These values assume a standard continuous forward current ($I_f$) of 20mA at an ambient temperature of 25°C.
| LED Color | Typical Wavelength | Typical $V_f$ (at 20mA) | Max Reverse Voltage ($V_r$) | Standard Part Example |
|---|---|---|---|---|
| Infrared | 850 - 940 nm | 1.2V - 1.5V | 5V | TSDL4900 |
| Red | 620 - 635 nm | 1.8V - 2.2V | 5V | Kingbright WP7113SRD |
| Yellow | 585 - 595 nm | 2.0V - 2.2V | 5V | Kingbright WP7113SYD |
| True Green | 520 - 530 nm | 3.0V - 3.4V | 5V | Kingbright WP7113ZGC |
| Blue | 460 - 475 nm | 3.0V - 3.5V | 5V | Kingbright WP7113QBC-D |
| White | Broad spectrum | 3.1V - 3.6V | 5V | Kingbright WP7113QWF-D |
Source data derived from standard Kingbright optoelectronic datasheets.
How to Bias and Select an LED for Your Circuit
Because of the exponential I-V curve, you must never connect an LED directly to a voltage source. You must use a current-limiting resistor or an active constant-current driver. The foundational math for a resistor-biased LED is derived from Kirchhoff's Voltage Law:
$R = (V_s - V_f) / I_f$
Where $V_s$ is your supply voltage, $V_f$ is the LED forward voltage, and $I_f$ is your target current (usually 10mA to 20mA for indicators).
Worked Example: 5V Logic Indicator
Suppose you want to drive a Blue LED ($V_f = 3.2V$) at 15mA from a 5V Arduino Uno GPIO pin.
- Calculate Resistance: $R = (5V - 3.2V) / 0.015A = 1.8V / 0.015A = 120\Omega$.
- Select Standard Value: The nearest standard E12 resistor is 120Ω. If you want it slightly dimmer to save GPIO current, step up to 150Ω.
- Calculate Power Dissipation: $P = I^2 \times R = (0.015)^2 \times 120 = 0.027W$ (27mW). A standard 1/4W (250mW) resistor is more than adequate.
Complete Application Circuit: Microcontroller MOSFET Driver
Driving an LED directly from a 3.3V ESP32 GPIO pin is fine for a single indicator, but if you are driving multiple LEDs or a high-brightness white LED, you risk exceeding the GPIO's 12mA per-pin limit. Here is a complete, robust application circuit using an N-channel MOSFET to isolate the microcontroller from the LED load.
- Power Supply: 5V DC (connected to LED Anode via Resistor)
- Current Limiter: 100Ω, 1/4W Metal Film Resistor
- LED: 5mm White LED (Cathode to MOSFET Drain)
- Switch: 2N7000 N-Channel MOSFET
- Gate Protection: 330Ω series resistor from ESP32 GPIO to MOSFET Gate
- Gate Pulldown: 10kΩ resistor from MOSFET Gate to GND (prevents floating gate turn-on during MCU boot)
In this circuit, the ESP32 outputs 3.3V to the Gate. The 2N7000 has a $V_{gs(th)}$ of roughly 2.0V, so 3.3V fully enhances the channel, pulling the LED Cathode to ground and allowing current to flow through the 100Ω resistor and the LED. This design protects your microcontroller from accidental short circuits and handles the thermal load safely.
Failure Modes and Multimeter Testing Procedures
LEDs rarely fail randomly; they fail because of specific electrical abuses. Understanding these failure modes is critical for troubleshooting.
Common Failure Modes
- Thermal Runaway (No Resistor): Connecting directly to a voltage source causes current to spike, melting the internal bond wire. The LED fails 'open' (dark).
- Reverse Voltage Breakdown: Standard LEDs have a remarkably low reverse breakdown voltage, typically 5V. If you connect an LED directly across an AC signal or a reversed 12V battery without a reverse-protection diode, the junction avalanches and shorts out or cracks.
- ESD Damage: Blue, Green, and White LEDs (based on GaN/InGaN) are highly sensitive to Electrostatic Discharge. A zap from an ungrounded hand can punch a microscopic hole in the die, causing the LED to fail prematurely or flicker.
How to Test an LED with a Digital Multimeter (DMM)
Do not use the resistance (Ohms) setting to test an LED; the test voltage is too low to forward-bias the junction. Use the Diode Test mode (indicated by a triangle and line symbol on the dial).
Step-by-Step DMM Test:
- Set the DMM to Diode Test mode.
- Touch the Red probe to the LED Anode (long leg) and the Black probe to the Cathode (short leg/flat side).
- Expected Result: The LED should glow faintly. The screen will display the forward voltage drop (e.g., 1.85V for red, 2.95V for green).
- Reverse the probes (Black to Anode, Red to Cathode).
- Expected Result: The screen should read 'OL' or '1' (over-limit), indicating the junction is correctly blocking reverse current. If it reads 0.00V or near-zero in both directions, the LED is shorted and dead.
Decision Tree: Picking the Right LED and Driver
Use this decision path to select the correct component combination for your specific application. Do not guess; match the circuit requirement to the hardware.
| Application Scenario | If Your Constraint Is... | Then Choose This Architecture | Concrete Part / Value Pick |
|---|---|---|---|
| 3.3V MCU Logic Indicator | Low current draw, battery powered | Direct GPIO drive, high-efficiency LED, high-value resistor | Red LED + 470Ω resistor (draws ~3mA) |
| 5V Panel Status Light | High ambient light, needs to be bright | Direct 5V drive, standard 20mA LED | Kingbright WP7113SRD + 150Ω 1/4W resistor |
| 12V Automotive / Industrial | High voltage, voltage spikes up to 40V | Series resistor + reverse protection diode (1N4148) | White LED + 470Ω resistor + 1N4148 in parallel (reverse biased) |
| High-Power Illumination (>1W) | Thermal management, strict current regulation | Constant Current (CC) Buck Driver, NO resistors | Cree XLamp XP-L + Mean Well LDD-350L driver |
Safe Default Part Numbers for the Workbench
If you are stocking your lab or designing a general-purpose prototype board, avoid buying unbranded, no-spec LED assortments from marketplaces. Their $V_f$ varies wildly, making resistor calculations impossible. Instead, standardize on these proven, well-documented part numbers from reputable manufacturers like Kingbright or Lite-On.
- Standard Red (5mm): Kingbright WP7113SRD (Super Bright Red, $V_f$ 1.85V, 20mA). The absolute gold standard for 5V and 3.3V power indicators.
- Standard Green (5mm): Kingbright WP7113ZGC (True Green, $V_f$ 3.3V, 20mA). Use this instead of the older yellowish-green (YG) variants for better visibility.
- Standard Blue (5mm): Kingbright WP7113QBC-D (Blue, $V_f$ 3.2V, 20mA).
- Safe Default Resistor: For 5V systems, a 220Ω 1/4W metal film resistor is the universal safe default. It will limit a Red LED to ~14mA (plenty bright) and a Blue LED to ~8mA (safe and visible), meaning you can use one resistor value for all your 5V indicator prototyping without recalculating every time.
For further reading on semiconductor junction behavior and optoelectronic theory, the All About Circuits semiconductor textbook chapter on LEDs provides an excellent deep dive into the physics that Holonyak and his contemporaries first harnessed. By respecting the non-linear nature of the PN junction and using proper current-limiting techniques, you ensure your modern circuits are just as reliable as the foundational science they are built upon.






