Resistor Question - Page 1
Forum section: electronics / projects

author: zarnold16
author_rank: Contributor
timestamp: December 07, 2014, 02:23:57 am
content: Im making a LED christmas tree that will be powered off an 5V power supply with 1Amp. The LEDs FV is 3.2V and use 24mA. I was gonna use 25 leds for the tree and was wondering what resistor to use. Or do i need one resistor for each led if so then i will have to redo the design.Thanks in advanced,zarnold

author: IanB
author_rank: Super Contributor
timestamp: December 07, 2014, 02:38:03 am
content: You need one resistor per LED. Each resistor should be about 100 ohms.(By the way, twenty five 100 ohm resistors won't cost very much if you buy them in bulk.)

author: VEGETA
author_rank: Super Contributor
timestamp: December 07, 2014, 03:03:30 am
content: yes, one resistor per LED. Or, you can use a current source instead of a voltage source. I saw this from one of Dave's videos about modifying a magnifier scope or something.

author: nixfu
author_rank: Unknown
timestamp: December 07, 2014, 03:17:44 am
content: There resistors are needed to limit the current to EACH LED. So, yes you do need them on each one.

author: c4757p
author_rank: Super Contributor
timestamp: December 07, 2014, 03:26:22 am
content: Slightly more in depth: if you share a resistor among multiple LEDs, like this:It will work in a perfect, simulated world, but not this one. When the LEDs glow, they warm up. As they warm up, they drop in impedance, taking more current for a given voltage. They all have the same voltage applied to them, because they're directly in parallel, so any LED which has lower equivalent impedance (due to variations in manufacturing or temperature or whatever) will draw more current. This one will heat upmore, dropping in impedance evenmore, and this unlucky LED will soon end up consumingmostof the power while the others consume hardly any.He pops, and the next one follows. Give it a short while and they're all dead.In a lower-power scenario, he might not pop, but he'll glow much more brightly than the others and the whole thing will look like crap.If each one has a resistor, then if it starts to draw more current, its resistor will drop the voltage, providing a negative feedback effect which limits the current to a reasonable level:The voltage drop across a resistor isVwhich is equal toI, the current through it, timesR, its resistance.V=IR, the definition of resistance. So, given a total 5V, and a 3.2V forward voltage, the resistor should have the remainder (5V - 3.2V = 1.8V) across it, with 24mA through it, so 1.8V/24mA = 75 ohms.However - any LED drawing 24mA at 3.2V will be bright as fuck. Are you sure you want to run 24mA through them? Is this the desired current, or just the devices' maximum?

author: mikerj
author_rank: Super Contributor
timestamp: December 07, 2014, 10:19:12 am
content: Quote from: VEGETA on December 07, 2014, 03:03:30 amEven with a single current source you will get uneven current sharing between the LEDs unless resistors are added.

author: Zero999
author_rank: Super Contributor
timestamp: December 07, 2014, 10:37:41 am
content: Quote from: mikerj on December 07, 2014, 10:19:12 amUnless they're connected in series.

author: dannyf
author_rank: Super Contributor
timestamp: December 07, 2014, 12:26:09 pm
content: QuoteIt is a lot easier to use one resistor per led. A more complex approach is to use an led driver and put those leds in serial.

author: VEGETA
author_rank: Super Contributor
timestamp: December 07, 2014, 04:06:35 pm
content: Quote from: mikerj on December 07, 2014, 10:19:12 amcan you explain why? current is what's important for LEDs, and with a precise current source... what can go wrong?thanks

author: hans maree
author_rank: Contributor
timestamp: December 07, 2014, 04:07:32 pm
content: I would advice against driving 25 leds in series, as that would require around 80 volts, not the safest thing to have in a Christmas treeYou could do several strings of leds in parallel but that would require more wiring so i would go for the one resistor per led option.

author: c4757p
author_rank: Super Contributor
timestamp: December 07, 2014, 04:14:38 pm
content: Quote from: mikerj on December 07, 2014, 10:19:12 amWe're discussing things connected in parallel and driven by a voltage source, and when things switch from voltage to current they usually switch between parallel and series as well, so....

author: Richard Crowley
author_rank: Super Contributor
timestamp: December 07, 2014, 04:16:01 pm
content: Quote from: VEGETA on December 07, 2014, 04:06:35 pmJelly-bean mass-production LEDs are NOT exact. They each have slightly different characteristics that get "swamped out" with individual current-limiting resistors.But if you expect to run several of them at exactly the same voltage, you will reveal the small variations in the individual diodes.That is why it is prefereable to operate from a higher voltage, so you can connect several LEDs inseriesif you want to save on limiting resistors.Note that there are many LED resistor calculators available online.For example, here is one where you can enter the number of LEDS, their operating parameters, and the supply voltage...http://led.linear1.org/led.wizIf you were operating your circuit from an 18V wall wart (for example, you would have a very simple 5x5 array of LEDs.Each string of 5 leds with a 100 ohm limiting resistor.

author: Totalsolutions
author_rank: Contributor
timestamp: December 07, 2014, 04:34:00 pm
content: Running a constant voltage source 5v 5w about £5 cost no resistor and all fine. Was a set of outdoor lights.

author: c4757p
author_rank: Super Contributor
timestamp: December 07, 2014, 04:55:35 pm
content: Lucky you.

author: IanB
author_rank: Super Contributor
timestamp: December 07, 2014, 07:11:04 pm
content: Quote from: hans maree on December 07, 2014, 04:07:32 pmExcept the standard solution for light strings is to put many bulbs in series and plug them directly into the mains. For example in the UK you might have a string of twenty 12 V bulbs wired in series to match the 240 V mains voltage. The lamp holders are carefully insulated so you can't touch any metal parts and there is a low current fuse in the loop to prevent fires in the event of a fault.By comparison, an isolated, current limited 80 V supply for a string of LEDs would be rather safer. Especially with the current limited to 10 mA or so.

author: hans maree
author_rank: Contributor
timestamp: December 07, 2014, 08:00:43 pm
content: QuoteGood point. But assuming the OP is a beginner I would still advise sticking to low voltage (out of an of the shelve wall wart). Otherwise one mistake could easily result in a dangerous situation. Besides, how many houses burned down due to faulty Christmas tree lights?But if you know what you are doing, there is indeed nothing wrong with putting then all in parallel.

author: mikerj
author_rank: Super Contributor
timestamp: December 10, 2014, 06:20:14 pm
content: Quote from: c4757p on December 07, 2014, 04:14:38 pmWhat a bizarre argumentThings do not suddenly switch themselves from parallel to series connected because you are using a current source instead of a voltage source. You can run a bunch of parallel connected LEDs perfectly well from a current source, provided current sharing resistors are used, just as you can drive a series connected string of LEDs from a voltage source with a single current limiting resistor.

author: Richard Crowley
author_rank: Super Contributor
timestamp: December 10, 2014, 09:39:14 pm
content: Quote from: hans maree on December 07, 2014, 08:00:43 pmQuoteQuote