loading
This Instructable will show how to build a very bright usb powered led light. This can come in very handy while working on your computer or lighting up your keyboard in the dark. Another possibility of this light could even be for a mood light, because it can be placed behind a monitor and shine onto the wall or ceiling. This is my first Instructable so I hope you enjoy!

Step 1: Materials

The first thing you have to do is gather your materials. ALL of the electrical parts I used to build this project were scrapped off old electronics I had laying around, and the tools needed are pretty common.

Things used for this project:
-X-acto knife
-Soldering iron
-Solder (duh :P)
-Hot glue gun
-Screw driver (for making holes)
-Electrical tape
-12 white LED's
-47ohm resistor
-Small switch
-Wire
-USB cable
-Small box (or anything that can hold the components)
-Scissors
-Sharpie/pen

Optional:
-Wire strippers
-Wire cutters

Step 2: Getting Started

After gathering all of the materials you can now begin the modification of the box. First thing you need to do is to mark a spot where you want to put the usb cable. Now using a screw driver (or nail, or anything pointy) make a hole where the mark was.

Step 3: The Beginning of a Brighter Future

You now have a hole in your box and you are sitting there wondering what to do next. Well...now you need to get a usb cable. The usb cable doesn't have to be anything special just as long as you can strip the wire for it to fit in the hole you made earlier, but of course the usb cable also has to be working so that you can plug it in when you're all finished. For this project you will need to cut off the green and white cables and keep the red and black, the reason being is because the black and red cables are the power cables. After the cable has been spliced you now need to put it in the box, and when after you do I recommend tying a knot so that the cable wont be pulled out or moved out of place.

Step 4: What Would We Do Without One of These?

Switches are a part of everyday life, and with the use of a switch it is now possible to control when it's on or off...instead of constantly plugging and unplugging your usb cable. With that in mind, you will need to purchase a small switch like the one below. That switch was purchased many years ago but can be bought for around a quarter a piece. Then you will need to mark another hole, but this time it needs to be much bigger because you're going to be putting the switch in. After marking the hole you should then use your knife to cut out the hole and then fit the switch nice and snug in its place.

Step 5: Connection to the Switch

I know that you've just cut that nice new hole and now your switch is in place, so what you need to do next is to connect your usb cable to the switch. Out of the 2 wires that are left in the usb cable, you will only be connecting the red wire to the switch. Solder the red wire directly to the switch on one pin, and then on the next pin you will need to solder another extra piece of wire.

After you have the two sections of red wire attached to both pins you will now need to add a resistor. For this project I used a 47 ohm resistor (which was more than enough...but better safe than sorry.) to figure out what size resistor you will be needing you can go to [http://metku.net/index.html?sect=view&n=1&path=mods/ledcalc/index_eng] Now attach the last section of red wire to the other end of the resistor and solder in place.

47 ohms was assuming that each LED takes 3.6 volts and 20ma to run.

Edit!: ACTUAL RESISTOR SIZE SHOULD BE AROUND 70 OHMS and for best results you should solder 1 resistor to the leg of each LED.

Step 6: LED Time!

Actually we're close...but it's not quite LED time. It is however time to mark your holes on the lid of the box for where you want your LEDs. In my design below I have it set up as 2 rows of 5 and 1 row of 2 becoming a total of 12 LEDs. But anything will do and you are not limited to this design by any means.

For making the holes to fit the LEDs, I found that it was quickest to burn each hole out with your soldering iron, and from there expanding the hole with a screwdriver or anything large enough.

Now that your holes are made, you can now place the LEDs in the holes. Make sure that you put the LEDs in from the bottom, because the ring on the LED will help secure them inside. Something very important to note is that all of the LEDs should be facing the same way. In other words, each Anode should be on the right, and each Cathode should be on the left. After they are pushed into place and each anode and cathode line up correctly you should now use a small amount of hot glue to keep JUST the plastic of the LED in place, you DON'T want to get much hot glue on the legs of the LED because the LEDs soldered still.

Step 7: Now It's Actually LED Time!

Now it's time to wire the LEDs, which is quite a long process since I didn't have any sort of circuit board to work with (which would've been much safer, and cleaner). In case I didn't mention it before...the LED setup is running in parallel, due mostly to the fact that the voltage of USB power is only 5v, so with the parallel setup it was possible to power each of the LEDs at a maximum voltage. The pictures pretty much explain how to wire the LEDs. It's important to leave some extra wire hanging off like it's shown in the picture so that it can later be attached to the base of the box.

[The wires between each LED are going to be bare, make sure to add some hot glue to the overlapping wires to keep them separated, otherwise the circuit will short out, and the LEDs will either flicker or not light at all]

It is also important to note, that if the polarity is wrong, the LEDs will not light at all.

Step 8: You're Almost There!

The LEDs are wire to the lid, and the switch is wired to the base, what next? you attach them! All that's left of this project is completing the circuit by connecting the anode to the red wire, and the cathode to the black wire (directly from usb cable) The black wire however needs to be extended in order to reach the other wire.

After everything is wired up, now all you have (should) do is cover the bare wires in electrical tape to prevent any short circuits, and you also might want to glue/screw in the switch that was put in at the beginning to make it more permanent. see pictures below...

Step 9: Let There Be Light!

All that's left of this is putting the two halves back together for the final time, and putting a small amount of glue around the edges to make the box stay together.

And the moment we've been waiting for is here...plug in the usb cable and flip on your switch. If all went well, you should have a nice and bright USB-LED light!

Step 10: Finished

This project was actually my first project that had to do with LEDs in a circuit, and was a learning experience for me (not that it was very hard at all) and now I have a great light to work on my computer with or do whatever.

I hope somebody tries this project, and I would love feedback since this is my first Instructable ;)
Got a doubt , what it's the V of the LED's?
depends on the brightness, normal leds usually run at 1.5v super brights around 3.6v
 It also depends on what compound is used to make the "light." Whites (no matter the size or shape of the clear housing, unless specified) usually run on 3.5-3.7V. I can't recall what the other colors run on but each vary differently.
I really appreciate your simple yet very thorough explanation of your project, and with a USB cable nonetheless! I 2 R a noob and I'm slowly but surely learning how not to fear those teeny metal bits with names ending in "-or" or "-ode". I'm fortunate enough to be quite near to a Fry's Electronics so I shall return there and begin my foray into making my first simple circuits. :) I hope you plan to write more instructables, because I really enjoy your teaching style. Keep us updated into your newest electrical forays!
Well I'm glad I'm not the only one ;) haha and I'm happy to hear that you liked the instructable! I'm only 15... and without anyone to teach me...I do the only thing i can do, which is learn on the internet and try it out for myself. And while i'm sure there are millions of kids my age who could do something much better than myself, it was still fun doing this project, and i hope to post more intricate projects as i learn more about electronics.
Why sir, you are a mighty bright and rather charming 15 year old if this old lady may say so herself. :) Is this something you plan on pursuing as a career one day?
Maybe not this exactly, but i would love to be an electrical or computer engineer once i get out into the real world
That's what I meant, something in the electronics world or something related. Well you are well on your way and I wish you great success. And don't forget to post any new projects you're working on. :)
Its a good overall circuit, but with a single resistor, regardless(ish) of size you may have problems if one LED breaks with excess current; but as you said, each LED should have a resistor.<br/>You can calculate the resistor by assuming that the voltage over the resistor is the supply voltage minus the voltage drop over the LED, in your case the resistor drop would be 1.4v.<br/>To give a 20ma current, use Ohm's law<br/>( v = i * R, R = v / i )<br/>to get <br/>R=1.4/ (20x10<sup>-3 )</sup><br/>R=70R<br/><br/>I wouldn't be worried too much about the USB port, it will have a certain amount of short protection, and it won't provide more than 500ma anyway. Also looking at the wire layout, it looks to be thoughtfully done, and not overlapping. The electrical tape also ensures there will be no movement, and so no problem.<br/><br/>To make the LEDs brighter still, you might want to investigate PWM.<br/>
This was one of the most helpful comments I have ever seen :) thank you very much. I really appreciate it when someone takes the time to help me understand the reasoning behind why something works. I now realize what I did wrong, and I will most likely fix it in the Instructable so that people don't get the wrong resistor value. As for shorting out the cables, i made sure that they were much safer than they look by packing it with hot glue so that they won't move around, and I also went ahead put the electrical tape over the top to prevent any wire touching and moving around. I think the biggest problem I've had while doing electronic projects is the fact that I don't have access to a multimeter...and about 4 days before I did this i had just purchased one online...I'm still waiting for it in the mail. But a multimeter would greatly help me fix voltage and amp issues. Once again thank you :) ~Hunter
How did you come up with the 47 ohm resistor. It's value seems low.
But now that I think about it...it doesn't seem right to me either. I think the resistor should've been around 80 and connected to the leg of each led. But i'm unsure of how that value helped the circuit (because I R a noob)
Explain your reasoning. I'm kinda new to all of this so anything you could teach me would be great :) haha but as far as resistor value, i went to <a rel="nofollow" href="http://metku.net/index.html?sect=view&amp;n=1&amp;path=mods/ledcalc/index_eng">http://metku.net/index.html?sect=view&amp;n=1&amp;path=mods/ledcalc/index_eng</a> to help me figure it out.<br/>
To be honest, I wouldn't use uninsulated wire for all those LEDs. If you shorted it out, you could damage your USB port. A better idea would be using a breadboard and having them all set up on a row of common connections. Excellent write-up, but be careful with that uninsulated wire.
I 100% agree with what you said, uninsulated wire is dangerous in general because of the possibility of shorting it. I'm pretty sure that was also mentioned in the Instructable though- I didn't have access to a breadboard and this was the quickest way for me to do it. One way to make it much safer though if anyone chooses to use bare wires like I did would be to load up on hot glue to completely insulate the wires, however that could get pretty messy... Thanks for the comment!

About This Instructable

14,774views

21favorites

License:

More by Hunterman:Bright USB Powered LED Light 
Add instructable to: