how-to: ‘usb battery’ v2

posted Jan 28th 2005 4:47am by
filed under: cellphones hacks, ipod hacks, misc hacks

usb battery v2

thanks to everyone’s great feedback, i’ve now got a usb battery that’s much more efficient and capable of delivering more current to a portable device.  like i promised, i put together a slick little case to finish this hack off right.  read on for some tips on building your own.

 

quick improvement

as mentioned by several readers, you’ll want to use a 5 volt regulator ic instead of the resistor/zener-diode combo i discussed previously.  you’ll be able to charge your device faster while it is running and it’s much more efficient, which will give your 9 volt a longer battery life.

the best part is that it’s easier and cheaper to do it this way.  just grab an lm7805 from your local hacker store and wire it up.  connect the positive battery terminal to the 7805 input pin, the positive usb pin to the 7805 output pin, and connect the negative battery terminal and the usb ground pin to the 7805 ground pin.

which is which?  if you hold the 7805 with the text facing you and the pins downward, the pins from left to right are: input, ground, output.  it looks like this:

lm7805

for the female usb connector, look down into the end of the connector so that it is oriented like so:

usb connector

pin 1 is the positive (5v) terminal (which goes to the output of the 7805) and pin 4 is ground (which goes to the 7805 ground pin).

 

easiest way to test

several people were wondering how to tell if you are going to fry your device.  here’s the easiest way to test when you are all done wiring:

  1. cut a standard usb cable in half.

  2. plug the male end into your usb battery.

  3. connect the positive and negative ends of your multimeter to the red and black usb wires respectively.

  4. if it reads something very close to 5v then you are wired correctly.

 

making a case

usb battery case 1

i chose to make my case out of polystyrene plastic.  you can find this stuff in sheet form at most hobby stores.  it’s the same kind of plastic used in your standard plastic model kit and the sheet form lends itself nicely to making flat sided objects



331 Responses to how-to: ‘usb battery’ v2

  • Marc says:

    Silly question – Most of these projects are focused on ‘charging’ ….(i.e. plugging into a portable device that already has a rechargable battery inside it – what about simply fashioning a custom rechargeable (lithium ion?) battery pack for a device ….(to make it truly portable)? like for this recent item (Aivx) -
    http://www.cooldrives.com/aidimi2usbdr.html

  • Marc says:

    Silly question – Most of these projects are focused on ‘charging’ ….(i.e. plugging into a portable device that already has a rechargable battery inside it – what about simply fashioning a custom rechargeable (lithium ion?) battery pack for a device ….(to make it truly portable)? like for this recent item (Aivx) -
    http://www.cooldrives.com/aidimi2usbdr.html

  • mike-n-go says:

    i bought the 7805 now where can i get usb/firewire conector

  • Richard says:

    Don’t know if anyone is still reading this thread, but I just build one of these.

    I used 4x AA batteries. I plugged in a cheapo MP3 player to test it out. I got about ten minutes of battery life. The multimeter revealed why. Before I plugged in the player, the input voltage from the batteries was 5.9V and the output was 5.03v . After ten minutes, the input voltage was 5.06v and the output voltage was 4.2v . And the voltage regulator was quite warm.

    I wanted to try this with a 9V cell to compare, but I didn’t have any new 9v’s lying around. But I suspect the reason for the fast drain is the high amperage of the batteries, and the inefficiency of the linear regulators, and that the batteries are only 1V above the output of the regulator, and the regulator need quite a bit more than 5v to be able to output 5v (6v is enough, but 5.5v probably isn’t. 5.06v definately isn’t)

    One other thing, the regulator I used was a 7805CT, if that makes any difference. (which I doubt )

  • zhz says:

    response to post 105:
    4xAA gives about 6V. The 7805 requires 2 volts of “drop-out” to create 5V. In other words, you need at least a 7V input for the 7805 to reliable output 5V. If the input is less than 7V, it may or may not work. also when you attach a “load” to the battery, the battery output voltage will appear to drop slight due to the internal battery resistance.

    response to post 99 & 103:
    i was thinking of using the MAX1675 step-up DC-DC (http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1878). It will operate on as little as 0.7V input and is very efficient (up to 94%). that means it will work with a single AAA (as in very light charger). it is also very cheap (~$2). the only problem is that it is surface mount, so it’s hard to work with. the 78SR105 solution looks interesting though. it is no longer recommend by ti though. they suggest the PT78ST105 .

    btw, i am an electrical engineer working on a battery powered device at work, so i know a little about this stuff.

  • shane says:

    i used the lm7805 and put it together just like the artical said, bought a brand new 9v and when i pluged it into my 20g ipod all it does is make the screen lite up and the charging thing dosent move, some times right after i unplug it the batter life meter on the ipod drops? Help!!!!!!!!!!!!!!!!!!!!!!!!!!

  • Cort says:

    In response to post 106.
    That seems like a great idea. The 9V nimh I’m using now have very poor power density. A couple of AAA or AA should be around the same size and pack much more power. Any idea on how to wire up the MAX1675? Not only is it surface mount, it’s really tiny as well.

    As for the PT78ST105, it’s not suitable as it requires a minimum 9V input. May not work properly with a 9V battery.

  • Richard says:

    re 107, I’m not sure about this, but I don’t think the big ipod can be charged through USB. You’ll need to build one that outputs 12V and connects through firewire.

    See this hack:
    http://www.hackaday.com/entry/3745397085341619/
    http://www.drewperry.co.uk/iPod/index.php?page=batterypack

  • Kingzter says:

    I used a USB to PS/2 Converter as the Converter has a female USB.

    When I try to charge my ipaq, it makes the backlight come on and shows charging, but the battery continues to drain, no matter what I turn off. Doesn’t seem to be charging. Am I missing something? Connected to 1 and 4 on the usb and getting 5v out.

  • ed says:

    #109 or whoever that could answer this..
    does that mean that i cant make a USB version (instead of firewire)that outputs 12v to use wiff my 3G iPod?
    tanx in advance.

  • ipod shuffle says:

    I made a USB battery for my Ipod shuffle but when I checked the volts I got around 10 or so, any idea what I did wrong? It looks like I put the wires in the right place, I used the website in post 109.

  • FRS says:

    #111:

    If your Ipod has USB imput, then sure you could. you’d just need a different solution for batteries thats all….
    two 9V might work if you stepped the voltage down, and you’d have a pretty fair amount of battery life with these too.

    Or you could use 8 AA or AAA’s to get 12V

  • Richard says:

    RE #113 and #111

    The ipod (3g i’m sure about, probably also applies to 4g) are not designed to charge AT ALL through the USB port. I don’t think it is very likely, but it is possible that the ipod completely ignores all power coming through the USB.

    Based on my (very limited) knowledge of the way these things are designed, I think that it is VERY LIKELY that the USB controller inside the ipod pulls power from the USB port. In which case, connecting it to a USB that outputs 12v wuold almost certainly kill the USB controller and probably the entire ipod

    Does your ipod come with a wall plug? If so, you could sevre that half way, solder a barrel plug onto the power adapter end, and a barrel socket onto the ipod end. And make a battery pack that produces 12v and has a barrel plug for power output. Just make sure you use the same polarity on all three (positive center is usually used)

    SO: If you fry your ipod by connecting it to 12v through the usb, it’s your own fault. I think that its a very stupid thing to do.

  • ed says:

    #114
    tanx for the reply. You’ve enlightened me (and prolly saved me from frying my ipod). Think i’ll scrounge around and find a firewire port and build something like the ipod altoid batt pack.

  • Richard says:

    #115
    My recomendation: if you can’t find a store that sells firewrite connecters, find and buy a firewire card for your pc that includes an internal firewire port, like this one:
    http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItem&category=3666&item=5178936708&rd=1

    As if you’re ever going to open up your PC just to plug in a firewire device. So use some desoldering braid to de-solder the internal firewire port. If you do it properly (don’t short anything on the card AND don’t desolder anything else) you should atill be able to use the card.

    (Here in Australia, I couldn’t find a store that sold USB sockets. So I had to vandalize a USB extension cord to make my USB battery.)

    On another note, I now have an ipod shuffle, but its the 1GB version and i don’t want to take the risk of plugging it into my USB battery. Aside from the AU$230 I have to scrounge up to replace it, it is very hard to find a store that has them in stock. For anyone else in Brisbane, Australia, Infinite Systems ( http://infinitesystems.com.au ) had stock last Wednesday, but I doubt they still do.

    So, at least for now, my usb battery will not be tested with my shuffle. I might buy that external battery pack that apple sells.

  • steve7515 says:

    Is there a way to make a usb-to-wall adapter?

    The new iPod minis(which I have), and maybe the shuffles, dont come with them.

  • andrew evans says:

    hey would this work on my new dell axim x50

  • spence says:

    Hi Ive built a usb charger and attached LED. For some reason the voltage drops too low to charge the phone can someone pls help. And can anyone tell me where I can get some parts (usb) for this project

  • Cort says:

    #117
    Buy a 5v power supply and wire it to a USB cable. You probably should not try to make your own power supply unless you know what you’re doing, as it can be dangerous. The power supply unit should be rated for at least 500mA.

    #119
    Did you connect the LED in series?

  • Richard says:

    #117 and #120
    i fried the wall supply for my HPC a while back (it was purchased overseas and rated at 120v, and I plugged it into a 240v outlet)

    Anyway, the output from the supply was 5v at 1 amp, and none of the electronics stores I visited sold 5v wall warts. I still used the thing for a couple more years, but only for solitaire (it was powered by two AA batteries)

    anyway, moral of the story is, 5v supplies are imposible to get except with devices that use them. The best such device to try would probably be a USB hub.

    Or you could attach a barrel socket to a circuit similar to the one in this article, and attach any old wall wart to that. It should be at least 7 volts, and more than 1 amp (I would suggest 1.5 amps)

  • Richard says:

    #119: what type of power supply are you using for this? I originally used 4 x AA, but found they didn’t supply enough voltage. A 9 volt battery is far more effective.

  • Ryan says:

    any way to make this with a solar panel? just curious

  • Richard says:

    re #123
    yes it is possible. solar cells produce about 4w, so you should be able to do it with one or two cells. However, I would recommend using at least 4.

    You would have to wire them up the right way to get the right voltage and amperage. And personally, I would hook the cells up to a voltage regulator.

    It won’t work (at all) unless the panels are directly facing the sun AND there is no cloud cover. So if you build one, you won’t be able to use it in the middle of a city. Or even on the outskirts. I’m guessing you want this for a long drive? You wouldn’t be able to generate enoguh power unless it was on the roof of the car AND aligned properly.

    If you want this for a long car journey, buy a cigarette lighter plug, and connect that to your voltage regulator. Power the whole thing off the car’s battery. Because most cars have a generator to recharge the battery, you’ll be able to use it as long as there is petrol in the tank.

  • mrklaw says:

    I just ordered a sample PT78ST105 to make a usb car charger. I already have a dead usb keyboard with some female usb sockets and a cigarette lighter plug from a charge-it brick from woot.com. Can’t wait to try this out.

    Here is TI’s page for the pt78st105
    http://focus.ti.com/docs/prod/folders/print/pt78st105.html

  • Steve Michael says:

    Belkin makes a cigarette lighter plug adapter for cars that has a USB port, and a red LED. It puts out 5.5V and one sticker said 700 mAh at input of 12 to 24V. I use it to charge my PDA. I tested it with 9V from 6 AAs on the input and it appears to put out 5.5V and charge my Sony PDA’s 3.7V Li Ion battery through its USB cable. You can pull out the ciruit board and put it in a box, or make a box with a cig lighter port for this to plug into. They have a PCB with a switching chip and several diodes, resisters and caps. I have found these for $1 at the 99 Cents store (packaged with cellphone and PDA USB cables) and for $1 at an electronics swap meet.

  • captv says:

    #120, #122 thanks for the suggestions I was able to get the LED working once I connected it in series. However, I added a 10A 125 VDC spst switch and for some reason the battery get very hot can anyone pls help with some specific directions

  • Cort says:

    #126
    What I meant was that you should check to ensure your led is not connected in series. If you connect the led in series, there will be a voltage drop, and your phone will not get the full 5v. The led should be connected in parrallel with a resistor to limit it’s current, and the led and resistor together should be in parrallel to the 5v supply to your phone.

    Depending on how much current your phone draws, it may be normal for your battery to run a little warm. But I think it’s more likely that something is shorted here. Check your wiring again.

  • Jetblac says:

    So how do we make this work with the PSP???

  • Infamous says:

    129:

    Well, you’d have to figure out on what voltage the PSP charges and get the appropriate adapter. If it was, say, 12 VDC, you could get 2 6v batteries hooked up to a diode (so the current doesn’t reverse!) then hooked up to an adapter that fits into the PSP’s charging socket. If it’s less/more than 12 VDC, add/remove batteries and add a voltage limiter if needed. I’d imagine that it’d charge rather slow, since the current isn’t too strong, but it should work.

    Anyone know what voltage PSP’s charge on? I should make one of these for a friend with a PSP (heh, lucky fucking bastard)

  • alx says:

    Someone mentioned above that pins 2,3 and 4 need to be soldered together. I cannot figure out why this should be done, since pins 2 and 3 are data pins. Will the charger work if pins 2 and 3 are left bare (specifically on a 20g iPod)?

  • K3yz says:

    cool…wanna try it myelf…

  • Richard says:

    *sigh*

    AFAIK, only IPOD SHUFFLE can be charged through USB.

    Any other IPOD requires a firewire or other charger. USB won’t charge it.

    So #131, get yourself two 9v batteries, a lm7812 or similar, and a firewire port. Wire the 9v batteries up in series.

    The reason pins 2,3,4 aparently need to be soldered together is because of the way the shuffle works. Some element of its design requires this. I’m not sure why. I’m not prepared to risk plugging my shuffle into my USB battery because I don’t want to fry it.

  • Richard says:

    Has anyone else noticed that hackaday converts all your comments to lowercase???

  • Eric says:

    The lowercase has to do with the css settings. Its come up in comment pages for a different hack.

  • Mugsy says:

    I just purchased a pcmcia usb card in order to add usb ports to an old pre-usb notebook, and wouldn’t you know it, *the card needs a usb port to power it* (catch-22)! Geez.

    So I went searching online for a way to power it with an external battery pack, and found your article. Can’t wait to try it. (I’ll have to canabalize an old USB/PS2 keyboard adaptor for the female usb recepticle because they are impossible to find.)

    Keep up the good work.

  • Cain says:

    i made one of these hoping to power my bus-powered 2.5 USB external Drive. the LED lights up, but the drive doesn’t start up.

    then i tried it without the voltage regulator. using 4AA NiH batteries to get 4.8 volt. it starts up.

    i was hoping to use the voltage regulator so i wouldn’t have to carry my charger with me

    any ideas to get this setup to work with a bus-powered hard drive?

  • Cain says:

    using USB/PS2 adapter… you don’t have to take it apart…just find the 5+ and ground on the PS2 and connect it to those 2 pins

  • Richard says:

    #137

    Do you have a multimeter? If so, measure the voltage and amperage WITH the voltage regulator, then measure the voltage and amperage WITHOUT the voltage regulatr. Let us know what the results are.

    If its like most 2.5 inch HDDs, it will require 0.5A at 5v. It is possible that your voltage regulator is using too much power.

  • Cain says:

    #139

    no i don’t have a multimeter

    i’m trying to use the 9V setup since i tested the harddrive with a several configs.

    i tried
    3AA alkaline = 4.5V. (HD doesn’t start)
    4AA alkaline = 6V w/ VR (doesn’t start)
    4AA alkaline =6v [no] VR (doesn’t start)
    6AA alkaline = 9V w/ VR (HD starts up)
    4AA NiH = 4.8 (starts up)

    so since the 6AA=9volt worked. I’m using a 9Volt battery since it takes up less space than 6 AA. since my current set up is like the one described here using a 9volt battery.
    can someone measure the amp output?

  • hi cain,
    the 7805 needs at least a 7 volt input to function correctly. this is why it works with 6 aa batteries but not with 4.

    if you are using alkaline batteries, 9-12 volts on input is probably about right. as alkalines are used their voltage drops fairly steadily. as soon as it drops below 7 volts, the regulator will not function.

    if you use nicad or nimh batteries, you may not need quite as much of a voltage head above 7 volts.. 7.2 is cutting it a bit close, but they do tend to hold their voltage more constant until they near the end of their charge (where it begins to drop rapidly).

    the higher your input voltage, the more waste heat is produced by the 7805, so it’s a bit of a tradeoff between getting the most out of your batteries and using them most efficiently

    good luck and let us know how it works out!

  • Ed Beck says:

    great portable battery. i hooked my own up and found that it works great for an ipod mini or iriver H3** great!

  • Ed Beck says:

    great portable battery. i hooked my own up and found that it works great for an ipod mini or iriver H3** great!

  • Rob says:

    I own a 40 gig Ipod and I charge it every day thruoght the USB port. It is a fourth generation so maybee usb support is new. I built one of these and it doesnt seem to work right. I wired it correctly am getting 5.2 volts out but my Ipod doesnt take a charge from it. The backlight comes on when I unplug it. I havent tried shorting the data pins yet, will let you know if this works.

  • Rob says:

    I tried it and she still no work. Ive double and triple checked every thing and it still dont work. So I thought maybee I fried the IC but It still puts out 5v. Is it possible for them to fail in a way that it puts out the proper voltage but thaen when current is drawn it goe son the fritz?

  • Matt says:

    I’m crap at electronics! Can I buy one from someone?

    Thanks again.

    P.S. Great idea!

  • Jeff says:

    Ok, I’m assuming the last few of the comments are frustrations with the author’s design, not another design mentioned in the comments. The USB spec, as most of you know, if not all of you, can handle up to 500 mA peak. If the voltage across the regulator is 5V, then there must exist a voltage drop between the regulator and the load (the device). Check for grounding problems. Make sure the soldered circuit is clean and make sure the solder job is clean, too. What’s best to do, if you haven’t done it already, is measure the voltage when the load and regulator are both connected. If you measure a voltage drop, then you know that there is a grounding problem. Check the wires and make sure there’s no damage to the insulation. That’s the key, insulation.

  • cde says:

    Matt/#146 I’ll make one, but how much are you willing to spend >:)

  • nick says:

    Nice! I’m not very experienced with electronics, so the simplicity of this project really worked for me. I used a multimeter correctly for probably the first time ever.

    I meant to mount the assembly inside a small ferrara pan jaw busters box (the kind that costs 25 cents), but without a glue gun that was hopeless. Instead, I ripped the plastic handle off a spoon and mounted the stuff to that with some garden wire (to secure the 9V battery clip) and a lot of electrical tape. I call this “the gimp”:

    http://www.extrafire.net/pictures/2005/april/IMG_2816.JPG

    This project is especially useful for me because I used to work in A/V support, and we threw out 9 volt batteries (from the handheld mikes) like it was our job. For a couple months now, I’ve had a box containing 500 or 600 9V batteries just sitting in my living room, gathering dust. They’re going to power my palm Tungsten T3 now instead.

  • deenko says:

    This is just for those who want to use this for a psp battery.

    4 nimh rechargable batteries in series provide a peak voltage around 5.4 volts. during their power discharge curve, they tend to level out around 4.8 volts, and when they start to run out of juice (roughly less than 10%) their voltage starts to fall rapidly around 4.65 volts. Of course, these values will be different depending on the brand of battery.

    The psp power supply I have outputs 5.4 volts, so the rechargable batteries should not overvoltage the psp, and using an adjustable power supply, the psp will continue to work (without the internal battery) until the voltage drops to about 4.65 volts.

    So, now I am going to simply plug 4 batteries (nimh) to the psp power input. I figure it should work, and from my estimates, it should last as long a the standard internal battery. to keep currents low I plan to use this as a supliment to a fully charged psp internal battery.

    On a side note: Usb specs state that a usb port will need to provide 5 volts within a range of 4.75 to 5.25. any usb device worth working with should be able to hande this range also, to it should give you some margin of freedom to play with. I hope this tidbit helps.

  • deenko says:

    well, the above mod work great, i am now doing a test to see how long the batteries last.

  • richard says:

    Ok, it turns out i was mistaken in a few of my above posts.

    I stated that only the ipod shuffle has the ability to charge from USB. According to the wikipedia article on ipods
    http://en.wikipedia.org/wiki/IPod
    the 4th gen big ipod and the 2nd gen mini also have support for usb charging

    that said, DO NOT FEED ANYTHING MORE THAN 5V INTO YOUR IPOD. If you supply 12v (or anything about around 5v) you’ll almost certainly fry the thing.

    Supplying 12V through the FIREWIRE port SHOULD be ok.

    #140:
    As for the external hard drives, its probably what #141 said. But personally i woudln’t connect anything to any of my precious USB devices (especially if I had a bus-powered external HDD) unless it had been through a voltage regulator first.

  • CDE says:

    Well 152 is right, but USB devices should handle a max of 5.25v without problems.

  • nick says:

    I was wondering if someone could make a diagram for 4 ni-hm batteries in a altoids box, with a switch to kill the drain from the batteries when not in use and a led for activity. also I’m looking for a way to plug an external power source to recharge the ni-hm batteries.

    also something off topic:
    my electric shaver does not keep a charge that long anymore. it has 2 AA ni-cad batteries inside that have a piece of metal attached to the ends of the batteries then it’s wired inside in the shaver. If i would to take the metal ends off the ni-cad batteries and install 2 AA ni-hm and resolder the metal back to the ends of the batteries, would that work instead of replacing with ni-cad? which is better ni-cad or ni-hm?

  • deenko says:

    as a reply to 154, DO NOT SOLDER NI-MH BATTERIES. WHile it is possible and it will work, you activily destroy the battery’s seals, causing gasses to leak out and corrode electronic components nearby. This is a common problem with RC Car builders.

    As for the schematic, I am working on that kind of design for myself, but I do not have the time right now. I’ll post in the future when I get a design going.

  • nick says:

    thanks for the info. If I were to super glue the metal contacts to the ends of the batteries either ni-cad or ni-hm would it still get the connection? thanks

  • cde says:

    Nick, aslong as the superglue doesn’t get between the tabs and the battery, it should.

  • games says:

    If you live in the uk you can purchase a Small narrow box for 1

  • Weirdguy0101 says:

    I must say that this works great if you have a USB charger cable for it! But, I’d ratcher use the diode desing so I can make it give 4.5v instead of a stright 5.0v (because I don’t want to blow my $250 mew gadget!)

  • Weirdguy0101 says:

    Errrr…messed up on 160…I ment to say it works great for the PSP

  • Frank Cummins says:

    Hey! I’m having trouble using this thing with my iPod. It is a regular 20 gig, 4G iPod. It CAN be charged through USB cuz it does when you connect it to the computer. I’m almost 100% sure that I wired it right, but it seems to drain my iPod’s battery instead of charging it. Is there a way to fix it so it charges it? The charging meter comes up as usual and it appears to be charging. I left this thing on for like 5 hours, came back, and my iPod battery was almost dead. HELP!

  • Doc says:

    In Australia jaycar (www.jaycar.com.au) stock the USB terminals that are needed, but they arent cheap at AUD$2.20 for 1.
    Question:
    Using a DC wall plug pack that puts out 500ma at 9v how would I go about dropping it down to 5V?
    Thanks Doc

  • Ro says:

    RE: Frank Cummins
    I have the same problem with a 4G 40GB with a AC to USB wall adapter. The ipod display shows charging, but the battery drains and the iPod gets very hot. I think there may be a requirement for a signal through one of the other usb pins to enable USB charging.

    Ro

  • paul says:

    i just built one last night, except that i used a radio shack project box. love it!

  • richard says:

    re #162 and #164
    a couple of people above noted that you have to solder the pin 2 and 3 wires to ground for an ipod shuffle. The same thing might apply to a 4g ipod.

    re #163
    try a 7805 voltage regulator, like this one:
    http://dseau.resultspage.com/search.php?p=R&srid=S8&lbc=dseau&w=7805&url=http%3a%2f%2fwww%2edse%2ecom%2eau%2fcgi%2dbin%2fdse%2estorefront%2f%5fsessionid%5f%2fProduct%2fView%2fZ6545&rk=1&uid=239927058&sid=2&ts=p2&sessionid=4279c7e509849594273fc0a87f9c0790&method=and
    or
    http://www1.jaycar.com.au/productView.asp?ID=ZV1505&CATID=&keywords=7805&SPECIAL=&form=KEYWORD&ProdCodeOnly=&Keyword1=&Keyword2=&pageNumber=&priceMin=&priceMax=&SUBCATID=

    BTW I would measue it with a multimeter and make sure you do in fact get 5v from it before I plugged anything in to it, if i were you. Also it would be a good idea to check to see that the current isn’t much less than 500ma

  • hans says:

    nice. couldl u use that to charge a PSP or DS becuz im pretty sure those need 5v to charge….

  • stillboy says:

    I attemted to make one of these for my ipod photo (30gig) and had the same problem as #162. I have also taken pins 2&3 to ground, like i have heard needs to be done for the shuffle. Without taking those pins to ground i didnt seem to get any response at all. Also, when i first tested the voltage i got around 5.02v (i dont remeber exactly, but it was just above 5v) after attemting to charge for a few hours i tested again and got 4.88v. I am using 4 AA batteries insted of a single 9v. Is it possible that it drained the batteries and didnt charge?

  • richard says:

    re #167
    yes you should be able to, if you can find the right connector for the DS/PSP power in port

  • Richard says:

    re #168

    as i found out, 4xAA batteries are not very appropriate for this type of project. The 5v regulator causes a voltage drop of ~2v, so you need at least a 7v supply.

  • elizabeth says:

    i wanna purchase some of your items

  • starfish says:

    whatever you do, do __not__ try to skip the voltage regulator part! i fugured that since it’s written 5-30vdc on the back of my ipod, it would handle 9v directly all fine, but i was proven wrong… my ipod is now dead, and all i got out of it was that i spotted a new battery icon with a warning sign on it. guess that was a bad sign…

    of course, the ipod has a internal voltage regulator, but i guess that the usb power pins bypasses it since it always expects to get 5v computerish power (guess that the ie. the hdd runs on 5v, beeing a computer part)…

  • Darwinbug says:

    jeeze all this over making an external battery pack… heres an even better solution make it WIRELESSLY CHARGED. i know it might sound like a hoax but i did it to my mouse.take a 5v 12A powersupply feed it into a NE555 ic after it goes through a resister. make the right circut for an astable oscillator and use the square wave that comes out as a trigger for a bigass FET send the power through a coil of magnet wire before it goes back to ground. plug that into a portable generator that you have in the wagon behind you and on the ipod have another coil around a ferrite with a diode to mooth out the current AC-DC it should be able to charge the battery from your shirt pocket. just snake the cord through your shirt and try not to look like an idiot while wearing this thing.

  • eric says:

    hey, i would either ike to make this, or a firewire charger for my 4th generation ipod.i have an extra dokck to firewire cable that i chopped the firewire end off. i just need to know, which wire (clear or black) is power or ground? thats all i need to know. thanks!

  • Patrick Sharp says:

    waaay back in post #8, brk suggested using a national semi switching regulator or similar to help get rid of the excess heat produces by the 7805. Has anyone tried this?

    Also, is there a wiring diagram available, Jason? Or a website with ALL of the great ideas people have tried here, with parts lists and diagrams?

  • andrei says:

    hy i just want to make an usb-to-wall adapter,for that, i have a phone charger that gives me 8.7V. i was thinking of buying an lm7805 to get it down to 5V and a female type A usb connector and “atach” these things to the phone charger..what do you think? will it work?

  • Zach says:

    i’m planning to get an ipod later this week and i wanted to build a charger. does the ipod come with a cable that allows you to charge with usb or firewire, or do you have to buy that separately?

    also, is it correct that i should use a 5v regulator if i wanted to charge with usb and a 12v regulator for firewire? is it less likely to fry with usb?

  • nick says:

    I was wondering, I have the hole cut in my mint tin and I have the female usb end cut and the wires exposed. What wires are what, since they are encased in some thick plastic? like which wires are needed for me to solder to the voltage regulator? the black is ground right and the red is the 5 volt?

  • drtoxic says:

    i just checked, and the charger that goes with the nintendo DS or the gba: SP has a voltage of exactly 5.2, so technically you could just chop the nintendo end off and solder a female USB plug onto it.

  • flatlandfury says:

    When I was tearing apart a usb cable for the female end, I accidentally tore out the pins, so I just ended up using the cable that plus into the usb on my zen micro. I also added a switch so I don’t have to keep unplugging my battery. The other cool thing is it all fits inside a box that a deck of cards came in so its completely disguised. Then when I want to recharge, I jsut open the box, plug in the cable, and flip the switch and it charges. I did run into a bump though, probably because I have a zen micro, it wouldn’t charge unless I had the white and green wires from the cable soldered onto the ground of the recharger, I wonder why it needs this.
    -Peace

  • Antoine says:

    i have an iaudio u2 and I wired up everything correctly, including the white and green wires to ground. but when I plug in my u2 it doesn’t appear to do anything. if i press the on button while it is plugged in it shows that it’s connected for a few seconds and then turns off. any ideas?

  • Antoine says:

    i have an iaudio u2 and I wired up everything correctly, including the white and green wires to ground. but when I plug in my u2 it doesn’t appear to do anything. if i press the on button while it is plugged in it shows that it’s connected for a few seconds and then turns off. any ideas?

  • Dittto says:

    I bulit one using some AAA and the voltage regulator for use with my iPod. I cam across a problem when I tested it out. the iPod detects power and but doesn’t use it to charge or to power itself. I then ran the iPod on my computer using the data on the cable bu the power on the battery pack and it charged fine. I am looking into how the AC adapter for the iPod is wired so it will charge without having to be used by the computer and have normal use on it. any suggestions?

  • Dittto says:

    ok, after working on it some more I found a solution and have been able to charge my iPod. I connect the iPod to the batter and then reboot it pressing play and menu for a couple seconds at the smae time (I have a 30gig iPod Photo) and then it will run on the batter and chanrge itself. now all I need is a case. here’s a picture of it charging my iPod: http://home.comcast.net/~ditto_125/pictures/ipod_battery.jpg

  • jason says:

    i made one for my ipod as well built from an extra dock that i had lying around works great thanks for the inspiration

  • michael says:

    btw, i decided that i was going to make this (to charge a shuffle). here are the pics that i took of it. the main difference between this and the how to here is the addition of a power switch between the 9v battery and the regulator. also, you’ll notice 2 usb ports. that’s because i got it for free and that’s all they had. currently, both are soldered together. lastly, i dont know if this makes any difference at all, but the regulator is a CW7805, not LM. can anyone tell me the difference?

    http://home.comcast.net/~michaelprice/Pics/Pic1.JPG
    http://home.comcast.net/~michaelprice/Pics/Pic2.JPG
    http://home.comcast.net/~michaelprice/Pics/Pic3.JPG

  • windwaker says:

    Just a quesion; how did you cut the altoids tin? It’s really hard to do it neatly.

  • michael says:

    i used a pair of tin snips to cut the place for the usb port. the whole for the switch was just punched out with a nail. you should be able to get them at walmart or home depot. these ones are pretty similar (found on google images) http://fcsurplus.ca/tools/images/402981b.gif

  • windwaker says:

    Ah, I see. Gotta get some of those.

  • matt says:

    i tried to build one of these to power my 4g ipod. i followed the directions exactly (i think) and it didnt work. all it does it drain my battery. i tried to reverse the polarity, but that just made the regulator super heated. should i not be doing this for my 4g? or am i just really really stupid at making these things? what am i doing wrong?

  • DFeNCe says:

    Okay.. I made one of these.. it gives out 5.2 volts with a perfectly new battery. To use with my ipod ((4g 20gig or 60gig photo)) what would I have to do? I was thinking combining 2 9vs and a regulator to make it some voltage that the ipod needs. Maybe 12v, I’m not sure. Can anyone help?

  • matt says:

    yay! i got mine to work (i’m the complainer from post 190) by, as i read after i had posted, grounding the usb cable. for post 191, it seems to be running fine on the 5 volts that it’s putting out. my ipod is charging now, we’ll see how it goes later. i put it in an icebreakers tin, seeing as how everyone else used altoids. support us products!

  • varu says:

    For anyone trying to get this to work with their 4G iPods, I’ve just made a variation on this thing, except I used a KA7805 (absolutely no difference between the KA and the LM7805 from what I’ve read), using 7 AA batteries (I had a 4-AA and a 3-AA container lying around). What normally happens when I turn it on/plug it into the iPod, is that if the iPod is off, it will turn on, but will not charge. If you put it to sleep, the animation won’t come on, and it will still be sleeping. What I did is I shorted the data pins on my connector (the remaining two pins in between the + and – pins). When you plug it in, it still won’t show the charging animation at the top-right part of the screen. However, if you have “Sleep” enabled in your menu (check Google on how to make it show if you don’t have it there already) or if you hold Play for 3-4 seconds to make it sleep… the charging animation will show – it’ll be charging. If you press any key again to start the iPod back up, you’ll now see the charging animation – the iPod now knows it can now charge. What I think happens is that when you plug the iPod into the USB jack on your charger, it detects the voltage, and tries querying the data ports, asking “Hey, what am I connected to? Who are you? Can you give me power?”. Of course, it gets no response, so it does nothing, even if the pins are shorted. However, when you put it to sleep, it once again does the query, but apparently slightly differently, as this time shorting the pins will work, and it’ll accept the charger as a power source. I’m not sure if this will work for you, but it did for me. I’ll be posting a quick guide (complete with link-back to this article and pics explaining the process) shortly on my site, http://varu.ca. Good luck :)

  • varu says:

    Or not.. hooked the two shorted pins to the ground as well just to try it out.. both variations drain the iPod’s battery. If I had the time and skills to do this, I’d put an osciloscope and a port monitor on and see exactly what the iPod and the comp tell eachother when you plug it in… but I think the better alternative is to just go with the FireWire, it seems to work with that one. Probably cause of the different pinouts on the iPod connector.

  • PC says:

    I have my and this usb battery works only as a “aditional battery” The AA, AAA, 9V, bateries doesnt have power enought to actually charger the ipod mini.

    Right now im playing with my car’s lighter and built a usb lighter adapter. With this one i am able to actually charge my ipod battery.

    cheers

    PC

  • Kawser says:

    Hey how do I charge my hp h4155 pocket pc its 2000mA

  • Kawser says:

    Hey how do I charge my hp h4155 pocket pc its 2000mA

  • Kawser says:

    Hey how do I charge my hp h4155 pocket pc its 2000mA

  • nick says:

    196, 197, 198:

    what voltage does the ppc wall charger output?

    check out the datasheet for an LM338T current regulator

  • karimoh says:

    I’ve made the battery, but im a little scared to try it on my iPod mini. Does it really kill the iPod, and if it breaks can i fix it?

    PS i have to warranty

  • Leave a Reply

    XHTML: You can use these tags: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

    Send us your hacks






         




    Hacks

    Resources