Welcome to the World of LEDs!

In this chapter, we are going to explore one of the most popular components in modern electronics: the Light-Emitting Diode, or LED. You see them every day in your smartphone screens, traffic lights, and home lighting. They are much more than just tiny light bulbs! By the end of these notes, you’ll understand how they work, why we need resistors to protect them, and how they are used to display numbers.

1. What is an LED?

An LED is a special type of semiconductor diode. Just like a standard diode, it only allows current to flow in one direction. However, while a regular diode just sits there, an LED has a "superpower": it emits light when current passes through it in the forward direction.

Forward and Reverse Bias

- Forward Bias: When the positive side of the battery is connected to the Anode (the long leg) and the negative side to the Cathode (the short leg), current flows and the LED glows.
- Reverse Bias: If you flip the LED around, it acts like a wall. No current flows, and the LED stays dark.

Light vs. Infra-red

Not all LEDs produce light we can see! Some are designed to emit Infra-red (IR) radiation. This is invisible to the human eye but can be detected by electronic sensors. Think of your TV remote—it uses an Infra-red diode to "talk" to your television.

Quick Review: An LED is a one-way street for electricity that glows when current flows the right way.

2. LEDs vs. Incandescent Bulbs

Why did the world switch from old-fashioned light bulbs (incandescent) to LEDs? Here are the main benefits you need to know for your exam:

- High Efficiency: LEDs convert almost all the electricity they use into light, whereas old bulbs waste most of it as heat. (They stay cool to the touch!)
- Long Life: An LED can last for tens of thousands of hours. You rarely have to replace them.
- Fast Switching: LEDs turn on and off almost instantly. This is why they are great for fiber-optic communication and electronic displays.
- Low Power Consumption: Because they are so efficient, they use very little battery power.

Did you know? If you touch an old incandescent bulb, it can burn you. If you touch a working LED, it’s usually quite cool. That’s efficiency in action!

3. Protecting the LED: The Series Resistor

This is a very important part of the syllabus! LEDs are delicate. If you connect an LED directly to a 9V battery, too much current will rush in and "pop" the LED, destroying it instantly.

Why do we need a resistor?

A resistor must be connected in series with the LED to limit the current. Think of the resistor as a "faucet" that controls the flow of water so the "pipe" (the LED) doesn't burst.

Calculating the Resistor Value

To find the right resistor, we use Ohm’s Law. You need to know the supply voltage, the LED's forward voltage (the "entry fee" it takes to turn on), and the desired current.

The formula is:
\( R = \frac{V_s - V_f}{I} \)

Where:
- \( V_s \) is the Supply Voltage (from your battery or power source).
- \( V_f \) is the Forward Voltage of the LED (usually around 2V for red LEDs).
- \( I \) is the Forward Current (usually about 20mA or 0.02A).

Don't worry if this seems tricky! Just remember: (Voltage of Battery - Voltage of LED) divided by Current = Resistance.

Key Takeaway: Always use a resistor with an LED, or it will burn out!

4. Infrared Diodes and Photodiodes

In the syllabus, we look at how LEDs are used for communication.

- Infrared (IR) Diodes: These are used as transmitters. They send out pulses of invisible light.
- Photodiodes: These are the receivers. They "feel" the light hitting them and convert it back into an electrical signal.

Example: When you press "Volume Up" on your remote, the IR LED flashes a code. The photodiode on the TV sees those flashes and tells the TV to get louder.

5. The 7-Segment Display

Have you ever looked at a digital alarm clock? The numbers are made of 7 little bars. Each of those bars is actually an individual LED! By turning different bars on or off, we can create any number from 0 to 9.

Common Anode vs. Common Cathode

Because there are 7 LEDs inside one display, we save space by joining one side of all the LEDs together. There are two ways to do this:

1. Common Anode (CA):
- All the positive sides (Anodes) are connected to a single pin.
- You connect this pin to the positive (+) supply.
- To turn a segment ON, you must connect its individual pin to 0V (Ground).

2. Common Cathode (CC):
- All the negative sides (Cathodes) are connected to a single pin.
- You connect this pin to 0V (Ground).
- To turn a segment ON, you must connect its individual pin to Positive (+) voltage.

Memory Aid:
Cathode = Connect to Ground (0V).
Anode = Always connect to Positive (+).

Summary Quick-Check

- What does LED stand for? Light-Emitting Diode.
- How many directions does current flow? One direction only (Forward Bias).
- Why use a resistor? To limit current and prevent the LED from burning out.
- What are the 7 bars in a display? 7 individual LEDs that can be controlled separately.
- Common Cathode means... all negative legs are tied together and go to Ground.

Keep practicing those resistor calculations! They are a favorite in exams. You've got this!