3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

12v to USB adapter \ 12v to 5v transformer (great for cars)

12v to USB adapter \ 12v to 5v transformer (great for cars)
This will tell you how to make a 12v to USB (5v) adapter. The most obvious use of this is for 12v car adapters but anywhere you have 12v you can use it! If you need 5v for anything other than USB, simply skip the steps about adding the USB ports ;)

You will need
 
Remove these adsRemove these ads by Signing Up
 

Step 1

The Transitor has 3 pins, we will call them pins 1 2 and 3. Pin 2 is the GROUND (-).

- Pin 1 will be connected to the power supply, passing by the fuse. there are different size of fuse holders, the size does not really matter as long as it has the same ratings. There might be a 1$ difference or something.
- Pin 2 will be connected to the ground (-) so we will just add a wire
« Previous StepDownload PDFView All StepsNext Step »
25 comments
Feb 1, 2012. 2:49 PMthirdGEARchirp says:
I built this 12v to 5v transformer. I bought all of the parts you specified. I built it exactly as your instructions implied. After I finished it was working great. I put it on a shelf in my locker. I went back about a week later. For some reason the 12v is going in, but nothing is coming out. I decided to build another one. the EXACT same thing happened. would there be a certain reason why after not using the 12v to 5v transformer for a week it would short out?

Thanks
Jun 11, 2010. 8:19 PMsomabva says:
Cool project. Just a couple of questions julienrl: Under no load, my circuit works great. Once I add a typical load to the circuit, it gets very, very hot. Is this to be expected? The spec sheet seems to allow for operating temps up to 150 deg C, but I had planned to enclose this circuit in my car's dash and am now hesitant. I don't want to light my dashboard on fire. The chip was definitely hot enough to melt your hot glue casing, so I'm assuming I did something wrong. The only thing I could think of as I read the spec sheet was that perhaps I had put the capacitor in the wrong place. If I followed your directions correctly, the capacitor went over the ground and output pins. But the spec sheet seems to indicate that the capacitor should be placed over the input and ground pins to insure stable operation under load. Or am I misunderstanding the purpose of the capacitor in your circuit? I don't do this sort of thing very much...
Nov 2, 2011. 1:35 AMjgosselin says:
hello,
I am currently building a dual port setup for installation into the dash of my pickup. that said i have had an issue finding the capacitor you list locally at all. that said you say just about any capacitor will work. If i am going to sub-statue a cap what value should I try to carry over to the new cap. Also i am interested in lower heat as this is going in the dash. I've attached an aluminium heat-sink to the transistor with some thermal paste. dropped the heat to a level where i can touch the transistor and or heat-sink without getting burnt.

Also you say that for more precision you'd use 2 capacitors one on the input to ground and one on the output to ground.. would you recommend this for an automotive in-dash install?? I charge some very expensive objects off the 5v USB ports i just want to be sure its clean power and not likely to damage my devices.

Thanks in advance
James
Nov 3, 2011. 3:18 PMjgosselin says:
i went and scoured radio shack and the only 220uf caps they had where 35v will those work ok?
Jun 23, 2010. 6:45 PMsomabva says:
Wow, that's a really detailed reply. Thanks for the insights! I was really more concerned with the voltage drop that the heat spike seemed to produce, but as you point out, it is a really cheap transistor, can't expect too much. I actually ended up screwing it into the contact side of an old CPU heat sink from my parts bucket. Overkill perhaps, but it works like a charm and I get a rock solid 5V now.
Oct 13, 2011. 4:26 PMjosephthorpwausau says:
here is what i have 470uf 16v x3, 470uf 25v x2, 1000uf 16v, 47uf 200v will any of these work
Oct 13, 2011. 5:58 PMjosephthorpwausau says:
i did find a 220uf 25v maybe that will work if you could let me know that would be greatly appreciated
Oct 13, 2011. 4:12 PMjosephthorpwausau says:
is there a different Capacitor i could use maybe a 220uf 35v Capacitor
Mar 27, 2011. 11:33 PMmmeeker says:
I mad one of these for my house the tricky part was coming from 120V to 12V then to 5V but with your instructions it wasn't to bad. You're very detailing instructions helped me out tons
Apr 23, 2011. 11:33 AMmmeeker says:
there are plenty of ways, i went the easy route and found an old 120Vac to 12Vdc and took it apart and put it insdie my enclosure then i connected the + coming from the adapter to the 5v transistor then to whatever i hooked it up to i wired mine up to power hard drives and cd drive
Apr 23, 2011. 2:28 PMmmeeker says:
i'm sure it wouldn't be to hard to do its just what i had on hand lol my first project actually. it got me back into electronics its kinda like being a kid all over again haha
Mar 9, 2011. 5:03 AMmole6999 says:
Do you think a 2 amp fuse would be ok?
Mar 10, 2011. 3:42 AMmole6999 says:
Do you know of any resettable fuses or a regular fuse I can use that can be put on a breadboard. Been loooking on digikey and there are so many options I am lost.
Mar 7, 2010. 5:20 AMPhil B says:
It is good to find someone else who uses hot glue as a "project case."  It is very helpful that you identified the pins in the USB socket for power connections.  Thank you.
Sep 8, 2010. 6:52 AMHycro says:
Sometimes I use cloth duct tape, when it's something where it just needs to be protected from shorts, and a little protection from the elements, and does not heat up much, if at all...

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
10
Followers
5
Author:julienrl