<?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"
	>

<channel>
	<title>BrainMedley</title>
	<atom:link href="http://brainmedley.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://brainmedley.com/blog</link>
	<description>A varied mixture of people or things; a miscellany</description>
	<pubDate>Sun, 28 Sep 2008 16:38:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Wanna Start Somethin&#8217;?</title>
		<link>http://brainmedley.com/blog/2008/09/wanna-start-somethin/</link>
		<comments>http://brainmedley.com/blog/2008/09/wanna-start-somethin/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 07:42:28 +0000</pubDate>
		<dc:creator>brain</dc:creator>
		
		<category><![CDATA[Cooking]]></category>

		<guid isPermaLink="false">http://brainmedley.com/blog/?p=41</guid>
		<description><![CDATA[I recently obtained some of Carl Griffith&#8217;s starter and started learning to make bread.  It actually turns out to be pretty easy, fun and quite tasty (though this starter really doesn&#8217;t taste like &#8220;San Francisco Sourdough™&#8221;, mostly it just tastes like damn good bread with a bit of a nutty-pretzel-y twist).  It is also really easy [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/09/img_3517.jpg"><img class="alignright size-medium wp-image-42" title="img_3517" src="http://brainmedley.com/blog/wp-content/uploads/2008/09/img_3517-300x225.jpg" alt="Bread P0rn" width="300" height="225" /></a>I recently obtained some of <a href="http://home.att.net/~carlsfriends/">Carl Griffith&#8217;s starter</a> and started learning to make bread.  It actually turns out to be pretty easy, fun and quite tasty (though this starter really doesn&#8217;t taste like &#8220;San Francisco Sourdough™&#8221;, mostly it just tastes like damn good bread with a bit of a nutty-pretzel-y twist).  It is also really easy to start, store, share and re-start; here&#8217;s how I&#8217;ve started and maintained it.<span id="more-41"></span></p>
<p>Starting from either the <a href="http://www.nyx.net/~dgreenw/canifreezeordrymystarter.html">dried powder</a> or small amount of (well broken-up) <a href="http://www.nyx.net/~dgreenw/howcanishipmystartertosome.html">dough</a> works about the same way, I basically followed <a href="http://home.att.net/~carlsfriends/revive.txt">these instructions</a>, though I like to use a teacup for the small container and do a second small feeding around 8 - 12 hours in regardless of whether there is any apparent activity, then wait another 12 hours or so before moving it to a larger container and upping the volume.  Once you&#8217;ve increased it to a cup or more, it&#8217;s active and ready to start using.  (One thing to note: once this starter gets good and active, it smells rather like glue; dunno if it&#8217;s really producing toluene or just smells like it, but don&#8217;t worry, mine smells like that too and the bread comes out great.) There are at least as many suggestions for feeding, storage, frequency of use, quantity, etc as there are bakers; I&#8217;ve only been at this a few weeks, but here&#8217;s what I&#8217;ve been doing.</p>
<p>I like to keep about two cups active at a time in a wide mouth quart canning jar; I kinked the edges of the lid disc to keep it from sealing.  If there is more than two cups right after feeding, it <em>will</em> escape from a four cup jar; whatever you use to store it, never fill it more than half way. So far two cups is proving to be a pretty good quantity: it doesn&#8217;t take up much fridge space, and it means I can use fairly large amounts of starter which brings with it more flavor and tanginess.  I keep it about the consistency of thickish pancake batter, which keeps it easy to stir and pour.  </p>
<p>I&#8217;m not very particular about the precision with which I feed it: when it gets down to a cup or so, I add more water, stir it vigorously with a sturdy plastic chopstick, and start adding flour a little at a time until it&#8217;s back to the right consistency.  If it&#8217;s going back into the fridge, I give it an hour or so to get a little active and bubbly first.  I keep it in the fridge during the week, and sometime around friday night I take it out and stir it up so it will be good and active to do something with on saturday.  When it separates, I just stir the liquid back in; this should make it more sour, so you could discard the liquid and add a bit of water if you want.  I generally keep it out all weekend and cook with it as much as possible, and then put it back in the fridge sunday night.  The most important thing is don&#8217;t worry too much about it: keep some backup starter frozen and scratch your head at anyone who says sourdough is difficult.  It&#8217;s not, it really is very easy, so relax, have fun, experiment.  So what have I been experimenting with?  </p>
<p>Bread, of course, especially dinner rolls, which I&#8217;ve been baking in a cast-iron skillet over indirect heat in my Weber grill.  My latest creation is fresh basil and olive oil bread (shown above).</p>
<p>Pizzas: similar to bread, but you want to minimize the rise in the end (I&#8217;m a NYC-thin-crust pizza snob); I&#8217;ve been baking these in my Weber, too, and they&#8217;re a lot of fun.</p>
<p>Biscuits: there are a couple styles of sourdough biscuits I&#8217;ve tried.  My first attempt at using baking soda and the acidity of the starter was edible, but I need to work with the recipe quite a bit; my yeast-leavened ones (like rolls, but without kneeding) were tasty, but the crust was too hard (not sure why).  Both are sound ideas, just need the right recipe (suggestions welcome).</p>
<p>Pancakes: these, too, use the acidity of the starter to leaven with baking soda; I&#8217;ve found that adding a bit of baking powder for some double-action insurance is a good idea, and the batter needs a fair amount of sugar or they come out really cardboard-y</p>
<p>Wrapping up with the recipe for that basil bread (yes, I make bread by weight; in <a href="http://en.wikipedia.org/wiki/Baker_percentage">baker&#8217;s percentages</a>, this bread is roughly 50% water (plus the starter), 7% olive oil, 2% salt [Update:] Next time, I&#8217;ll probably use a little less olive oil and salt):</p>
<p>The Sponge:</p>
<ul>
<li>500g flour</li>
<li>500g water</li>
<li>a generous 1/2 C starter</li>
<li>at least 1/2 C <a href="http://en.wikipedia.org/wiki/Chiffonade">chiffonade</a> basil (a <em>lot</em>, the leaves of several healthy stalks)</li>
</ul>
<p>Allow the sponge to ferment for at least five hours at room temperature</p>
<p>The Dough</p>
<ul>
<li>another 500g flour (or perhaps a little less), added incrementally</li>
<li>70g olive oil</li>
<li>20g salt</li>
</ul>
<p>Mix the dough in a stand mixer with the dough hook, adding flour until the dough is smooth, elastic and only a little tacky.  Kneed a bit by hand, if only to enjoy just how satiny-smooth the dough is.  Form into a ball, coat lightly with olive oil and let rise in a warm place for 1-2 hours.  Fold, form into loaves and proof (final rise) for 1-2 hours (yeah, I let it go a little long).  Bake at 400°F-500°F until the internal temperature of the loaves reaches 190°F or more.  Slice, take some pretty pictures and enjoy!</p>
<p>Ok, really wrapping up: if anyone wants some starter, especially if you&#8217;re in the bay area, contact me through this site.</p>
]]></content:encoded>
			<wfw:commentRss>http://brainmedley.com/blog/2008/09/wanna-start-somethin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dynamo Hum: Off With The Bloomers</title>
		<link>http://brainmedley.com/blog/2008/08/dynamo-hum-off-with-the-bloomers/</link>
		<comments>http://brainmedley.com/blog/2008/08/dynamo-hum-off-with-the-bloomers/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 05:59:41 +0000</pubDate>
		<dc:creator>brain</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brainmedley.com/blog/?p=33</guid>
		<description><![CDATA[
Apologies to Zappa this time.  The other day I bought a small LED dynamo flashlight; I was curious about the implementation details and how much power it actually generates.  Turns out the dynamo appears to be a very common sort of DC motor and, while it doesn&#8217;t appear to produce a lot of power, it [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-39 alignright" style="float: right;" title="flashlight" src="http://brainmedley.com/blog/wp-content/uploads/2008/08/flashlight-300x195.jpg" alt="" width="300" height="195" /></p>
<p><a href="http://wiki.killuglyradio.com/index.php/Dinah-Moe_Humm">Apologies to Zappa</a> this time.  The other day I bought a small LED dynamo flashlight; I was curious about the implementation details and how much power it actually generates.  Turns out the dynamo appears to be a very common sort of DC motor and, while it doesn&#8217;t appear to produce a lot of power, it does seem to be a usable amount for a variety of low-power applications.</p>
<p><span id="more-33"></span><a href="http://brainmedley.com/blog/wp-content/uploads/2008/08/geartrain.jpg"><img class="alignnone size-medium wp-image-37" title="geartrain" src="http://brainmedley.com/blog/wp-content/uploads/2008/08/geartrain-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>First peek: it&#8217;s geared up quite a lot; speaking of quite a lot, there&#8217;s some silicone grease in there too&#8230;</p>
<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/08/motor.jpg"><img class="alignnone size-medium wp-image-38" title="motor" src="http://brainmedley.com/blog/wp-content/uploads/2008/08/motor-300x216.jpg" alt="" width="300" height="216" /></a></p>
<p>The dynamo motor appears to be identical to the one that drives the tray mechanism of every CD or DVD drive I&#8217;ve ever taken apart. (Not just physically, I got similar voltages from finger-spinning each of them)</p>
<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/08/circuittop.jpg"><img class="alignnone size-medium wp-image-35" title="circuittop" src="http://brainmedley.com/blog/wp-content/uploads/2008/08/circuittop-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Starting from the left: a bridge rectifier so it doesn&#8217;t matter which way you turn the crank, the resistor that (I believe) limits the charging current into the battery, the flashlight / charge switch (yup, you gotta crank in the dark), the LEDs and their current-limiting resistor, and finally a cute little 3-cell NiMH battery pack.</p>
<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/08/circuitbottom.jpg"><img class="alignnone size-medium wp-image-34" title="circuitbottom" src="http://brainmedley.com/blog/wp-content/uploads/2008/08/circuitbottom-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>The bottom of the circuit, showing the traces.</p>
<p>Sooner or later, I&#8217;m going to play with dynamos again, they seem like a great way to power small projects, need to learn more about battery charging first though.</p>
]]></content:encoded>
			<wfw:commentRss>http://brainmedley.com/blog/2008/08/dynamo-hum-off-with-the-bloomers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I am uniq</title>
		<link>http://brainmedley.com/blog/2008/06/i-am-uniq/</link>
		<comments>http://brainmedley.com/blog/2008/06/i-am-uniq/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 21:40:09 +0000</pubDate>
		<dc:creator>brain</dc:creator>
		
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://brainmedley.com/blog/?p=32</guid>
		<description><![CDATA[[Republished from October 2005 from my previous site]
Two of the things I love most about unix are learning new tools and tricks and teaching tools and tricks to others.  One of unix&#8217;s real gems is uniq(1): &#8220;report or filter out repeated lines in a file&#8221;.  Extremely simple and powerful, probably a page or two [...]]]></description>
			<content:encoded><![CDATA[<p>[Republished from October 2005 from my <a href="http://tinker.pbwiki.com/Blog10Oct2005">previous site</a>]</p>
<p>Two of the things I love most about unix are learning new tools and tricks and teaching tools and tricks to others.  One of unix&#8217;s real gems is <code>uniq(1)</code>: &#8220;report or filter out repeated lines in a file&#8221;.  Extremely simple and powerful, probably a page or two of easy code, but completely indispensable.<span id="more-32"></span>  I usually use it to get the intersections or differences of lists using the <code>-d</code> and <code>-u</code> options.  Intersection is pretty straightforward:</p>
<pre>  cat list_one.txt list_two.txt | sort | uniq -d</pre>
<p>Basically, <code>cat</code> the two lists together (incidentally creating the union, with duplicates), <code>sort</code> that (because <code>uniq</code> only checks adjacent lines, so duplicates have to be next to each other) then have <code>uniq</code> print only the duplicated lines (ok, yeah, you need to be sure neither list has any duplicates to start out with)</p>
<p>Getting a strict difference is a little tricker, you actually have to get the intersection first and then remove those elements using a second pass:</p>
<pre>  cat list_one.txt list_two.txt | sort | uniq -d | cat list_one.txt - | sort | uniq -u</pre>
<p>Will return the elements of &#8221;list_one.txt&#8221; that do not appear in &#8221;list_two.txt&#8221; (Note the <code>-</code> argument to the second <code>cat</code>, which signifies standard input and receives the | &#8211; <code>cat</code> is worthy of its own entry sometime, though)</p>
]]></content:encoded>
			<wfw:commentRss>http://brainmedley.com/blog/2008/06/i-am-uniq/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cool Dad</title>
		<link>http://brainmedley.com/blog/2008/06/cool-dad/</link>
		<comments>http://brainmedley.com/blog/2008/06/cool-dad/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 21:04:10 +0000</pubDate>
		<dc:creator>brain</dc:creator>
		
		<category><![CDATA[Family]]></category>

		<guid isPermaLink="false">http://brainmedley.com/blog/?p=30</guid>
		<description><![CDATA[Got home friday afternoon and Nate, just as proud as can possibly be, gave me a card and a present he&#8217;d made (with some help) at school that morning; it made me just as proud as can possibly be, too.  Went to the park this morning and now I&#8217;m relaxing in the shade, putting my [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-31" style="float: right;" title="cooldad" src="http://brainmedley.com/blog/wp-content/uploads/2008/06/cooldad-225x300.jpg" alt="" width="225" height="300" />Got home friday afternoon and Nate, just as proud as can possibly be, gave me a card and a present he&#8217;d made (with some help) at school that morning; it made me just as proud as can possibly be, too.  Went to the park this morning and now I&#8217;m relaxing in the shade, putting my present to good use and playing on the computer - I *rule*!</p>
]]></content:encoded>
			<wfw:commentRss>http://brainmedley.com/blog/2008/06/cool-dad/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Junk Mail</title>
		<link>http://brainmedley.com/blog/2008/05/junk-mail/</link>
		<comments>http://brainmedley.com/blog/2008/05/junk-mail/#comments</comments>
		<pubDate>Mon, 26 May 2008 03:30:06 +0000</pubDate>
		<dc:creator>brain</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brainmedley.com/blog/?p=17</guid>
		<description><![CDATA[The geniuses at EMSL have managed to invent a really good kind of junk mail: The Great Internet Migratory Box Of Electronic Junk.  I received one (codename: Atlanta) early this week (my week starts on Monday, so there :-P) and I honestly haven&#8217;t been this excited about electronic junk in a very long time &#8212; [...]]]></description>
			<content:encoded><![CDATA[<p>The geniuses at <a href="http://www.evilmadscientist.com/">EMSL</a> have managed to invent a really good kind of junk mail: <a href="http://tgimboej.org/">The Great Internet Migratory Box Of Electronic Junk</a>.  I received one (codename: <a href="http://tgimboej.org/Box_Tracking">Atlanta</a>) early this week (my week starts on Monday, so there :-P) and I honestly haven&#8217;t been this excited about electronic junk in a very long time &#8212; and believe me, that&#8217;s saying something!  Briefly: one gets an email explaining the project and asking if you want to participate, if you do you receive a box of junk; you take whatever you want out, add whatever you want in, publish something about what you took out, and pass it along to someone else who will do something cool and keep the box moving.  After talking myself down from replacing the contents wholesale, I picked out:</p>
<p><span id="more-17"></span><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/displayscrop.jpg"><img class="alignnone size-medium wp-image-29" title="displays" src="http://brainmedley.com/blog/wp-content/uploads/2008/05/displayscrop-300x287.jpg" alt="" width="300" height="287" /></a></p>
<p><em>some displays</em></p>
<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/headers.jpg"><img class="alignnone size-medium wp-image-26" title="headers" src="http://brainmedley.com/blog/wp-content/uploads/2008/05/headers-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><em>some headers</em></p>
<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/protoboardscrop.jpg"><img class="alignnone size-medium wp-image-28" title="protoboards" src="http://brainmedley.com/blog/wp-content/uploads/2008/05/protoboardscrop-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><em>a few protoboards </em></p>
<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/parts.jpg"><img class="alignnone size-medium wp-image-27" title="parts" src="http://brainmedley.com/blog/wp-content/uploads/2008/05/parts-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><em>and a pile of other great stuff</em></p>
<p>I&#8217;m not telling what I added, I&#8217;m not even going to give hints (and only partly &#8216;cos I haven&#8217;t picked out what I&#8217;m adding yet) but I will say the next person is probably going to have to either take out more than they add or split the box into two; I have quite a lot of great junk!</p>
]]></content:encoded>
			<wfw:commentRss>http://brainmedley.com/blog/2008/05/junk-mail/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Terra Cotta Smoker</title>
		<link>http://brainmedley.com/blog/2008/05/terra-cotta-smoker/</link>
		<comments>http://brainmedley.com/blog/2008/05/terra-cotta-smoker/#comments</comments>
		<pubDate>Sun, 25 May 2008 05:57:37 +0000</pubDate>
		<dc:creator>brain</dc:creator>
		
		<category><![CDATA[Cooking]]></category>

		<guid isPermaLink="false">http://brainmedley.com/blog/?p=18</guid>
		<description><![CDATA[[Republished from January 2007 from my previous site]

Chicken thighs smoked over rosemary sprigs
I built myself a small ceramic smoker out of unglazed terra cotta flowerpots and have been using it frequently for several months now, it&#8217;s high time I wrote it up so others can enjoy the smokey goodness and continue to improve the design.
It [...]]]></description>
			<content:encoded><![CDATA[<p>[Republished from January 2007 from my <a href="http://tinker.pbwiki.com/TerraCottaSmoker">previous site</a>]</p>
<p><span style="text-decoration: underline;"><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/chicken.jpg"></a><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/chicken.jpg"><img class="alignnone size-full wp-image-19" title="chicken" src="http://brainmedley.com/blog/wp-content/uploads/2008/05/chicken.jpg" alt="" width="400" height="300" /></a></span></p>
<p><em>Chicken thighs smoked over rosemary sprigs</em></p>
<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/chicken.jpg"></a>I built myself a small ceramic smoker out of unglazed terra cotta flowerpots and have been using it frequently for several months now, it&#8217;s high time I wrote it up so others can enjoy the smokey goodness and continue to improve the design.</p>
<p>It is based on the smoker <a href="http://en.wikipedia.org/wiki/Alton_Brown">Alton Brown</a> built in the <a href="http://en.wikipedia.org/wiki/Good_Eats">Good Eats</a> episode <a href="http://www.goodeatsfanpage.com/Season7/Q/QTrans.htm"><em>Q</em></a> which has also been written up <a href="http://www.ntscblog.com/2005/07/little-brown-egg-i-condo-q.html">here</a>, <a href="http://twothirds.org/2005/09/smoking-pot-cheap-terracotta-flower.html">there</a> and <a href="http://www.chicagofoodies.com/2005/06/flower_pot_cera.html">yonder</a>, but I reworked it to use charcoal instead of an electric hot-plate.<span id="more-18"></span></p>
<div>
<p><span style="text-decoration: underline;"><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/castofcharacters.jpg"><img class="alignnone size-full wp-image-21" title="castofcharacters" src="http://brainmedley.com/blog/wp-content/uploads/2008/05/castofcharacters.jpg" alt="" width="500" height="262" /></a></span></p>
<p><em>Cast of Characters</em></p>
<p>From left to right:</p>
<ul>
<li>Chimney starter of natural hardwood lump charcoal</li>
<li>Terra cotta feet to allow air under the smoker</li>
<li>Drilled unglazed terra cotta saucer, inverted to elevate the &#8220;firebox&#8221; from the floor of the smoker and improve air-flow</li>
<li>8-inch unglazed terra cotta orchid pot for the firebox (despite cracking during its first fire, it has held up remarkably well)</li>
<li>16-inch unglazed terra cotta pot, fitted with a damper to control air flow (see below)</li>
<li>Replacement grate for a 14-inch grill (~13.75 inches in diameter)</li>
<li>16-inch unglazed terra cotta cactus bowl, fitted with a handle, damper and 1/8th inch hole for a thermometer probe (see below)</li>
</ul>
<p>The modifications for burning charcoal required a number of holes to be drilled for hardware, probe thermometer and air-flow.  This is actually quite easy, just keep pouring water on the drill site (the terra cotta soaks it up like a sponge) and keep the pressure gentle and the bit true. </p>
</div>
<div>
<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/drilling.jpg"><img class="alignnone size-full wp-image-22" title="drilling" src="http://brainmedley.com/blog/wp-content/uploads/2008/05/drilling.jpg" alt="" width="400" height="326" /></a></p>
<p><em>Masonry drill bits are my friends</em></p>
<p>For the top, I built a handle out of scrap wood and thin aluminum bar stock and a damper out of wider (2-inch) aluminum stock; I also added a 1/8th inch hole about halfway down the side for an instant-read thermometer so I can monitor the smoking temperature.</p>
<div>
<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/topdetail.jpg"><img class="alignnone size-full wp-image-24" title="topdetail" src="http://brainmedley.com/blog/wp-content/uploads/2008/05/topdetail.jpg" alt="" width="400" height="248" /></a></p>
<p>I also added a damper to the bottom, controlling the internal temperature really does require both.</p>
<div>
<p><a href="http://brainmedley.com/blog/wp-content/uploads/2008/05/bottomdetail.jpg"><img class="alignnone size-full wp-image-20" title="bottomdetail" src="http://brainmedley.com/blog/wp-content/uploads/2008/05/bottomdetail.jpg" alt="" width="400" height="249" /></a></p>
<p>The handle and dampers are attached using stainless steel machine screws, washers and nuts.</p>
<p>I still need to get some fireplace gasket to seal the crack between the body and the top, but it&#8217;s not critical. [Update: I now have some bona fide BGE gasket, but first I want to experiment with crumpled aluminum foil]</p>
<p>So far, I think the best thing I&#8217;ve made is a 10-hour boston butt (pork shoulder) using only the smokey flavor of the natural hardwood charcoal, though I&#8217;ll definitely brine it first next time and maybe smoke it over corn cobs.  Rosemary sprigs make a really nice smoke for chicken or lamb.</p>
<p>I think I&#8217;ll try doing a pot roast tonight&#8230;</p>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://brainmedley.com/blog/2008/05/terra-cotta-smoker/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Food Rant #1: Do you like green eggs and ham?</title>
		<link>http://brainmedley.com/blog/2008/05/food-rant-1-do-you-like-green-eggs-and-ham/</link>
		<comments>http://brainmedley.com/blog/2008/05/food-rant-1-do-you-like-green-eggs-and-ham/#comments</comments>
		<pubDate>Fri, 16 May 2008 04:12:19 +0000</pubDate>
		<dc:creator>brain</dc:creator>
		
		<category><![CDATA[rants]]></category>

		<category><![CDATA[food]]></category>

		<guid isPermaLink="false">http://brainmedley.com/blog/?p=16</guid>
		<description><![CDATA[I really can&#8217;t stand uninformed strong opinions about what is and is not good to eat.  If you really don&#8217;t like something, that&#8217;s fine, as long as you have seriously tried it and can articulate why you don&#8217;t like it (and don&#8217;t assume I won&#8217;t like it.)  Recently someone sent a series of pictures of [...]]]></description>
			<content:encoded><![CDATA[<p>I really can&#8217;t stand uninformed strong opinions about what is and is not good to eat.  If you really don&#8217;t like something, that&#8217;s fine, as long as you have seriously tried it and can articulate why <span style="font-style: italic" class="Apple-style-span">you</span> don&#8217;t like it (and don&#8217;t assume <span style="font-style: italic" class="Apple-style-span">I</span> won&#8217;t like it.)  Recently someone sent a series of pictures of a chinese market with (as it turns out, often incorrect) labels sensationalizing the food shown to a jokes mailing list, and clearly implied that it was amazingly funny that anyone would eat these things.  I find this attitude arrogant, closed-minded and, above all, sad: I believe it is a derivative of this that has led us (in the U.S.) to the three-flavors-of-cardboard &#8212; corn-fed chicken, beef and pork &#8212; that is the barren state of our butchers&#8217; counters.  Moreover, conditioning rooted in these attitudes kept me away from one of the most amazingly wonderful cuisines I have ever had for far far too long: I still weep for every benighted moment that passed before I tried sushi!  </p>
]]></content:encoded>
			<wfw:commentRss>http://brainmedley.com/blog/2008/05/food-rant-1-do-you-like-green-eggs-and-ham/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Maker Faire &#8216;08</title>
		<link>http://brainmedley.com/blog/2008/05/maker-faire-08/</link>
		<comments>http://brainmedley.com/blog/2008/05/maker-faire-08/#comments</comments>
		<pubDate>Tue, 06 May 2008 06:59:02 +0000</pubDate>
		<dc:creator>brain</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[electronics]]></category>

		<guid isPermaLink="false">http://brainmedley.com/blog/?p=15</guid>
		<description><![CDATA[Best. Maker Faire. YET.  Long lines for mediocre food?  Not this year: lots of widely varied food, short lines and at least a few food Makers (which have seemed sorely lacking in past years.) A lot of cool new projects / vendors and better organized by topic / theme.  The faire has grown quite a [...]]]></description>
			<content:encoded><![CDATA[<p>Best. Maker Faire. YET.  Long lines for mediocre food?  Not this year: lots of widely varied food, short lines and at least a few food Makers (which have seemed sorely lacking in past years.) A lot of cool new projects / vendors and better organized by topic / theme.  The faire has grown quite a bit and the tone has changed slightly.  This year was smoother and more polished than it has been; more people are selling things, but mostly in a good way.  I got to make a couple necklaces with <a href="http://en.wikipedia.org/wiki/Metal_clay">PMC</a>, which turns out to be easy to sculpt (as expected) and easy to fire with a Little Torch (pleasant surprise!)  Helped kids build <a href="http://www.evilmadscientist.com/article.php/bristlebot">Bristlebots</a> at the <a href="http://www.evilmadscientist.com/">EMSL</a> booth and, as always, plugged <a href="http://www.evilmadscience.com/">their kits</a> every chance I got.  Found a nifty <a href="http://www.abneypark.com/">new band</a> and <a href="http://pyroboy.com/photos/2005/05/zen_garden_with_stone.html">played with fire</a> (not this implementation, but same basic idea; I must build one of these!)  Bought some <a href="http://www.friday.com/bbum/2008/05/05/truffle-salt/">truffle salt</a> and, of course, <a href="http://www.friday.com/bbum/2008/04/25/last-pinball-factory-around/">hauled pinball machines</a>, just to name a few highlights.</p>
]]></content:encoded>
			<wfw:commentRss>http://brainmedley.com/blog/2008/05/maker-faire-08/feed/</wfw:commentRss>
		</item>
		<item>
		<title>There And Back Again, A Servo Project</title>
		<link>http://brainmedley.com/blog/2008/04/there-and-back-again-a-servo-project/</link>
		<comments>http://brainmedley.com/blog/2008/04/there-and-back-again-a-servo-project/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 07:05:14 +0000</pubDate>
		<dc:creator>brain</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brainmedley.com/blog/?p=9</guid>
		<description><![CDATA[Apologies to Tolkien, of course! (There really is nothing too geeky for my blog, though.)  This project lets you set two positions for a standard hobby servo and switch between them.  It brings together most of the things I&#8217;ve learned about the AVR thus far: digital I/O, switch debouncing, analog-to-digital conversion, servo control and persistent [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/The_Hobbit">Apologies to Tolkien</a>, of course! (There really is nothing too geeky for my blog, though.)  This project lets you set two positions for a standard hobby servo and switch between them.  It brings together most of the things I&#8217;ve learned about the AVR thus far: digital I/O, switch debouncing, analog-to-digital conversion, servo control and persistent storage in the onboard eeprom.  It doesn&#8217;t currently use interrupts, but they are pretty similar to the timer that drives the servo.  I built it on one of my <a href="http://evilmadscience.com/tinykitlist/35-tinykitcat/74-atmegaxx8">EMSL mini dev boards</a> so I&#8217;ve only tried the code on the <a href="http://www.atmel.com/dyn/products/Product_card.asp?part_id=3303">ATmega168</a>, but it should be pretty portable to other AVRs.</p>
<p><span id="more-9"></span>
<p>At some point I&#8217;d like to write up a tutorial series, but this article belongs somewhere around lesson 4 or 5.  If you&#8217;re just starting out, you&#8217;re welcome to dive in here, just be aware that it&#8217;s not really intended as a first project.  I assume at least some familiarity with C, microcontroller concepts and schematics.  I comment my code quite liberally and intend that to provide detailed explanations; what follows here is meant to provide some high-level descriptions and references for the major facets of the project and I recommend opening the code and schematic files below and referring to them as you read this.</p>
<p>My copy of X11 got pooched so I sketched the schematic in <a href="http://stone.com/Create/Create.html">Create</a>: <a href="http://brainmedley.com/blog/wp-content/uploads/2008/04/thereandbackschematic.pdf" title="ThereAndBackSchematic.pdf">ThereAndBackSchematic.pdf</a> (did I mention I desperately want a native Mac OS X schematic editor?); the code to drive it: <a href="http://brainmedley.com/blog/wp-content/uploads/2008/04/thereandback.c" title="thereandback.c">ThereAndBack.c</a>; helpers: <a href="http://brainmedley.com/blog/wp-content/uploads/2008/04/bit_helpers.h" title="bit_helpers.h">bit_helpers.h</a>, <a href="http://brainmedley.com/blog/wp-content/uploads/2008/04/avrbuild" title="avrbuild">avrbuild</a>, <a href="http://brainmedley.com/blog/wp-content/uploads/2008/04/avrpush" title="avrpush">avrpush</a></p>
<p>The circuit is pretty straightforward: a couple of buttons, &#8220;Go&#8221; tells the servo to go to the other position, &#8220;Set&#8221; switches into or out of set-mode; a potentiometer acts as a variable voltage divider, feeding an analog-to-digital converter input a voltage between ~0 and ~Vcc (plus it has a couple of extra resistors to limit current at the extremes); some LEDs to display the approximate value being read by the ADC because blinky lights rock; and finally, a standard hobby servo, I&#8217;m using a Futaba S3003 because it&#8217;s cheap and reasonably strong.  I have been powering the circuit from a USB port via my (<a href="http://forums.ladyada.net/viewtopic.php?t=5342">patched</a>) <a href="http://www.adafruit.com/index.php?main_page=product_info&amp;products_id=46">USBtinyISP</a> or with 3 AA batteries, but I have not been putting any load on the servo; note that the <a href="http://www.rcgroups.com/forums/showpost.php?p=6388771&amp;postcount=12">stall current</a> is pretty close to the 500ma USB spec, so the batteries are the (slightly) safer alternative.</p>
<p>The code depends on a collection of bit manipulation convenience macros I&#8217;ve accumulated into bit_helpers.h.  The switches are debounced with a <a href="http://www.friday.com/bbum/2008/04/05/using-a-vertical-stack-counter-to-debounce-switches/">vertical stack counter</a> (thanks, Bill!)  Both the ADC and timer are flexible but complex peripherals, requiring a fair amount of setup and configuration to have them do what you want. <a href="http://members.shaw.ca/climber/avrtimers.html">T</a><a href="http://members.shaw.ca/climber/avrtimers.html">his page</a> helped me a lot with understanding and using timers for pulse-width modulation and servos, the ADC I mostly had to piece together from the datasheet.  Fortunately, both can be really easy to use once you have their 10-or-so lines of setup: just set the right OCR register to adjust the width of the pulse that controls the servo or read the ADCH register to get the most recent converted value.  Finally, to make it remember the set positions even if it loses power, I followed <a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;t=38417">this tutorial</a> for the use of EEMEM / eeprom_read_byte, though it kinda glosses over loading the initial values into the chip.  The first step is to copy the eeprom data out of the .elf file with another avr-objcopy step: 
<pre>avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex $ElfFile $EepFile</pre>
<p>and push it to the chip with an extra -U to avrdude: 
<pre>-U eeprom:w:$EepFile</pre>
<p> I added those lines to the shell scripts I use to build avr projects and push them through to the chips (linked above.)</p>
<p>Finally, a couple notes on using it:  when it powers on or goes into set-mode, it always starts in position A.  When setting a new pair of positions, if the potentiometer is still where you left it after programming position B last time, <em>the servo will move to that position</em>, nevertheless it is setting position A.  Also, when setting the positions the &#8220;Go&#8221; button still simply switches to the other position; in general, you want to hit &#8220;Set&#8221;, dial in position A, hit &#8220;Go&#8221;, dial in position B, then hit &#8220;Set&#8221; again (if you hit &#8220;Go&#8221; again after setting position B, you&#8217;re back to setting position A which will immediately get the current value from the ADC.)</p>
]]></content:encoded>
			<wfw:commentRss>http://brainmedley.com/blog/2008/04/there-and-back-again-a-servo-project/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Geek Buffet</title>
		<link>http://brainmedley.com/blog/2008/04/geek-buffet/</link>
		<comments>http://brainmedley.com/blog/2008/04/geek-buffet/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 15:21:17 +0000</pubDate>
		<dc:creator>brain</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[electronics]]></category>

		<guid isPermaLink="false">http://brainmedley.com/blog/?p=8</guid>
		<description><![CDATA[Yesterday morning I hit the Silicon Valley Electronics Flea Market &#8212; lots of fun, I highly recommend it.  For flea market n00bs, don&#8217;t forget to bring a broad-brimmed hat, a bottle of water and a bag for loot (I forgot the first two), prices are usually negotiable and keep an open mind but not too [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday morning I hit the Silicon Valley Electronics Flea Market &#8212; lots of fun, I highly recommend it.  For flea market n00bs, don&#8217;t forget to bring a broad-brimmed hat, a bottle of water and a bag for loot (I forgot the first two), prices are usually negotiable and keep an open mind but not too open.  I made a list and mostly stuck to it; I would&#8217;ve liked to find more of the stuff on that list, but there&#8217;s a lot of stuff there and you really have to sort the stuff you need from the cool stuff you don&#8217;t need and the utter crap or you&#8217;ll wind up being able to run your own stall <img src='http://brainmedley.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> So what did I &#8220;need&#8221;?  A few pairs of hemostats, some solder wick, a set of &#8220;security&#8221; screwdriver bits, a UV LED flashlight, a pair of direct-drive moters with foam-rubber wheels, a game controller with analog sticks I can pull out and play with and a few free transistors (the solder guy has a box of free parts).</p>
]]></content:encoded>
			<wfw:commentRss>http://brainmedley.com/blog/2008/04/geek-buffet/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
