LEDs for Beginners by noahw
Featured
This instructable shows how to wire up one or more LEDs in a in a basic and clear way. Never done any work before with LEDs and don't know how to use them? Its ok, neither have I.

***If you have wired up LEDs before, this explanation might seem overly simplistic. Consider yourself warned.***

Step 1: Get some LEDs

So I wasn't completely honest - I have used LEDs once or twice before for simple applications, but I never really knew what I was doing, and since so many projects on instructables use LEDs, I thought I might as well teach myself and post about it too.

I know that there are many projects already posted that contain information about how to wire LEDs for simple projects - LED Throwies, LED Beginner Project: Part 2 and 9v LED flashlight - teh best evarrr!, but I think that there could still be some use for a detailed step by step explanation about the basics of LEDs for anyone who could use it.

The first step was to buy some supplies and figure out what I would need to experiment with. For this project I ended up going to Radioshack because its close and a lot of people have access to it - but be warned their prices are really high for this kind of stuff and there are all kinds of low cost places to buy LEDs online.

To light up an LED you need at the very minimum the LED itself and a power supply. From what I have read from other LED instructables wiring in a resistor is almost always a good idea.

If you want to learn about what these materials are check out these wikipedia entries:
LEDs
Power supply
Resistors

Materials:

LEDs - I basically just reached into the drawer at Radioshack and pulled out anything that wasn't more than $1 or $2 per LED. I got:

2760307 5mm Red LED 1.7 V
2760351 5MM Yellow LED 2.1 V
2760036 Flasher Red LED 5 V
2760041 2 Pack Red LED 2.6 V
2760086 Jumbo Red LED 2.4V

Power Supply - I really didn't know what I would need to power them so I bought some 9V batteries and some 1.5V AA's. I figured that would allow me to mix and match and make enough different voltage combinations to make something light up - or at least burn those little suckers out in a puff of smelly plastic smoke.

Resistors - Again, I wasn't too sure what I would need in terms of resistors here either. Since I got a whole bunch of different LEDs with various voltages I knew that I would need a couple different types of resistors, so I just bought a variety pack of 1/2 Watt Carbon Film Resistors (2710306).

I gathered up a soldering gun, solder, needle nose pliers, electrical pliers, some primary wire and electrical tape too since I thought they might be useful.

Step 2: The LED

LEDs come in different sizes, brightnesses, voltages, colors and beam patterns, but the selection at Radioshack is pretty small and so I just picked up a couple different LEDs from what they had in a few different brightnesses and voltages. I kept close track of what LED was what voltage because I didn't want to accidentally send too much current through one of the low voltage LEDs.

The first thing I did with the LEDs was figure out which wire (its called an electrode) was positive and which was negative. Generally speaking the longer wire is the positive electrode and the shorter wire is the negative electrode.

You can also take a look inside the LED itself and see whats going on. The smaller of the metal pieces inside the LED connects to the positive electrode and the bigger one is the negative electrode (see picture below). But be warned - in the LEDs I picked up I didn't always find this to be true and some of the LEDs had the longer electrode on the negative when it should be on the positive. Go figure - its OK though, if it didn't light up I just flipped it around.

Once I knew what was positive and what was negative I just had to remember what the voltage of each LED was.

All my LEDs recommended 20mA of current. 20mA is standard for most LEDs.





Step 3: Power supply

To make the power supplies I just soldered some wire onto the ends of the batteries I had bought so that I could easily attach the LEDs to them. The 9V battery served as my 9V power supply, one AA battery made a 1.5V power supply and three AA batteries bundled together made a 4.5V (1.5V + 1.5V + 1.5V = 4.5V) power supply. I didn't use alligator clips on the ends of the wire, but they would have been helpful here.

Step 4: Resistors

I opened up the assortment pack to find that resistors aren't labeled with what value they are. The pack said it contained a whole bunch of different resistors from 100 ohms to 1 Meg ohm so I set out to see what was what. When I poked around online I found that all resistors have a coding system on them that tells you what value they are.

Here are two pages which explain in depth about how to calculate resistor values.

Do it yourself
or
Have it done for you

I'll go through the examples of how I calculated the values myself in the next few steps when I start wiring up my LEDs.

For the time being I just admired their little colored stripes and moved on to trying to get just one LED to light up.

Step 5: One LED, no resistor

I thought that I would start as simply as I possibly could - just one LED with no resistor. First I had to decide what power source to use and which LED to light up. This may seem obvious, but this was my first time through so I might as well be as clear as possible...

LEDs require sufficient voltage to light them. Sometimes if you give them too little voltage they wont light at all, other times they will just shine dimly with low voltage. Too much voltage is bad and can burn out the LED instantaneously.

So ideally you would like the voltage of the LED to match the voltage of your power supply, or even be slightly less. To do this you can do a couple of things: change your power supply voltage, change the LED your using, or you can use a resistor that allows you use a higher voltage power supply with a lower voltage LED.

For now I just wanted to get one lit up so I chose my the power supply that had the lowest voltage - the single AA battery which outputs 1.5V.

I chose to light the red 1.7V LED since the battery outputs 1.5V and I knew I wouldn't kill the LED with too much power.

I wrapped my positive wire from the battery to the positive electrode of the LED and wrapped the negative wire from the battery to my negative electrode and presto - let there be LED light!

This first experiment was pretty easy to do - just some wire twisting and enough knowledge to know that the 1.5V power supply would light the 1.7V LED without need a resistor.

Step 6: One LED with a resistor

It was just a coincidence that I bought an LED that was 1.7V and that it ended up working being able to be powered by my 1.5V power supply without the use of a resistor. For this second setup I decided to use the same LED, but up my power supply to the three AA batteries wired together which output 4.5V - enough power to burn out my 1.7V LED, so I would have to use a resistor.

To figure out which resistor to use I used the formula:
R = (V1 - V2) / I

where:
V1 = power supply voltage
V2 = LED voltage
I = LED current (usually 20mA which is .02A)

Now there are lots of calculators online that will do this for you - and many other instructables reference this as a good one, however, the math really isn't too hard and so I wanted to go through the calculation myself and understand whats going on.

Again, my LED is 1.7V, it takes 20mA (which is .02 A) of current and my supply is 4.5V. So the math is...

R = (4.5V - 1.7V) / .02 A
R = 140 ohms

Once I knew that I needed a resistor of 140 ohms to get the correct amount of voltage to the LED I looked into my assortment package of resistors to see if I could find the right one.

Knowing the value of a resistor requires reading the code from the color bands on the resistor itself. The package didn't come with a 140 ohm resistor but it did come with a 150 ohm one. Its always better to use the next closest value resistor greater than what you calculated. Using a lower value could burn out your LED.

To figure out the color code you basically break down the first two digits of the resistor value, use the third digit to multiply the first two by and then assign the fourth digit as an indicator of tolerance. That sounds a lot more difficult than it really is.

Using the color to number secret decoder website found here, a 150ohm resistor should have the following color code...

Brown because the first digit in the value resistor I needed is 1
Green because the fifth digit is 5
Brown because in order to get to 150 you have to add one 0 to 15 to get to 150.
Gold - the resistors I got all have 5% tolerance and 5% is represented by gold

Check out the decoder page link above if this isn't making sense.

I looked through all the resistors, found the one that was brown, green, brown, gold, and wired it in line on the positive electrode of the LED. (Whenever using a resistor on an LED it should get placed before the LED on the positive electrode).

Low and behold, the LED lit up once again. The 150 ohm resistor stopped enough of the 4.5V power supply from reaching the 1.7V LED that it lit up safely and kept it from burning out.

This is just the process that I went through to figure out what resistor to use with my particular LED with my particular power supply. You can easily use the formula above to figure out what value resistor to use with whatever LED and power source you happen to be using.

Step 7: Wiring up multiple LEDs in series

Now that I knew how to wire one LED with various combinations of LED voltages and power supplies, it was time to explore how to light up multiple LEDs. When it comes to wiring more than one LED to a power supply there are two options. The first option is to wire them in series and the second is to wire them in parallel.

To see an in depth explanation about the difference between series and parallel check out this page. I'm going to cover wiring LEDs in series first.

LEDs wired in series are connected end to end (the negative electrode of the first LED connects to the positive electrode of the second LED and the negative electrode of the second LED connects to the positive electrode of the third LED and so on and so on...). The main advantage of wiring things in series is that it distributes the total voltage of the power source between all of the LEDs. What that means is that if I had a 12V car battery, I could power 4, 3V LEDs (attaching a resistor to each of them). Hypothetically this could also work to power 12, 1V LEDs; 6, 2V LEDs; or even 1 12V LED if such a thing existed.

Ok, let's try wiring 2, 2.6V LEDs in series to the 9V power supply and run through the math.

R = (9V - 5.2V) / .02A
R = 190 Ohms
Next higher resistance value - 200 Ohms

Now the variety package of resistors didn't come with a 190 or 200 Ohm resistor, but it did come with other resistors which I could use to make a 200 Ohm resistor. Just like LEDs, resistors can be wired together in either series or parallel (see next step for an explanation on wiring things together in parallel).

When same value resistors are wired together in series you add their resistance. When same value resistors are wired together in parallel you divide the value of the resistor by the number of resistors wired together.

So, in the most simplified sense, two 100 Ohm resistors wired together in series will equal 1 200 Ohm resistor (100 + 100 = 200). Two 100 Ohm resistors wired together in parallel will equal one 50 Ohm resistor (100 / 2 = 50).

Unfortunately, I learned this key point after I wired my resistors together for the experiment. I had originally wanted to wire two 100 Ohm resistors together to equal the 200 Ohms of resistance I needed to protect my LEDs. Instead of wiring them in series, as it should have been, I wired my resistors in parallel (did I mention I am beginner with resistors?) So my resistors were only providing 50 Ohms of resistance - which apparently worked out OK on my LEDs in the short duration of the experiment. Having too much power getting to the LEDs would probably burn them out in the long term. (Thanks beanwaur and shark500 for pointing this out.)

I took my resistors and placed them in front of the positive lead of the first LED that was wired in series and hooked them up to the battery and once again, there was LED light!

With three different combinations of LEDs and battery power supplies and no puffs of plastic smoke yet things were looking good - aside from my little confusion between wiring resistors in series and in parallel.

Step 8: Wiring up multiple LEDs in parallel

Unlike LEDs that are wired in series, LEDs wired in parallel use one wire to connect all the positive electrodes of the LEDs your using to the positive wire of the power supply and use another wire to connect all the negative electrodes of the LEDs your using to the negative wire of the power supply. Wiring things in parallel has some distinct advantages over wiring things in series.

If you wire a whole bunch of LEDs in parallel rather than dividing the power supplied to them between them, they all share it. So, a 12V battery wired to four 3V LEDs in series would distribute 3V to each of the LEDs. But that same 12V battery wired to four 3V LEDs in parallel would deliver the full 12V to each LED - enough to burn out the LEDs for sure!

Wiring LEDs in parallel allows many LEDs to share just one low voltage power supply. We could take those same four 3V LEDs and wire them in parallel to a smaller power supply, say two AA batteries putting out a total of 3V and each of the LEDs would get the 3V they need.

In short, wiring in series divides the total power supply between the LEDs. Wiring them in parallel means that each LED will receive the total voltage that the power supply is outputting.

And finally, just some warnings...wiring in parallel drains your power supply faster than wiring things in series because they end up drawing more current from the power supply. It also only works if all the LEDs you are using have exactly the same power specifications. Do NOT mix and match different types/colors of LEDs when wiring in parallel.

OK, now onto to actually doing the thing.

I decided to do two different parallel setups.

The first one I tried was as simple as it could be - just two 1.7V LEDs wired in parallel to a single 1.5V AA battery. I connected the two positive electrodes on the LEDs to the positive wire coming from the battery and connected the two negative electrodes on the LEDs to the negative wire coming from the battery. The 1.7V LEDs didn't require a resistor because the 1.5V coming from the battery was enough to light the LED, but not more than the LEDs voltage - so there was no risk of burning it out. (This set up is not pictured)

Both of the 1.7V LEDs were lit by the 1.5V power supply, but remember, the were drawing more current from the battery and would thus make the battery drain faster. If there were more LEDs connected to the battery, they would draw even more current from the battery and drain it even faster.

For the second setup, I decided to put everything I had learned together and wire the two LEDs in parallel to my 9V power supply - certainly too much juice for the LEDs alone so I would have to use a resistor for sure.

To figure out what value I should use I went back to the trusty formula - but since they were wired in parallel there is a slight change to the formula when it comes to the current - I.

R = (V1 - V2) / I

where:
V1 = supply voltage
V2 = LED voltage
I = LED current (we had been using 20 mA in our other calculations but since wiring LEDs in parallel draws more current I had to multiply the current that one LED draws by the total number of LEDs I was using. 20 mA x 2 = 40 mA, or .04A.

And my values for the formula this time were:

R = (9V - 1.7V) / .04A
R = 182.5 Ohms

Again, since the variety pack didn't come with that exact value resistor I attempted to use the two 100 Ohm resistors bundled together in series to make 200 Ohms of resistance. I ended up just repeating the mistake that I made in the last step again though, and wired them together in parallel by mistake and so the two 100 Ohm resistors only ended up providing 50 Ohms of resistance. Again, these LEDs were particularly forgiving of my mistake - and now I have learned a valuable lesson about wiring resistors in series and in parallel.

One last note about wiring LEDs in parallel - while I put my resistor in front of both LEDs it is recommended that you put a resistor in front of each LED. This is the safer better way to wire LEDs in parallel with resistors - and also ensures that you don't make the mistake that I did accidentally.

The 1.7V LEDs connected to the 9V battery lit up - and my small adventure into LED land was completed.

Step 9: Extrapolation

While I didn't actually end up making anything besides a couple of lit LEDs, this information can be used to make all kinds of cool things!

The take away concepts hopefully were:
- Power a whole bunch of different value LEDs using the same basic principals.

- Figure out what is the positive electrode and what is the negative electrode of an LED by looking at it and testing it.

- Use resistors, or combinations of resistors wired together in series or in parallel to supply the correct amount of power to the LED.

- Make calculations to determine what resistor is needed using the formula, or using web sites that do it for you.

- Wire LEDs in series or in parallel depending on the application.

- Make LEDs light up!

This was the most basic kind of walk through for LEDs possible - and I learned a whole lot along the way. LED arrays and wiring schemes can get significantly more complicated - but for the most part, LEDs are pretty simple to work with, and with relatively little knowledge I was able to light them up - all be it if I sent a little too much juice through them towards the end of the experiment. I don't fear the LED now. They are my friends.

1-40 of 582Next »
donmatos says: Jul 4, 2012. 1:59 AM
Thanks for such valuable information. For me it was like rain falling on the arid soil of the Brazilian northeastern backlands, lowering the dust that prevented us from seeing our crops. Now, I can pick some fruit. But I have a question that may be the subject of his next insructables: AC 220V in, I could turn (turn) 70 LEDs without using resistors? Thanks be to find time to answer, if not, thanks anyway.
nbagf says: May 12, 2013. 5:46 PM
I know this response is late, but it actually is not possible because LEDs run on DC (Direct Current) power and your main 220 volt house line runs on AC (Alternating Current) as you said. It is possible but not very realistic.
hahvahdsquah says: May 7, 2013. 12:39 PM
Just to reiterate a few older comments below (since this is one of the most popular Instructables on the site) - soldering to batteries is a safety risk and they can explode. Don't do it. Battery holders are cheap and easy to find:

https://www.sparkfun.com/products/9547

as are clips that fit onto 9V batteries.

http://www.radioshack.com/product/index.jsp?productId=2062218

For the novice: a "battery holder" is just a plastic box with metal springs inside that push up against the battery terminals, and wires sticking out of the box that you can connect to your electronics project. It's safe to solder to the wires. You can get them in many different sizes (e.g. 2xAA, 4xAA, 8xAA, same for AAA, they make coin cell battery holders...you get the idea) and some have built-in on/off switches which are convenient. The number of batteries you need will depend on your project, but in general battery holders connect the batteries in series, so the voltages of the individual batteries add up. A typical AA or AAA battery you get at a store is 1.5V - so two of them will give you 3V, four will give you 6V, etc.
shadesnaveen says: Feb 22, 2013. 2:47 AM
i have a big problem i think ull solve it perfect.
i had connected 50 leds parallel to 6 volt battery its working without any problem for 5 hours, i didnt use resisters is there any problems
I_StarkGuy says: Apr 15, 2013. 11:25 AM
What are the voltage and current requirements of your LED's??
maxx-on says: Mar 8, 2013. 7:06 PM
As alexparting101 said:
> You should put a resistor in series with each LED as any vdrop differences will result in uneven sharing of the current. (especially as the LEDs age).

However, you can do this anyway. Check the voltage that the LED is rated for. Divide the driving voltage (6V) by the LED rated voltage. Put that many (and perhaps another to ensure that it doesn't over drive the LEDs) in series and that will allow you to have the LEDs light without a resistor. Putting more LEDs will cause them all to dim. The more you put, the dimmer they get.
chocolateface says: Feb 19, 2013. 3:35 PM
New world, thanks!
vivdal says: Feb 15, 2013. 2:34 PM
An excellent and cogent explanation that is easily applied.
Thank you very much it has really enabled progress.
Well Done****
alexparting101 says: Feb 13, 2013. 1:51 PM
You should put a resistor in series with each LED as any vdrop differences will result in uneven sharing of the current. (especially as the LEDs age).

keys88 says: Feb 12, 2013. 1:44 PM
people please try not to solder anything to a battery. if the get to hot they can explode.some batteries easier than others.it's easy enough to just buy or pull out of something else a battery clip/holder.
techguy56 says: Feb 5, 2013. 9:41 PM
In seeing this "article" on wiring multiple led-s, I am seeing 2 resistors in series and 2 led's in parallel. Is that Really the way you wire multiple led's? I was under the impression that while wiring led's together.. in parallel, you have one resistor on each led to keep the led safe.
BigMrTree says: Jan 21, 2013. 4:37 AM
Great Job!! Thanks for making it so simple to understand!! This is exactly what I was looking for!!
rwallett says: Jan 5, 2013. 10:25 AM
Great intro, cheers
swilliams62 says: Dec 30, 2012. 7:22 AM
This opened up a whole new world for me! Thank you!!
ThamarBerber says: Dec 28, 2012. 5:48 PM
Thanks for posting this 'ible!
jcoglan-kowalski says: Dec 21, 2012. 3:40 PM
How to put inside my mouth?
kooroshfarvahar says: Dec 11, 2012. 4:48 AM
Hi B5,

I attempted to light up two High power LEDs which connected in series. here are the specs:
. each LED: 2.2 volt 350mA
. power supply: 4.2 volt 500mA

when connected, I see an extreme current drop from 350mA to 60mA!!

COULD YOU PLEASE HELP ME TO IDENTIFY THE CAUSE?
Much regards,
SirTurner says: Nov 30, 2012. 10:28 PM
I am having issues with step 8 as well. So would I use 100 ohm resistors on each leg or 180 ohm.
synthblade says: Nov 19, 2012. 7:40 PM
Bookmarked. Been looking for a guide to explain EXACTLY THIS for about a week now. Low and behold the best guide is right here on my favorite website. I couldn't even find a decent "legible" guide on google that was noob-friendly. Thank you for this guide!!!
Gostin says: Oct 29, 2012. 1:07 PM
I know the simple parts of LEDs, but I don't know anything about what resistors to use. HELP.
luxstar says: Sep 30, 2012. 11:33 AM
Thank you for the great instructable. I have a link to it in one of mine.

It may have been stated in one one or the comments but it is worth repeating. It is a good idea to check your results after you make your circuit to be sure that you do not exceed 20 milliamps in the circuit. You do this by measuring the voltage across the resistor by the resistor value (ohms).

Thanks,

Lux
retracc4 says: Aug 21, 2012. 10:54 PM
how did you wire those 3 AA batteries together?
ikr88 says: Aug 15, 2012. 9:39 PM
Hello i have a LED with the following specs.
how would i power this up?
i tried simply by attaching it to the end of a 12v plugpack but nnothing happened!

PART NO. Chip
Material Emitted Color
Lens Color
AL-B103LRD-004 AlGaAs S/B Red Red Diffused
■ Absolute Maximum Ratings at Ta=25℃
Parameter Symbol Rating Unit
Forward Current IF 25 mA
Operating Temperature Topr 0 to +70 ℃
Storage Temperature Tstg -20 to +85 ℃
Soldering Temperature Tsol 260±5 ℃
Operating Voltage (Max.) 12 V
Storage Voltage (Max.) 0.5 V
Electrostatic Discharge ESD 1000 V
Reverse Voltage VR 5 V
isaacwilk says: Aug 15, 2012. 2:11 AM
Thank you for putting together a guide that has a clear explanation and a formula! I've been searching for ages to try and find out what resistor I need to use for what power supply etc.

isaacwilk says: Aug 15, 2012. 2:11 AM
Thank you for putting together a guide that has a clear explanation and a formula! I've been searching for ages to try and find out what resistor I need to use for what power supply etc.

babylonfive says: Mar 10, 2007. 1:23 PM
The two big reasons why you place a resistor in series with each LED are: - safety - so that if one LED burns out (becomes an open) the remaining LED would use twice the current (overcurrent) and then fail as well - so that the current and brightness will be somewhat equalized Imagine a situation with two LEDs of the same type but a sightly different forward voltage at the specific current - or think of it really as a curve of current over forward voltage. Then, because one LED uses more current for the same forward voltage, it's brighter... sometimes by a lot. Finally, when the battery voltage falls, the higher forward voltage LED winks out. David
LEDcurve.jpg
njsoffice says: Aug 7, 2012. 1:04 PM
Hi B5,

Just thinking of improvising, using an existing setup, bicycle leds, already in groups of 5, to string a few together, (typically power is via 4 1.2 - 1.5 v batteries) and the chip connection would be cut (no need for flashing function) not sure if smt resistor/s exist in the globule. LEDs look like superbrights possibly 3.2-3.4V at 20 mA. Using 6v source. Would one use one resistor per set or unsolder and include one per led.?

Cheers
babylonfive says: Aug 7, 2012. 7:47 PM
What's a 'bicycle' LED? Are they in series or parallel?
babylonfive says: Aug 7, 2012. 2:41 PM
Hey, so I don't know what 'bicycle LEDs' are...

I assume from your knowledge that these are five LEDs in series with each other, providing the same ganged 3.2-3.4V drop but five times the light for five times the current - about 100mA total.

In this case, if there are already five in parallel, then they were carefully chosen to have the same (or very close to the same) forward voltage drop, and thus will distribute the current nearly equally. If you were building your own board, the best would be to give each LED a resistor, but if they are already ganged and the LEDs are matched, just figure the single resistor:

E
R = -------
I

R = 3.4V / .1 A

R = 34 ohms (33 ohms is the 5% value)

If there's some other configuration I didn't "get", please let me know.
smartteez says: Apr 16, 2012. 5:29 PM
Hi, Just surfing looking for some help - not done electronics since school 28 years ago. Looking to link 100 leds in parralel to a 12 volt leaisure battery. this is the spec for the LED's off ebay - with them being 12v does this mean I don't need any resistors in? Also is there much heat generated looking to set them in to an MDF panel.

Thanks in anticipation

Prewired 12V LEDs

High quality LED, soldered to a resistor for 12V (including 12V automotive) use. Strong connections are neatly wrapped with heat shrink and attached to colour coded wire terminating in stripped tinned connections.
Technical Spec

High Power 3mm LEDs - 7000mcd

12V DC
Presoldered Resistor

20 mA
20 cm Wire Length
High Intensity - Low Power 0.36W

Simple to Use
Long Life and Energy Saving


babylonfive says: Apr 17, 2012. 3:10 PM
So, if you use these LEDs with built-in resistors, you are golden. All the variation in voltage of the LEDs is equalized by the series resistor selected to properly drive each one. So, even multiple colors on the same bus will work as expected.

You can do it like this:

+12 ------------------------------------------------------------------
| |
R R
| | o o o as many as you like
led led
| |
gnd ------------------------------------------------------------------

Concerns:

- multiply the current per LED (shown on the specs for each LED, above you say it is .020A) times the number you want (100?) = 2A. Therefore get a power supply that can provide 12V for at least 2A (more is ok). Repeat this formula if the current is different to determine the max ps current needed.

- I wouldn't group a big pile of these RIGHT TOGETHER of in a confined space. Each dissipates .36W (almost all in the resistor), so three or four tightly together (or out of air flow) will be a watt of power, and will start getting a little hot. For this issue, a much better solution would be to create your own LED 'cluster' of series LEDs and a single resistor setting the voltage. If you created 33 sets of three LEDs on the same line with a single custom resistor value to limit to 20mA, then your power dissipation would go way down. This is because the power would go toward light instead of being boiled away in the resistor - resistors just waste!

So this:

12V+ ------- led ------- led ------- led ------- resistor ------- gnd

3.2V 3.2V 3.2V 12v-9.6=2.4V
2.4V /.020A = 120ohms
2.4V x .020A = .048W

Note this dissipates lots less in the resistor. and there are only 33 resistors instead of 100. it uses the voltage much better.

But if you can easily get air to these guys, you'll be fine.
smartteez says: Apr 17, 2012. 4:19 PM
Thanks I think I'll look at the 2nd option as these are to be enclosed in a shallow box in the roof of my camper and I don't fancy setting it on fire. Cheers
justaj says: Apr 9, 2009. 10:09 AM
So if you add a resistor in series with each LED, does the resistor have to be the full value? So for example he used two 100ohm resistors in series above. If he did what you said, would it be a 200ohm resistor for each? My guess would be yes but I am new to this.
resistor question.JPG
babylonfive says: Apr 9, 2009. 11:29 AM
No, you would use the same working configuration for a single leg or multiple legs, up to the limit of the power supply.
So: in your example above you have a 5V supply, and an LED that uses 20mA at 3V, then the voltage 'left over' across the resistor on any one leg is 2V. 2V/100ohms = .020A (20mA). Thus each leg would correctly function with a 100ohm resistor.
Each leg draws the 20mA as a separate subsystem, as it's own circuit. You should see it as if the + point in the drawing above were two independent batteries. The only limitation would be the maximum current available at the + point... remember that mA are thousandths of Amps, so a power supply rated 1A @ 5V would provide enough power for 50 LEDs... 50 x .020A (20mA) = 1A... batteries can do much better than 1A without much voltage reduction.

I hope this helps you think about this in a way that allows you work with LEDs and resistors in the future. Please reply with any questions or comments.
14cooldude says: Feb 16, 2012. 11:08 AM
I'm making a color organ and each of the three panels has 100 leds on it. So what is the voltage, current, and resistor value needed to light 100 and 300 leds?
babylonfive says: Feb 16, 2012. 3:01 PM
What's your desired power supply value? Do you have a 12v supply? The components wl be different for each color. Also holler back with how you are controlling the leds... Pulse width modulation? Variable voltage output? Let me know.
justaj says: Apr 9, 2009. 5:09 PM
Thanks for your reply!

Sorry I wasn't clear. I was referring to step 8 where he used the 9V and wired the two LEDs in parallel.

R = (9V - 1.7V) / .04A
R = 182.5 Ohms

So in that case it would be a 200ohm resistor for each correct?
babylonfive says: Apr 9, 2009. 8:08 PM
If you mean about 200 ohms (i.e. 180 ohms) on each leg, then yes. In fact, up to the limit the 9V battery will source, you can keep adding legs with an LED and a resistor; it'll keep adding current, and reducing battery life obviously. Two will use 80mA, 3 will use .12A etc.
sfrazier2 says: Jul 2, 2011. 3:26 AM
It seem you know a lot about led i'm looking to go to led on my reef aquarium to save energy and money I have now metal halide total 500 watts. the heat is crazy hot and the light bill is through the roof, what would you recommend for a 60"x10" strip
arduinoer says: Jul 19, 2010. 4:52 AM
If you wired a car battery to any amount to leds, it would burn it out. I car battery has hundreds of amps. Leds take .08 amps
1-40 of 582Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!