loading
this project was inspired by the following web page:
http://www.i-hacked.com/content/view/62/44/
that said, there are unlimited numbers of things that can be powered by usb. with the holidays coming up, why not christmas lights? i've added a switch to the original design to allow me to turn them on and off without unplugging the usb cable. The whole thing is mounted into an enclosure (altoids tin, of course), purely for aesthetics.

Step 1: Get Your Equipment

i began with a battery operated set of christmas lights, and the male end of a usb cable. i cut off the c battery holder, taking care to mark which wire was positive and which was negative. frankly, this may not matter in this case, but i wasn't completely sure, and i'm a better safe than sorry kind of guy. i stripped the ends of the wires and twisted them to keep them together. i then stripped the outer sheathing off the usb cable and located the red and black wires. these are the only ones we will need. if you're following along with me, strip them too. for an enclosure, i chose--of course--an altoids tin. this, however, is the first project i've seen inside an altoids smalls tin. (at least that's something)

oh, i also use a small toggle switch and some solder and what not.

Step 2: Get Funky I

drill a hole in the side of the tin closer to the base than the top. i used a much smaller bit and then used a precision file to work it up to size. it wasn't a perfect circle, but it allows you to move the hole a bit to get the fit right so the lid will still fit on. besides, the nut to hold the switch in place on the enclosure will cover it once it's on.

Step 3: Get Funky II

i used the same technique to fashion a hole in one end for a usb cord, and a hole in the other for the christmas lights.

as you can see, i tied a knot in the light's cord and placed a zip-tie on the usb cable inside the case. this will keep you from pulling the internal workings out of place during use. i will anchor it further, but that's another step.

so, without further ado, another step. . .

Step 4: Get Funky III

solder the negative wire of the lights, to the black wire of the usb cable. then solder the positive wire from the lights to one pole of a spst toggle switch. the red wire from the usb cable will be soldered to the other pole. this is not the clearest picture, but this is about as easy as it gets, so i'm not worried. if you can't figure out what i'm talking about, you're in the wrong place.

Step 5: Get Funky IV

i've used white electrical tape to insulate the soldered ground wires. color doesn't really make a difference, but please, please! don't EVER use red!! just kidding.

hot glue helps to imobilize the wires and therefore protect your soldered joints. you want as little as possible to move inside this thing. usb cables have tiny wires, a.k.a. they break easily.

Step 6: Testing

this is an easy project. i am way overdocumenting, but even though it is easy, i still wanted to test it before plugging it in to one of my computers. they ain't worth much, but they're what i got, right?

i hooked this bad boy up to a portable 9v usb charger that i had constructed with the aid of a multitude of instructables, etc. it worked.

everything's cool and i have some snazzy lights for the holiday season, or whenever i need some quick lighting without an outlet. all powered from a 9v battery.

and by the way, it also worked when plugged into my computer's usb port. =)

p.s. next pic is the inside of my 9v usb charger.

Step 7: 9v Usb Charger

this may be my next instructable. it's been done, though.
well done!
Really, SSBBROB?&nbsp; Lay off the kid.&nbsp; He's (or she's) just trying to learn about electronics.&nbsp; Maybe he'll be the person who gets excited about this stuff and ends up inventing something amazing we will all use someday.&nbsp; And maybe his parents helped him out or he is using his dad's (or mom's) account.&nbsp; However he (or she) is on this site, the comments are on my project and don't concern you.&nbsp; And if there is a legitimate problem, report it to the actual Instructables admin.&nbsp; Cheers!<br />
&nbsp;i am a 12 year old electric novice and would like to now if someone could tell me how to wire a 5v regulator in this schematic<br /> <br /> i already have it built and it charges my psp but i am making it able to charge my ipod and think a $2 regulator is worth less than a psp or ipod<br />
Just do an Instructables search for '9v USB charger' and you will come up with a host of projects much like this:&nbsp; https://www.instructables.com/id/Super-Simple-Ipod-Battery-Charger-Altoids-Tin/<br /> <br /> As well, depending on where you buy your regulator the basic wiring should be on the package.&nbsp; Radio Shack?&nbsp; It's on there.&nbsp; Just wire it up and go to town.<br /> <br /> (I accept no responsibility for fried-pods. . .)<br />
Also check out 'matroska's' post if you haven't already.&nbsp; Very useful.&nbsp; Thanks, matroska!<br />
&nbsp;thanks that helped alot
No sweat.&nbsp; Hope all goes well.&nbsp; Post some pics when the deal is done.&nbsp; = )<br />
&nbsp;I'd also give it a tumbler switch or a dimmer :P Just in case.<br /> <br />
&nbsp;Very neat! I'll be using this to power my ipods and iphone!<br /> <br /> By the way, for those looking -like me- to power real usb devices, you will need some modification made so that the device will know it's a &quot;real&quot; usb port.<br /> <br /> See this instructable for more details:&nbsp;<br /> <a href="https://www.instructables.com/id/How_to_get_your_iPod_to_charge_with_your_homemade_/">www.instructables.com/id/How_to_get_your_iPod_to_charge_with_your_homemade_/</a><br /> <br /> Unfortunatly, as is, it will not power iPods or any other devices that requires some kind of usb standard. (Which is why in that instructables all the 4 pins are used.) Good luck all and thanks.<br />
Can you use a set of christmas lights and power them with a pc.
it could be possible if you can find a way to turn 5 volts into twelve volts then you can use an inverter to turn twelve volts into 120 volts then TA DA.
usb is around 5v whether you're on a mac or a pc. if you have a set of lights that can run on 5v you can power it with either. all i'm doing is harvesting power, not the operating system.
if you're talking about straight out of the box plug-in(120v) Christmas lights, no.
Quote pdub420:i've used white electrical tape to insulate the soldered ground wires. color doesn't really make a difference, but please, please! don't EVER use red!! just kidding.|| That was hilarius!!! +1
how many volts come out of a computer USB Socket?
5 Volts
could you makes this work with music on your computer?
Here it is....
i mad this battery pack...<br/><a rel="nofollow" href="http://www.hackaday.com/2005/01/20/how-to-make-a-usb-battery/7#comments">http://www.hackaday.com/2005/01/20/how-to-make-a-usb-battery/7#comments</a><br/>the battery is only a little warm but im not sure about it.....and i made the usb christmas lights with the same everything...its pretty kool...the battery pack on this instructable got me interested...<br/><br/>
i'm glad my instructable inspired you. that's what it's all about. you should post a pic of your usb lights, if you want. i'd like to see it.
Didnt you think about other uses to this? This could be the neighborhoods best halloween pumpkin.
actually, these lights were originally made to run on two c batteries. that's 3 volts. usb provides about 5 volts.
On the x-mas lights, why did you use the tin? You just spliced 2 wires...
a. i soldered the wires and didn't tape them. using an enclosure keeps everything from being pulled apart. b. i added a toggle switch to turn them on and off without having to unplug them from the usb port. an enclosure was necessary to mount the switch to something. c. it was something fun to do with an altoids smalls tin.
i dont get it! why go through all that troule, if ur gonna use another battery!!? :S
if you'll reread, my friend, you would see that i was just using the battery to test it before plugging it into my computer. it tested fine and i am using them with my mac. it just so happened that my usb charger was the perfect thing to use to test it. voltage was right on. hope that clears it up.
yeah, treb, i can dig. i just liked the simplicity. i'm cutting my teeth, remember. take care and thanks for the kind words.
Nice work :) --- Looks like a basic 5v power supply -- if you want something more efficient, search for the mintyboost by ladyada ;)
Nice. I like the battery pack too.

About This Instructable

31,808views

44favorites

License:

Bio: I like to make things
More by pdub77:Cómo hacer alcohol casero, conocido como "moonshine" Roll Your Own Bongo Cajon Emergency Backup Fluid for Zippo Lighter 
Add instructable to: