By Andrew Hazleton, Updated Mar 24, 2022
Light‑Emitting Diodes (LEDs) are versatile components used for status indicators, backlighting, and decorative illumination. Because LEDs conduct current in only one direction and their brightness is directly tied to the current flowing through them, a simple resistor is required to protect the device from over‑current. This guide walks you through the steps to safely power an LED from a 9‑V battery.
Step 1 – Review the LED Datasheet
Identify the maximum current rating (Imax) and the typical forward voltage (Vf).
- Example: Imax = 20 mA, Vf = 2 V
Step 2 – Calculate the Resistor Drop
The voltage that the resistor must drop is the battery voltage minus the LED’s forward voltage.
- Vr = Vbatt – Vf = 9 V – 2 V = 7 V
Step 3 – Set a Safe Operating Current
Choose a current that is roughly 75% of the maximum to extend LED life.
- Iwork = Imax × 0.75 = 20 mA × 0.75 = 15 mA
Step 4 – Select the Resistor Value
Use Ohm’s Law: R = Vr / Iwork.
- R = 7 V / 0.015 A ≈ 466 Ω
- Choose the next standard value up (e.g., 470 Ω) if 466 Ω is unavailable.
Step 5 – Assemble the Circuit
- Connect one end of the resistor to the positive (+) terminal of the 9‑V battery.
- Connect the other end of the resistor to the anode (longer lead) of the LED.
- Connect the cathode (shorter lead) of the LED to the battery’s negative (–) terminal.
- The LED should illuminate at a safe brightness.
Things You’ll Need
- 9‑V battery
- Resistor (≈470 Ω)
- LED (specify Imax and Vf)
- Data sheet for the LED
Quick Reference (TL;DR)
- Without datasheet info, start with a 2.2 kΩ resistor and adjust downwards.
- The cathode is the shorter lead, often positioned near the flat edge of a round LED.
- To connect multiple LEDs in series, subtract each LED’s Vf from the battery voltage to determine the resistor drop.
Safety Note
Exceeding the LED’s maximum current by using a resistor that is too small will damage the LED. Always verify calculations before powering the circuit.
References
- "Electronics for Dummies," Cathleen Shamieh & Gordon McComb, 2009.