LED Resistor Values

Like the bearing size code, resistor values for LEDs is something that I keep needing to work out, or just go back to my nominal somewhere between 200 Ω and 1 kΩ rule of thumb. The Vf on the chart below is also fairly rule of thumb, but in general, without looking at the datasheet for a specific LED, these values are a good place to start.

While I could work it out every time I need it, using the equation:

Resistor = (Supply Voltage – LED voltage(Vf)) / desired LED current(If)

And then chose the nearest common resister value. I have just assembled the following table:

 

If 20 mAIf 10 mAIf 5 mA
ColourVf3V35V12V3V35V12V3V35V12V
Red1.7V82Ω180Ω560Ω180Ω330Ω1k2Ω330Ω680Ω2k2Ω
Orange2V68Ω150Ω560Ω150Ω330Ω1kΩ270Ω680Ω2k2Ω
Yellow2.1V68Ω150Ω560Ω120Ω330Ω1kΩ270Ω680Ω2k2Ω
Green2.2V56Ω150Ω560Ω120Ω330Ω1kΩ220Ω560Ω2k2Ω
Blue3.2V5.6Ω100Ω470Ω10Ω180Ω1kΩ22Ω390Ω1k8Ω
White3.2V5.6Ω100Ω470Ω10Ω180Ω1kΩ22Ω390Ω1k8Ω

All of the above resistors can be 1/4 W resistors; most values will work on 1/8 W resistors, however, I only stock 1/4 W.

The values for series resistors for Blue and While LEDs when running off a 3.3V supply need to be checked, since the Vf of these LEDs is typically around 3.2V, which leaves only 100 mV across the resistor. As the Vf can vary quite a bit from device to device, as well as by temperature, there will be a LOT of variation in diode current…

If you are doing anything more than prototyping, I would recommend getting the data sheet for the LEDs you are using and testing it out on a breadboard before you commit to PCB layout, and take that time to work out the best value of a resistor for your needs.

I made these Breadboard LEDs previously with all the same 560 Ω value resistors, which, as you can see from the above chart, is set for 20 mA forward current at 12V and between 5 and 10 mA at 5 V, so that one value can be used on a very wide band without causing long-term damage to the LED.

If I wanted to make the LED appear dimmer, I could have used a higher value resistor.

Leave a Reply

Your email address will not be published. Required fields are marked *

The maximum upload file size: 20 MB. You can upload: image, audio, video, document, spreadsheet, interactive, text, archive, code, other. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop files here