<?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; Hardware</title>
	<atom:link href="http://brettinman.com/tag/hardware/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>DIY Audio on a &#8220;Student&#8217;s&#8221; Budget</title>
		<link>http://brettinman.com/2009/08/19/diy-audio-on-a-students-budget/</link>
		<comments>http://brettinman.com/2009/08/19/diy-audio-on-a-students-budget/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 02:50:57 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[diy]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=190</guid>
		<description><![CDATA[Today, a whole new topic in DIY electronics &#8211; audio. Audiophiles (or just anyone looking to get good sound quality) can spend hundreds or thousands of dollar on systems whose parts may only cost a tiny fraction of the retail cost. So the DIY community has stepped up to the plate, with many extremely knowledgeable [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both;">Today, a whole new topic in DIY electronics &#8211; audio. Audiophiles (or just anyone looking to get good sound quality) can spend hundreds or thousands of dollar on systems whose parts may only cost a tiny fraction of the retail cost. So the DIY community has stepped up to the plate, with many extremely knowledgeable engineers and hobbyists collaborating on original circuit designs that rival or better many commercial &#8220;audiophile&#8221; products.</p>
<p style="clear: both;"><a class="image-link" href="http://brettinman.com/blog/wp-content/uploads/2009/08/ssmhblog1-full1.jpg"><img class="linked-to-original" style="text-align: center; display: block; margin: 0 auto 10px;" src="http://brettinman.com/blog/wp-content/uploads/2009/08/ssmhblog1-thumb13.jpg" alt="" width="600" height="450" /></a>Recently, I had the great fortune to get in on a group buy of sorts, for a modified version of the Starving Student Millet Hybrid amplifier. The SSMH started life as a simple but ingenious hybrid (tube and solid state) design by <a href="http://www.pmillett.com/">Pete Millett</a>, in which he used the heating element of the tubes to put a load on the MOSFETs of the amplifier, cutting complexity and cost. Originally, it was a very basic amplifier with a budget-minded soul, built into whatever enclosure was handy with point to point (P2P) wiring. You can see the original build at his site <a href="http://www.pmillett.com/starving.htm">here</a>, and the forum thread following it&#8217;s history <a href="http://www.head-fi.org/forums/f6/millett-starving-student-hybrid-amp-319231/">here</a>.</p>
<p style="clear: both;">DIY forum user <a href="http://www.ecp.cc/diy-audio.html">Dsavitsk</a> then improved on the design with some slight modifications to the circuit. He also developed an equally ingenious way to mount the amp in an enclosure &#8211; a PCB would be developed and attached to the sliding top of a standard Hammond enclosure, allowing the tubes to be mounted to the &#8220;underside&#8221; of the PCB and stick out through the case. This would eliminate the P2P wiring that caused many problems in DIY builds of the amp &#8211; problems with grounding and bad connections had plagued countless hobbyists.</p>
<p style="clear: both;">Collaborating with Tom Blanchard of <a href="http://www.beezar.com/oscommerce2/catalog/index.php">Beezar Audio</a>, the two developed PCBs and set the project in motion. Tom took on the arduous task of organizing the procurement of the increasingly rare 19J6 vacuum tubes, the custom-machined Hammond cases, and all the other various parts needed to develop kits of the SMMH.</p>
<p style="clear: both;">I was lucky enough to get in on this undertaking and purchase a kit, and after a couple months (during which the cases were machined), I recently took delivery of the kit and quickly put it together.</p>
<p><span id="more-190"></span></p>
<p style="clear: both;"><a class="image-link" href="http://brettinman.com/blog/wp-content/uploads/2009/08/ssmhblog2-full.jpg"><img class="linked-to-original" style="text-align: center; display: block; margin: 0 auto 10px;" src="http://brettinman.com/blog/wp-content/uploads/2009/08/ssmhblog2-thumb1.jpg" alt="" width="600" height="450" /></a>The ease of construction of this amp is a great testament to the amount of work that Tom, Dsavitsk, and originally Pete put into this design. I had the amp completed from start to finish in less than 5 hours, with no serious problems. With me and DIY projects, that&#8217;s unheard of. Tom made it extremely smooth with his excellent <a href="http://www.head-fi.org/forums/f6/starving-student-millett-hybrid-pcb-step-step-build-guide-437075/index2.html">instructions</a>. I flipped the power switch, watched the glow of the tube heaters and LEDs come to life, and plugged in my headphones and source. I wouldn&#8217;t call myself an Audiophile, but the sound of this amplifier far outranks anything I&#8217;ve listened to, and blows my own basic DIY amps out of the water. Plus, it looks amazing on my desk. Glass tubes? How quaint!</p>
<p style="clear: both;">For those looking for a great audio project with that old-school tube feel, <span style="text-decoration: line-through;">there are still PCBs and tubes available, with a chance that more custom cases will become available.</span> [EDIT] As of February 2010, the supply of 19J6 tubes has been nearly exhausted and no more PCBs or kits based on this tube will be produced unless a stash is found in the corner of a warehouse somewhere. The possibility of doing this build point-to-point still exists if you want to buy the tubes in small quantities at high prices, and there are modifications that can be made to use this design with more common tubes &#8211; see the SSMH website or the Head-Fi thread for details.</p>
<p style="clear: both;">Even if this amp seems like too much of an undertaking, I highly recommend dabbling in DIY audio &#8211; a great place to start is the classic CMoy headphone amp in a mint tin. Tangent has some of the most complete instructions <a href="http://tangentsoft.net/audio/cmoy-tutorial/">here</a>.</p>
<p style="clear: both;"><em>Un-Disclaimer: I&#8217;m in no way involved with Beezar audio or anyone else mentioned in the post; this was just an awesome project that came together through the power of the DIY community.</em></p>
<p><br class="final-break" style="clear: both;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/08/19/diy-audio-on-a-students-budget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>Using the Bus Pirate v2go on Mac</title>
		<link>http://brettinman.com/2009/07/24/using-the-bus-pirate-v2go-on-mac/</link>
		<comments>http://brettinman.com/2009/07/24/using-the-bus-pirate-v2go-on-mac/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 22:38:05 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Bus Pirate]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[communications]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=156</guid>
		<description><![CDATA[My Bus Pirate v2go just arrived this morning and I was eager to try it out. There is some documentation on Hack-a-Day on how to use the bus pirate with HyperTerminal. However, all of my electronics stuff is on the other side of the room from my Windows desktop. I use my MacBook for programming [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://www.buspirate.com">Bus Pirate v2go</a> just arrived this morning and I was eager to try it out. There is some documentation on Hack-a-Day on how to use the bus pirate with HyperTerminal. However, all of my electronics stuff is on the other side of the room from my Windows desktop. I use my MacBook for programming the Arduino and my other AVR projects, so I wanted to use it for the Bus Pirate as well. What to do?</p>
<p><del datetime="2009-08-12T19:22:23+00:00">My first google searches ended in disappointment &#8211; using the built in <a href="http://www.macosxhints.com/article.php?story=20061109133825654">Terminal program with Screen</a> was unsuccessful (probably because it doesn&#8217;t seem like you can set the baudrate).</del><em> Update: it turns out that you can set the baudrate with screen using an argument like so &#8211;  &#8220;screen /dev/ttyWHATEVER 115200&#8243;. Thanks goes to the David in the comments below.</em> After a little searching, it looked like the few serial terminal applications for Mac were old and outdated, but I did manage to find <a href="http://homepage.mac.com/dalverson/zterm/">ZTerm</a>. It&#8217;s simple and basic &#8211; perfect for use with the bus pirate.</p>
<p>Don&#8217;t forget that you need to have already installed the <a href="http://www.ftdichip.com/Drivers/VCP.htm">FTDI driver</a> so that your computer will see the device over USB. Start Zterm and choose the correct port in the popup window (if it isn&#8217;t already chosen automatically). Then you need to change the connection settings to talk to the Bus Pirate properly. Go to Settings-&gt;Connection and set it like this:<br />
<a href="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-1.png"><img class="aligncenter size-full wp-image-157" title="ZTerm settings for Bus Pirate" src="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-1.png" alt="ZTerm settings for Bus Pirate" width="489" height="344" /></a><br />
Data Rate: 115200<br />
Data Bits: 8<br />
Parity: None<br />
Stop bits: 1</p>
<p>The rest you can leave at the default. <strong>[UPDATE] On newer firmware versions you&#8217;ll need to deselect Xon/Xoff</strong> as per Ian in the comments below.</p>
<p>Hit ok and go back to the terminal window to start talking<span id="more-156"></span></p>
<p>Hit enter to start communicating. Entering ? will bring up the list of commands like so:<br />
<a href="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-2.png"><img class="aligncenter size-medium wp-image-160" title="Bus Pirate menu" src="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-2.png" alt="Bus Pirate menu" width="600" height="538" /></a><br />
To test some functionality of the bus pirate, we&#8217;re going to measure the voltage on the ADC pin. We&#8217;ll do this by putting the Bus Pirate into just about any mode besides HiZ &#8211; we&#8217;ll choose 1-Wire since it&#8217;s simple to set up.</p>
<p>Enter &#8220;m&#8221; to bring up the mode menu, choose 1-Wire by entering &#8220;2&#8243;. Hook up some voltage to the ADC pin (see the bottom of the Bus Pirate for it&#8217;s pinout). Then enter &#8220;d&#8221; to read the value on the pin. I connected the pin to the 5V input from the USB line, so it reads 5.1V. You can see that full process in the terminal below.<br />
<a href="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-3.png"><img class="aligncenter size-full wp-image-164" title="Bus Pirate ADC Reading" src="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-3.png" alt="Bus Pirate ADC Reading" width="345" height="305" /></a></p>
<p>That&#8217;s it for the basics! See the <a href="http://www.buspirate.com">Bus Pirate</a> site for more examples of how to use this nice piece of hardware.</p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/07/24/using-the-bus-pirate-v2go-on-mac/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
