LEDR
AI

An **LED (Light Emitting Diode)** is a semiconductor light source that emits light when current flows through it. Unlike incandescent bulbs that use a filament, LEDs rely on the movement of electrons in a semiconductor material.
---
## 1. Physical Structure
An LED consists of several key components that work together to produce and direct light:
| Part | Description |
| :--- | :--- |
| **Anode (+)** | The positive terminal (usually the longer leg). |
| **Cathode (-)** | The negative terminal (usually the shorter leg, marked by a flat spot on the casing). |
| **Semiconductor Die** | The "heart" of the LED where light is actually generated. |
| **Reflective Cavity** | A small bowl that reflects light upwards to increase brightness. |
| **Epoxy Lens** | The plastic body that protects the components and focuses the light beam. |
| **Bond Wire** | A tiny gold wire connecting the anode to the semiconductor die. |
---
## 2. Electrical Characteristics
To use an LED correctly in a circuit, you must understand these three fundamental properties:
### A. Polarity
LEDs are **polarized**, meaning they only allow current to flow in one direction (from Anode to Cathode). If connected backward, the LED will not light up and can be damaged if the reverse voltage is too high.
### B. Forward Voltage ($V_f$)
This is the minimum voltage required to "turn on" the LED. It varies based on the color of the LED:
* **Red/Orange:** 1.8V – 2.2V
* **Yellow:** 2.1V – 2.4V
* **Green/Blue/White:** 3.0V – 3.6V
### C. Forward Current ($I_f$)
Most standard 5mm LEDs require approximately **20mA (0.02A)** to operate at full brightness. Exceeding this current will burn out the LED.
---
## 3. The Current-Limiting Resistor
Because LEDs have very little internal resistance, they require an external resistor to prevent them from drawing too much current and destroying themselves.
The formula to calculate the required resistor ($R$) is:
`R = (V_source - V_forward) / I_forward`
#### Example Calculation:
If using a **9V battery** with a **Red LED** (2V, 20mA):
```text
R = (9V - 2V) / 0.02A
R = 7V / 0.02A
R = 350 Ohms
```
---
## 4. How Light is Created (Electroluminescence)
1. **Electron Flow:** When voltage is applied, electrons move across the P-N junction of the semiconductor.
2. **Recombination:** Electrons fall into "holes" (spaces for electrons) in a lower energy level.
3. **Photon Release:** As electrons drop to a lower energy state, they release energy in the form of **photons** (light).
4. **Color Determination:** The "gap" in energy levels determines the wavelength of the light, which defines its color.
- ⤷
How do RGB LEDs create different colors using only three pins?
- ⤷ What happens if I connect an LED without a resistor?
- ⤷ What is the difference between a standard LED and a COB LED?