<?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>Brett&#039;s Build Log &#187; usbpowershield</title>
	<atom:link href="http://brettinman.com/tag/usbpowershield/feed/" rel="self" type="application/rss+xml" />
	<link>http://brettinman.com</link>
	<description>Hardware tinkering with the occasional bit of software</description>
	<lastBuildDate>Thu, 11 Mar 2010 09:24:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>USB Power Shield v2.0</title>
		<link>http://brettinman.com/2009/08/07/usb-power-shield-v2-0/</link>
		<comments>http://brettinman.com/2009/08/07/usb-power-shield-v2-0/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 06:05:09 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[USB Power Shield]]></category>
		<category><![CDATA[Woot-Off Lights Project]]></category>
		<category><![CDATA[board]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[pcb]]></category>
		<category><![CDATA[usbpowershield]]></category>
		<category><![CDATA[wootofflights]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=121</guid>
		<description><![CDATA[The new USB Power Shield boards (rev. 2.0) have just arrived from BatchPCB! As always, they were quick, great quality, and they even sent me a few extra! Awesome service. Version 2.0 has some major revisions since v1.0, including: Smaller Size &#8211; cost is determined by size, so I brought it down to the bare [...]]]></description>
			<content:encoded><![CDATA[<p>The new USB Power Shield boards (rev. 2.0) have just arrived from <a href="http://www.batchpcb.com/">BatchPCB</a>! As always, they were quick, great quality, and they even sent me a few extra! Awesome service.<br />
<div id="attachment_147" class="wp-caption aligncenter" style="width: 297px"><a href="http://brettinman.com/blog/wp-content/uploads/2009/07/usbpowershieldv2.png"><img src="http://brettinman.com/blog/wp-content/uploads/2009/07/usbpowershieldv2-287x300.png" alt="Top View of the USB Power Shield v2.0" title="usbpowershieldv2" width="287" height="300" class="size-medium wp-image-147" /></a><p class="wp-caption-text">Top View of the USB Power Shield v2.0</p></div><br />
Version 2.0 has some major revisions since v1.0, including:</p>
<ul>
<li><strong>Smaller Size</strong> &#8211; cost is determined by size, so I brought it down to the bare minimum &#8211; just enough to cover the Arduino pins.</li>
<li><strong>Power Planes</strong> &#8211; Added a 5V plane on top and a GND plane on the bottom to increase the reliability of the design, allow higher current, and also act as a bit of a heatsink</li>
<li><strong>Thicker Traces</strong> &#8211; the traces in v1.0 are only 8mil, which is pretty small and is really only good for about 200mA. Some devices powered here may need more than that. To support the USB spec of 500mA per device, I&#8217;ve bumped up all the traces to 16mil. There&#8217;s plenty of space for traces anyways.</li>
<li><strong>Remove the Vin LED</strong> &#8211; unnecessary.</li>
<li><strong>Flush caps</strong> &#8211; leave space so the caps can be bent down, so another shield can be fitted on top of this one. The regulator is also mounted on the edge to allow bending it down, although in many application it will need a heatsink so they may not clear even when bent down.</li>
</ul>
<p>And here it is built:<br />
<a href="http://brettinman.com/blog/wp-content/uploads/2009/08/usbpowershieldv20.jpg"><img src="http://brettinman.com/blog/wp-content/uploads/2009/08/usbpowershieldv20.jpg" alt="USB Power Shield v2.0" title="USB Power Shield v2.0" width="600" height="450" class="aligncenter size-full wp-image-176" /></a></p>
<p><strong>Parts needed:</strong><br />
Keep in mind not all parts on the board are needed. For instance, if you&#8217;re powering a single pair of lights (or anything running at <300ma) you can just use the Arduino's built in DC-in with voltage regulator (USB power alone is not going to cut it). If that's the case, you can leave out the 7805 regulator, the 100uF capacitor (keep the 10uF), and the power diode D1. You also don't have to have the power indicator LED or its resistor RLED. And if you're only controlling one device, you only need one relay and one USB connector. All in all, you can get the parts cost for this board down to about $4 at the minimum configuration. If you want to go all out, here's what you'll need:</p>
<p><span id="more-121"></span><br />
2x <a href="http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMs3UE%252bXNiFaVF12THBPgwXPMqsHAm3LTXk%3d">G6JU-2P-Y-DC4.5</a> Relays      @ ~$2.85 each<br />
2x <a href="http://mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMtDa8bhoiaN7HDJKsykYnjc">USB A connectors</a>               @ ~$0.45 each<br />
1x <a href="http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMug9GoBKXZ757KFYdywgvBV7%2f%2fqrdjjhZ4%3d">7805 5V Regulator </a>              @ ~$0.37<br />
1x DC-in <a href="http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMu2f9RNbWupYpN4Bpd1ZXeWglHv88z1Rc8%3d">2.1mm Jack</a>                @ ~$0.63<br />
1x <a href="http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMukHu%252bjC5l7YRoIw1o9fDs4D4Fc6M2xHYA%3d">100uF 25V</a> capacitor            @ ~$0.03<br />
1x <a href="http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMsCnlYck6hSqAlrlujfUe4KIkXd8xoFS7c%3d">10uF 25V </a>(10V ok) capacitor @ ~$0.03<br />
1x <a href="http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMtEwUVCuofpuFOn%252bHIvCcyB6OioqsTJAaU%3d">1N4004</a> standard Diode        @ ~$0.04<br />
1x <a href="http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMtlubZbdhIBICS9vICa6AcH4aX3A0%2fcTv0%3d">450-500 ohm</a> resistor           @ ~$0.04<br />
1x <a href="http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMvxtGF7dlGNpme%252bpiiSarbFh83YGHyHNnM%3d">6x6mm pushbutton</a> switch    @ ~$0.24<br />
1x <a href="http://mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMtJ8nYvfCigMixTPG3SOeuhNvhVjLU1XIY%3d">5mm LED</a> (any type/color is fine)                           @ ~$0.08<br />
1x 28+ pin row <a href="http://mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMvlX3nhDDO4AJDbeIeePM9P3yCR%252beDTu28%3d">.1&#8243; male header</a>  @ ~0.11</p>
<p><strong>Total parts cost ~$8.17</strong></p>
<p><em>You&#8217;ll also need a heatsink for the regulator if you plan on drawing more than ~200ma from it, those can range from $0.30 to $2, depending on size and complexity. There is a quite large one in the picture above as I was using it to charge my MP3 player, which draws a lot of current.</em></p>
<p>Stay tuned for an assembly guide. Also, I&#8217;ll be selling the few extra boards I have at cost to those interested, details to come soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/08/07/usb-power-shield-v2-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Woot-off Time!</title>
		<link>http://brettinman.com/2009/07/21/woot-off-time/</link>
		<comments>http://brettinman.com/2009/07/21/woot-off-time/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 06:40:39 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Interesting Links]]></category>
		<category><![CDATA[USB Power Shield]]></category>
		<category><![CDATA[Woot-Off Lights Project]]></category>
		<category><![CDATA[usbpowershield]]></category>
		<category><![CDATA[wootoff]]></category>
		<category><![CDATA[wootofflights]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=154</guid>
		<description><![CDATA[Just in time to test the USB Power Shield, it&#8217;s a Woot-off! I&#8217;ll post some pics of the lights in action tomorrow, but for now, head over to the Woot Tracker to keep up with all the items.]]></description>
			<content:encoded><![CDATA[<p>Just in time to test the <a href="http://brettinman.com/2009/07/14/success-usb-power-shield-v1-0/">USB Power Shield</a>, it&#8217;s a <a href="http://www.woot.com/">Woot-off</a>! I&#8217;ll post some pics of the lights in action tomorrow, but for now, head over to the <a href="http://www.brettinman.com/woot/">Woot Tracker</a> to keep up with all the items.</p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/07/21/woot-off-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Success! USB Power Shield v1.0</title>
		<link>http://brettinman.com/2009/07/14/success-usb-power-shield-v1-0/</link>
		<comments>http://brettinman.com/2009/07/14/success-usb-power-shield-v1-0/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 00:51:51 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[USB Power Shield]]></category>
		<category><![CDATA[Woot-Off Lights Project]]></category>
		<category><![CDATA[board]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[pcb]]></category>
		<category><![CDATA[usbpowershield]]></category>
		<category><![CDATA[wootofflights]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=119</guid>
		<description><![CDATA[A special envelope arrived yesterday from BatchPCB &#8211; the envelope containing the prototype board for the USB Power Shield v1.0. Or should I say prototype boards &#8211; they were kind enough to produce two, even though I only ordered one. Consider me a happy customer, especially because the boards work. That&#8217;s right, the very first [...]]]></description>
			<content:encoded><![CDATA[<p>A special envelope arrived yesterday from BatchPCB &#8211; the envelope containing the prototype board for the USB Power Shield v1.0. Or should I say prototype <em>boards</em> &#8211; they were kind enough to produce two, even though I only ordered one. Consider me a happy customer, especially because the boards <strong>work</strong>.</p>
<p>That&#8217;s right, the very first prototype board actually functions. I&#8217;m amazed too.</p>
<div id="attachment_125" class="wp-caption aligncenter" style="width: 610px"><a href="http://brettinman.com/blog/wp-content/uploads/2009/07/usbv10.jpg"><img class="size-full wp-image-125" title="USB Power Shield v1.0" src="http://brettinman.com/blog/wp-content/uploads/2009/07/usbv10.jpg" alt="The first working prototype" width="600" height="450" /></a><p class="wp-caption-text">The first working prototype</p></div>
<p>Of course, there are some changes I&#8217;d like to make &#8211; expect to see a v2.0 very soon. A few big things will be happening in the next revision, including addition of power planes and making the board smaller to reduce cost (by 30% ! ).</p>
<p>If anyone&#8217;s interested in ordering one of these from BatchPCB, <a title="Reveal this e-mail address" onclick="window.open('http://mailhide.recaptcha.net/d?k=01jlbGx1TZWHVloS28A_lV0A==&amp;c=-lwJp3roR08RVHblSvniF2KWeWePDTR86n3VPm23Z30=', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" href="http://mailhide.recaptcha.net/d?k=01jlbGx1TZWHVloS28A_lV0A==&amp;c=-lwJp3roR08RVHblSvniF2KWeWePDTR86n3VPm23Z30=">email me</a> and I&#8217;ll send you the link and parts list . I don&#8217;t want to make it completely public yet with the upcoming revision, which will be cheaper and more stable, but if you want to try it now let me know.</p>
<p>Also expect to see a basic Arduino library for controlling it soon, and we&#8217;re working on completing the WootOff application &#8211; the pressure&#8217;s on now that there is a working board!</p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/07/14/success-usb-power-shield-v1-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>First USB Power Shield Prototype on the Way!</title>
		<link>http://brettinman.com/2009/06/24/first-usb-power-shield-prototype-on-the-way/</link>
		<comments>http://brettinman.com/2009/06/24/first-usb-power-shield-prototype-on-the-way/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 01:52:06 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[USB Power Shield]]></category>
		<category><![CDATA[Woot-Off Lights Project]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[pcb]]></category>
		<category><![CDATA[schematic]]></category>
		<category><![CDATA[usbpowershield]]></category>
		<category><![CDATA[wootofflights]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=111</guid>
		<description><![CDATA[After toying with the relays and Arduino I found that the diodes weren&#8217;t necessary &#8211; especially since the relay is latching, and current will be flowing both ways, so putting a diode in each direction would just create a short. As such, I made some modifications to the board and put it into Gerber files [...]]]></description>
			<content:encoded><![CDATA[<p>After toying with the relays and Arduino I found that the diodes weren&#8217;t necessary &#8211; especially since the relay is latching, and current will be flowing both ways, so putting a diode in each direction would just create a short.</p>
<p>As such, I made some modifications to the board and put it into Gerber files using Eagle, uploaded them to <a href="http://batchpcb.com/">BatchPCB</a>, and am now waiting for the first one to arrive so that I can populate and test it. In the meantime, I need to get around to packaging the WootOff software for distribution, and come up with some documentation of this project that&#8217;s more readable than this series of blog posts.</p>
<p>Here&#8217;s the board schematic of the Prototype board:<br />
<div id="attachment_112" class="wp-caption aligncenter" style="width: 905px"><a href="http://brettinman.com/blog/wp-content/uploads/2009/06/shieldv1.jpg"><img src="http://brettinman.com/blog/wp-content/uploads/2009/06/shieldv1.jpg" alt="USB Power Shield v1.0 - Prototype" title="USB Power Shield v1.0 - Prototype" width="600" height="412" class="size-full wp-image-112" /></a><p class="wp-caption-text">USB Power Shield v1.0 - Prototype</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/06/24/first-usb-power-shield-prototype-on-the-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>USB Power Shield</title>
		<link>http://brettinman.com/2009/06/10/usb-power-shield/</link>
		<comments>http://brettinman.com/2009/06/10/usb-power-shield/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 04:33:05 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[USB Power Shield]]></category>
		<category><![CDATA[Woot-Off Lights Project]]></category>
		<category><![CDATA[board]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[pcb]]></category>
		<category><![CDATA[schematic]]></category>
		<category><![CDATA[transistors]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[usbpowershield]]></category>
		<category><![CDATA[wootofflights]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=82</guid>
		<description><![CDATA[I really wanted there to be a complete solution for the Woot-Off lights project that could be almost plug and play for the end user, so today I drew up a schematic and a board for a USB Power Shield for the Arduino. It pops onto the Arduino like any other shield, and by controlling [...]]]></description>
			<content:encoded><![CDATA[<p>I really wanted there to be a complete solution for the Woot-Off lights project that could be almost plug and play for the end user, so today I drew up a schematic and a board for a USB Power Shield for the Arduino. It pops onto the Arduino like any other shield, and by controlling pins 9-12, you can control power to four devices. </p>
<p>There are two USB ports for anything that takes USB power (5V) &#8211; of course, these ports are for power only (no data). You can use these to control the Woot-Off lights without cutting and soldering the cord, and something else (USB Fan? Light? <a href="http://www.thinkgeek.com/interests/giftsunder10/9c89/">Humping Dog</a>?). There are also four pads toward the middle so you can solder in anything else that takes 5V power.</p>
<div id="attachment_91" class="wp-caption aligncenter" style="width: 610px"><a href="http://brettinman.com/blog/wp-content/uploads/2009/06/board.jpg"><img src="http://brettinman.com/blog/wp-content/uploads/2009/06/board.jpg" alt="USB Power Shield board" title="USB Power Shield board" width="600" height="439" class="size-full wp-image-91" /></a><p class="wp-caption-text">USB Power Shield board</p></div>
<p>Schematic <a href="http://brettinman.com/blog/wp-content/uploads/2009/06/boardschematic.jpg">here</a>.</p>
<p>Since the Arduino can only supply maybe 300mA while on USB power and 600mA from its small 5V regulator (using DC in), I&#8217;ve included the stuff necessary to add a 7805 regulator and related components to allow up to 1A (if you use a heatsink). You can always leave these pads empty if you don&#8217;t plan on using that much power. The Woot-Off Lights will need at least the 5V regulator on the Arduino. There are also LEDs to show if the regulator and board itself are powered &#8211; these can be omitted as well.</p>
<p>The board uses four 2N3906 to control power of up to 200mA at 5V to four devices. By writing the corresponding pin LOW on the Arduino, you turn on the transistor and allow current to flow from 5V to the device (and then, hopefully, out to GND). Very Simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/06/10/usb-power-shield/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
