LEDs for Beginners

LEDs for Beginners
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.***
 
Remove these adsRemove these ads by Signing Up
 

Step 1Get some LEDs

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.

« Previous StepDownload PDFView All StepsNext Step »
533 comments
1-40 of 533next »
Jan 31, 2012. 9:26 PMziccy64 says:
I'd like to know how to power a "flashing LED".Can I use Ohms law and power it that way.I have some which are rated as 3.6v at 30ma.I have some 6volt batteries(remote control little ones).Thus Ohms law states that the resistor should be 80 ohms.Can I do it simply that way or is there something which I left out?
Thanks
Jan 15, 2012. 8:01 PMmakerbuilderbaker says:
Finding the resistor is an application of ohms law.
Don't go to an online calculator, you should learn it as it is simpler and more effective than an online source.
V=IR (Voltage = Current times Resistance)
if the supply voltage is 5 the forward voltage is 2.5 and the forward current is 25 mA or .025 amps.
R=V/I so R= (5-2.5)/.025 so R=2.5/.025 which is 100 ohms. It is simple to use and more effective than an online calculator. There is a good site that explains this:
http://cuttingedgescienceclub.blogspot.com/2012/01/ohms-law-practice-problems.html
scroll down to the section labeled LED problems or you can look at the earlier sections to help.

Always figure out the forward voltage (how many volts it eats up/needs to run) the forward current (the optimal amount of current that it wants) and the voltage supply you have.
Dec 28, 2011. 9:04 PMsokamiwohali says:
so i have a question...if i wanted to take a single led and rig it to use from 1.5v to up to a 12v power supply, what resistor would i want to use?
Jan 1, 2012. 6:28 PMaskjerry says:
Do the math... if you know that an LED runs at 1.5 v and that it uses 0.020 amps (20mA) then you just use ohm's law.

12v (power) - 1.5v (LED voltage) = 10.5 too much voltage.

If the LED runs at 20ma... then 10.5v / 0.020 = 525 ohms... or about 560 ohms. (Standard resistor value.)

But most LEDs I have seen use 2.2 to 3.4 volts... so run the math with those numbers.
Jan 1, 2012. 9:17 PMsokamiwohali says:
tyhe only problem is that i am not for certain what the running voltage is on the led i am using. its the assorted pack of led's from radioshack, and the package says not what the voltage is of any of the led's.

Thank you for the reply tho. i am new to the whole LED thing, and i am currently working on a 4 LED USB tester that involves bi-directional current...basically it tests for proper polarity, as well as proper wiring (ie data NOT hooked to power, and power not hooked to data as well as wether or not both are wires backwards). i just finished soldering it together, but none of the led's are working...i know its in the way i designed it somehow...
Jan 1, 2012. 10:56 PMaskjerry says:
Well this should help... at least it will get you in the ballpark.

http://www.ledtronics.com/html/ColorChart.htm
Jul 14, 2010. 9:12 PMsko56 says:
The only reason the LED doesn't Fry from adding 1.5V is because the Alkaline Battery has an internal resistance. Ohms Law Holds true I (current) = V(volts)/R(resistance in Ω) . If there was no resistance the current would be near Infinity causing the Wattage to go through the roof as well (W=I^2*R). same reason a "throwie" works without a resistor.
May 5, 2011. 9:20 PMdamadtatter says:
How do you make an ohm's symbol on a keyboard?
Oct 9, 2011. 12:28 AMJustinPayne says:
The easiest way, in Windows, is by bringing up charmap, scrolling down the list until you find the "&" symbol, copy it, and then paste it into the window.
You can also hold down the ALT key and type the decimal value of the character but wasn't successful getting the character to print out. My guess is it has something to do with the character map I was using. In any case, I think using charmap is probably the best way to print non-keyboard generated character.
Dec 22, 2011. 10:02 AMaasteveo says:
For Mac, just press Option+Z.
Dec 6, 2011. 11:02 AMthankey says:
In Word or Excel make change the font to "Symbol" and then hold the 'alt' key while typeing 89 on the numeric pad. Or use the Insert” tab, click W, and then choose the symbol you want.
Mar 29, 2010. 4:10 PMydeardorff says:
I'm trying to build an array using 2.0 vdc 15K MCD 4 post LED's.
My smaller array is fed by a 12vdc 150mA power supply using 20 LED's hooked in parallel. they hooked up using 510 ohm resistors.
I had 4 burn out while handling the unit. was this because of something I did wrong?
Im building tail lights for a custom car. so they will be fed by the cars 12 volt system.

Any help?


Nov 7, 2011. 10:40 AMPlattinumPanther says:
you want to calculate 12-14VDC for an auto application as the only time you should get 12VDC is when the generator isn't running
Jul 19, 2010. 8:08 AMcyber.engineer says:
Check your speck for Vd and Imax calculate using my equations below. LEDs in Parallel will not always be the "exact" same brightness. However if you put them in series one burns out they all fail if it goes open if it shorts your other LEDs get brighter and have a lower life. If it were me, I would use one resistor per each LED and quit using them in parallel. That is just a personal like. www.brainpwr.com
Jul 19, 2010. 8:00 AMsdanks says:
Most LEDs want about 18 milliamps of current. So 12v/.018A = 666.67 ohms. I would use about a 680 ohm resistor in line with the LED. That would make them last longer. Max is usually around 20 mA. You were sending 23 mA through them. So just change to around a 680 ohm resistor or whatever the standard resistor value is that is cheap around that value.
Jul 19, 2010. 8:03 AMcyber.engineer says:
Sdanks you are in error you must drop 2 volts and make it 10 for your equation so it will be 10V/.018A and most that I use are 20ma. some are much more and the Vd (Voltage drop is higher) www.brainpwr.com sorry, an Electrical Engineer here with 30 years experience
Jul 19, 2010. 9:04 AMsdanks says:
I was just trying to help the guy that didnt know anything about electronics. But since you are an electrical engineer, lets be more accurate. Silicon voltage drop across a junction is actually .6 -.7 volts. So , 12V - .6 = 11.4 Take 11.4 volts and divide it by .018 and you get 633.33 ohms. SO, a 680 ohm resistor would work out good. 20 mA is usually Ic max with most LEDS wanting around 18 mA typical. a 680 ohm resistor would work really well. I stand by my initial statement. Different LEDS have different typical current requirements, but even at your calculations, 10/.02 = 500 ohms and he burned up 4 leds at 510 ohms, so I would STILL recommend he use 680 ohms resistors.
Jul 22, 2010. 4:02 AMpgheit01 says:
The charging circuit of a car typically puts out 13.6V, so 13 / 0.018 = 722.222. Sorry, but I don't know what the common size resistor is to exceed that rating. Also, the power is kinda noisy, so I'd think about transients. At the least, I would put a meter to the socket with the engine running and see what I get. Maybe even take readings at idle and with a friend stepping on the gas a little. Good luck!
Oct 22, 2011. 1:40 AMchungmatthew says:
HI for some reason when i connect my copper wires to the LED light it doesnt light up but it lights when i connect with out the wire. I been trying to extend then wire so i can connect it to somewhere feather away but it doesnt work can anyone tell me what i have done wrong or what i could do better ?
Oct 19, 2011. 3:37 PMlmccoy says:
Thanks for the tutorial! This is great - it's helped so much!
Jul 19, 2010. 4:52 AMarduinoer says:
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
Jul 20, 2010. 6:59 AMyour_dragon113 says:
I'm sorry but you're wrong. It's the Voltage that'll kill the LED. It will ONLY take the Amps that it needs. If you take a car stereo and hook it up to a 1 Amp power supply then, by your way of thinking, it shouldn't work. It won't work at full volume but it Will work up to 1/4 volume quite nicely. The unit needs 12VDC and about 4 Amps to run at peak performance. 12 is the key. Otherwise when you hook it up in the car it'd blow up due to the "hundreds of amps". The LED is rated for a typical VOLTAGE. It will ONLY draw the current that it NEEDS...no more. I suggest doing some more research and test your views prior to posting. Voltage says what you can run...Amps tell you how Many and how Long you can run it/them.
Oct 12, 2011. 7:03 PMJohn_Roan says:
lol, pretty much everything you just said is completely wrong. I think you should do some more research yourself, before misleading others.
Mar 25, 2011. 11:07 AMcolin55 says:
It's actually the CURRENT that will kill the LED as the current provides the heating-effect that will destroy the crystal.
As soon as you supply a voltage higher than the CHARACTERISTIC VOLTAGE of the LED (about 1.7v for a red LED) the LED will want to take a very high current and it is this CURRENT that will over-heat the LED.
See 30 LED Projects on Talking Electronics website:
http://www.talkingelectronics.com/
http://www.talkingelectronics.com/projects/30%20LED%20Projects/30%20LED%20Projects.html

Colin Mitchell
Mar 26, 2011. 8:31 AMahwang says:
Hi.
I have a question but btw, you have an awesome website for ppl like me who's interested in learning to light up some LEDs!!!

Forward voltage: 3.0-3.2
Current: 20ma
Battery: 6V

1. Following your instruction, I first tested my 2 of my LED, in a series without any resistors to my 6V and baam! it lit up! thanks!
but after about 20 secs, the LEDs started to get hot. Is that normal? I don't think I'd need any resistors or I wouldn't even know how since I would get 0 ohm resistor value

2. My project is to light up 8 LEDs. 4 pararell LED each side, then 2 of 4 pararell LEDs in series. so like. (1+1+1+1) + (1+1+1+1).
so I'm thinking (3V, .08ohm) + (3V, .08ohm) so it would be 6V with .08ohm right?
then it would require no resistor since 6v-6v=0 right?
Or would that get too hot and require resistors?

any help is appreciated!!!
Thanks!!
Oct 11, 2011. 10:39 PMcellis6 says:
LEDs power is based on Amperage not Voltage, that's why they are getting hot. Think of them like a resistor, when you put 2 resistors in series, you drop voltage each resistor but Amperage never changes.

So if your LED requires Forward Voltage of 3.0-3.2Vf, and 20mA, and you want to run it off 6V. If you were just trying to power one LED it would be (6V-3.2V)/.02mA. Meaning you'd need a 140 ohm resistor before attaching the LED to power.

As far as hooking them up in series/parallel, you should be able to do it with one resistor at the beginning of each series of 4 of 140 ohms. Which would make each series 20mA and 3.2 Volts after the resistor. Hope this helps.
Nov 24, 2010. 6:06 PMkamenkoo says:
I want to connect LED to my speakers.. :)) How can i do that ?? :)) What should i do?? :)) Thanks :)))
Oct 6, 2011. 9:06 PMDavid97 says:
Use a transistor. just google transistor tutorals. To find out how to use them, if you still need more help ask me.
Sep 25, 2011. 2:57 PMBerrydueds says:
I have trouble with my Leds, The schematics are below.
My problem is that the middle row of Leds always gets burnt out.
The first time I didnt use any resistors and the middle row completely burnt out but the rest were fine.

Second time, I only had 470ohms 1/4W resistors. Same issue - the middle row burnt out.

Also, i only have 470ohms resistors, if i used the right amount (100 ohms ) would this solve my problem?

Screen Shot 2011-09-26 at 12.51.13 AM.png
Sep 22, 2011. 9:58 PMdog digger says:
In my ultimate LED guide, I have got a step with ohm's law on it. With ohm's law, you will never need a resistor calculator again!! And it's simple to understand!!
Sep 12, 2011. 11:20 AMtommiesmee says:
i can't get it to work!
i connect a wire to the positive side of a (1.5 V) AA battery,
the wire to a resistor,
the resistor to my LED (positive side),
a wire to my LED (negative side),
the wire to my battery (negative side).
nothing.
as far as i know, the resistor is good, and the battery is charged.
what did i do wrong?
(i am new to electronics, but i figured i should be able to do this!
guess not =( ).
Sep 22, 2011. 9:56 PMdog digger says:
No enough voltage. the LED roughly needs about 2-3V. One 1.5v battery will not have enough voltage
Sep 17, 2011. 9:24 PMElectroniks says:
Good day everyone!!
For the LED to light up, the voltage input must be higher than the required LED forward voltage. From the diagram below,( actually it is copied from LED-Calculator )

DC Voltage must be greater than the Voltage Drop of LED
To determine the value of resistance in series to the LED, just use the simple resistance formula (DC Voltage - Voltage Drop of LED) / Current 

led calculator.jpg
Sep 17, 2011. 8:35 AMsgomes3 says:
Excellent article. This was very helpful for my project. Thank you.
Aug 20, 2011. 12:38 AMimarzouka says:
Here is a good calculator you can use calculate the resistor values you need for your LED circuit: http://ledcalculator.net
Jul 25, 2011. 4:54 PMjconner3 says:
ok im trying to light up 12 white leds 3.3 volts what battery and resistor shoult i use
Jul 24, 2011. 11:52 AMdkcmo says:
I have a question i am going to hook up 36 led for lighting not sure what is the best way to connect them is it parallel or series what is the advantage from one to the other ?
Mar 10, 2007. 1:23 PMbabylonfive says:
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
Apr 9, 2009. 10:09 AMjustaj says:
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
Apr 9, 2009. 11:29 AMbabylonfive says:
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.
1-40 of 533next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
809
Followers
100
Author:noahw
Editor of the Workshop and Outside channels...I'm back!