Altoids Tin (empty)
5v Voltage regulator-i used a 7805
Female USB port
Note:this is my first instructable please tell me how i did :)
Step 1: 7805 pinning and usb pinning
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
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
Then file the holes square.
Step 4: Done.
one tip: you can use the tin as a heatsink for your 7805.