36 leds in series through usb ? how is that possible ? - Page 1
Forum section: electronics / beginners

author: respoda
author_rank: Contributor
timestamp: March 04, 2018, 11:14:28 pm
content: Hi, I'm a complete noob so bare with me...I have 'some' understanding of the bare-knuckle basics but it is extremely limited.Just so you know, because what's coming next may be a really stupid question, though I just want to understand better.I have a usb desk lamp, and it has 36 (!!!) leds (in plain series as it seems). First off, I do know this is not a good idea to do since the provided voltage through usb is going to be too low. White led's have a forward voltage of about 3.4 (?) volts, so in series that would require 3.4x36= 122.4vDespite this it used to shine pretty bright none the less. I tore it apart a while ago, and remember there was a small brown ceramic capacitor (I think ?) between the plus and the switch, but I didn't look at its values. I'm trying to make it work again, but haven't added a resistor yet and thus the leds all shine pretty weak. I may have broke them already perhaps and they're simply dying, that or they're running on way too low voltage.My question:a) how is it possible, if these leds need 3.4v each, that a usb 'low' voltage source could make these 36 leds shine bright (in SERIES ?) with just a tiny ceramic capacitor ? The voltage is always going to be too low, so I don't get it... they really seem to be mounted just in series. They're all on a round piece of pcb, and they seem to be all interconnected on the pcb. Nothing else on it except those leds, and a plus/minus wire connected to the plus/minus of the pcb...b) How can I determine which resistor would make them shine brighter, perhaps figuring out how it was configured originally ?There really was nothing in this lamp except the leds, a tiny wire connecting them to a switch and some tiny capacitor in betweenplus wire and switch.

author: Brumby
author_rank: Unknown
timestamp: March 04, 2018, 11:27:38 pm
content: IF the LEDs are, in fact, in series, then there will have to be a boost circuit somewhere.If you have access to the points of the LED string where each LED connects to the next, apply your power, pick a reference point and take voltage readings.Pictures would be good - but make sure they are well lit and in sharp focus. (Getting close is useless if all we can see is fuzz and/or more shadow than detail.)

author: jim_griff
author_rank: Regular Contributor
timestamp: March 05, 2018, 02:12:24 am
content: If there is only a capacitor and LEDs then they will most likely be wired in parallel with the capacitor acting to smooth any potential ripple that could cause flickering.If they are in series then a boost converter is required.One thing you can do to check is to get it on a power supply (3.2V non current-limited) and connect it across one of the LEDs. If all light up then they're in parallel. If only one lights up and the rest dont, then it's in series.

author: respoda
author_rank: Contributor
timestamp: March 05, 2018, 03:10:45 pm
content: Ok, thanks for clarifying that.Here's a picture of the pcb :Also, the upload feature for images seems to not work.I can upload it but can't add it to the post ?

author: paulca
author_rank: Super Contributor
timestamp: March 05, 2018, 03:16:22 pm
content: They appear to be in parallel to me.How do they prevent the current flowing through only a few of them? Last time I put two LEDs in parallel on a breadboard only one of them lit, the other flickered.

author: plazma
author_rank: Frequent Contributor
timestamp: March 05, 2018, 03:23:52 pm
content: There are leds with built in series resistors.

author: respoda
author_rank: Contributor
timestamp: March 05, 2018, 03:25:37 pm
content: correction, it is automatically added to the post it seems. Didn't show up in the preview though.

author: respoda
author_rank: Contributor
timestamp: March 05, 2018, 03:27:26 pm
content: Quote from: plazma on March 05, 2018, 03:23:52 pmYou think these are such leds ?In any case, I should be able to measure it somehow ?This pcb and the resistor were all inside the lamp housing...

author: respoda
author_rank: Contributor
timestamp: March 05, 2018, 03:29:54 pm
content: Quote from: paulca on March 05, 2018, 03:16:22 pmSo this is what I do not get: since they are all interconnected on the pcb's plus/minus, I'd think they are in series ?Parallel they would all have their separate connection and 'not' be interconnected like this...or am I seeing this completely backwards ?

author: Audioguru
author_rank: Super Contributor
timestamp: March 05, 2018, 03:32:00 pm
content: My cheap Chinese flashlight has 24 white LEDs all in parallel like this one. The internal resistance of the "super heavy duty" leaky battery limits the current and a kid in China was paid a bowl of rice to test thousands of LEDs and group them into piles that have the same forward voltage.

author: plazma
author_rank: Frequent Contributor
timestamp: March 05, 2018, 03:35:50 pm
content: Quote from: respoda on March 05, 2018, 03:29:54 pmYou got it backwards. In parallel all leds share the same anode and cathode node.

author: Audioguru
author_rank: Super Contributor
timestamp: March 05, 2018, 03:37:02 pm
content: Why not look in Google?:

author: respoda
author_rank: Contributor
timestamp: March 05, 2018, 03:38:42 pm
content: Quote from: Audioguru on March 05, 2018, 03:32:00 pmWell, this one was cheap as f* as well. I think it cost me 4 or 5 euro's (that's about 6 bucks)...So the psb 'does' indicate a 'parallel' connection here ? Seems I am seeing it completely wrong then...

author: respoda
author_rank: Contributor
timestamp: March 05, 2018, 03:40:02 pm
content: Quote from: Audioguru on March 05, 2018, 03:37:02 pmThanks! Hadn't thought of that yet :/Seems pretty obvious here indeed

author: respoda
author_rank: Contributor
timestamp: March 05, 2018, 03:44:02 pm
content: Now that I know they're in parallel I can start some testing as to why they are shining too dim.I guess it's simply the ceramic capacitor then which I need to add. Just a matter of calculating the correct value...Many thanks for the responses, you guys are awesome.

author: Audioguru
author_rank: Super Contributor
timestamp: March 05, 2018, 07:30:33 pm
content: USB has 4 wires. Some of them require resistors across the two extra wires of the jack to tell it how much current to produce.Maybe your USB before always provided high current for high brightness but now maybe you are using a different USB that provides low current for low brightness.

author: paulca
author_rank: Super Contributor
timestamp: March 05, 2018, 08:15:12 pm
content: Quote from: Audioguru on March 05, 2018, 07:30:33 pmThe resistors across the D+ D- wires tell the device how much current to pull. You can put a 2.5Ohm resistor across Vcc/GND of a USB port and pull 2A and the device supplying the current will just drop it's voltage ... or go on fire.Are all of the LEDs lit at all? Are any of them "out", dead? If a single one fails short circuit the whole setup is fried and needs to be put in the bin before you fry the device powering it.In fact putting so many cheap LEDs in parallel is asking for trouble, even if they have current limiting resistors which they will need or one single LED will take most of the current and explode showering little bits of burning plastic into your face if you are unlucky.I'd bin it and move on.

author: Brumby
author_rank: Unknown
timestamp: March 05, 2018, 10:22:37 pm
content: Quote from: paulca on March 05, 2018, 08:15:12 pmThose LEDs have probably already been binned.Parallelling LEDs like this seems to be becoming more common - and itwillworkif the Vfof all of them are close enough. Manufacturing processes have no doubt improved over the years and to believe they are tight enough to allow this sort of array construction is not outside credibility.I'm inclined to agree with this:Quote from: Audioguru on March 05, 2018, 07:30:33 pm

author: tooki
author_rank: Super Contributor
timestamp: March 06, 2018, 03:48:22 am
content: Assuming they’re normal (not high-power) white LEDs, assume 20-30mA per LED. (When loads are in parallel, you add their current.) 36*20 = 720mA, 36*30 = 1080mA.Many cheaper USB chargers — as well as the standard USB ports on computers — provide only 500mA.When lit, what voltage do you measure across an LED?

author: mariush
author_rank: Super Contributor
timestamp: March 06, 2018, 04:09:57 am
content: you also have to account for pcb track resistance which could be 50-100mOhm maybe even more

author: Jwillis
author_rank: Super Contributor
timestamp: March 06, 2018, 08:15:19 am
content: Not sure what led he has on that thing but a standard 5mm has an forward current (If) of 12ma. That's 432 ma for 36 in parallel.

author: kjr18
author_rank: Regular Contributor
timestamp: March 06, 2018, 09:06:09 am
content: Don't forget about wire resistance. Thin wires act as a current limiting resistor. Led's don't need 20 mA to shine brightly. Even 10mA per diode is enough to shine brightly, as modern led's are very efficient, even 1mA is sometimes enough to use as a indicator.

author: tooki
author_rank: Super Contributor
timestamp: March 06, 2018, 02:44:34 pm
content: Quote from: Jwillis on March 06, 2018, 08:15:19 amYou can’t make a proclamation like that. Typical is 20 mA, but white LEDs are often driven harder.

author: tooki
author_rank: Super Contributor
timestamp: March 06, 2018, 02:45:37 pm
content: Quote from: kjr18 on March 06, 2018, 09:06:09 amYes, for indicators. But in LED lighting they’re often driven hard, 30 or even 40mA.

author: Audioguru
author_rank: Super Contributor
timestamp: March 06, 2018, 06:58:57 pm
content: Quote from: tooki on March 06, 2018, 02:45:37 pmI looked at the datasheets in Google for a few 5mm white LEDs. 30mA absolute maximum (not enclosed but in in a cool ambient) and 20mA is typical for their brightness rating.I think 40mA would burn out a white LED out soon.

author: tooki
author_rank: Super Contributor
timestamp: March 06, 2018, 08:39:57 pm
content: Quote from: Audioguru on March 06, 2018, 06:58:57 pmWhich is precisely what happens in a lot of cheap Chinesium products! :pBut also, a lot of the LEDs do tolerate it, even if it is out of spec, with reduced lifetime that isn’t short enough to be alarming. (The absolute max ratings are just the maximum the manufacturer guarantees to not cause damage, right?) The SMD versions are a bit more tolerant of overcurrent, in that they can sink a bit more heat than the THT versions.But I did first say to assume 20-30mA.

author: respoda
author_rank: Contributor
timestamp: March 06, 2018, 11:52:52 pm
content: Quote from: Audioguru on March 05, 2018, 07:30:33 pmI didn't know that about the extra wires (white and green).Should be fun dabbling with that...Though I'm pretty sure it's just the red and black being used in this lamp...

author: respoda
author_rank: Contributor
timestamp: March 07, 2018, 12:01:28 am
content: Quote from: paulca on March 05, 2018, 08:15:12 pmIt's been running for many hours, and none of them are dead or out, they all stay lit but very dim...It makes me believe they're just not getting enough power, but it's just a hunch, I'm guessing here.Quote from: paulca on March 05, 2018, 08:15:12 pmIn fact I already switched the 36-led pcb with another 3-led pcb that already had a resistor and capacitor built-in,tested it and works a treat.I still have the 36-led pcb, still planning to figure out what made/makes it tick (correctly)...wishful thinking perhaps.

author: respoda
author_rank: Contributor
timestamp: March 07, 2018, 12:08:36 am
content: Quote from: tooki on March 06, 2018, 03:48:22 amIt was 3.3xx something, but I'm using a cheap meter, so it could be a tad off. Let's say between 3.2 and 3.4v.That was before it got ripped apart. Haven't measured afterwards (my mistake), I just switched to another 3-led setup for the intended purpose.

author: respoda
author_rank: Contributor
timestamp: March 07, 2018, 12:10:37 am
content: Quote from: kjr18 on March 06, 2018, 09:06:09 amAs you know the wires in a usb cable are very,...very thin.

author: ucanel
author_rank: Regular Contributor
timestamp: March 07, 2018, 01:38:46 am
content: That is why do not wire the leds parallel,every individual led or series led groupshould be used with series resistorsbefore wiring it with another led or led group.I guess one of the led in that circuithad a lower operating voltage,if you detect and get rid of that onerest of the leds will start to become brighter again.The suspected one would be the brightest one,I don't know may be the dimmest one.Also:When a led gets hotterit's resistance gets lower,means it draws more current,if it draws more currentit gets even hotter,if it gets even hotterit draws even more currentit is getting nowhereexcept killing itself.So if there is not any resistor forlimiting the current for each of the ledsthis problem eventually happens.You may also search for the hottest led in your circuitto find the guilty one .

author: saike
author_rank: Regular Contributor
timestamp: March 07, 2018, 07:21:00 am
content: I was asked to look at a bunch of large 250Watt (12cm dia. x 20cm long) led lamps recently that had been used outside in the rain and had stopped working. Inside they had a fairly comprehensive step down voltage converter and current limit circuit which showed obvious signs of water damage.The surprising thing was, there was no sign of any resistors on any of the leds, they just appeared to be connected in series/parallel combinations to work somewhere around 48Volts . I removed the controller and tried the leds on a 48 volt power supply, trimmed down to 44 volts and the current draw was around 4.5 amps. The rest of the job was done like this with all the lamps running from whatever 40-48V power supplies we could get in a hurry. None of the leds failed.

author: tooki
author_rank: Super Contributor
timestamp: March 07, 2018, 01:18:51 pm
content: Quote from: respoda on March 07, 2018, 12:10:37 amThe wires incheapUSB cables are very thin. In proper ones, the ground and V+ conductors are nice and thick.

author: tooki
author_rank: Super Contributor
timestamp: March 07, 2018, 01:20:57 pm
content: Quote from: respoda on March 07, 2018, 12:08:36 am3.3V sounds typical for a white LED. So those are normal white LEDs with no built-in series resistors.(By the way, your cheap meter is almost certainly accurate. Even the $2 DMMs usually agree within a few counts of an expensive meter. It’s features, reliability, and safety for mains use that you pay for in a better meter.)

author: tooki
author_rank: Super Contributor
timestamp: March 07, 2018, 01:23:49 pm
content: Quote from: ucanel on March 07, 2018, 01:38:46 amCorrect.That said: Please do not break your text into such short lines, it makes it harder to read. (And it looks like a poem, LOL!) Just separate your paragraphs.

author: ucanel
author_rank: Regular Contributor
timestamp: March 07, 2018, 03:42:07 pm
content: @saike As mentioned, if you can get the chemistry right, you can use leds paralel.The manufacturing process must be different from many cell power leds vs individual 5mm leds.And power led you described has very good large heat sink.@tooki thank you for your warning but it is my habit, I am writing in every forum like that.It looks more readable to me. If I get more wishes like that I may write as everyone wanted.And wiriting a poem in English, I couldn't dare even in my mother tongue

author: respoda
author_rank: Contributor
timestamp: March 07, 2018, 10:31:32 pm
content: Quote from: tooki on March 07, 2018, 01:23:49 pmThat was my first impression tooThere was one led that seemed to flicker a bit after I took it apart and 'remodeled' it,I thought it was just because of the lack of a resistor.Could be it's the cluprit causing them all to stay dim...I'll yank it out and see if it makes a difference.

author: respoda
author_rank: Contributor
timestamp: March 07, 2018, 10:37:31 pm
content: Quote from: ucanel on March 07, 2018, 03:42:07 pmIn fact I am kind of an amateur poet, I even had some poems released a while ago through poetry.com.Your comment does have the structure for a decent poem. Got all the paragraphs neat and tight :p