Skip to main content

Oyvind's Circuit Tips: How to choose resistor for an LED

Did you know that an LED (Light-Emitting Diode) should always have a resistor in series to avoid it burning up?

But to choose the resistor, you need to know the forward voltage of the LED and the current it needs.


How do you find these?

The easiest way is to just look it up in the datasheet. But if you don't have the datasheet, here are two options:

  1. You could find the LED voltage by using a multimeter with diode function. The multimeter does the job for you and tells you the values.
  2. You could connect the LED to a battery with a potentiometer. Start with high resistance on the potentiometer and gradually decrease it until you have a nice brightness. Then measure the voltage over the LED, and calculate the current going through the circuit.


Let's say the LED needs 15 mA and has a voltage drop of 2 volts. If you have a 5V power source that you would like to power it with. What resistor value do you need?

To find the resistor value, you start by finding the voltage drop over the resistor. Since there is a 2-volt drop over the LED, there will be a 3V drop over the resistor.

So you have 3V across the resistor, and you want to have 15 mA going through it.

To find the necessary resistor value, use Ohm's law:


So the necessary resistor value for the LED is 200 Ohms.


Keep On Soldering!
Oyvind @ build-electronic-circuits.com

PS! Whenever you're ready, here are two ways I can help you learn electronics:

  1. Getting Started With Electronics​ is a short and beginner-friendly eBook I wrote to help people get started. It contains clear and simple instructions to get started building electronics. Perfect for complete beginners.
  2. ​Join Ohmify​: Ohmify is for people interested in electronics who want to learn skills like PCB design, soldering, and project-building - while also getting a proper understanding of the basics.

Comments

Popular posts from this blog

Valued Subscriber, The meteoric rise in SATCOM

The meteoric rise in SATCOM   View web version 9 May 2024 — Issue 19 | Vol 9     Source Products   |   Webinar Library   |   Standards The meteoric rise in SATCOM The proliferation of satellite communication (SATCOM) terminals is a testament to human ingenuity, enabling data exchange from literally any point on the globe to another. Read more  → American Power Design, Inc. Miniature 3 W high voltage converter with output to 6,000 V The J3 Series DC/DC converters output voltage is controllable from 0 to 100% which provides positive and negative outputs from one single, compact, low-cost, high-voltage module.   View more ...

Electromagnetic Radiation Tester 👉 Save 22% now!

This radiation survey meter is used to test and learn electromagnetic radiation situation indoor and outdoor. View online ...

Weekend DIY electronics projects! Talking colorimeter, gamma ray measurement, and more

If you can't see this message properly, view it in your browser. May 3, 2024 | #589    Measure Gamma Rays with a Photodiode: Radiation Detector Using a BPW34 The first device that springs to mind when thinking about measuring radioactivity is the Geiger-Müller tube. However, these counter tubes can be difficult to find and expensive; and, even if you do manage to get hold of one, you will still need to find a way to generate its operating voltage of several hundred volts. It is less well known that even a humble photodiode such as the BPW34 can be used to detect X-rays and gamma radiation.   more...     The Andonstar AD210, an Affordable Digital Microscope with a 10.1" Display The Andonstar AD210 is an entry-level model digital microscope with a large 10.1...