<?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; USB</title>
	<atom:link href="http://ubermodder.com/tag/usb/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>
		<item>
		<title>Budget USB Enabled GPS</title>
		<link>http://ubermodder.com/budget-usb-enabled-gps/</link>
		<comments>http://ubermodder.com/budget-usb-enabled-gps/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 07:26:47 +0000</pubDate>
		<dc:creator>Alec</dc:creator>
				<category><![CDATA[GPS]]></category>
		<category><![CDATA[cheap gps]]></category>
		<category><![CDATA[pharos]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[sirf star III]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://ubermodder.com/?p=54</guid>
		<description><![CDATA[Looking for a cheap GPS receiver? Look no further than the GPS-500 Microsoft Streets and Trips GPS by Pharos. This tiny unit features a SiRF Star III chipset and most are selling on ebay for just under 10 dollars! This GPS receiver can be interfaced via a RS232 serial link using a MAX232 chip from [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_14" class="wp-caption aligncenter" style="width: 310px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/02/100_1067.jpg"><img class="size-medium wp-image-14" title="GPS-500 Setup" src="http://ubermodder.com/wp-content/uploads/2009/02/100_1067.jpg" alt="Microsoft GPS Cheap" width="300" height="199" /></a><p class="wp-caption-text">GPS-500 Setup</p></div>
<p>Looking for a cheap GPS receiver? Look no further than the <a title="GPS-500 Microsoft Streets and Trips" href="http://www.microsoft.com/STREETS/en-us/Products_Streets2009GPS.aspx" target="_blank">GPS-500 Microsoft Streets and Trips</a> GPS by <a title="Pharos GPS-500" href="http://www.pharosgps.com/products/proddetail.asp?prod=006_PB010_1.00&amp;cat=141" target="_blank">Pharos</a>. This tiny unit features a SiRF Star III chipset and most are selling on <a title="Ebay GPS-500" href="http://shop.ebay.com/items/_W0QQ_dmptZGPSQ5fDevices?_nkw=GPS-500&amp;_sacat=0&amp;_fromfsb=&amp;_trksid=m270.l1313&amp;_odkw=GPS-500&amp;_osacat=0" target="_blank">ebay</a> for just under 10 dollars! This GPS receiver can be interfaced via a RS232 serial link using a MAX232 chip from Maxim IC and a low cost USB to serial converter.</p>
<p><strong>Difficulty :</strong> <span style="color: #ff9900;"><strong>Medium</strong></span><strong><br />
Time</strong>: 1 Hour</p>
<p><span id="more-54"></span></p>
<div id="attachment_203" class="wp-caption aligncenter" style="width: 310px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/02/100_1081.jpg"><img class="size-medium wp-image-203" title="GPS Side" src="http://ubermodder.com/wp-content/uploads/2009/02/100_1081-300x199.jpg" alt="GPS Side" width="300" height="199" /></a><p class="wp-caption-text">GPS-500 Side</p></div>
<div id="attachment_202" class="wp-caption aligncenter" style="width: 310px"><a href="http://ubermodder.com/wp-content/uploads/2009/02/100_1079.jpg" rel="thumbnail"><img class="size-medium wp-image-202" title="GPS Top" src="http://ubermodder.com/wp-content/uploads/2009/02/100_1079-300x199.jpg" alt="GPS-500 Top" width="300" height="199" /></a><p class="wp-caption-text">GPS-500 Top</p></div>
<p>After purchasing this GPS receiver, I thought that it would be ready to go, very wrong. In reality the unit needs a special converter cable to interface with a serial port, who has time to buy and wait for that?</p>
<p>Assuming that most devices use 5 volts, I started the very dangerous method of applying power and ground to various pins on the GPS receiver. Once the power was applied correctly a blue led turned on.</p>
<p>Now, I just needed to get the NMEA output data from the GPS receiver. Using a RS232 converter like the <a title="max232acpe datasheet" href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1798" target="_blank">MAX232ACPE</a> shown in the schematic below, I connected pin 14 of it to the RX pin of a serial port and listened for data via hyperterminal. Next, I attached a wire to pin 11 of the MAX232ACPE and tried the remaining pins on the GPS receiver.</p>
<div id="attachment_16" class="wp-caption aligncenter" style="width: 398px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/02/gps_schematic.jpg"><img class="size-full wp-image-16" title="GPS Test Schematic" src="http://ubermodder.com/wp-content/uploads/2009/02/gps_schematic.jpg" alt="gps_schematic" width="388" height="239" /></a><p class="wp-caption-text">GPS Test Schematic</p></div>
<p>Upon finding the TX pin of the GPS receiver, hyperterminal was receiving garbage text because of an incorrectly set baud rate. After some trial and error, the baud rate was found to be 4800bps.</p>
<p style="text-align: center;"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/02/hyperterminal_test.jpg"><img class="aligncenter size-medium wp-image-19" title="gps_hyperterminal_test" src="http://ubermodder.com/wp-content/uploads/2009/02/hyperterminal_test.jpg" alt="gps_hyperterminal_test" width="414" height="276" /></a></p>
<p>Based on what I have found, the pinouts are as follows below. The unused pins could be RX or some sort of special functionality that the SiRF Star III GPS chipset has to offer.</p>
<p style="text-align: center;">
<div id="attachment_15" class="wp-caption aligncenter" style="width: 306px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/02/gps_500.jpg"><img class="size-full wp-image-15" title="GPS-500 pinout" src="http://ubermodder.com/wp-content/uploads/2009/02/gps_500.jpg" alt="GPS-500 pinout" width="296" height="81" /></a><p class="wp-caption-text">GPS-500 pinout</p></div>
<p style="text-align: left;">Lastly, I added a switch on the output of the GPS&#8217;s TX line, a <a title="Ebay USB to Serial Converter" href="http://shop.ebay.com/?_from=R40&amp;_trksid=m38.l1313&amp;_nkw=usb+to+serial+converter&amp;_sacat=See-All-Categories" target="_blank">usb to serial converter</a>, and LOTS of hot glue to secure the wires in order to interface with my laptop. The switch was added to shut off the GPS&#8217;s TX output from sending data to the computer during the first 5 seconds of powering up. Otherwise, hyperterminal would cease to read from the device.</p>
<p style="text-align: center;">
<div id="attachment_198" class="wp-caption aligncenter" style="width: 310px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/03/gps.jpg"><img class="size-medium wp-image-198" title="gps schematic full" src="http://ubermodder.com/wp-content/uploads/2009/03/gps-300x102.jpg" alt="Finalized GPS Schematic" width="300" height="102" /></a><p class="wp-caption-text">Finalized GPS Schematic</p></div>
<p style="text-align: left;">The <a title="SiRF Star III Tech" href="http://en.wikipedia.org/wiki/SiRFstar_III" target="_blank">SiRF Star III technology</a> is quite remarkable, I was able to acquire 8 GPS satellites on the first floor of a two story house!</p>
<div id="attachment_77" class="wp-caption aligncenter" style="width: 310px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/02/100_1069.jpg"><img class="size-medium wp-image-77" title="GPS Teardown" src="http://ubermodder.com/wp-content/uploads/2009/02/100_1069-300x199.jpg" alt="100_1069" width="300" height="199" /></a><p class="wp-caption-text">GPS Teardown</p></div>
<div id="attachment_73" class="wp-caption aligncenter" style="width: 310px"><a rel="thumbnail" href="http://ubermodder.com/wp-content/uploads/2009/02/100_0954.jpg"><img class="size-medium wp-image-73" title="GPS Laptop Setup" src="http://ubermodder.com/wp-content/uploads/2009/02/100_0954-300x199.jpg" alt="GPS Laptop Setup" width="300" height="199" /></a><p class="wp-caption-text">GPS Laptop Setup</p></div>
]]></content:encoded>
			<wfw:commentRss>http://ubermodder.com/budget-usb-enabled-gps/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
