<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Übermodder &#187; Device Hacks</title>
	<atom:link href="http://ubermodder.com/tag/device-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubermodder.com</link>
	<description>vAlpha 000.01.0001 (yes, we just make these numbers up)</description>
	<lastBuildDate>Thu, 08 Apr 2010 04:31:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Homebrew USB Charger</title>
		<link>http://ubermodder.com/homebrew-usb-charger/</link>
		<comments>http://ubermodder.com/homebrew-usb-charger/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 02:42:56 +0000</pubDate>
		<dc:creator>bert</dc:creator>
				<category><![CDATA[Electronic Hardware]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Device Hacks]]></category>
		<category><![CDATA[iPod Charger]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://ubermodder.com/?p=206</guid>
		<description><![CDATA[A quick how to on cracking open an old/obsolete wallwort and turning it into something useful, like an iPod charger]]></description>
			<content:encoded><![CDATA[<div id="attachment_216" class="wp-caption aligncenter" style="width: 310px"><a rel="thumbnail" href="../wp-content/uploads/2009/04/img_1086.jpg"><img class="  " src="../wp-content/uploads/2009/04/img_1086.jpg" alt="Inside the Box" width="300" height="250" /></a><p class="wp-caption-text">Homebrew USB Charger</p></div>
<p><span style="color: black;">There are plenty of examples on the net on how to build your own usb charger, but since we didn&#8217;t have any on our site I figured I&#8217;d share it with you.  I found an old wall wort in my junk drawer that I couldn&#8217;t remember what it went to, so I figured it would be great to put it to a good use as a USB device charger. Because I didn&#8217;t have a clue what the maximum current draw requirements were for a USB device, I found the requirements on <a title="USB.org's specification documents website" href="http://www.usb.org/developers/devclass_docs" target="_blank">USB.org&#8217;s website</a>.</span></p>
<p><strong>Difficulty :</strong><span style="color: #ff9900;"> <strong>MEDIUM</strong></span><strong> </strong><strong>-</strong><strong> </strong><span style="color: #ff0000;"><strong>SAFETY WARNING, Shock Hazard</strong></span><br />
<strong> Time</strong>: 1 hour</p>
<p><span id="more-206"></span></p>
<div id="attachment_216" class="wp-caption aligncenter" style="width: 435px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/04/img_1094.jpg"><img class="size-full wp-image-216      " src="http://ubermodder.com/wp-content/uploads/2009/04/img_1094.jpg" alt="The victim" width="425" height="350" /></a><p class="wp-caption-text">The victim</p></div>
<p>To start off with I cut off the existing dc output wire of the wall wort and then cracked open the case (If you’re more patient you can probably get the wall wort open without destroying the plastic case, but I ended up putting it in a vice to crack it open). From there I de-soldered the AC wires that are attached to the AC outlet prongs and removed all the electrical innards from the plastic case. After that, I de-soldered the transformer output wires from the circuit board so I could re-locate the board after I installed it into its new box.  Since the voltage regulator is only rated for .5 Amps decided to remove and replace it with a <a href="http://www.fairchildsemi.com/pf/LM/LM7805.html" target="_blank">1 Amp LM7805 regulator</a>. I ended up attaching a heat sink to it to keep the regulator cool, as shown below.  Btw, the transformer is rather over sized so I&#8217;m not worried about pulling too much power through it.</p>
<p>Next, I found a used project box to put the transformer and circuit board into. I didn&#8217;t re-use the original enclosure because I destroyed it while opening it up. I found an old beat up ac cord and an extra panel mount USB connector, then I drilled two holes into the project box to make room.  I soldered the new ac cord in onto the transformer and then glued the transformer into the project box with hot glue.  To get the stepped down voltage from the transformer to the circuit board, I ran another set of wires from the other end of the transformer to the circuit board.</p>
<div id="attachment_217" class="wp-caption aligncenter" style="width: 522px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/04/img_1089.jpg"><img class="size-full wp-image-217   " src="http://ubermodder.com/wp-content/uploads/2009/04/img_1089.jpg" alt="AC to DC conversion" width="512" height="384" /></a><p class="wp-caption-text">AC to DC converter</p></div>
<div id="attachment_218" class="wp-caption aligncenter" style="width: 522px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/04/img_1086.jpg"><img class="size-full wp-image-218   " src="http://ubermodder.com/wp-content/uploads/2009/04/img_1086.jpg" alt="Inside the Box" width="512" height="384" /></a><p class="wp-caption-text">Everything mounted in the box</p></div>
<p>After the circuit board was placed inside of the box I got to work on soldering the USB connector to a <a href="http://en.wikipedia.org/wiki/Stripboard" target="_blank">small proto board</a>, shown above.  I decided to add the proto board to make mounting and connecting a couple of components much easier (plus when i tried to solder wires and components on to the USB connector pins directly I was running out of room and started creating shorts).  On the proto board I added a 1 Amp <a href="http://en.wikipedia.org/wiki/Resettable_fuse" target="_blank">PTC (thermal resettable fuse)</a> in series with the positive wire from the output of the AC to DC converter circuit and the output 5 V of the USB connector.  The PTC will provide device protection without the need to ever open the box and replace a fuse. I also decided that I wanted add a power indicator on the circuit, so a green led and a resistor in series with the 5V output was installed.  I installed the green led by drilling a hole in the top of the enclosure and used an clear-ish epoxy to mount it (I have to admit that the led is a bit dimer than I would have liked through the epoxy).   In order to charge the iPod correctly, the <a href="http://www.usb.org/developers/devclass_docs" target="_blank">USB specification</a> states that the data puts must be shorted together. As a precaution, I soldered a 51 Ohm resistor between the data pins on the usb connector. This way the pins are pulled together with low resistance rather than a short.  To finish things off, I attached the ground wire from the circuit to the ground on the usb connector and was ready to test.</p>
<div id="attachment_361" class="wp-caption aligncenter" style="width: 529px"><img class="size-full wp-image-361  " src="http://ubermodder.com/wp-content/uploads/2009/08/IMG_5470.JPG" alt="Charger In Action" width="519" height="388" /><p class="wp-caption-text">Ipod Charging</p></div>
<p>Above, my 5th gen i pod video attached, it drew about 700 mA which was well within the limits of the supply hardware.</p>
<p>With the project complete I&#8217;ve got a functioning USB charger to keep at work which cost me nothing to put together (much better than paying $30 for one).</p>
<div id="attachment_214" class="wp-caption aligncenter" style="width: 522px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/04/img_1084.jpg"><img class="size-full wp-image-214  " src="http://ubermodder.com/wp-content/uploads/2009/04/img_1084.jpg" alt="USB Charger Complete" width="512" height="384" /></a><p class="wp-caption-text">USB Charger Complete</p></div>
<div id="attachment_215" class="wp-caption aligncenter" style="width: 522px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/04/img_1085.jpg"><img class="size-full wp-image-215  " src="http://ubermodder.com/wp-content/uploads/2009/04/img_1085.jpg" alt="Side view of charger" width="512" height="384" /></a><p class="wp-caption-text">Side view of charger</p></div>
<p>It is pretty rough looking, so I just hide it behind my computer monitor =).</p>
<p>Update (8/19/09):  Here is the circuit diagram for the charger.  Enjoy!</p>
<div id="attachment_393" class="wp-caption aligncenter" style="width: 500px"><a href="http://ubermodder.com/wp-content/uploads/2009/08/usb_charger.jpg" rel="thumbnail"><img class="size-full wp-image-393  " src="http://ubermodder.com/wp-content/uploads/2009/08/usb_charger.jpg" alt="Circuit Schematic" width="490" height="301" /></a><p class="wp-caption-text">Circuit Schematic</p></div>
]]></content:encoded>
			<wfw:commentRss>http://ubermodder.com/homebrew-usb-charger/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
