# Lesson 2: Understanding LEDs and Resistors

- Link: https://academy.doitronics.com/courses/breadboard-basics-lighting-the-way-for-beginners/lessons/lesson-2-understanding-leds-and-resistors/
- Published: 2026-11-05T01:39:02+05:30
- Author: ravikishorekomara

## Learning Objectives

By the end of this lesson, students will be able to:

 1. Identify an LED and understand how it works.
 2. Identify LED anode and cathode terminals.
 3. Explain the purpose of a resistor.
 4. Read basic resistor color codes.
 5. Calculate a suitable LED current-limiting resistor.

## 1. What Is an LED?

LED stands for **Light Emitting Diode**. It is a semiconductor device that produces
light when current flows through it in the forward direction.

LEDs are commonly used in electronic indicators, displays, lighting systems and 
DIY projects.

Unlike ordinary lamps, LEDs are polarity-sensitive and normally require current 
limiting.

## 2. Understanding LED Polarity

An LED has two terminals:

 * **Anode (+):** Connects toward the positive supply through the circuit.
 * **Cathode (−):** Connects toward the negative supply or ground.

For a typical through-hole LED, the longer lead is usually the anode and the shorter
lead is the cathode.

The flat edge of the LED body often indicates the cathode.

**Important:** Lead length is not reliable if the leads have been trimmed. Check
the manufacturer’s markings or datasheet when uncertain.

## 3. What Is a Resistor?

A resistor is an electronic component that limits current and creates voltage drops
in a circuit.

Resistance is measured in ohms (Ω).

Common values used in beginner LED circuits include:

 * 220 Ω
 * 330 Ω
 * 470 Ω
 * 1 kΩ

A resistor helps prevent excessive current from damaging an LED.

## 4. Resistor Color Codes

Many through-hole resistors use colored bands to indicate their resistance.

Examples of common four-band, 5%-tolerance resistors:

  |  Resistance |  Color bands |  
 |  220 Ω |  Red, Red, Brown, Gold |  
 |  330 Ω |  Orange, Orange, Brown, Gold |  
 |  470 Ω |  Yellow, Violet, Brown, Gold |  
 |  1 kΩ |  Brown, Black, Red, Gold |

For a four-band resistor, the first two bands represent digits, the third is the
multiplier and the fourth indicates tolerance.

## 5. Calculating an LED Resistor

Use Ohm’s law:

**R = (Vs − Vf) / I**

Where:

 * R = Resistance in ohms
 * Vs = Supply voltage
 * Vf = LED forward voltage
 * I = Desired LED current in amperes

**Example:**

Supply voltage = 5 V
LED forward voltage = 2 VDesired current = 10 mA = 0.01 A

R = (5 − 2) / 0.01

R = 300 Ω

Choose the next higher common resistor value, **330 Ω**.

Actual LED forward voltage varies by type and color, so use the component datasheet
where available.

## 6. Components Required

 * Red, green and yellow 5 mm LEDs
 * 220 Ω, 330 Ω and 470 Ω resistors
 * Breadboard
 * Digital multimeter

## 7. Practical Activity: Identify Components

 1. Examine the LED and identify its anode and cathode.
 2. Identify the resistor color bands.
 3. Set the multimeter to resistance mode.
 4. Measure each resistor and compare it with its nominal value.
 5. Record the results in a notebook.

**Safety:** Never measure resistance on a powered circuit.

## 8. Common Mistakes

**LED connected in reverse:** The LED may not illuminate.

**No current-limiting resistor:** Excessive current may damage the LED.

**Incorrect resistor value:** Brightness may be too low or current may be excessive.

## 9. Lesson Summary

LEDs are polarity-sensitive components that emit light when forward-biased. Resistors
control current and help protect LEDs.

##  
