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

  • CDE says:

    Paint it black….

  • the steven says:

    looks good to me! I’d still add a zener though, but that’s just me.

  • Ryan says:

    This guide really is made for the below average idiot with articles such as ‘how to tell if you’ve done it properly’. If you need help testing it out with a multimeter, you shouldn’t really be doing this.
    Anyway… Great article non the less. I think the use of a voltage regulator was well adviced and it would be nice to see everyone elses attempt at this.

  • p3on says:

    of course, heaven forbid people should actually _learn_ something.

  • israel torres says:

    It would be even better if piggy-backing was added, so you can just plug the battery pack into another USB device (like a hub) so you can also manipulate the data on the usb device (ipod, phone, etc)

  • Santiago says:

    Very nice. Mostly impressive was your good attitude for taking the heat on so many “bombs” and comments about the zener issue. I was going to be one who suggests using a low voltage drop regulator, but I thought that you had enough from others. Again: kudos for how you took the feedback and how you built this USB v.2 :)

  • schuss says:

    if it’s plugged into a powered hub or computer, isn’t that device going to be providing a charge anyway?

    nice writeup, very impressed with your top-quality styrene manipulation. all kinds of pro.

  • brk says:

    Not bad, I would replace the 7805 with a National Semi switching regulator (or similar), though. The 7805 drops the excess voltage as heat. So, you’ve got a 5V USB device running off a 9V battery. The 4V difference is being dissipated as heat. If your device is using only 100ma, then you’ve got: 4V * 100ma = 400mw being wasted.

    With a wall-wart supply where power is “endless” this isn’t as important, but with a battery, where your total AH (amp hours) are fixed this is a concern. A switching voltage regulator only needs a couple of extra components, but will probably double your battery life.

    Overall, a cool idea, though.

  • scott says:

    Seems to me that this idea and this general line of products are going to be increasingly more important as our portability increases. What do you all think about a device that could charge anything, maybe using a 12V lead-acid battery like used in UPS power supplies. I think they are 7 Amp-hour. This would be enough to charge a laptop, maybe an ipod, cellphone, etc. Actually though I’m looking at moving everything over to a treo handheld and a powerbook for my portability. So maybe I’ll make something like this for the treo, probably use the national switching regulator though. Any one built a battery system for a powerbook?

  • Jay Z says:

    Thanks. This is hot!

  • brk says:

    A few thoughts in no particular order:

    I have a Treo 600, as do several people at my company. It can usually go a full workday of HEAVY use before in danger of needing a recharge. Not sure of the ROI on making an external battery for it, unless you plan to do continuous shoutcase streaming or something.

    Lead-acid batteries are HEAVY (ref: the “Lead” portion of their name ;) ). Yes, it’s easy enough to take an alarm battery and use it in this manner, but a 6V cell with a similar AH rating would be ~ 1/2 the weight. That coupled with a low-voltage regulator would be a tad more portable.

    Even better might be to look into the “Batcap” line of car audio capacitors. These are like hybrid batteries that can charge faster than a normal battery (more like the almost-instant charging of a traditional cap), but they also seem to hold that charge longer. The idea would be to make a power charging “rig” that when you are near power (AC or 12DC) your portable devices and the batcap all charge, then later you can switch to using the batcap, or other battery, to recharge the portable devices.

    I have found that it’s usually not too hard to find an outlet, though. I don’t *personally* think it’s neccessary to carry around a bulk supplemental battery, but I am sure everyones needs are different.

    Does the powerbook have removable batteries? Unles you ABSOLUTELY need the continues runtime it would be much easier to just carry a spare battery, this has been my solution with Thinkpads for years…

  • sebastien says:

    if i were to use this with a rechargeable battery ho do i charge the battery ? do i just send current to it or doe’s it need a charing circuit ?

  • sebastien says:

    if i were to use this with a rechargeable battery ho do i charge the battery ? do i just send current to it or doe’s it need a charing circuit ?

  • Plato says:

    #3: For some reason you think only people who have been doing projects like this for a long time should be able to do them. How did YOU learn?

  • CDE says:

    First, you would need an exteral recharger Sebastien.

    Second scott, noone wants to void their warrenty, or if they lack a warrenty, why risk the powerbook?

    Wouldn’t there be a way to halve the 9 volts into a 4.5v charge with twice the wattage going thru the system? Then instead of needing a voltage dropper, and wasting the battery, you just get a small dc-dc stepper to up the 4.5v to 5.0. It would take a little bit of soldering, but it would make charge time double (I think) while not wasting battery power. Or you can just use 3 aa batteries with the stepper, or 4 with the 7805, as 50mw loss isnt that bad.

    Anyway, israel torres gave me an idea. A portable, cable-less usb hub power supply for when you need that extra boost to power 4~8 usb flash disks….

  • Ryan says:

    I assume by ‘#3′ you mean post 3, well that’d be me. Well something as simple as checking the voltage of a circuit I learned in first year in secondary school a long time ago. I’d assume that something similar has been taught throughout most other education systems.

  • bbum says:

    As a previous poster indicated, the 7805 will dump the excess voltage as heat.

    However, a 7805 is damned cheap and readily available. If you are going to use one, go with 4 AA batteries. That will produce 6 volts, waste less energy as heat and likely provide more run time per battery set anyway.

  • CDE says:

    Ryan
    You would be wrong. Most US schools (On the east coast) only have vocational classes like electronics in high school, while some might in middle school, but both are electives that the student would need to want to take.

  • Joshua Holbrook says:

    Referring to post #14 (Ryan): They don’t teach that sort of thing in high school right now as far as I know. There may be some of that multimeter stuff in a few of the voc ed classes, but I’ve been too busy with science, math and English classes to take any sadly. Even if they did, it would only be in maybe one class period of construction trades in our tiny school (note that my high school is really small). Still… I guess high school just isn’t what it used to be. Ironically perhaps, everybody blames “no child left behind”. :)

  • dan says:

    i love the case ! don’t know why i never thought
    of it, seems like i learn something from every
    post ! soon i will be able to take over the
    world !
    well after i make boxes for my ir remote blinds,
    voice activated toilet flusher and usb thumb print fridge lock :-)

  • strider_mt2k says:

    Very cool project!

    I don’t know if it’s worth taking the hit as far as increasing the size of the unit, but it strikes me that it would be very cool to have a rechargeable battery that is maintained automatically while the pack is plugged in to a USB outlet.
    That way you also have an excuse for a data pass through as well, so you wouldn’t lose a USB outlet and the battery pack is always ready to go.
    One could maintain multiple batteries in an inline arrangement that way too.
    One could also leave multiple packs connected for increased running time.

    :D

  • sauceruney says:

    in response to posts #14 and 17

    you could employ a simple voltage divider circuit with two resistors of equal value, though they’re going to be a constant drain on the battery when not in use. By splitting the 9v in half this way, you could have 2 USB output terminals, but not one with twice the potential power output. You may want to parallel 2 9v cells in that case though.

  • PizzaBoy says:

    13#
    i agree with that, im a student and Most of the How 2 sites and Hax sites use language that is much too advanced for the avarge reader. this article was writen well and explained ALL THE NECCORY DETAIL. Good article gys i will be bulding my own when i can get stuff

  • chuck says:

    i’d assume that if you got the pinout one could do the exact same think for firewire charged objects? (i.e. regular ipod)

  • chuck says:

    ah, I’m retarded and didn’t read the comments.

  • CDE says:

    #22
    Most how to sites don’t use advance language, just relative to the project. If you cant understand how something is built, go learn about it first.

    Also, most of the stuff on here arn’t hacks per-say, they are mods. Hacks require code….

  • Carl winslow says:

    check out this site for some info on the lm-78xx series voltage regulators.
    http://www.southwest.com.au/~jfuller/electronics/regulators.htm
    one thing i found interesting was the addition of a diode to protect the regulator from reverse polarity.

  • dan says:

    i always thought of a hack as making something do something that it was not intended to do.
    hardware or software. we need a forum to help
    each other out because its to hard to check on old posts.

  • Brock says:

    Has anyone tested this with an iPod Shuffle yet? I’d like to hear about charge times and the like if anyone has.

  • CDE says:

    Someone on the other usb-battery pack has mentioned that the shuffle and the ipods (mini included) might include a dc-dc stepper. Though I rather go with the standards for the connections, this would be useful in creating more simplified circuits.

    Also, #29, the charge times at the same volts and amps for the shuffle as the regular computer connection would lead to the same charge time. So 5volts at 1amp usb or battery pack would equal the same charge time.

    And Dan, Hack would mean more to completely change something to do what you need. Mod(ification) would be to slightly change something. Most stuff here are mods. Or inventions, as most stuff like this usb-battery would be made from scratch, yet designed to be like something else. Which, if I might add, is the best among the three.

  • Jake Fisher says:

    I performed this hack and it works fine with my dell dj, first gen. Pretty easy, it was my first time using a soldering iron.

  • Richard says:

    Awesome Hack, an add-on that I’d like to see would be a recharging circut, so you could use a rechargable battery and recharge the whole unit through usb from your computer.

  • Matt says:

    A sweet addon would be to add more than one port, take a USB Huib and add it to that..

  • david says:

    #22
    A resistive divider makes a very poor voltage regulator unless you have a constant and known load. Basically the device being charged has to be considered as a resistor parallel with one of the resistors in the divider. In the case of a charger I would say a constant load is the next best thing to impossible , as the device charges the current draw will decrease and the resistance of the charging device will increase.

    A linear regulator as used here is the simplest most bulletproof solution. A switching regulator as several have mentioned adds complexity but should waste less power.

    FYI:
    V=IR P=IV
    V=Voltage(volts), I=Current(amps), R=Resistance(ohms), and P=Power(watts).

  • whatsup_will says:

    going to try this, i can pick up the regulator for $1.20 AUD and the other stuff cheaply, now lets hope the shuffle does not come with an added security measure, eg does not charge unless signaled by the pc its connected thing.

  • Ammoron says:

    I would like to see a pic of the inside im a little confused on where stuff goes. and can you use 2 AA bateries

  • nathan says:

    I was wondering something with this project. Apple, as an accessory to the iPod Shuffle sells a 120V – USB adapter to charge the internal battery. What if you used a female-male converter and a rechargable 9V? Could you charge your home-made adapter without ever having to remove the battery?

  • Ro says:

    Hi,

    I built the LM7805 version, which works, but gets red hot when charging my Sonyericsson phone.

    I’m thinking of making the switched regulator version so that I don’t need a heatsink.

    What regulator could anyone recommend?

    Ro

  • whatsup_will says:

    37. Post
    if u are going to put the charger into a box, have u tried using a tin box and connecting the regulator to the tin box with a screw and thermal grease? also add a diode that stop current going the wrong way, might help u not fry the regulator if the terminals on the battery touch the wrong way.

  • whatsup_will says:

    btw post 37, u know that this chip, if something bad happens it turns it self off, unless u wire it up in the wrong direction, then it fries itself.

  • CDE says:

    #35, No, it does not require a signal from the computer. No iPod does. No anything that I’ve heard of does.

  • chris says:

    has anyone used this with an iPod? if so, what type of results are you seeing concerning the 9V battery life? are you using it to charge the iPod? if so, how much long will the 9V charge the iPod?

  • whatsup_will says:

    #41 its kind of weried the results i am getting with the shuffle. it seems that when i plug it into the 9v charger the green light blinks, saying its has power. the battery status light, lights up but does not blink,

    but when i put it in the pc, nothing happens until windows picks up that a device is plugged in,

    strange.

  • CDE says:

    When plugged into my Mac, it lights right away. Try plugging the shuffle into a power usb hub, or an unpowered one and see what it does.

  • whatsup_will says:

    i got a ps2 slim, when pluged into that it instantly goes into do not pull out mode, eg amber flash. i do not have an u powered usb drive or hub, i do have 8usb ports on my motherboard.

  • Jeff says:

    I created one for the iPod Shuffle. There’s only one little trick involved that isn’t mentioned in this article. So far it’s doing a fine job charging the little shuffle. I’m quite pleased. Check out my box: http://jeffmcfadden.com/tech/shuffleCharger/

  • whatsup_will says:

    thanks that does the trick :) btw have u ever check how hot the regulator gets?

    also u should add a switch so that u can turn the charge on and off, eg have it has a external battery or just a charger.

  • joseph says:

    is the 5 volts being sent out enough to run a zen micro??? if not then would i use two 9v batteries or wat?

  • peteh says:

    #46, I’ve drawn up a plan using your circuit in an ALTOIDS tin. Using a USB female connector, I jumpered pins 2, 3 and 4 together (to run only 1 wire, instead of the 3 in your circuit). All other wiring is the same. The ALTOIDS tin will act as a heat sink for the LM7805. By the way, the little hinge is optional. My plan is at:
    http://hb.quik.com/~sueh2/iPodShuffleCharger.png

  • eric says:

    Has anyone tired this with a 12V solution? What size batteries did you use to get above 12V for the lm7812 and would it be possible to take a 9V battery and use a dc/dc converter to go from 9V to 12V? (i bought firewire connectors and don’t feel like buynig USB ports to get the 5v, and I would like to use a regulator and not just hook up a 9V battery to my 4G ipod)

  • Jeff says:

    I’ve read in various places lately that a “switched” voltage regulator doesn’t convert the excess voltage to heat. Can anyone confirm this? And if so, point to a product that can be purchased somewhere? I’ve had a hard time finding one for sure online.

    The reason I like this idea better than 4AA is that the 9v has a much nicer form factor for a compact case.

  • eric says:

    Has anyone tried this with a 12V lm7812? Was it two 9V in series to get 18V for the input?

    What about a dc/dc converter that would go from 9V up to 12V

    I am asking because I have firewire ports and I want to use them, and the firewire spec says 7-24 V and I want to stick to 12V like the 4G ipod likes.

  • I made my charger and made a tin out of mechano for it then i got my suffle, plugged it in and didn’t seem to do any thing, no you NEED to earth the other pins on the usb like in the users posts above or did i just screw up?

  • whatsup_will says:

    #52

    the way i would do it, is to get 2 9v batterys hooked up in series, put in a 1N4004 diode to stop reverse current on the negative side of the 9v series, and hook it up to a firewire port.

  • Rmz says:

    Does anyone know of a site supplying the female USB connectors?

  • i figured out where to find female usb adapters. there are a lot of those little ps2-to-usb connectors floating around because most pc vendors include them along with their usb keyboards. nobody uses them and your office tech support person probably has a drawer full of them.

    they are all encased in plastic, so it’s a bit of a chore removing the usb connector… but they are free and in good supply.

  • Bob says:

    I have a 3G Ipod so this will not work cause it doesn’t charge by USB. Do you think if I attached a firewire socket to it instead of a usb socket it would work?

  • Bob says:

    All someone has to build now is a box that charges, and can be charged as well.
    It could have an input on 1 side and an out put on the other, with a rechargeable 9v battery in the middle. That would be cool… then you would never have to replace the battery and could seal the unit to stop any of the wiring getting damaged.

    Anyone brave enough to try it?

  • Peter says:

    good idea, building my own but I sugest using a bigger box and placing two batterys inside for more power and longer life. Also if anyone knows were to get female usb jacks(a type) in Canada cheap, then please email me at peterdudasca@yahoo.ca

    thank you for your help
    Peter

  • reese says:

    Just built my own. A really entertaining project. For mine I used an Altoids tin for the box, same as the firewire battery pack. I made a small modification. I used two 9v batteries, the first directly connected to the 7805 for 5v USB output, then I connected that 9v in series with another and used that as input into a 7812 for 12v Firewire output. Both ports work great, and I connected the voltage regulators to the outside of the tin for heat dissipation. If anyone would like to see some pictures, let me know, I’ll email to you.

    reeselloyd (at) hotmail.com

  • david says:

    G’Day !!!

    My hearty congrats for thinking out a marvellous project and presenting it so very very well.

    Anyone could make this, thanks to your easy to follow instructions.

    It is a pleasure to see the human mind in action and it just goes to show that in the year 2005, not everything has been invented.

    Thanks for an intriguing read and for sharing it with myself and others!

    I have bookmarked your site and it now occupies a place on my link bar too !

    More projects please !!!

    http://www.cyg.net.au/

  • less says:

    i made the charger and housed it in an Altoids tin. I added a switch and an LED so I know when it’s on, works great! the tin acts as a heat sink so it doesn’t get too warm.

    My friends think it’s pretty cool, so I’ve ordered parts to make 10 more and those that I don’t give away I’m putting up on ebay.
    I’ve got one up now:
    http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=5753357865&ssPageName=STRK:MESE:IT

  • keith says:

    Whats that white board that he hooked it up to at first called?

  • hi keith. they’re called breadboards. they basically just let you easily connect components together without having to solder them. it’s a nice way to test and experiment with a ciruit before spending all the time soldering it together.

    you can pick one at a radio shack or just about any electronics store that sells that sort of stuff.

  • Butch Mayhew says:

    Wow that ebay auction sold quickly! I bet you could make a killing if you did not put a buy it now thing up! I will hopefully be getting a free Shuffle from Gratis, I only need one more referal, so I am off to go ahead and buy my supplies! thanks

    http://www.auburn.edu/~mayhewb

  • lj says:

    re 43, USB power is switchable.

    Try plugging the shuffle into a powered hub, with its upstream disconnected: the shuffle won’t start to charge until the upstream is connected to a USB host. Many hubs will indicate this by changing the status LED in some way.

    Similarly, you can power-cycle attached USB devices by resetting the USB controller; in linux you can do this by rmmodding the USB modules.

    That the power doesn’t come on unless it’s connected to a computer was an issue when testing my USB christmas tree – there’s no real way to see if your USB device will work without damaging the computer unless you connect it to a computer. I suggest using a cheap computer.

  • less says:

    I’ll be putting another charger up as soon as my supplies come in, I’m going to try them a few way- with and with out buy it now. I was surprised at how quickly it sold. esp. since the additions were pretty darn simple.

  • Ferdy says:

    Is it possible to use 3 or 4 AA battery’s instead of one 9V battery? I’ve got a bunch of AA-size 2000 mAh rechargeable batteries :)

  • less says:

    I found USB female connectors on Mouser.com for $0.35 each. they are part number 154-2742 all I could find were right angle connectors, whatever they worked! It took a week to get them and the rest of my parts for the 10 chargers I made for ebay.

    Making one of these was easy but it was 2nd nature by the time I got to number 10.

    I’m thinking of setting my roommates into slave labor and manufacturing these in our kitchen!

  • eric says:

    a number of people have commented on the fact that to charge the shuffle you have to tie the other pins to ground, but I was wondering if this affects the charging of the 4g ipod. Anyone know about the charging pinout of the 4G with usb?

  • Richard says:

    re #70

    I don’t think its possible to the big ipod through usb.

    re #68 and others,
    It should be possible to use any supply that provides 5v or more. so 3 * 1.5v in series wont work (4.5v) but 4 * 1.5v should (6v)

  • Infamous says:

    I just made one of these (I put it in an altoids tin also) and it works wonderfully with my iPod. What is the best way to hook up 2 more 9v batteries? Series? I need to keep the stuff in the tin in place anyways, these batteries will keep it nice and solid.

  • Kevin says:

    I bought an iPod Shuffle, which due to a design flaw by Apple doesn’t work terribly well with certain Macs–namely the USB plug is too short to fit into the high-powered USB port and get charged up (luckily you can sync your music on the low-powered port, but the battery slowly dies). Now you could go out and buy a USB extender, but that’s lame and dull, especially if you already have another iPod that comes with a handy wall-charger.

    But that charger outputs to Firewire, not USB. So here’s the question– could I solder up a cable that would be Firewire male on one end, and USB female on the other for the express purpose of charging up my shuffle? Pin 1 to Pin 1 for power, and Pin 2 to Pin 4 for ground? It’d be great while on vacation in areas where you don’t have access to USB ports, and you haven’t got around to making a battery-powered USB box…

  • CDE says:

    73: Yes you can. All usb and firewire cables do is conduct electricity. By simply splicing the two together, you can make it work. Just splice it right with no shorts though. But if you do, I be happy to take your dead iPod for you…

  • markus says:

    if you are still looking for a powerbook battery pack here is a homemade one:

    http://www.macfreak4.homeunix.com/projects/ibookpwr/index.html

  • PC says:

    I finally did one of this usb battery. its great and its working perfect.

    im thinking about using 4AA instead the 9v battery.

  • Friendly Fire says:

    This was an awesome project. with regards to post #8, anyone ideas on connecting the “National Semi switching regulator” to double battery lifetime and gettin rid of excess heat? is this part larger? and how much more would this part cost?

    My shuffle is definately happy :)

  • TheBlueFuzzy says:

    I just made one with four AA’s. Works NICE! I would definatly reccommend making one. I have a nice case that I made a sliding door with for the usb port. The only problem about the AA’s is size and that isn’t really too big an issue, what I have is about as big as a 20 gb iPod. I havn’t tested battery life but I will tommorow and get back to you guys Thursday.

  • TheBlueFuzzy says:

    I just made one with four AA’s. Works NICE! I would definatly reccommend making one. I have a nice case that I made a sliding door with for the usb port. The only problem about the AA’s is size and that isn’t really too big an issue, what I have is about as big as a 20 gb iPod. I havn’t tested battery life but I will tommorow and get back to you guys Thursday.

  • TheBlueFuzzy says:

    I just made one with four AA’s. Works NICE! I would definatly reccommend making one. I have a nice case that I made a sliding door with for the usb port. The only problem about the AA’s is size and that isn’t really too big an issue, what I have is about as big as a 20 gb iPod. I havn’t tested battery life but I will tommorow and get back to you guys Thursday.

  • The blue fuzzy says:

    Sorry about the triple post. Correction to my last post, I just killed my iPod mini with it. I think its cause i used up my iPod battery all the way so it had to be booted by the usb battery… The apple symbol flashed a little and then it showed the low battery sign. Gotta love warranties.

  • rick says:

    i have a sprint sanyo 8100 phone and i would like to make a usb batt for it. my question is… can i make the same above mentioned batt. except use a MALE usb end to connect to my phone’s female end?

  • rick says:

    Can i use this same setup but with a different type of connection, other than usb? i have a sanyo 8100 sprint phone that has two different type of connections, one is a regular ac/dc jack for the wall like in cd players, and the other one looks like a usb but might not be. need help please, new to this.

  • Brage says:

    I did this same thing with the end of a DS/GBA:SP charger and velcroed it to the back of my ds (its in an altoids tin) and it works like a charm.

  • Steve says:

    Just built the box and it works well. But it doesn’t seem to charge a 40 gig iPod photo through a usb dock cable. The iPod charges when the usb dock cable is connected to my computer, however.
    Has anyone else tried a big iPod with their usb altoid box? Does it charge?

  • zhz says:

    so can you play music on the shuffle while using the charger? somehow i don’t think you can (probably has to do with the two data lines that are tied low, i’ll have to read the USB spec to verify). apple’s battery pack allows you to play music while using external power. i think it might have to do with special signals, probably on the extra USB pins on the shuffle (http://www.chipmunk.nl/ipod/ipodshuffle-2.html).

    if you can’t play music, why not cut the battery out and simply connect a USB connector to a 5V DC adapter. it’ll serve as a nice travel charger. no need for replacing batteries, finding enclosures, or soldering. i’m gonna try to build one soon.

  • josh says:

    Why even bother with the USB? You could just solder the connector to your phone to the terminals of the circuit you made.

  • vinn says:

    1) can this provide a strong enough current to charge the ipod mini (2nd gen)? also, how long can a 9v battery charge it for?

    2) im interested in making a circuit that could charge a rechargeable 9v through usb when connected to a computer. is that possible?

  • CDE says:

    86: I believe the extra 5 pins on the usb might be for programming the onboard chips post-production, i.e. add the bootloader/firmware after constrution of the shuffle since it might be easier, faster, and alot cheaper. It would have nothing to do with the normal operation as standard usb only have the 5 pins (v+, V-, d1, d2, shield).

    Someone needs to buy a charger and crack it open then report back.

  • ben bakelaar says:

    could i use this cable http://www.frontx.com/cpx506.html to connect between ipod mini firewire port and the LM7805?

    benbakelaar (at) gmail.com

  • ben bakelaar says:

    could i use this cable http://www.frontx.com/cpx506.html to connect between ipod mini firewire port and the LM7805?

    benbakelaar (at) gmail.com

  • ben bakelaar says:

    can you just hook one end of a usb/firewire cable directly to the regulator, and do away with the connector?

  • ben bakelaar says:

    well i answered my own questions :) i’m definitely interested in the rechargeable idea but haven’t found anything small enough yet.

  • mulcbone says:

    So can you use that cable that you linked? Seems like a good thing to use if it works…

  • mulcbone says:

    So can you use that cable that you linked? Seems like a good thing to use if it works…

  • vinn says:

    altoids tin =). its what i put mine in

  • ben bakelaar says:

    mulcbone, yes you can use that cable, overclockers.net has a nice 1394 2×5 pin diagram. however for my purposes (to create a battery for ipod mini) i need to actually have a female 1394 connector attached to the battery…

  • Fox Davis says:

    Seems nice :) Will try this as soon as my new Ipaq arrives (somewhere next week).
    Two questions though:

    *while reading throught the datasheet of the 7805, on page 21, figure 8 “fixed output regulator”, there are two capacitors used in addition to the ic. Are those useful for this purpose? I’ll be adding the diode anyway so would be just a little extra work…

    *I’ve got a Sony-Ericcson cellphone which runs at 3.6V, would there be a way of using a 9V battery to get 3.6V? Adding a resistor perhaps? Or would a DC/DC stepper be something that works? Are those expensive? I’m quite starting at electronics, but it should be possible,right?

  • Cort says:

    I’ve made an improved version with a switching voltage regulator and a output indicating LED. All testing were done on a Palm Tungsten E. These are the parts I’ve used.

    - 78SR105VC
    Fully integrated switching voltage regulator from texas instruments / power trend. By far the most expensive component (US$18). There are other cheaper options (search the national website), but they tend to be much larger or requires external components.

    - 1A Schottky diode
    This is connected on the input to protect the voltage regulator from reverse current. It won’t tolerate a very high reverse voltage, but with a low voltage drop it should allow slightly more power to be squeezed out of your battery.

    - 1uF multilayer ceramic capacitor
    I put one each on the input and output of the regulator to reduce the noise. Not sure if I really need it, especially on the input, but it’s cheap and small so why not?

    - 4V Blue LED and 2V Zener diode
    This is the tricky bit. As the current required by the LED is pretty low, you can connect these two across the 5V output and still get enough current to light the LED. Voltage drop is around 1.7V across the zener, and 3.3V across the LED. When the battery gets flat, the voltage output will start to drop, and the LED will shut off around 4.5V on the output, letting you know it’s time to change a battery.

    If you are just using a resistor and an LED, this will not work. The output voltage will have to drop much more before the LED turns off. Your equipment will likely stop drawing current well before that, greatly slowing the rate of voltage drop. It’ll probably be hours from the time your equipment stop charging to the time the LED turns off.

    Note that due to the low current, you’ll be working well within the non-linear region of the diodes. It can be quite hard to determine the right combination of LED and zener, and was pretty much trial and error for me.

  • mulcbone says:

    Thanks ben bakelaar. Cort, your project seems interesting as well…could you link a pic or schematic?

  • 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