Author Topic: LEDs and Resistors  (Read 2209 times)

0 Members and 1 Guest are viewing this topic.

Offline BrownTopic starter

  • Contributor
  • Posts: 45
LEDs and Resistors
« on: February 16, 2014, 05:30:16 pm »
So, that's the different between this. (I was looking at shift reg. and the arduino) Thanks!
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5104
  • Country: ro
  • .
Re: LEDs and Resistors
« Reply #1 on: February 16, 2014, 06:08:29 pm »
left side: each led is limited to a particular current by its own resistor ...  ex each led is limited to 10mA , then total current is 10x8 = 80mA.

right side: all leds are limited to a current value set by the resistor.... ex r9 limits the current to 20mA, then each led gets more or less  20mA / 8 = 2.5 mA .  More or less because some leds will draw a bit more current, others will draw less.
Also note that if one led burns out/gets damaged, the rest of the leds will share the same current, for example 20mA / 7 = 2.85mA. If you're unlucky, 1-2 faulty leds can cause a cascade and burn all the leds.

=> the left version is preferred.

note that a lot of shift registers can only do about 25-50mA so you might want to use npn transistors at the outputs of the shift register (with a suitable small value resistor between output and npn base) and get the current from another input, don't power the leds straight from the shift register if you want them to be bright.
« Last Edit: February 16, 2014, 06:18:10 pm by mariush »
 

Offline BrownTopic starter

  • Contributor
  • Posts: 45
Re: LEDs and Resistors
« Reply #2 on: February 16, 2014, 06:19:40 pm »
oh ok, thanks!
 

Offline con-f-use

  • Supporter
  • ****
  • Posts: 807
  • Country: at
Re: LEDs and Resistors
« Reply #3 on: February 16, 2014, 09:21:42 pm »
Or if you voltage is high enough you can wire them in series and use one limiting resistor for all of them. Or you can construct a constant current source with a few passives.
 

Offline Nerull

  • Frequent Contributor
  • **
  • Posts: 694
Re: LEDs and Resistors
« Reply #4 on: February 16, 2014, 09:29:44 pm »
Diodes can be subject to current hogging and thermal runaway when wired in parallel. The current through a LED is dependent on voltage and temperature. If one diode gets a bit warmer than the others, it will start taking up a larger share of the current - which makes it even warmer, leading to more and more current until the LED fails.

Current limiting resistors on each LED prevent this.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf