Step 1: Parts and testing.
5v regulator (Lm7805)
Female USB port
Resistor
LED
Braided wire (20g)
Used 9v battery (Walgreen's brand)
5 minute liquid epoxy
Non-conductive epoxy putty
The circuit design is from http://ipod.hackaday.com/entry/1234000270029372/ All I did was add an LED so I could see if the battery was good. He's got nice diagrams of the USB and regulator to help you wire this together.


































Please change the title! This was an awesome tutorial but, it took me forever to find it because the title was confusing. Had it not been me searching on google images for it, I would not have found this.
Nice idea for the housing of it, but I always wonder how much capacity a simple 9v batterie shall have. I would rather put the transformer on a batterieholder containing AA or bigger primary cells.
can resistors decrease the voltage?
please rply someone
but aftr charging my cellphone shows "bad contact of charger".. so wat can i do to repair dat??
der is no fault..
n i nt yet got a multimeter to test output voltage.. :(
did u mean for 1st few mins. the voltage is more than 5v bt den it decreases below the minimum charging capacity of battery hence it shows bad charger contact????
if yes then wats the solution on it..
Thank you, the idea of use the battery case was great!
Works on Galaxy S, Moto G and Nexus 7.
(Sorry for my bad english)
http://focus.ti.com/lit/ds/symlink/ptr08100w.pdf
The switching regulator is still extremely small, and would easily fit if you left the casing only slightly longer. Also, switching regulators don't burn off the excess voltage, but instead use pulse. By turning the flow of current on and off VERY quickly, it simulates lower voltages. A linear reg gives you about 55% efficiency, whereas the switching reg gives you close to 90%, which means that battery will last longer also. Not to mention the added safety because that switching reg is rated up to 10 amps.
thank you!
marC:)