This project describes how to build a hand crank Lego usb charger with parts from a Mindstorms kit and Radio Shack.

The charger uses a Lego motor to generate current which is passed through a voltage regulator and then to the usb port.

It would make a great stocking stuffer for anyone who uses devices that charge via usb. If you are getting it for a person who likes to build their own things, just collect all the parts put them in a ziplock, and put that in the stocking. Then when they want to build it you can show them this instructable.

Step 1: Building the Lego base

Follow the photos for details on how to build the base.

Some of the photos include the wired up electronics, ill explain that in the next step.

Step 2: The electronics

The 3 parts needed for this step are:
- Short lego wire, cut the block piece off one end and strip about a centimeter of the wire off
- +5V Fixed-Voltage Regulator 7805
- Female usb port

Plug the lego wire onto the motor as shown in the photos, test out which wire is positive by connecting the stripped wires to a multimeter and cranking the motor. Wire the positive end to pin 1 (input) on the voltage regulator. Wire pin 3 (output) to pin 1 on the usb port (if staring into the socket while the contacts on the inside are facing down, pin one is the farthest to the left). Wire pin 4 on the usb socket, and pin 2 on the voltage regulator to the negative lego wire.

Step 3: Ad ons

It is easy to create devices (ex: flashlights) that can be plugged into the motor or the usb port to provide power. For this project I enabled collaboration, so if anyone has any ideas for ad ons let me know and you can put them in.
<p>ok could you make a video on this and show a top view of the connections between the regulatorss and the usb port it help</p>
in my opinion its not worth it, as the motor costs 20-30 dollars, and you can buy a small dynamo hand charger for 3 dollars.
do you know which side of the lego wire is positive and negative? O and Radioshack carries the 7805 voltage regulator, i got it pretty easily.
Since the motor can be turned either way, I think the polarity can change. The next question is would this still work if a tiny rectifier bridge was added - like this one - http://www.squidoo.com/freeforming-a-diode-h-bridge. It would drop a few volts mind...
Please have a try! This is from brandbagstore.net Now there are many famous brands of products on the world, such as LV, Ed hardy , Gucci ,and so on. I think you may go to shop to buy them or on other websites. At that time, you are worried about the price so high or the quality so low. You also worried about the sellers can&rsquo;t do anything if the products are not work, We have going in business for a long time, And we have a lots of customers from all the world becoming our partner, Autumn is coming, we have opened the fall fashion door to all the customers, Would you mind making a decision to buy one or two product to have a try? I thins our perfect products and best service will make you satisfied! And you will never forget the websites brandbagstore.net Please have a try!
thats.... thats INGENIOUS!!!!!
The simple style <a href="http://www.ugglinks.com/" rel="nofollow"><b>UGG Boots</b></a> is just like the Eskimo fur coat and its style is suitable for all people, that is to say that ugg boots did not have so clearly difference between men and women. Accurate to say, it is the Australian wool workers shaving who wear <a href="http://www.ugglinks.com/ugg-classic-tall-fancy-c-86.html" rel="nofollow"><b>UGG Classic Boots</b></a> first in the earliest time. Winter is so cold and I think there is nothing more important than keeping warm. So ugg boots can be your good decision because it is famous for keeping warm. From <a href="http://www.ugglinks.com/" rel="nofollow"><b>UGG Boots Outlet</b></a>
Welcome to fashion goods online store, <strong><a href="http://www.coachshandbags.com" rel="nofollow">Coach outlet</a></strong> <strong><a href="http://coachshandbags.com/coach-handbags-55-handbags-c-1_6.html" rel="nofollow">Coach bags</a></strong> <strong><a href="http://uselv.com/damier-canvas-c-66.html" rel="nofollow">louis vuitton bags</a></strong> <strong><a href="http://www.uselv.com" rel="nofollow">louis vuitton outlet</a></strong> <strong><a href="http://www.chanels.cc" rel="nofollow">Chanel outlet</a><strong> <strong><a href="http://chanels.cc/chanel-255-bags-c-120.html" rel="nofollow">Chanel 2.55 handbags</a><strong> <strong><a href="http://www.suprasfootwear.org" rel="nofollow">Supra Shoes</a><strong> <strong><a href="http://suprasfootwear.org/supra-skytop-high-c-2.html" rel="nofollow">Supra footwear</a><strong> <strong><a href="http://www.ugglinks.com" rel="nofollow">cheap UGG Boots outlet</a></strong> <strong><a href="http://www.ugglinks.com/ugg-classic-cardy-boots-c-67.html" rel="nofollow">cheap UGG Boots</a></strong> <strong><a href="http://www.mbts.cc" rel="nofollow">MBT Shoes sale,MBT Sneaker,Anti Shoes</a></strong> all products are good and cheap.</strong></strong></strong></strong></strong></strong></strong></strong>
its so simple yet so good i dont no what to rate him
Couldn't u use another motor attached to the crank in order to charge something instead of standing there for an hour cranking? Would work just as well, instead of tiring your arm out =)<br/>
&nbsp;Then what is the use?<br /> Find a power source, convert it to movement and then convert it back to power?<br /> All you're gonna do is lose power on the way (goes to heat by friction).&nbsp;<br /> <br /> I've seen projects on instructables to charge USB devices using normal batteries (AA, AAA, 9V). Might be a better solution if you don't want to do some effort for the power.&nbsp;<br /> <br /> This is a nice thing to have with you if you run out of power without any batteries or other power source nearby.&nbsp;<br />
could this thing be used as a usb driven motor?<br /> so i can control my legos?
no lol
did this all come out of one set of legos
where do you get the lego engine? Ive never seen one that actualy puts out electricity
it's just an electromotor. Normally you put electricity in it and rotation comes out, but he uses it as rotation in -> electricity out
It is the standard lego motor that comes in all mindstorms kits.
do you need a voltage regulator
Where did you get the voltage regulator?
just search for voltage regulator 7805 and order it
the worst of it is trying to find the right piece of junk to get the +5 volt regulator....i don't have a radio shack round ere'....:(....but still beautiful idea and i love it :D
Every old computer power supply and most other digital electronics will have 7805 regulator in them.
And UPS's.Definitely those.
can i use a different voltage regulator
What Mindstrom kit did you use?
He used RCX parts.
i actually dissected a flashlight that uses the crank (not as remarkable, sure, but,) and soldered the same USB stick you showed to make a charger for my iPod.
cool, I wonder if the pulsing of the charge isn't bad for the battery though. I don't know why it would be, but not sure.. also, if you ever rotate the thing in the wrong direction, wouldn't that create an oposite polarity of voltage which would harm the 7805 regulator (and maybe the ipod) ?
I understand your concern, however the voltage regulator IC should regulate the power enough to prevent it creating a problem. regarding polarity, assuming the motor output was DC, a diode could be used to ensure that the battery only receives the correct polarity. however if you wanted to charge the battery regardless of the direction of the motor turning, you could add a full wave rectifier, this would have to be implemented before the regulator chip. the downside of this, is that due to the diodes a small amount of voltage would be lost. depending on the motor, a better gear ratio could be used to make up for this. as long as the ratio doesn't make turning the crank too difficult. cheers
oops I just posted a comment on the whole diode thing, then scrolled down and saw your comment :D
I might be wrong but i recommend putting a diode (1n4001 worked for me) on the negative output of the generator, just in case it is cranked backwards.
You could replace the usb port with a 12v plug (the ones inside people's houses). Then you could charge your lego 'smart brick' or even your psp!
to charge any device via usb you simply need a usb charger cable<br/><br/>they arent hard to find google shopping gave me this in a second or so for a psp<br/><br/><a rel="nofollow" href="http://www.google.com/products?q=psp%20usb%20charger&amp;ie=UTF-8&amp;oe=utf-8&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a&amp;um=1&amp;sa=N&amp;tab=wf">http://www.google.com/products?q=psp%20usb%20charger&amp;ie=UTF-8&amp;oe=utf-8&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a&amp;um=1&amp;sa=N&amp;tab=wf</a><br/>
You would also have to crank really fast for about an hour and use a 12v, 7812 voltage regulator to charge a smart brick with rechargables.
someone mentioned that you need to filter the chopped up DC current in order to not harm the 7805. You could easily put a capacitor in there...
what no one realizes is without a built in battery you would have to constantly turn the crank to charge the device, and because many items take several hours to fully charge this would only be useful in emergency situations.
You could just have a friend crank it while you plugged in a cellphone or something.
I made this with a 1/10 gear ratio, you barely have to crank to generate a more than 5v charge.
for all you who are wondering where to get a motor, if you haven't yet, try <a rel="nofollow" href="http://www.bricklink.com/.">http://www.bricklink.com/.</a> they have just about every single lego brick and piece ever made.<br/>
<a rel="nofollow" href="http://www.pcmag.com/slideshow_viewer/0,1205,l=224963&amp;s=27523&amp;a=224961&amp;po=9,00.asp">http://www.pcmag.com/slideshow_viewer/0,1205,l=224963&amp;s=27523&amp;a=224961&amp;po=9,00.asp</a> you've been picked up by PCmag.com<br/>
Cool, thanks for letting me know.
Ah, ebay to the rescue... Do you have a model number or a suggestion on to which one I should buy?? <br/><br/><a rel="nofollow" href="http://search.ebay.com/search/search.dll?from=R40&_trksid=m37&satitle=Lego+motor&category0=">http://search.ebay.com/search/search.dll?from=R40&amp;_trksid=m37&amp;satitle=Lego+motor&amp;category0=</a><br/><br/>
What an awesome project! Do you have the specs as far as voltage and current that this puts out? Also, where can I get that Lego motor? I searched for Mindstorms kits with no luck... Thanks!
is there a way to get the motor seperate
That would be great for when your power goes out and your ipod's battery is dead!
If anyone needs the 5v regulator for this instructable or any others you can get it by clicking the link at the bottom, but only if you live in the UK. It's 59p and is 1A max. They also do 12 &amp; 15v ones if you need them.<a rel="nofollow" href="http://www.maplin.co.uk/Search.aspx?criteria=CH35Q&DOY=21m1">Click here</a><br/>
Many thanks for this. I will use a screen capture and it will be on UK educational web site: <a rel="nofollow" href="http://www.electronicsinschools.org/">http://www.electronicsinschools.org/</a> However, I am writing a whole series of articles, and the will all be placed on the site together in probably Summer 2008.<br/>Thanks<br/>John<br/>
Hi<br/>I am writing notes for a UK educational web site. I want to include a link to <a href="http://www.instructables.com/id/Lego-USB-Charger/">http://www.instructables.com/id/Lego-USB-Charger/</a> and also a couple of graphics from the article, to give readers a feel for what it is about. Can you email me to confirm permission to use your graphics for this non-commercial purpose?<br/>Thanks<br/>John<br/>
One of the cooler features of this site is the ability to decide what type of license you want your projects to be posted under. As you can see in the "Info" box on the right hand side of this page, this project has an "Attribution - Non Commercial - Share Alike" license. That means that you can use whatever text or graphics from this article you like, as long as you do not make money off it and cite the source. You do not even need to ask my permission, but if you do end up using it can you send me a link to the site you use it on. I am always curious to see where my randomness ends up.

About This Instructable


153 favorites


Bio: Working wireless-ly.
More by Tetranitrate: Laser Glow Board E-Bola Laser Tattoo
Add instructable to: