<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Project  Blog</title>
	
	<link>http://brettbeauregard.com/blog</link>
	<description>Project updates and... um...</description>
	<lastBuildDate>Sun, 25 Nov 2012 14:00:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/brettbeauregard/vayj" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="brettbeauregard/vayj" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Priorites</title>
		<link>http://brettbeauregard.com/blog/2012/11/priorites/</link>
		<comments>http://brettbeauregard.com/blog/2012/11/priorites/#comments</comments>
		<pubDate>Sun, 25 Nov 2012 14:00:13 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brettbeauregard.com/blog/?p=2250</guid>
		<description><![CDATA[So I&#8217;ve been tapering off on my projects recently, and i wanted to quickly post to explain that this trend will continue for the forseeable future. More important things have come up. I&#8217;m still checking messages and answering questions, but my pace is slower now.]]></description>
			<content:encoded><![CDATA[<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/11/priorities.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/11/priorities.jpg" alt="" title="priorities" width="450" height="297" class="aligncenter size-full wp-image-2251" /></a><br />
So I&#8217;ve been tapering off on my projects recently, and i wanted to quickly post to explain that this trend will continue for the forseeable future. More important things have come up.  I&#8217;m still checking messages and answering questions, but my pace is slower now.</p>
 <p><a href="http://brettbeauregard.com/blog/?flattrss_redirect&amp;id=2250&amp;md5=bfc6d4cb14469f129b874dd2dab6e9ea" title="Flattr" target="_blank"><img src="http://brettbeauregard.com/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><img src="http://feeds.feedburner.com/~r/brettbeauregard/vayj/~4/97pZoRa4CUg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brettbeauregard.com/blog/2012/11/priorites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=br3ttb&amp;popout=1&amp;url=http%3A%2F%2Fbrettbeauregard.com%2Fblog%2F2012%2F11%2Fpriorites%2F&amp;language=en_GB&amp;category=text&amp;title=Priorites&amp;description=So+I%26%238217%3Bve+been+tapering+off+on+my+projects+recently%2C+and+i+wanted+to+quickly+post+to+explain+that+this+trend+will+continue+for+the+forseeable+future.+More+important+things+have...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>My adventures in Silksceening – Part 1</title>
		<link>http://brettbeauregard.com/blog/2012/09/my-adventures-in-silksceening-part-1/</link>
		<comments>http://brettbeauregard.com/blog/2012/09/my-adventures-in-silksceening-part-1/#comments</comments>
		<pubDate>Fri, 21 Sep 2012 11:27:59 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Craft]]></category>
		<category><![CDATA[Silkscreen]]></category>

		<guid isPermaLink="false">http://brettbeauregard.com/blog/?p=2181</guid>
		<description><![CDATA[The Motivation It&#8217;s nice to have a souvenir when I come back from vacation: a shot glass, a knick-knack, a T-shirt; a little reminder helps the trip last longer in my mind. On my last vacation, I realized how much buying souvenirs grates on my diy sensibilites. I wanted a T-Shirt, but I didn&#8217;t want [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/close.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/close.jpg" alt="" title="SAMSUNG" width="450" height="326" class="aligncenter size-full wp-image-2206" /></a></p>
<h2>The Motivation</h2>
<p>It&#8217;s nice to have a souvenir when I come back from vacation: a shot glass, a knick-knack, a T-shirt;  a little reminder helps the trip last longer in my mind.</p>
<p>On my last vacation, I realized how much buying souvenirs grates on my diy sensibilites.  I wanted a T-Shirt, but I didn&#8217;t want what they were selling.  I wanted something simple.  I wanted the design I had unconsciously completed in my head. </p>
<p>Something clicked.  I decided that instead spending $20 on a $5 cookie-cutter T-shirt, I would make my own shirt as soon as I got home.<br />
<span id="more-2181"></span></p>
<h2>Attempt #1</h2>
<p>Unfortunately, I was travelling for business the next week.  Still, I would not be denied!  I had found <a href="http://www.instructables.com/id/D.I.Y.-Screen-Printing/">an Instructable</a> that seemed doable.  I ran out to a craft store and pick up my supplies.  </p>
<p>Because I was traveling, however, I cut a few corners.  I didn&#8217;t want to spend $8 on modge-podge, just to have to throw it out (>3oz.)  So instead, I used watered down glue on a cut-up stocking.  What could go wrong?!</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120717_212511.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120717_212511-1024x768.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-large wp-image-2188" /></a></p>
<p>Answer? Everything.  While I thought the stocking&#8217;s stretchiness would be an asset, Tt allowed the entire pattern to move around.  The watered-down glue also failed. Capillary action made it want to fill each opening, leading to a pixellated effect.</p>
<h2>Attempt #2</h2>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120729_105028.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120729_105028-1024x768.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-large wp-image-2189" /></a><br />
When I got home from my trip, I experimented a little more.  Instead of a stocking, I used an old sheer window curtain.  To keep the letters nice and crisp, I tried JB Weld as a masking agent.  And, just to see if it was the water that was messing me up, I used undiluted glue to mask the perimeter.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120729_162722.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120729_162722-1024x768.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-large wp-image-2190" /></a><br />
<a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120729_163043.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120729_163043-1024x768.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-large wp-image-2191" /></a></p>
<p>I actually had enough confidence to ink this screen.  It didn&#8217;t look too bad, but this method had some clear drawbacks:</p>
<ul>
<li>Laying down the JB weld was a huge pain.  I needed to mask the area with tape, apply the epoxy, let it set, then remove the tape before things fully cured</li>
<li>The glue still didn&#8217;t work all that well.  There was still a pixel effect, and in some areas it failed to stop the ink from getting through. </li>
</ul>
<h2>Final Attempt</h2>
<p>Mulling things over a bit, I wondered if I could just use something like tape for my mask.  It worked for shaping the JB Weld, maybe it would work for ink as well.  </p>
<p>Some searching in this vein led me to a <a href="http://www.instructables.com/id/Silkscreen-Print-with-Vinyl/">different Instructable</a>, by Chris Connors. (Oddly, I know Chris.)  He doesn&#8217;t use tape, but adhesive vinyl for his mask.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120730_202248.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120730_202248-1024x768.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-large wp-image-2192" /></a></p>
<p>This vinyl mask, combined with the fabric hoop from the first Instructable, wound up being a winning combination.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120731_075829.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120731_075829-1024x768.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-large wp-image-2194" /></a></p>
<h2>To Sum Up&#8230;</h2>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120730_205640.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/09/IMG_20120730_205640-1024x768.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-large wp-image-2193" /></a><br />
Oh hell yes.  I just discovered that I can make my own custom T-shirts for <2$ in consumables.  The total bill at the craft store was probably 15$ but that was for enough material to make / ink a dozen different designs.  </p>
<p>And it can travel!  Apart from the cutting tool,  everything will fit easily into a carry-on.  Maybe next time I'll make my vacation t-shirt while I'm still on vacation.</p>
<p>Oh, one last thing: I've detailed my entire method in <a href="http://www.instructables.com/id/20-Portable-Silkscreen-Kit/">my own Instructable</a>, if you&#8217;d like to try this for yourself.</p>
 <p><a href="http://brettbeauregard.com/blog/?flattrss_redirect&amp;id=2181&amp;md5=30265d01fa0ad73c3566135b1d3d38f5" title="Flattr" target="_blank"><img src="http://brettbeauregard.com/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><img src="http://feeds.feedburner.com/~r/brettbeauregard/vayj/~4/mmOkAXVQHk0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brettbeauregard.com/blog/2012/09/my-adventures-in-silksceening-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=br3ttb&amp;popout=1&amp;url=http%3A%2F%2Fbrettbeauregard.com%2Fblog%2F2012%2F09%2Fmy-adventures-in-silksceening-part-1%2F&amp;language=en_GB&amp;category=text&amp;title=My+adventures+in+Silksceening+%26%238211%3B+Part+1&amp;description=The+Motivation+It%26%238217%3Bs+nice+to+have+a+souvenir+when+I+come+back+from+vacation%3A+a+shot+glass%2C+a+knick-knack%2C+a+T-shirt%3B+a+little+reminder+helps+the+trip+last+longer+in...&amp;tags=Silkscreen%2Cblog" type="text/html" />
	</item>
		<item>
		<title>“Beginner’s PID” Series Translated to Spanish</title>
		<link>http://brettbeauregard.com/blog/2012/07/beginners-pid-series-translated-to-spanish/</link>
		<comments>http://brettbeauregard.com/blog/2012/07/beginners-pid-series-translated-to-spanish/#comments</comments>
		<pubDate>Sun, 29 Jul 2012 17:15:31 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[PID]]></category>

		<guid isPermaLink="false">http://brettbeauregard.com/blog/?p=2172</guid>
		<description><![CDATA[HUGE thanks to Jonathan Moyano who has gone through the trouble of translating the Beginner&#8217;s PID series into Spanish! You can see his announcement here and here. Here&#8217;s a direct link to his file. In case that goes down I&#8217;ve also set up a local mirror here.]]></description>
			<content:encoded><![CDATA[<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/07/espanol.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/07/espanol.png" alt="" title="espanol" width="294" height="356" class="aligncenter size-full wp-image-2175" /></a><br />
HUGE thanks to Jonathan Moyano who has gone through the trouble of translating the <a href="http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/">Beginner&#8217;s PID series</a> into Spanish!  You can see his announcement <a href="http://www.ucontrol.com.ar/forosmf/arduino/(aporte)-guia-de-uso-pid-para-arduino/">here</a> and <a href="http://www.forosdeelectronica.com/f24/aporte-guia-uso-pid-arduino-80471/">here</a>.</p>
<p>Here&#8217;s a <a href="http://www.mediafire.com/view/?53ipqg7sdx4xg99">direct link</a> to his file.  In case that goes down I&#8217;ve also set up a local mirror <a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/07/Guía-de-uso-PID-para-Arduino.pdf">here</a>.</p>
 <p><a href="http://brettbeauregard.com/blog/?flattrss_redirect&amp;id=2172&amp;md5=0ce2e5f20278ee288ce6b43857a50d8d" title="Flattr" target="_blank"><img src="http://brettbeauregard.com/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><img src="http://feeds.feedburner.com/~r/brettbeauregard/vayj/~4/7XIdfys2pm4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brettbeauregard.com/blog/2012/07/beginners-pid-series-translated-to-spanish/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=br3ttb&amp;popout=1&amp;url=http%3A%2F%2Fbrettbeauregard.com%2Fblog%2F2012%2F07%2Fbeginners-pid-series-translated-to-spanish%2F&amp;language=en_GB&amp;category=text&amp;title=%26%238220%3BBeginner%26%238217%3Bs+PID%26%238221%3B+Series+Translated+to+Spanish&amp;description=HUGE+thanks+to+Jonathan+Moyano+who+has+gone+through+the+trouble+of+translating+the+Beginner%26%238217%3Bs+PID+series+into+Spanish%21+You+can+see+his+announcement+here+and+here.+Here%26%238217%3Bs+a+direct...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>PID Library makes it into (another) successful kickstarter [PID Showcase]</title>
		<link>http://brettbeauregard.com/blog/2012/07/pid-library-makes-it-into-another-successful-kickstarter-pid-showcase/</link>
		<comments>http://brettbeauregard.com/blog/2012/07/pid-library-makes-it-into-another-successful-kickstarter-pid-showcase/#comments</comments>
		<pubDate>Wed, 04 Jul 2012 12:13:21 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[PID]]></category>
		<category><![CDATA[Showcase]]></category>

		<guid isPermaLink="false">http://brettbeauregard.com/blog/?p=2150</guid>
		<description><![CDATA[You may remember the espresso machine that was on kickstarter earlier this year. You know, where they asked for $20k and got $369k instead? Well it looks like the PID Library has made it on to another wild Kickstarter ride. This time it&#8217;s with the Nomiku: an ingenious sous-vide solution. I&#8217;m a sucker for forehead-smack [...]]]></description>
			<content:encoded><![CDATA[<p>You may remember the <a href="http://brettbeauregard.com/blog/2012/01/pid-controlled-espresso-machine-pid-showcase/">espresso machine</a> that was on kickstarter earlier this year.  You know, where they asked for $20k and got $369k instead?</p>
<p><a href="http://www.kickstarter.com/projects/nomiku/nomiku-bring-sous-vide-into-your-kitchen"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/07/nomiku.png" alt="" title="nomiku" width="450" height="315" class="aligncenter size-full wp-image-2167" /></a></p>
<p>Well it looks like the PID Library has made it on to another wild Kickstarter ride.  This time it&#8217;s with the Nomiku: an ingenious sous-vide solution.  I&#8217;m a sucker for forehead-smack ideas, and this product is a great one.  Rather than sell you an entire bulky unit, the Nomiku a small, easy to store, device that clips to a pot you already have.</p>
<p>The icing on the cake is that <a href="http://brettbeauregard.com/blog/2011/09/maker-faire/">I know these guys</a>.  I met them at makerfaire last year and they&#8217;re great; very passionate about this stuff.  Actually, it seemed like they were just passionate. about everything.  I&#8217;m really glad that this is working out for them!</p>
<p>This is what I love about working on base-level components.  I only have to do the work once, and then I get to see it crop up in tons of cool stuff.  It makes me proud to know I helped those people along a little.  I can only imagine how the Arduino team feels.</p>
 <p><a href="http://brettbeauregard.com/blog/?flattrss_redirect&amp;id=2150&amp;md5=2eec1fcde5423c25d8655898299b608a" title="Flattr" target="_blank"><img src="http://brettbeauregard.com/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><img src="http://feeds.feedburner.com/~r/brettbeauregard/vayj/~4/bl9bXuFZVOY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brettbeauregard.com/blog/2012/07/pid-library-makes-it-into-another-successful-kickstarter-pid-showcase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=br3ttb&amp;popout=1&amp;url=http%3A%2F%2Fbrettbeauregard.com%2Fblog%2F2012%2F07%2Fpid-library-makes-it-into-another-successful-kickstarter-pid-showcase%2F&amp;language=en_GB&amp;category=text&amp;title=PID+Library+makes+it+into+%28another%29+successful+kickstarter+%5BPID+Showcase%5D&amp;description=You+may+remember+the+espresso+machine+that+was+on+kickstarter+earlier+this+year.+You+know%2C+where+they+asked+for+%2420k+and+got+%24369k+instead%3F+Well+it+looks+like+the+PID...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>10-Pin offset header for Arduino</title>
		<link>http://brettbeauregard.com/blog/2012/06/10-pin-offset-header-for-arduino/</link>
		<comments>http://brettbeauregard.com/blog/2012/06/10-pin-offset-header-for-arduino/#comments</comments>
		<pubDate>Fri, 15 Jun 2012 11:16:27 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Mechanical]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Offset Header]]></category>

		<guid isPermaLink="false">http://brettbeauregard.com/blog/?p=2132</guid>
		<description><![CDATA[A few years ago, I started making offset headers for the Arduino. These headers allow you to make shields using standard-spaced perfboard, by correcting the shift of that one strangely-placed Arduino header. With the introduction of the Leonardo, The Arduino team kept the shift of the header, but added two pins to it. Too keep [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/06/2012-06-15-06.37.30.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/06/2012-06-15-06.37.30-1024x744.jpg" alt="" title="offset headers" width="450" height="327" class="aligncenter size-large wp-image-2136" /></a></p>
<p>A few years ago,  I started <a href="http://brettbeauregard.com/blog/2009/07/arduino-offset-header/">making offset headers</a> for the Arduino. These headers allow you to make shields using standard-spaced perfboard, by correcting the shift of that one strangely-placed Arduino header.</p>
<p>With the introduction of the <a href="http://arduino.cc/en/Main/ArduinoBoardLeonardo">Leonardo</a>,  The Arduino team kept the shift of the header, but added two pins to it.</p>
<p>Too keep up in this offset header arms race, I ordered some 10-pin headers and modified my fabrication process to accept the two extra pins.  I expect these to find their way into the hands of fine retailers over the next couple of months.</p>
 <p><a href="http://brettbeauregard.com/blog/?flattrss_redirect&amp;id=2132&amp;md5=dbde8cd28167d8c095bb6ceddbe64b49" title="Flattr" target="_blank"><img src="http://brettbeauregard.com/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><img src="http://feeds.feedburner.com/~r/brettbeauregard/vayj/~4/8YEEG9wwc9w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brettbeauregard.com/blog/2012/06/10-pin-offset-header-for-arduino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=br3ttb&amp;popout=1&amp;url=http%3A%2F%2Fbrettbeauregard.com%2Fblog%2F2012%2F06%2F10-pin-offset-header-for-arduino%2F&amp;language=en_GB&amp;category=text&amp;title=10-Pin+offset+header+for+Arduino&amp;description=A+few+years+ago%2C+I+started+making+offset+headers+for+the+Arduino.+These+headers+allow+you+to+make+shields+using+standard-spaced+perfboard%2C+by+correcting+the+shift+of+that+one+strangely-placed...&amp;tags=Arduino%2COffset+Header%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Why yes, that IS a picture of a toilet.</title>
		<link>http://brettbeauregard.com/blog/2012/06/why-yes-that-is-a-picture-of-a-toilet/</link>
		<comments>http://brettbeauregard.com/blog/2012/06/why-yes-that-is-a-picture-of-a-toilet/#comments</comments>
		<pubDate>Wed, 06 Jun 2012 15:33:41 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brettbeauregard.com/blog/?p=2117</guid>
		<description><![CDATA[Bear with me. I&#8217;ve come up with a pretty decent life hack. I think it&#8217;s good enough that I&#8217;ve decided to diverge from my regular 3D printing and PID control fare, and post a picture of a toilet. Here&#8217;s the trick: Rather than freshening the air after doing your business, plan ahead. A half-second spray [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/06/2012-06-06-08.18.581.jpg"><img src="/blog/wp-content/uploads/2012/06/2012-06-06-08.18.581.jpg" alt="" title="refreshing" width="450" height="337" class="aligncenter size-full wp-image-2119" /></a></p>
<p>Bear with me. I&#8217;ve come up with a pretty decent life hack. I think it&#8217;s good enough that I&#8217;ve decided to diverge from my regular <a href="http://brettbeauregard.com/blog/2011/10/a-proper-multi-color-print/">3D printing</a> and <a href="http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/">PID control</a> fare, and post a picture of a toilet.</p>
<p><strong>Here&#8217;s the trick:</strong>  Rather than freshening the air after doing your business, plan ahead.  A half-second spray into the toilet beforehand is all you need.  Its a confined space, so everything gets &#8220;pre-treated,&#8221; as it were.</p>
<p>You use less spray,  you ensure that all your foul air is treated at the source, AND you don&#8217;t need to smell your own filth.  Enjoy!</p>
 <p><a href="http://brettbeauregard.com/blog/?flattrss_redirect&amp;id=2117&amp;md5=bd5ed312dc8b0bc2b5c4d0f9839ad8f2" title="Flattr" target="_blank"><img src="http://brettbeauregard.com/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><img src="http://feeds.feedburner.com/~r/brettbeauregard/vayj/~4/Vi-guajfuxw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brettbeauregard.com/blog/2012/06/why-yes-that-is-a-picture-of-a-toilet/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=br3ttb&amp;popout=1&amp;url=http%3A%2F%2Fbrettbeauregard.com%2Fblog%2F2012%2F06%2Fwhy-yes-that-is-a-picture-of-a-toilet%2F&amp;language=en_GB&amp;category=text&amp;title=Why+yes%2C+that+IS+a+picture+of+a+toilet.&amp;description=Bear+with+me.+I%26%238217%3Bve+come+up+with+a+pretty+decent+life+hack.+I+think+it%26%238217%3Bs+good+enough+that+I%26%238217%3Bve+decided+to+diverge+from+my+regular+3D+printing+and+PID+control...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Ladder Golf Construction Tricks</title>
		<link>http://brettbeauregard.com/blog/2012/04/ladder-golf-construction-tricks/</link>
		<comments>http://brettbeauregard.com/blog/2012/04/ladder-golf-construction-tricks/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 23:34:10 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Mechanical]]></category>

		<guid isPermaLink="false">http://brettbeauregard.com/blog/?p=2082</guid>
		<description><![CDATA[Spring is here, and that means it&#8217;s time to prepare for summer parties. If you&#8217;re me, that means making a ladder golf set. It seems like every year I&#8217;m making another one, the previous-year&#8217;s set having been gifted or left somewhere. Over the years I&#8217;ve picked up a few tricks, and this time around I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/both.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/both.png" alt="" title="both" width="450" height="275" class="aligncenter size-full wp-image-2084" /></a></p>
<p>Spring is here, and that means it&#8217;s time to prepare for summer parties.  If you&#8217;re me, that means making a <a href="http://www.missouriscenicrivers.com/Laddergolfplans.html">ladder golf</a> set.  It seems like every year I&#8217;m making another one, the previous-year&#8217;s set having been gifted or left somewhere.</p>
<p>Over the years I&#8217;ve picked up a few tricks, and this time around I finally remembered to document them.<br />
<span id="more-2082"></span><br />
<a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/holes.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/holes.png" alt="" title="holes" width="450" height="337" class="aligncenter size-full wp-image-2089" /></a></p>
<p>When making the bolas, I&#8217;ve found the <a href="http://www.missouriscenicrivers.com/Laddergolfplans.html">through-hole</a> method to be rock-solid and maintenance free. It took me a little while to find a painless way to crank these out.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/rope-prep.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/rope-prep.png" alt="" title="rope prep" width="450" height="337" class="aligncenter size-full wp-image-2092" /></a><br />
I like to use a 1/4&#8243; nylon rope and a 1/4&#8243; hole, so stringing the rope can be difficult.  My first trick is to taper the rope at the tip and tape it to something thin and rigid.  Here I&#8217;m using a skewer, but I&#8217;ve used a piece of wire in the past.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/strung.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/strung.png" alt="" title="strung" width="450" height="337" class="aligncenter size-full wp-image-2096" /></a><br />
The second trick is to put all the golf balls on the rope first, before double-knotting and cutting each bola.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/melty.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/melty.png" alt="" title="melty" width="450" height="285" class="aligncenter size-full wp-image-2098" /></a></p>
<p>The last thing I do on each bola is melt the end of the rope with an open flame, permanently locking the knot in place.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/done.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/done.png" alt="" title="done" width="450" height="337" class="aligncenter size-full wp-image-2100" /></a></p>
<p>Making the ladder is straight-forward, so I won&#8217;t bother explaining that in detail.  Two things I&#8217;ve learned though:</p>
<ul>
<li>You don&#8217;t need to use the purple pvc primer.  This doesn&#8217;t have to be water tight, and the primer tends to run all over and makes things ugly</li>
<li>A <a href="http://www.amazon.com/Wolverine-PST002-Hose-Ratcheting-Cutter/dp/B000HSAPR8">ratcheting tube cutter</a> is worth every penny.  It turns a long, messy job into a quick, clean one</li>
</ul>
<p>I also tried something new this year.  One of the things that bothered me about my previous ladders was the number of pieces.  Each ladder breaks down into 3 pieces, which makes storage and transport a little annoying.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/ropes.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/ropes-1024x342.png" alt="" title="ropes" width="450" height="150" class="aligncenter size-large wp-image-2086" /></a></p>
<p>Using some of the left-over bola rope, I turned each ladder into a single unit with a shoulder strap.  I&#8217;m pretty happy with how they came out, and with my design improvements.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/both.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/both.png" alt="" title="both" width="450" height="275" class="aligncenter size-full wp-image-2084" /></a></p>
 <p><a href="http://brettbeauregard.com/blog/?flattrss_redirect&amp;id=2082&amp;md5=3ffac583f16ad728075516bad9089367" title="Flattr" target="_blank"><img src="http://brettbeauregard.com/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><img src="http://feeds.feedburner.com/~r/brettbeauregard/vayj/~4/jz5iuTPjoCk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brettbeauregard.com/blog/2012/04/ladder-golf-construction-tricks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=br3ttb&amp;popout=1&amp;url=http%3A%2F%2Fbrettbeauregard.com%2Fblog%2F2012%2F04%2Fladder-golf-construction-tricks%2F&amp;language=en_GB&amp;category=text&amp;title=Ladder+Golf+Construction+Tricks&amp;description=Spring+is+here%2C+and+that+means+it%26%238217%3Bs+time+to+prepare+for+summer+parties.+If+you%26%238217%3Bre+me%2C+that+means+making+a+ladder+golf+set.+It+seems+like+every+year+I%26%238217%3Bm+making...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>DIY Custom Heating Element</title>
		<link>http://brettbeauregard.com/blog/2012/04/diy-custom-heating-element/</link>
		<comments>http://brettbeauregard.com/blog/2012/04/diy-custom-heating-element/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 11:38:17 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Mechanical]]></category>

		<guid isPermaLink="false">http://brettbeauregard.com/blog/?p=2056</guid>
		<description><![CDATA[A few years ago I made a BBQ smoke generator. I was fairly happy with the design, but felt that for the &#8220;next time&#8221; I would make a few changes. One of my main issues was the size. I really wanted to make it smaller, but I didn&#8217;t want to pay for a small cartridge [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-21.33.26.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-21.33.26.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-full wp-image-2063" /></a><br />
A few years ago I made a <a href="http://brettbeauregard.com/blog/2009/10/success/">BBQ smoke generator</a>.  I was fairly happy with the design, but felt that for the &#8220;next time&#8221; I would make a few changes.  </p>
<p>One of my main issues was the size.  I really wanted to make it smaller, but I didn&#8217;t want to pay for a small cartridge heater.</p>
<p>It occurred to me a couple of days ago that I might be able to modify a stock toaster-oven heating element to make a smaller heater.  If I cut out a small section and drove it at a proportionally smaller voltage, I wondered, could I get a small heater with the same temperature as the big boy?  It turns out that the answer is yes.<br />
<span id="more-2056"></span></p>
<p>I went through a few fits and starts getting this thing to work.  My main issue is that I&#8217;m still learning to weld, and welding wire requires a lot of finesse.  I&#8217;m not going to bother with the trials and tribulations though. Here&#8217;s how I made a custom heating element:</p>
<h2>Cut to Length</h2>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-19.50.44.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-19.50.44.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-full wp-image-2064" /></a><br />
A heating element is a nichrome coil embedded in a steel tube using ceramic.  In a toaster-oven they wire 2 in series, so each element is designed to see 60V.  I had a 12V power supply, so I wanted to use 1/5 of the total element length.  A pipe cutter made quick work of the cuts.</p>
<h2>Ream</h2>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-19.59.08.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-19.59.08.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-full wp-image-2057" /></a><br />
I needed to attach metal contacts to the wire.  To give myself enough wire for a bond, and to have room to support the contact, some free space would be required.  A metal file and some elbow grease left me with a 1/4&#8243; cavity at each end of my cut section.</p>
<h2>Weld</h2>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-20.23.46.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-20.23.46.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-full wp-image-2058" /></a></p>
<p>Attaching things to nichrome is a tricky proposition.  Because it gets so hot you can&#8217;t use solder, and mechanical connections are unreliable.  I decided TIG welding was the way to go.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-20.26.25.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-20.26.25.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-full wp-image-2059" /></a><br />
Easy in theory, blindingly difficult (for me) in practice.  In the end though, welding for 250mS at the lowest setting created a permanent bond bond between contact and wire.</p>
<h2>Insulate</h2>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-20.53.42.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-20.53.42.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-full wp-image-2060" /></a><br />
To keep this welded bond electrically isolated, and to give the contact some rigidity, I filled the previously-created cavity with furnace cement.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-20.57.16.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-20.57.16.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-full wp-image-2061" /></a><br />
Next time around I might do this in several small additions rather than all at once.  I think that would give me a more solid fill.</p>
<h2>Burn Baby Burn</h2>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-21.17.05.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/04/2012-04-03-21.17.05.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-full wp-image-2062" /></a><br />
It actually works!  I applied 12V to the element and was easily able to make some wood smoke.  It didn&#8217;t get red-hot, but I suspect this is because my cut section was a bit long.  At any rate, I&#8217;m really excited at the prospect of making inexpensive small heaters for use in my projects.  I should probably get some more welding practice first though.</p>
 <p><a href="http://brettbeauregard.com/blog/?flattrss_redirect&amp;id=2056&amp;md5=e4af392c657c38631e29f72453fe8ead" title="Flattr" target="_blank"><img src="http://brettbeauregard.com/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><img src="http://feeds.feedburner.com/~r/brettbeauregard/vayj/~4/R-yR9OK-LHo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brettbeauregard.com/blog/2012/04/diy-custom-heating-element/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=br3ttb&amp;popout=1&amp;url=http%3A%2F%2Fbrettbeauregard.com%2Fblog%2F2012%2F04%2Fdiy-custom-heating-element%2F&amp;language=en_GB&amp;category=text&amp;title=DIY+Custom+Heating+Element&amp;description=A+few+years+ago+I+made+a+BBQ+smoke+generator.+I+was+fairly+happy+with+the+design%2C+but+felt+that+for+the+%26%238220%3Bnext+time%26%238221%3B+I+would+make+a+few+changes....&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Knitting</title>
		<link>http://brettbeauregard.com/blog/2012/03/knitting/</link>
		<comments>http://brettbeauregard.com/blog/2012/03/knitting/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 16:33:20 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Craft]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[knitting]]></category>

		<guid isPermaLink="false">http://brettbeauregard.com/blog/?p=2010</guid>
		<description><![CDATA[It&#8217;s been a busy few months.  Between the osPID and my day job, it&#8217;s been pretty hectic.  Somehow, in the middle of it all, I decided to learn how to knit. I needed a new scarf, and what I wanted I couldn&#8217;t buy. With a borrowed set of needles and some helpful internet videos, I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/head-cropped.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/head-cropped1.jpg" alt="" title="on head" width="418" height="269" class="aligncenter size-full wp-image-2013" /></a><br />
It&#8217;s been a busy few months.  Between the <a href="http://www.ospid.com/blog/">osPID</a> and my day job, it&#8217;s been pretty hectic.  Somehow, in the middle of it all, I decided to learn how to knit.<br />
<span id="more-2010"></span><br />
I needed a new scarf, and what I wanted I couldn&#8217;t buy. With a borrowed set of needles and some <a href="http://www.theknittingsite.com/knit-stitch/">helpful</a> <a href="http://www.theknittingsite.com/purl-stitch/">internet</a> <a href="http://www.theknittingsite.com/knitting-ribbing-2x2/">videos</a>, I cranked out a scarf in a couple of weeks.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/13258000709111.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/13258000709111-1024x768.jpg" alt="" title="1325800070911" width="450" height="337" class="aligncenter size-large wp-image-2037" /></a></p>
<p>Then something awful happened:  I enjoyed it.  For me, that means that I would have to keep doing it at least until I felt proficient.</p>
<p>This part of my personality can be really annoying sometimes, but I&#8217;ve learned it&#8217;s impossible to fight.  The quickest way to get stuff out of my system is to challenge the hell out of myself to quickly get to that proficient feeling.</p>
<p>So I decided I would make a hat. A difficult hat.  One that I definitely couldn&#8217;t buy.  It would be a multi-color hat with a custom pattern, allowing me to show off my love of <a href="http://en.wikipedia.org/wiki/Open-source_hardware">oshw</a> during the winter months.</p>
<h2>Fair-isle</h2>
<p>My first attempt at multi-color was using the fair-isle technique, whereby the unused colors are carried behind the knitting and occasionally wrapped in place.</p>
<p>I was ambitious, and went for a 3-color test pattern:</p>
<p> <a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/together.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/together-1024x345.jpg" alt="" title="together" width="450" height="151" class="aligncenter size-large wp-image-2027" /></a> </p>
<p>It turned out pretty well for a first try, but I didn&#8217;t particularly like the process or the end result.  Keeping track of 3 colors and wrapping was not enjoyable, and the final product felt pretty stiff.</p>
<h2>Double knitting, Attempt #1</h2>
<p>For the actual hat, I dropped my pattern down to two colors to improve the readibility of the image.  I also settled on a different, <a href="http://www.knittinghelp.com/video/play/double-knitting">double-knitting</a>, technique. One of the benefits of double knitting is that it produces a reversible fabric, which you don&#8217;t see all that often.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/oshw-gear-pattern.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/oshw-gear-pattern.png" alt="" title="oshw-gear-pattern" width="450" height="405" class="aligncenter size-full wp-image-2017" /></a></p>
<p>Armed with my pattern and a 16&#8243; circular needle, I got to work.  Once I got past the pattern I switched to double-pointed needles and reduced the hat by 6 stiches/row.  I was really happy with how everything turned out:</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/together.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/together-1024x567.png" alt="" title="together" width="450" height="250" class="aligncenter size-large wp-image-2015" /></a></p>
<p>&#8230;until I tried it on.  It was too small, both in diameter and height.  I was able to make it fit on the dog though.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/dunk1.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/dunk1.jpg" alt="" title="dunk" width="450" height="253" class="aligncenter size-full wp-image-2020" /></a></p>
<h2>Double Knitting, Attempt #2</h2>
<p>God I was pissed.  I added some length and width to my pattern.  To make sure I didn&#8217;t screw up the size on my second try I also got a 40&#8243; circular needle.  I still used a 16&#8243; for the main part of the hat, but I periodically threaded in the 40&#8243; so that I could test-fit.</p>
<p>On the reduction section, a 40&#8243; <a href="http://www.youtube.com/watch?v=IdSpc0EZpnk">magic loop</a> proved vastly superior to the double-ended needles.  I started by reducing 3 stitches a row, testing the fit every few rows.</p>
<p>Once I was near the top of my head I switched to 6 sticthes a row, closing off the hat.</p>
<p>I am very happy with the results:</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/hat-blue.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/hat-blue-1024x768.jpg" alt="" title="SAMSUNG" width="450" height="337" class="aligncenter size-large wp-image-2025" /></a><br />
<a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/hat-gray.jpg"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/03/hat-gray-1024x768.jpg" alt="" title="SAMSUNG" width="454" height="337" class="aligncenter size-large wp-image-2026" /></a></p>
<p>And the good news is I don&#8217;t feel like I have to knit anymore.  I&#8217;ve found it to be a great activity while flying or riding in the car, so I might still dabble.  That crazy urge to get decent, however, seems to have been satiated. </p>
<h2>A note about the pattern</h2>
<p>For the fair isle pattern I was all proud of using various tricks in mspaint to make it. Then I discovered this method by Becky Stern:</p>
<p><iframe src="http://blip.tv/play/gZIvq4wYAg.html?p=1" width="450" height="258" frameborder="0" allowfullscreen></iframe><embed type="application/x-shockwave-flash" src="http://a.blip.tv/api.swf#gZIvq4wYAg" style="display:none"></embed></p>
<p>It&#8217;s embarassingly better than my mspaint crap.  For the double-knit pattern I used her method.  One thing I did differently was to use 10&#215;6 pixel rectangles instead of squares.  I had found during a test swatch that my stitches were Wider than they were tall.  This modified grid ensured that the knit pattern would carry correctly.</p>
 <p><a href="http://brettbeauregard.com/blog/?flattrss_redirect&amp;id=2010&amp;md5=e7d056dcc90561f15b5b1a4ee46811e3" title="Flattr" target="_blank"><img src="http://brettbeauregard.com/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><img src="http://feeds.feedburner.com/~r/brettbeauregard/vayj/~4/6PokHT9oevQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brettbeauregard.com/blog/2012/03/knitting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=br3ttb&amp;popout=1&amp;url=http%3A%2F%2Fbrettbeauregard.com%2Fblog%2F2012%2F03%2Fknitting%2F&amp;language=en_GB&amp;category=text&amp;title=Knitting&amp;description=It%26%238217%3Bs+been+a+busy+few+months.%C2%A0+Between+the+osPID+and+my+day+job%2C+it%26%238217%3Bs+been+pretty+hectic.%C2%A0+Somehow%2C+in+the+middle+of+it+all%2C+I+decided+to+learn+how+to...&amp;tags=knitting%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Arduino PID Autotune Library</title>
		<link>http://brettbeauregard.com/blog/2012/01/arduino-pid-autotune-library/</link>
		<comments>http://brettbeauregard.com/blog/2012/01/arduino-pid-autotune-library/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 18:41:56 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[PID]]></category>
		<category><![CDATA[Autotune]]></category>
		<category><![CDATA[osPID]]></category>

		<guid isPermaLink="false">http://brettbeauregard.com/blog/?p=1893</guid>
		<description><![CDATA[At long last, I&#8217;ve released an Autotune Library to compliment the Arduino PID Library. When I released the current version of the PID Library, I did an insanely extensive series of posts to get people comfortable with what was going on inside. While not nearly as in-depth, that&#8217;s the goal of this post. I&#8217;ll explain [...]]]></description>
			<content:encoded><![CDATA[<p>At long last, I&#8217;ve released an <a href="http://arduino.cc/playground/Code/PIDAutotuneLibrary">Autotune Library</a> to compliment the <a href="http://arduino.cc/playground/Code/PIDLibrary">Arduino PID Library</a>. When I released the current version of the PID Library, I did an insanely extensive <a href="http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/">series of posts</a> to get people comfortable with what was going on inside. </p>
<p>While not nearly as in-depth, that&#8217;s the goal of this post.  I&#8217;ll explain what the Autotune Library is trying to accomplish, and how it goes about its business.<br />
<span id="more-1893"></span></p>
<h3> Attribution </h3>
<p>For A couple years I&#8217;ve wanted to have an Autotune Library, but due to an agreement with my employer, I wasn&#8217;t able to write one.  BUT! when I found the <a href="http://www.mathworks.com/matlabcentral/fileexchange/4652-autotunerpid-toolkit">AutotunerPID Toolkit</a> by William Spinelli I was good to go; My company had no problem with me porting and augmenting and existing open source project. </p>
<p>I converted the code from matlab, made some tweaks to the peak identification code, and switched it from the Standard form (Kc, Ti, Td) to the Ideal form (Kp, Ki, Kd.)  Other than that, all credit goes to Mr. Spinelli.</p>
<h3>The Theory</h3>
<p>The best tuning parameters (Kp, Ki, Kd,) for a PID controller are going to depend on what that controller is driving.  The best tunings for a toaster oven are going to be different than the best tunings for a sous-vide cooker.</p>
<p>Autotuners attempt to figure out the nature of what the controller is driving, then back-calculate tuning parameters from that.  There are various methods of doing this, but most involve changing the PID Output in some way then observing how the Input responds.  </p>
<p>The method used in the library is known as the relay method. here&#8217;s how it works:</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/00-ideal.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/00-ideal.png" alt="" title="00-ideal" width="451" height="453" class="alignnone size-full wp-image-1964" /></a></p>
<p>Starting at steady state (both Input and Output are steady,) the Output is stepped in one direction by some distance D. When the Input crosses a trigger line, the output changes to the other direction by distance D.  </p>
<p>By analyzing how far apart the peaks are, and how big they are in relation to the output changes, the Autotuner can tell the difference between one type of process and another.  As a result, different systems will get custom tuning parameters:</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/01-Correlations.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/01-Correlations.png" alt="" title="01-Correlations" width="399" height="81" class="aligncenter size-full wp-image-1966" /></a></p>
<h2>The Implementation</h2>
<p>  This works well in theory, but real-world data isn&#8217;t very cooperative.  The input signal is usually noisy, which causes two main problems.</p>
<h3>Problem #1: When to step?</h3>
<p> Since a noisy signal is choppy, it&#8217;s likely that the trigger line will be crossed several times as the Input moves past it.  This can cause mild chatter in the output, or if severe, can completely destroy things:</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/02-noise.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/02-noise.png" alt="" title="02-noise" width="450" height="453" class="aligncenter size-full wp-image-1970" /></a><br />
The way I chose to side-step this issue was to have the user specify a noise band.  In effect, this creates two trigger lines.  Since the distance between them is equal to the noise (if properly set) it&#8217;s less likely that multiple crossings will occur due to signal chatter.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/03-noise-fixed.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/03-noise-fixed.png" alt="" title="03-noise fixed" width="451" height="453" class="aligncenter size-full wp-image-1971" /></a></p>
<h3> Problem #2: Peak Identification</h3>
<p>In a simulated world, identifying the peaks is easy: when the Input signal changes direction, that&#8217;s a minimum or a maximum (depending an which change occured.)  In a noisy world however,  this method fails:</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/04-peakID.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/04-peakID.png" alt="" title="04-peakID" width="451" height="289" class="aligncenter size-full wp-image-1978" /></a></p>
<p>Every noise blip is a direction change.  To deal with this issue I added a &#8220;look-back time&#8221; parameter.  It&#8217;s an awful name.  If you can think of something better let me know.</p>
<p>At any rate, the user defines some window, say 10 seconds.  The Library then compares the current point to the last ten seconds of data.  If it is a min or a max, it gets flagged as a possible peak.</p>
<p>When the flagged point switches from being a max to a min, or vice versa, the previously flagged point is confirmed as a peak.</p>
<p><a href="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/05-peakIDfixed.png"><img src="http://brettbeauregard.com/blog/wp-content/uploads/2012/01/05-peakIDfixed.png" alt="" title="05-peakIDfixed" width="451" height="289" class="aligncenter size-full wp-image-1979" /></a></p>
<p>Another way of explaining the look-back time is that a point will be identified as a peak if it is the largest (or smallest) value within one look-back into the future or past. Like I said: awful name.</p>
<h2> You should also know&#8230; </h2>
<ul>
<li>The number of cycles performed will vary between 3 and 10.  The algorithm waits until the last 3 maxima have been within 5% of each other.  This is trying to ensure that we&#8217;ve reached a stable oscillation and there&#8217;s no external strangeness happening.  This leads me to&#8230;
</li>
<li>I&#8217;m not the biggest fan of Autotune.  I&#8217;ve often said, and still believe, that a moderately trained person will beat an Autotuner every day of the week.  There&#8217;s just so much that can go wrong without the algorithm knowing about it.  That being said, Autotune is a valuable tool to help the novice get into the ballpark.
</li>
</ul>
 <p><a href="http://brettbeauregard.com/blog/?flattrss_redirect&amp;id=1893&amp;md5=26a154e2b209e4289ebb93e9e425e3a7" title="Flattr" target="_blank"><img src="http://brettbeauregard.com/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><img src="http://feeds.feedburner.com/~r/brettbeauregard/vayj/~4/NQG_4yxAjUM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brettbeauregard.com/blog/2012/01/arduino-pid-autotune-library/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=br3ttb&amp;popout=1&amp;url=http%3A%2F%2Fbrettbeauregard.com%2Fblog%2F2012%2F01%2Farduino-pid-autotune-library%2F&amp;language=en_GB&amp;category=text&amp;title=Arduino+PID+Autotune+Library&amp;description=At+long+last%2C+I%26%238217%3Bve+released+an+Autotune+Library+to+compliment+the+Arduino+PID+Library.+When+I+released+the+current+version+of+the+PID+Library%2C+I+did+an+insanely+extensive+series...&amp;tags=Autotune%2CosPID%2CPID%2Cblog" type="text/html" />
	</item>
	</channel>
</rss>
