In this article I have explained how to calculate LEDs in series and parallel using a simple formula and configure your own personalized LED displays, now you don't just have to wonder how to wire led lights? but actually can do it, know the details here.
These lights are known not only for their dazzling color effects, but also because of their durability and least power consumption.
Moreover LEDs can be wired in groups to form large alphanumeric displays which may be used as indicators or advertisements.
Young electronic hobbyists and enthusiasts are often confused and wonder how to calculate LED and its resistor in a circuit, since they find it difficult to optimize voltage and current through the group of LEDs, required to maintain an optimum brightness.
Why we need to Calculate LEDs
Designing LED displays may be fun, but very often we are just left thinking how to wire led lights? Learn through a formula how simple it is to design your own LED displays.
We already know that a LED requires a particular forward voltage (FV) to get lit. For example a red LED will need a FV of 1.2 V, a green Led will require 1.6 V and for a yellow LED it is around 2 V.
The modern LEDs are all specified with approximately 3.3V forward voltage irrespective of their colors.
But since the given supply voltage to an LED would be mostly higher than its forward voltage value, adding a current limier resistor with LED becomes imperative.
Therefore I have explained how a current limiter resistor may be calculated for a selected LED or a series of LEDs
Calculating Current Limiter Resistor
The value of this resistor may be calculated through the below given formula:
R = (supply voltage VS – LED forward voltage VF) / LED current I
Here R is the resistor in question in Ohms
Vs is the supply voltgae input to the LED
VF is the LED forward voltage which is actually the minimum supply voltage required by an LED for illuminating with optimal brightness.
When a series LED connection is in question, you will just need to replace the "LED forward voltage" with "total forward voltage" in the formula, by multiplying FV of each LED by the total number of LEDs in the series. Suppose there are 3 LEDs in series then this value becomes 3 x 3.3 = 9.9
LED Current or I refers to the current rating of the LED, it may anywhere from 20 mA to 350 mA depending on the specification of the selected LED. This must be converted to amps in the formula, so 20 mA becomes 0.02 A, 350 mA becomes 0.35 A and so on.
How to Connect the LEDs?
To understand this let's read the following discussion:
Let's assume you want to design a LED display having 90 LEDs in it, with a 12V supply to power this 90 LED display.
To optimally match and configure the 90 LED with the 12V supply, you will need to connect the LEDs in series and parallel appropriately.
For this calculation we will need 3 parameters to be considered which are as follows:
- Total number of LEDs which is 90 in our example
- Forward voltage of the LEDs, here we consider it to be 3V for sake of easy calculation, normally this would be 3.3V
- The supply input, which is 12V for the present example
First and formost we have to consider the series connection parameter, and check how many LEDs can be accomodated within the give supply voltage
We do this by dividing the supply voltage by 3 volts.
The answer will be obviously = 4. This gives us the number of LED that could be accommodated within the 12V supply.
However the above condition may not be advisable because that would confine the optimal brightness to a strict 12V supply and in case the supply reduced to some lower value would cause lower illumination on the LED.
Therefore to ensure a lower margin of at least 2V it would be advisable to remove one LED count from the calculation and make it 3.
So 3 LEDs in series for a 12V supply looks good enough and this would ensure that even if the supply was reduced to upto 10V, still the LEDs would be able to light up quite brightly.
Now we would want to know how many such 3 LED strings could be made from our total 90 LEDs in hand? Therefore, dividing the total number of LEDs (90) by 3, we get an answer that's equal to 30.
Meaning you would need to solder 30 numbers of LED series strings or chains, each string having 3 LEDs in the series. That's, pretty easy going right?
Once you finish assembling mentioned the 30nos of LED strings, you would naturally find that each string having its own positive and a negative free ends.
Next, connect the calculated value of resistors as discussed in the previous section to any one of the free ends of each series, you can connect the resistor at the positive end of the string or the negative end, the position doesn't matter because the resistor just needs to be in line with the series, you may even include some wher in between the LED series.Using the earler we find the resistor for each LED string to be:
R = (supply voltage VS – LED forward voltage VF) / LED current
= 12 - (3 x 3) / 0.02 = 150 ohms
Let's assume we connect this resistor to each of the negative ends of LED strings.
- After this, you can begin joining the common positive ends of the LEDs together, and the negative ends or the resistor ends of each series together.
- Finally apply 12 volts supply to these common ends as per the correct polarity. You will instantly find the whole design glowing up brightly with an uniform intensity.
- You may align and organize these LED strings as per the design of the display.
LEDs with an Odd Count
A situation may arise when your LED display contains LEDs in odd numbers.
For example, suppose in the above case instead of 90 if the display would have consisted 101 LEDs, then considering 12V as the supply, it becomes a rather awkward task to divide 101 with 3.
So we find the nearest value which is directly divisible with 3 which is 99. Dividing 99 with 3 gives us 33.
Therefore the calculation for these 33 LED strings would be as explained above but what about the remaining two LEDs? No worries, we can still make a string of these 2 LEDs and put it in parallel with the remaining 33 strings.
However to ensure that the 2 LED string consumed uniform current just like the remaining 3 LED strings, we calculate the series resistor accordingly.
In the formula we simply change the total forward voltage as show below:
R = (supply voltage VS – LED forward voltage VF) / LED current
= 12 - (2 x 3) / 0.02 = 300 ohms
This gives us the resistor value specifically for the 2 LED string.
Therefore we have 150 ohms for all the 3 LED strings, and 300 ohms for the 2 LED string.
In this manner you can adjust LED strings having mismatched numbers of LED by introducing a suitably compensating resistor in series with the respective LED strings.
Thus the problem is easily solved by changing the resistor value for the remaining smaller series.
This concludes our tutorial regarding how to connect LEDs in series and parallel for any given number of LEDs using a specified supply voltage, if you have any related query please use the comment box to get it solved.
Calculating LEDs in Series Parallel in Display Board
So far we leraned how LEDs may be connected or calculated in series and parallel.
In the following paragraphs we will investigate how to design a large numerical led display by joining LEDs in series and parallel.
As an example we will build a number display “8” using LEDs and see how it is wired.
Parts Required
You will need the following handful of electronic components for the construction:
RED LED 5mm. = 56 nos.
RESISTOR = 180 OHMS ¼ WATT CFR,
GENERAL PURPOSE BOARD = 6 BY 4 INCHES
How to Calculate and Construct LED Display?
The construction of this number display circuit is very simple and is done in the following way:
Insert all the LEDs in the general purpose board; follow the orientations as shown in the circuit diagram.
Initially solder only one lead of each LED.
After completing this, you will find that the LEDs are not aligned straight and are in fact fixed in quite a crooked manner.
Touch the soldering iron tip on the soldered LED point and simultaneously push the particular LED down so that its base is pushed flat on the board. Do this for all the LEDs to make them aligned straightly.
Now finish soldering the other unsoldered lead of each of the LEDs. Cut their leads cleanly with a nipper. According to the circuit diagram common up the positives of all the LED series.
Connect 180 Ohms resistors to the negative open ends of each series. Again, common up all the free ends of the resistors.
This ends the construction of the LED display number “8”. To test it, just connect a 12 volt supply to the common LED positive and the common resistor negative.
The number “8” should instantly light up in the form of a large numerical display and can be recognized even from long a distance.
Circuit Functioning Hints
To clearly understand how to design a large numerical led display it will be important to know the circuit functioning in details.
Looking at the circuit one may notice that the whole display has been divided into 7 LED series “bars”.
Each series contains a group of 4 LEDs. If we divide the input 12 volts with 4 we will find that each LED receives 3 volts enough to make them glow brightly.
The resistors make sure that the current to the LEDs is limited so that they may last long.
Now by just joining these series LEDs in parallel we can align them into different shapes to produce a huge variety of different alphanumeric displays.
Readers must have now easily understood how to calculate LED in different modes.
Its just a matter of connecting LEDs first in series, then joining these in parallel connections and applying a voltage to their common positives and negatives.
Mark says
Hello, I’m going to make a DIV nail polishing curing lamp, which will contain 30 led bulbs, with following manufacturer data:
1) Wavelength: 375nm
2. Power: 3W
3. Forward Current: 600-700mA
4. Forward Voltage: DC3.2-3.6V
I’m going to place each led bulb on the 20mm*1mm round PCB Aluminium plates and then place then on the larger aluminum heat sink. Which wiring method and power supply would you recommend?
Would be glad to receive your advice.
Swagatam says
Hi, thanks for the interesting question:
A 3W LED would normally consume around 900 mA, so for 30 LEDs, you would require a total current of 900 * 30 = 27 Amps, that’s a lot of current.
You will need a regulated constant voltage, constant current DC output for your LEDs, which can be achieved using the following basic voltage regulator circuit:
https://www.homemade-circuits.com/wp-content/uploads/2021/01/regulated-power-supply-basics.jpg
For T1 you can use the transistor MJ11028:
https://www.onsemi.com/pdf/datasheet/mj11028-d.pdf
T2 can be a 2N2222 BJT
T3 can be also a 2N2222 BJT.
VR1 can be a 10k preset or trimpot.
R2 = 0.7 / 25 = 0.025 Ohm resistor (power will be 0.7 * 25 = around 20 watts
Input DC can be from a a 6V or 9V 30 amp DC power supply
Diode d1 is not required and can be replaced with a short.
Let me know if you have any further questions.
Mark says
Thank you for your quick response. I didn’t expect that transistor and resistor would need to be implemented manually for my case; wouldn’t the power supply (according to your recommendation, I found one from aliexpress AC 220V to 9V 30A 270W DC) already be self regulating?
2) on your circuit scheme – where are the 30 PCs led bulbs, and how should they be wired?
Regards
Mark
Swagatam says
I am not sure whether your power supply is self regulating or not, if it can automatically adjust the output to 3.3V, 25 Amps then there’s no need of any external regulator circuit.
In the suggested regulator circuit, the LED must be connected at the “+DC OUT” side.
All the LEDs can be wired in parallel.
For extra safety you can add a 1 ohm 1 watt resistor in series with each LED.
Mark says
Thank you for your reply. May I add you on telegram (my account @mark25mark) or WhatsApp (+4917685699047) and show you the foto of the planned power supply unit? I would appreciate if I could consult you on this way where I can show you pictures.
regards
Mark
Swagatam says
Could you please send the pictures to my email?:
homemadecircuits
@gmail.com
I will check it and let you know my opinion here.
Muktadir says
if i connect 1.2 volt 10 led in series circuit with 12 volt line, then can i avoid using register in circuit???
Swagatam says
Yes, then you can avoid the resistor, however the 12V must not exceed at any cost.
Doran says
Hello Swagatam, I built a doll house for my daughter. I would like to use small fairy LEDs to light and decorate it. During Christmas I purchased a roll of fairy lights on very thin silver wire. The lights are about the size of a grain of rice. The package says the string can be cut to length, but it has to be used with the battery pack that comes attached. I need to cut several 3-light, 4-light and 5- light pieces out of the string. How do I wire each of these different light sections? I believe I need a resistor, but I do not know the voltage or current requirements for the LEDs. I would like to use a 9 volt battery to power the lights, but I am open to whatever you may suggest. Thanks!
Swagatam says
Hi Doran, if the package says the string can be cut to length, that means each LED could be having its own individual resistor in the string, otherwise cutting the strip into any desired length might be impossible. So I guess the pieces can all be wired in parallel with the supply voltage. You can try connecting the 3 LED strip with the 9v battery and check the response, if it illuminates normally that would indicate my assumption is correct. If you do not wish to take any risks, then you can try connecting a 470 ohm resistor in series and check the brightness level, and keep adjusting the resistor value until the LEDS illuminates optimally. I would also rather recommend using a 3v DC source first without any resistor that would quickly clarify the minimum voltage level of the string…if it does not illuminate the LEDs you can go a little higher and keep doing this until the right voltage level is identified…
Vonelle says
Dear Mr. Engineer Swagatam,
I am working on my first modling kit of a Spacecraft and am trying to light it. I wanted to use both LED strips in series, but I also wanted to put in slow and reg blinking LEDs to a total of 24. I have a 12V imput.
I found a site that sells 3v LEDS that (even in different colors) that blink and don’t blink respectively, but all are 3V exactly. I also found the same LED lights in 12V. So here’s my question. If I use the 3V and put them in parallel rows of four then I wouldn’t require any resistors? But Could I put them into the same circuit as the LED strips and just split the wire right off the battery source or at any split between LED Strips?
Or Could I just attach the 12V LEDs at the end of any LED Strip and the number wouldn’t matter because they are 12V like the strips themselves?
I’ve soldered just LEDS before, and just LED strips, before but never tried to combine them without a microchip of some sort, but I wouldn’t know the exact way to do that either. Any info to help would be greatly appreciated!
Swagatam says
Thanks Vonelle for posting this question.
Since, the 3V LEDs can be illuminated using 3V supply and also from 12V, that means the LEDs have built-in voltage regulator, and is safe to drive from a 12v dc supply. Therefore you can connect these LED modules using 12v dc at any position in the circuit, you can take the supply directly from the battery terminals or from the end of the existing 12v led strips, it does not matter as long as the 3v LED modules are getting the 12v supply or any supply above 3v.
sanjeev saraswat says
HELLO SWAGTAM, IN ABOVE EXAMPLE U HAVE REDUCED THE NUMBER OF LED FROM 4 TO 3 IF THE BATTERY VOL COMES DOWN. AS FAR AS I KNOW A FULLY CHARGED 12V BATTERY IS AROUND 14.3 V. 3*3.2 V = 9.6V . WILL THE 3 LEDs NOT get DAMAGED.I HAVE DONE THIS PRACTICAL. LEDs GOT DAMAGED..SO PLZ DONT ASSUME ANYTHING ESPECIALLY WHEN IT COMES TO ELECTRICAL CIRCUITS.
ALSO U DONT GIVE VALUE OF ALL RESISTANCES IN MANY POWER SUPPLY CIRCUITS. PLZ GIVE FULL DETAILS SO THAT EVERYONE COULD BENEFIT.
Swagatam says
Hello Sanjeev,
May I ask why you have written in capital letters?
A fully charged 12V battery when disconnected from the charger will settle down to around 12.8 V, and not 14.3 V.
LEDs can never get damaged if a calculated resistor is used in series.
And I have clearly given the formula to calculate the resistor, so the LEDs can never burn with a resistor connected.
I always give values of all parts in my circuit diagrams. What you are saying is incorrect.
Ian Pool says
Good day MR Swagatam.
I have a pcb with 8 smd leds connected in series. leds are 5 x 3 mm in size. These leds are powered from a 6 volt 4A/h sla battery with no current limiting resistors on the pcb( I have checked on the charger pcb to, negative runs straight from the battery to the led pcb and positive runs from the battery through a dpdt switch to the led pc ). This circuit comes from an old emergency light with a dead battery and broken charger circuit. How can I determine the vf and mA for these leds as I would like to use this pcb to make a work light for my small milling machine. I have used a battery from another emergency light with the exact same model number as the light that I obtained this pcb from and when I connect the battery to the pcb the leds light up fairly bright and the pcb warms up fairly fast and I think it is because of no current limiting resistor. I want to power my work light from a 220 volt AC to 6 volt DC wall plug smps. I would like to add current limiting resistor so that the leds does not run so hot and can last longer. There is no markings on the leds or the board so that is why I need to know if there is a way that I can determine the vf and mA rating for each individual led so that I can calculate the current limiting resistor value. If I try to remove one led from the board, I will destroy it, so I will only be able to test with all the leds connected in series.
Thank you.
Swagatam says
Hello Ian,
You can try the following procedure:
Connect a relatively high value resistor such as 1K and connect it in series with one of the supply wires of the LED module.
Next, take a variable power supply and adjust its voltage to around 3V and feed the supply to the LED module through the 1k resistor.
If you find the LED module glowing with some minimum brightness that would mean that the module is rated at 3.3 V.
In this situation you can bypass the 1K resistor with a short link. If this makes the LED much brighter would confirm that the module is rated at 3.3V.
Next connect an ammeter and check the current of the module to find the optimal current requiremeent of the module.
If the module does not glow at 3V, make sure not to remove the 1k resistor and keep increasing the voltage very slowly until the module starts glowing with some minimum brightness.
Repeat the procedure which was done for the 3V indication.
Nuwamanya petr says
Hi! I have about 150 leds to connect and make a word “SALON”. Can i use 12v dc or not and why. Best regards
Swagatam says
Yes you can do it with a 12 V supply, by creating strings of LEDs, having 3 LEDs on each string with a limiting resistor.
Basit mom in says
Hello sir how r u
Sir I want to run 100 led of 3.3v in parallel connection to 230v ac so u have any circuit for that
Swagatam says
Hello Basit, you will have to use an SMPS circuit for this.
Assuming the current rating of each LED is 20mA, then for all the 100 in parallel the current wuld be 2 amps.
So you might need an SMPS circuit rated at 6V 2 amps or 12V 2 amps, then use the following formula for calculating the limiting resistor which must be connected in series with each LED
R = SMPS Voltage – 3.3 / 0.02
Jorge says
Hi, my friend!
I want to use LEDs as a brake light (3-5watt) for a car. Is it possible to use a diode with the following characteristics:
SMD5730
0.5Вw 3-3.4V 150mA
The use of a quenching resistor is not possible due to its large power and size.
I looked at the diagrams on voltage stabilizers, but so far I can’t correctly calculate the parameters of such stabilizer for SMD5730.
What can you advise in this situation? Perhaps you know the wiring diagram?
Yours faithfully, Jorge
Swagatam says
Hi, friend, are you trying to make a 5 watt LED using 150 mA LEDs by connecting them in series and parallel? For this you will need series resistors and also a LM338 current regulator.
Jorge says
Thank you, my friend Swagatam!
I’ll try to use LM2596 as current regulator for LED. Or maybe MT3608 module.
I think that I will not need limiting resistors if I use a current regulator with a pre-set operating voltage for the LEDs in parallel.
After my experiments, I will definitely write a short report. I think it will be useful for many users.
Swagatam says
You are most welcome Jorge,
Yes no resistor will be required if the current is set correctly, and if the input voltage is exactly equal to the recommended forward voltage of the LEDs.
All the best to you.
Homer Johnson says
Vs = 1.2 volts
red led forward voltage = 1.6 volts
I = 10mA
r = to be determined below
1.2 – 1.6 / .01 = (-158.8)
So, I need to use a -158.8 resistor? I don’t think such a thing exists. What do I do?
Swagatam says
Operating a 1.6 V LED with 1.2 V also doesn’t exist.
Swagatam says
…Use a joule thief circuit
Homer Johnson says
Thank you for your advice…
Mike says
Hello Sir engineer Swagatam
Thanks for your great circuit explanations. I have learned a lot here in the site. If possible, please tell me how can I connect only one LED to 220 V mains Supply. I could not find such a circuit in your site.
Thank in advance
Truly
Mike
Swagatam says
Thanks Mike, glad you are learning from this site. You can use the following design for illuminating a single LED from 220V with full illumination:
https://www.homemade-circuits.com/wp-content/uploads/2021/05/LED-monitor-circuit.png
Mike says
Sir engineer Swagatam
Hello. you made me very grateful,as always, with your perfect answer; very simple and economical circuit. You draw the circuit for me and I will always keep in my mind your great favor.
I will send the picture of the circuit of a commercial Chinese bat swatter to your Email address that I had used before for the aforementioned purpose.
I should add that I had replaced 3 Nos of LED’s with 3 Nos of 1N4007 diodes in order to have only one illuminating LED.
I wish you all the good things for you and your dear family.
Truly yours
Mike
Swagatam says
Thank you Mike, I appreciate your feedback!
Mike says
Sir Engineer Swagatam
Hello. How are you dear Sir? Regarding the circuit of illuminating single LED; You are kindly requested to please note the followings:
1. What is your instruction about adding an electrolyte capacitor across the 3 v zener diode to eliminate the flashing of the LED caused by the frequency of the mains supply, say 10M, 400V?
2. I mistakenly did not draw a 560R resistor in series with the Mains supply; though these circuits are very trivial and worthless for you. please accept my deep apology. I will send it again.
Thank you very much for your endiver kindness.
Truly
Mike
Swagatam says
Hello Mike,
1) You can add a filter capacitor in my previous diagram across the LED. The value can be 100uF/25V
2) A 1k resistor is already present in the diagram provided by me in the previous comment.
This circuit is the correct circuit which will never blow the LED, other configurations can cause blowing of the LED.
If you want more LEDs in series, you can add them, just make sure to increase the zener diode value accordingly.
Mike says
Hello dear Swagatam
Thank you very much for your comprehensive answer. I learnt more new concepts.
Regarding 560R resistor, I was talking about the circuit diagram of that Chinese Bat swatter which I had sent to your Email address .I will no longer use it Since your diagram is excellent and flexible.
Wish you all the best
Truly
Mike
Swagatam says
Thank you Mike, the LED diagram that you sent me through email has a major drawback. Due to the absence of a zener diode, the LEDs can burn anytime due to sudden voltage surge.
Mike says
Dear Sir Swagatam
Hello. I added a 100uf filter capacitor to the diagram that had been provided by you and blinkings of the single LED stopped. Thank you for all your efforts and guidance. I decided to increase the No of the LEDs to 4, in series of course; and I should obviously added one 12 V zener diode across the 1st and 4th LED in the string. Here, I should kindly pay your attention to this problem that the values of all of my new and second hand zener diodes of different voltages from 10 to 24 volts (10, 12, 13, 15, 24, 27) are a bit less than half of the amount of the voltage that is printed on them; when measured by Multimeter while illuminating LEDs. Regarding that my Multimeter is OK, I added a 24 V Zener diode (12 in fact) across the string and the dropped output voltage is now 5.5 volts. I stopped the work and decided to inform you of what has happened.
I would be very glad and thankful to have your instructions Sir.
Wish you all the best
Mike
Swagatam says
Thank you Mike, Glad it is working now. Yes for 4 LEDs in series the zener diode value can be 12V or 13V.
That seems very strange, a good zener diode with a limiting resistor will always show the exact voltage drop as per its printed value.
So according to me something may be wrong somewhere, either in the meter reading or the zener diodes, otherwise this problem should never arise.
There’s one modification that needs to be done in my previous 220V single LED lamp circuit. Please add a 1N4007 diode after the 0.22uF capacitor. Cathode will go to the 0.22uF/400 and 1K junction, and the anode to the other AC terminal.
Mike says
Dear Sir Swagatam
Thank you very much for your feedback and the new modification, kind man. Since I need to use 4 LEDs in your diagram and can not go out to buy other brands of Zeners because of severe corona, the only thing that I can tell you is that my multimeter readings are exact and that when I set it on 100k and connect it’s red probe to cathode of 24v zener diode it reads 60k and reads nothing vise versa (red probe to Anode …. ).
Any way, am I allowed to use 24v zener which in fact 12v, in place of 12 v zener in your circuit ?
Thank you so much in advance
truly yours
Mike
Swagatam says
Hello Mike, did you test the zener diode in the following manner?
Please test it in this manner to ensure you get the correct reading of the zener value. I won’t recommend using a zener diode which is not confirmed accurately.
Chad says
Dear Swagatam,
I have a question about this picture user Mike posted.
If I use a 0.67uF instead of a 0.22uF would the high current cause the LED to burn?
And if it does, how can I avoid too much current to the LED?
Best,
Chad
Swagatam says
Hi Chad, The input capacitor decides the current to the LED. A 0.22uF will produce 10 mA current which is sufficient for a red LED to illuminate brightly. If your LED is a 50 mA LED then you can use a 0.68 uF capacitor. The presence of the 1K and the zener will protect the LED.
Mike says
Dear Sir Swagatam
Hello. Thank you very much for your useful instruction. I’m very proud of myself to know a human being who spends his precious time with others. I congratulate you for being so good and patiently respond to people.
Here is the result of your recent diagram:
input DC voltage —– Z.D. voltage —– output Voltage
30 —– 12 —–12.5
30 —– 15 —– 16
30 —– 24 —– 24.5
I did another test to see the output voltage of our circuit comprising of a 0.22 uf 400v capacitor, 1k resistor connected to it and a 1N4007 diode connected to the junction of capacitor and resistor, while the anode of it went to the other AC terminal. The output voltage was 300v DC and 600v AC without load.
He who will never forget your kindness
Mike
Swagatam says
You are most welcome Mike!
It means you zener diodes are all working correctly, and you can use the desired zener diode as per the requirement.
Yes, without the zener diode the output from 0.22uF power supply will be 300V…once the zener diode is connected, this will drop to the zener value.
Mike says
Dear Sir Swagatam
Hello. I appreciate your efforts to solve my problem. Every thing is good now and I am grateful. And my final question please: How much could be the utmost value of 1k resistance in order to have more illuminating LEDs?
Wish you all the best and health
Best regards
Mike
Swagatam says
Thank you Mike, the 1K can be reduced even to 100 ohms, it is not critical at all. It is included in the circuit just to safeguard the zener and the LED from the initial switching surge from the the 0.22uF capacitor. Once the initial switch ON surge is over, the 0.22uF will produce hardly 10mA for the LEDs.
So you can do two things, reduce the 1K to 100 ohms 1 watt and also increase the 0.22uF value to 0.33uF which will produce around 25 mA, which will be enough for producing optimal illumination for the LEDs.
Mike says
Dear Sir Swagatam
Hello and thank you very much for patiently solving my problem and taught me a lot about LEDs and etc.
I will never forget what you did for me without any expectation.
wish you health and joy
Truly
Mike
Swagatam says
You are most welcome Mike!
Daniel says
what if i have a supply volt and current say 12v 3A and a 12 leds of 3v how can i calculate the resistor and the led current
Swagatam says
Please use the formula explained in the above article, it will give you the exact results.. Use 3 LED strings in parallel having 4 leds in series on each string without any resistor. Or Use 4 LED strings in parallel having 3 leds in series on each string with calculated resistors
Israel Divine King says
Having gone through your tutorial, it made a lot of sense, but I have to ask these questions:
1) If you have 60 LEDs of different colours and forward voltages, how do you go about your calculations?
2) How can you drive these LEDs to light using transformerless circuit without any voltage regulating device?
3) LEDs have anode as positive and cathode as negative and by convention, all the cathodes are grounded. Why is it that your connection has the negative sides connected to the resistor instead of the positive terminals.
Treat as urgent!
Thanks.
Swagatam says
For different color LEDs also the rule will be the same. If you have 2+3+2+3.3+1.5 LEDs in the string, with 20 mA current each, and with 24V supply, then the all these values can be added and divided by the common current of the LEDs. Therefore R = 24 – 11.8 / .02 = 610 ohms
For a transformrless supply you will need a zener diode to regulate the voltage to the LEDs and also use a limiting resistor in series with the LEd string
The resistor can be used anywhere in series wit the LED string, it can between the LEDs, in series with the positive line, or in series with the negative line. The job of the resistor is to restrict the current flow passing through the LED string, so it can be anywhere in series with the string.
Ken says
Hello,
This is a great site and you do a fantastic job of explaining. Here is my situation. I would like to install 6 boat deck lights, switch controlled, each containing six leds rated for 12v power supply. Here is the image.
My lights are green, however. I assume I need to do the calculations based on 36 LED’s total?
Hope you can help! Thanks, Ken
Swagatam says
Hello, that looks great, can you please specify the current rating of each LED?
TattooDon says
hello, i really need some help, i bought three 12v 100watt full spectrum leds and didnt get the power supply with them, i tryed my 12v 5a switch mode psu on each led one at a time but none would light up so i had a friend come over and check them out online and he said they would need 32v to light up individually but i would like to join them in series so ill have a smaller 300watt light instead of a larger 100watt light but i dont know what voltage of psu i will need or how to connect them properly, i dont really want to electricute myself anymore or pop the leds.
would you be able to tell me how to properly and safely connect them in series? any help you can offer is deffinatly VERY MUCH APPERCIATED!
Swagatam says
Hi, if you connect 3 of the specified LEDs in series you’d require a supply of 32 x 3 = 96 V at 3 amps. If you succeed in getting this odd power supply you would further need to protect the LEDs from a thermal runaway by adding a current regulator stage between the LEDs and the power supply.
The details of the current limiter can eb found in the following article:
https://www.homemade-circuits.com/make-hundred-watt-led-floodlight/
Instead of adding in series I would suggest adding them in parallel, which would allow you make the power supply through an ordinary 0-24V/9amp transformer, or a 12-0-12V /9 amp transformer, and a full bridge/capacitor rectifier. For this arrangement also you would need to add the above current limiter individually for the each LED module
Chandan sharma says
How to connect 400 leds light with 12v dc
PROMISE says
Pls sir what resistor should I use when connecting 6LEDs in series and parallel.
Swagatam says
Here’s the formula:
R = (supply voltage VS – LED forward voltage VF) / LED current I