Author Topic: Setting LED voltage/resistor value?  (Read 1084 times)

0 Members and 1 Guest are viewing this topic.

Offline drummerdimitriTopic starter

  • Frequent Contributor
  • **
  • Posts: 525
  • Country: lb
Setting LED voltage/resistor value?
« on: August 23, 2019, 05:00:08 pm »
So I'd like to add a small LED to indicate that the power switch is on in a very basic circuit, however I've never known how to figure out what voltage to set them at (in this case resistor value to drop 12V DC).

Do I need to use my DMM in its diode test function? Will that give me the minimum voltage but not the max or ideal voltage?

I know different LED colors will have different required voltages. Surely I would then need to use Ohms law to figure out what resistor value I need to drop the VCC down to.

 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3249
  • Country: us
Re: Setting LED voltage/resistor value?
« Reply #1 on: August 23, 2019, 05:19:36 pm »
All LEDs have voltage drops of 2 to 3 volts and will be adequately illuminated with 10 ma, so just base your initial resistor calculations on that and adjust as necessary.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 6620
  • Country: ca
Re: Setting LED voltage/resistor value?
« Reply #2 on: August 23, 2019, 05:25:08 pm »
Some leds will light at 1.25v  ... and have 20 ma current consumtion ,,,
 

Offline MarkF

  • Super Contributor
  • ***
  • Posts: 2648
  • Country: us
Re: Setting LED voltage/resistor value?
« Reply #3 on: August 23, 2019, 05:28:50 pm »
You do not set the voltage for LEDs.  You set their current.
Most individual LEDs have a max current of 20mA and a forward voltage drop between 1.5V to 3V.

If you want a quick and dirty calculation, just ignore the LED voltage drop and calculate a resistor based on the supply voltage and a 15mA to 20mA current.  Realizing that the current will be slightly smaller due to the voltage drop across the LED.

Otherwise, the resistor value = Rmin = (Vsupply - Vled) / Iled
« Last Edit: August 23, 2019, 07:10:48 pm by MarkF »
 

Offline drummerdimitriTopic starter

  • Frequent Contributor
  • **
  • Posts: 525
  • Country: lb
Re: Setting LED voltage/resistor value?
« Reply #4 on: August 23, 2019, 05:36:04 pm »
Good to know thanks!

What about the safe max current for LED's? Surely they must exhibit some strange behavior that I could capture on my graphical sampling DMM before they die  :-//
 

Online DimitriP

  • Super Contributor
  • ***
  • Posts: 1379
  • Country: us
  • "Best practices" are best not practiced.© Dimitri
Re: Setting LED voltage/resistor value?
« Reply #5 on: August 23, 2019, 05:37:46 pm »
Another LED Series Resistor Calculator lives here (and in a few other places):

https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-led-series-resistor
   If three 100  Ohm resistors are connected in parallel, and in series with a 200 Ohm resistor, how many resistors do you have? 
 
The following users thanked this post: drummerdimitri

Offline drummerdimitriTopic starter

  • Frequent Contributor
  • **
  • Posts: 525
  • Country: lb
Re: Setting LED voltage/resistor value?
« Reply #6 on: August 23, 2019, 05:39:08 pm »
Another LED Series Resistor Calculator lives here (and in a few other places):

https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-led-series-resistor

Nice to see another forum member that share the same name  ;D

 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3249
  • Country: us
Re: Setting LED voltage/resistor value?
« Reply #7 on: August 23, 2019, 05:41:43 pm »
20 mA is what I limit continuous current to, but most LEDs can be pulsed at much higher currents (on the order of 100 mA for ordinary LEDs, much higher for specialty LEDs - check each device's datasheet.)

An LED without a series resistor doesn't last long:


« Last Edit: August 23, 2019, 05:49:31 pm by ledtester »
 

Offline MarkF

  • Super Contributor
  • ***
  • Posts: 2648
  • Country: us
Re: Setting LED voltage/resistor value?
« Reply #8 on: August 23, 2019, 05:43:24 pm »
Good to know thanks!

What about the safe max current for LED's? Surely they must exhibit some strange behavior that I could capture on my graphical sampling DMM before they die  :-//

You would need to check the datasheet for the particular LED.  I don't know of any way to measure max current.

As a rule of thumb, the max LED current is 20mA.  Going over their max current will shorten their life.  That is why I suggested using 15mA instead of 20mA.  It's a compromise between brightness and LED life.
 
The following users thanked this post: drummerdimitri


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf