Introduction: Simple 9v Usb Charger in an Altoids Tin

Parts used

Altoids Tin (empty)
5v Voltage regulator-i used a 7805
Female USB port
Wire
Battery clip
Battery

Tools

Soldering Iron
Solder
Drill
A File

Optional

Shrink tubing 
Switch


Note:this is my first instructable please tell me how i did :)

Step 1: 7805 Pinning and Usb Pinning

 on the 7805:

pin 1-positive in
pin 2-negative (ground)
pin 3-positive out



on the usb:
D+/D-      these are data-lines and are not used in my instructable


****EDIT-on the usb the pos and neg are it the wrong spot just flip the position :)

Step 2: Step 1

Grab your 7805 and solder 1 wire to each leg.(if your putting in a switch add 2 to the ground leg).

Solder your positive "in" leg onto the positive lead from the battery.

Now solder one ground wire to the switch and one to the negative wire coming from the battery.

Now solder the lead coming from the switch to the negative on your usb.

From the positive out leg on your 7805 solder a wire from it to the positive wire on your usb.


Step 3: Cutting Holes

Now take your drill and drill holes for your switch and usb.

Then file the holes square.

Step 4: Done.

 Now finally add everything to the tin and your good to go!

one tip: you can use the tin as a heatsink for your 7805.

Comments

author
Typicalinventer719 made it! (author)2016-04-07

The only reason my worked was because I used two 100 ohm resisters connecting between the D-, D+, and +5 volt terminals

1da42464fa6d00676b316998f7a38a21.jpg
author
rryapolov (author)2011-05-15

Would this schematic work?

Skematics.png
author

no becaus you need to use two 100 ohm resisters connecting between the D-, D+, and +5 volt terminals

author
stratohellsing (author)rryapolov2011-12-08

Rryapolov, your 7805 pin usage is wrong.
Left is VOLTAGE IN
Center is GROUND
Right is VOLTAGE OUT (the one with LED should be the RIGHT one).

Cheers

author
tuck9117 (author)stratohellsing2014-08-04

not necessarily the led on the right pin

author
tuck9117 (author)stratohellsing2014-08-04

not necessarily the led on the right pin

author
31mimo (author)rryapolov2011-12-14

Totally wrong 7805 pinout is 1-input(more than 7V DC) 2- ground 3- output 5V DC

author
astrickland1 (author)rryapolov2011-10-31

no

author
James Kenefick (author)2012-09-11

i used a car charger to usb converter but for some reason it says "charging is not supported with this accessory" what should i do

author
tuck9117 (author)James Kenefick2014-08-04

you're using an Apple device right?

author
MrFixItMan (author)tuck91172014-08-21

im having the same problem. the usb charger only charges my device for a second, and then gives that error. i have tried it on a blackberry and an old ipod and they worked fine, but as soon as i connect to my phone (i use an iphone 5 ios 7.x.x) it gave the error

author

use two 100 ohm resisters connecting between the D-, D+, and +5 volt terminals

author

use two 100 ohm resisters connecting between the D-, D+, and +5 volt terminals

author
Gomi no Sensei (author)2015-11-30

Most smart phone batteries are 1500-3300mah.

A 9V battery has 50-400mah and at 500mw load has less than 300mah capacity.

You're also losing 30% of that 300mah thru the 7805 as heat.

Just exactly HOW much does this remaining 210mah charge your phone ???

Ref : http://www.powerstream.com/9V-Alkaline-tests.htm

author
compaqgt (author)2010-07-06

if you connect 2 9v batteries how long will it charge and will i need cooling

author
tuck9117 (author)compaqgt2014-08-05

itd double the time in theory (dont feel like doing the math) but u would want a really good cooling system set up maybe small fan plus small heatsink

author
PerfectPantaloons (author)2010-11-04

Genious idea

author

wow

author

this completely FRIED my ipad.... I just got a diff transformer to match the input charger levels, and bam a little ozone later and it NEVER WORKS AGAIN!!!

author

well a u shouldnt have used the chargers input levels, of course it was gonna fry it at 120 volts

author
tuck9117 (author)tuck91172014-08-05

*120 volts ac

author

I wrote wow because you spelled genius wrong

author
martzsam (author)2011-10-17

Does the 5v regulator work for over 9 volts? Could I hook a 12v?

author
tuck9117 (author)martzsam2014-08-04

yes the recommended input voltage is
min: 10.5 volts
max: 25 volts

author
31mimo (author)martzsam2011-12-14

Yes!

author
devashishkumar (author)31mimo2013-07-07

i made this ..but my phone is charging with discharging means if puted for one hour its only charge 10% after that the percentage is not increased but my phone is shows it is charging ..after that if restarted my phone it becomes 0 % nothing charged what can i do please help me:(

author
martzsam (author)devashishkumar2013-07-07

You should probably only charge your phone when it is turned completely off so that it has no drain on the battery. It also wouldn't hurt to place a diode in line on the negative from the USB port to prevent back charging.

author
tuck9117 (author)2014-08-04

why not just add the switch between the positive on the clip and the positive in on the 7805, saves material

author
universallvr (author)2014-05-02

author
devashishkumar (author)2013-07-07

i made this ..but my phone is charging with discharging means if puted for one hour its only charge 10% after that the percentage is not increased but my phone is shows it is charging ..after that if restarted my phone it becomes 0 % nothing charged what can i do please help me:(

author
geekrex (author)2013-04-05

Can it work for galaxy ..??

author
frisbeechamp1983 (author)2012-06-04

Could you use 2 9v's? I'll be gone for 10 days, and don't really access to batteries.

author
Tanky53 (author)2012-04-18

Do you have to worry about the data transferring wires in the USB? The way i'm thinking is that you only need the power supply wires.

author
clzfishing (author)2012-04-08

Where did you find the female usb port i cannot find one?

author
nodoubtman (author)2012-03-08

i think that doesnt work for a ipod touch 4 G?

thank you!
marC:)

author
joemmm (author)2011-05-27

does it work for iphone?

author
astrickland1 (author)joemmm2011-10-28

no

author
ugoel (author)2011-04-08

listen the instructable is amazing as a first 1 but i wud like to know if i cud use dis on my "samsung s5620"

thanks

author
npn-diodes (author)2011-01-20

Yeah, like Thermiter wrote the picture of the male USB connector confused me totally.
So I changed my text 4 times. lol
You wrote > on the usb the pos and neg are it the wrong spot just flip the position :)
Since you meant the voltage, not the data lines, I think that you mean a female connector, since it will be built in the box, so you show the wrong connector.
But I didn't want to complain since I know from job how much work it is to be 100% correct. So I wanna say thank you. :-)

FYI:
I found the same sites that Thermiter noted.
Please have a look at: http://en.wikipedia.org/wiki/Universal_Serial_Bus#USB_standard_connectors
You already know:
http://pinouts.ru/Slots/USB_pinout.shtml. They say: 1=VCC, 2=D-, 3=D+, 4=GND.
I tried to add the pics from those sites which are most important, but this site doesn't show them in full height and width. If anyone knows how to change this problem, please tell me. ty
This is my first posting. :-)

author
yellowexample (author)2010-04-03

 Pretty nice. How much would it charge an iPod?

author
Thermiter (author)yellowexample2010-05-22

Unfortunately, off a 9v battery, it won't charge for long.  See my above comment.

author
Thermiter (author)2010-05-22

This is a pretty nice instructable.  I made one of these for myself before I read this and I did it a bit differently.  First off, I used 4 x AA batteries because using a 9v only gives you 600 mah or so, AAs give you over 2500.  Also, I used a low-dropout regulator because I knew that the 6v would not be enough for the 7805 (try the LP3873ES-5, it's more complicated to use but worth it).  I'm not sure where you got that female USB, but it's kinda bulky, you could try a different version without the big plastic ears to sleeken the design.  If I were you, I would use a cutoff wheel to cut the rectangular hole for the USB port, because it's a lot less hassle.  Lastly, you should include a link to the instructable on how to force an ipod to charge from 5v DC, because most people want this to charge their iPods, and it won't do that the way you have it configured.  I actually considered writing an instructable on how to make one of these, but if you consider my advice, I won't have to ;)

author
Thermiter (author)Thermiter2010-05-22

And one more thing I almost forgot.  You should clarify the orientation of the USB pinout.  The picture you have is of a male plug and it's quite confusing.  There's a good explanation here: http://pinouts.ru/Slots/USB_pinout.shtml

author
janw (author)2010-04-04

Very nice Instructable. Maybe you should add the pinning for the 7805 and the USB-connector because some people are not familiar with those.

author
james7193 (author)janw2010-04-04

 doing it now :) thanks for the tip

author
janw (author)james71932010-04-05

Yay! Looks great. Super for you first Instructable.

author
james7193 (author)janw2010-04-05

 thanks

About This Instructable

65,479views

134favorites

License:

More by james7193:Simple 9v usb charger in an Altoids tin
Add instructable to: