***If you have wired up LEDs before, this explanation might seem overly simplistic. Consider yourself warned.***
Remove these ads by
Signing UpStep 1Get some LEDs
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 Step | Download PDFView All Steps | Next Step » |













































Thanks
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.
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.
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...
http://www.ledtronics.com/html/ColorChart.htm
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.
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?
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
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!!
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.
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?
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 =( ).
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
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.