<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.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/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>brainwagon</title>
	
	<link>http://brainwagon.org</link>
	<description>This feed is dedicated to all the mental flotsam and jetsam that I find on the web and pursue in my off hours. It's a view into the head of a geek blogger with more interests than time. I hope you find something interesting.</description>
	<lastBuildDate>Thu, 23 May 2013 22:09:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/brainwagon" /><feedburner:info uri="brainwagon" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><media:copyright>Copyright 2006, Mark VandeWettering</media:copyright><media:thumbnail url="http://brainwagon.org/images/grumpy-brainwagon-small.jpg" /><media:keywords>geek,science,programming,computers,blogging,freebsd,telescopes,astronomy,gadgets,toys,games,puzzles,cryptography</media:keywords><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Games &amp; Hobbies</media:category><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Science &amp; Medicine/Natural Sciences</media:category><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Technology</media:category><geo:lat>37.969673</geo:lat><geo:long>-122.294134</geo:long><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-sa/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:browserFriendly>This is an XML formatted feed. Normally, you'd pass this URL to an RSS aggregator to subscribe to this feed.</feedburner:browserFriendly><item>
		<title>On Theo Jansen’s walking mechanism…</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/GU15eiMQ8TM/</link>
		<comments>http://brainwagon.org/2013/05/23/on-theo-jansens-walking-mechanism/#comments</comments>
		<pubDate>Thu, 23 May 2013 22:09:29 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Toys and Gadgets]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8479</guid>
		<description><![CDATA[If you haven&#8217;t heard of Theo Jansen and his incredible walking machines, I can&#8217;t do them justice with words. Check this out: His work is accessible from strandbeest.com. I find his creations amazingly cool. And others do as well, even hamsters (although cats seem less impressed): But while I&#8217;ve found these things fascinating, I didn&#8217;t [...]]]></description>
				<content:encoded><![CDATA[<p>If you haven&#8217;t heard of Theo Jansen and his incredible walking machines, I can&#8217;t do them justice with words.   Check this out:</p>
<p><center><br />
<iframe src="http://player.vimeo.com/video/53963103" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><br />
</center></p>
<p>His work is accessible from <a href="http://www.strandbeest.com">strandbeest.com</a>.  I find his creations amazingly cool.   </p>
<p>And others do as well, even hamsters (although cats seem less impressed):</p>
<p><center><br />
<iframe width="640" height="360" src="http://www.youtube.com/embed/A3iP0NGDDao?rel=0" frameborder="0" allowfullscreen></iframe><br />
</center></p>
<p>But while I&#8217;ve found these things fascinating, I didn&#8217;t spend a lot of time researching the exact mechanism, nor thought about fabricating my own.   And now I don&#8217;t need to!</p>
<p>Check out <a href="http://boim.com/Jansen/">this awesome link</a> to get code to design variants, visualize them, and even OpenSCAD source code go generate <em>actual 3d printed models</em>.  That&#8217;s just too cool.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=GU15eiMQ8TM:P9LDwZyKN6M:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=GU15eiMQ8TM:P9LDwZyKN6M:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=GU15eiMQ8TM:P9LDwZyKN6M:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=GU15eiMQ8TM:P9LDwZyKN6M:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/GU15eiMQ8TM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/05/23/on-theo-jansens-walking-mechanism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/05/23/on-theo-jansens-walking-mechanism/</feedburner:origLink></item>
		<item>
		<title>The JAM 187khz LowFer Beacon..</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/2-Bf7mvam_A/</link>
		<comments>http://brainwagon.org/2013/05/23/the-jam-187khz-lowfer-beacon/#comments</comments>
		<pubDate>Thu, 23 May 2013 17:26:07 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8477</guid>
		<description><![CDATA[In my previous post about the virtues of microcontrollers in homebrew radio, I had a comment from Lee, who mentioned that he operated a LowFer beacon on 187khz. I&#8217;ve been passively interested in LF operation under Part 15 rules for a long time, but haven&#8217;t really gotten involved with it much. Lee operates from La [...]]]></description>
				<content:encoded><![CDATA[<p>In my previous post about the virtues of microcontrollers in homebrew radio, I had a comment from Lee, who mentioned that he operated a LowFer beacon on 187khz.  I&#8217;ve been passively interested in LF operation under Part 15 rules for a long time, but haven&#8217;t really gotten involved with it much.  Lee operates from La Crescenta, about 375 miles south of here by my estimate.  He made this little video documenting his setup:</p>
<p><center><br />
<iframe width="640" height="480" src="http://www.youtube.com/embed/XyEnXV7i1rk?rel=0" frameborder="0" allowfullscreen></iframe><br />
</center></p>
<p>Pretty neat!  </p>
<p>If you are interested, you can check out the Long Wave Club of America website <a href="http://www.lwca.org/sitepage/part15/whatisit.htm">to learn more about Part 15</a> operation.  If any  of my readers have any other up-to-date or interesting LF/MF part 15 links, I&#8217;d love to see them added to the comments.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=2-Bf7mvam_A:7CNBT1afUvo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=2-Bf7mvam_A:7CNBT1afUvo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=2-Bf7mvam_A:7CNBT1afUvo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=2-Bf7mvam_A:7CNBT1afUvo:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/2-Bf7mvam_A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/05/23/the-jam-187khz-lowfer-beacon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/05/23/the-jam-187khz-lowfer-beacon/</feedburner:origLink></item>
		<item>
		<title>On microcontrollers in amateur radio, or “QRP computing”…</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/0IDaF5GP4uA/</link>
		<comments>http://brainwagon.org/2013/05/22/on-microcontrollers-in-amateur-radio-or-qrp-computing/#comments</comments>
		<pubDate>Wed, 22 May 2013 18:18:28 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8474</guid>
		<description><![CDATA[As anyone who has followed my blog for any period of time knows, my interests straddle a lot of different disciplines and hobbies, and often find interesting bits of overlap where I find I can do cool stuff. Two of my favorite hobbies are tinkering with microcontrollers and with the low powered end of amateur [...]]]></description>
				<content:encoded><![CDATA[<p>As anyone who has followed my blog for any period of time knows, my interests straddle a lot of different disciplines and hobbies, and often find interesting bits of overlap where I find I can do cool stuff.   Two of my favorite hobbies are tinkering with microcontrollers and with the low powered end of amateur radio, what we call &#8220;QRP radio&#8221;. A few of my previous projects (mostly related to beacons and sending automated Morse signals) have been in the overlap.</p>
<p>In the recent <a href="http://soldersmoke.blogspot.com/2013/05/soldersmoke-podcast-152-special-digital.html">SolderSmoke Podcast #152</a>, Bill, N2CQR recently took a tiny step into that overlap himself.  He got himself <a href="http://arduino.cc">Arduino</a>, probably the most popular microcontroller platform, and used it to send out Morse, and then control an inexpensive DDS module to serve as a cool little VFO, complete with a rotary encoder to tune and a little LCD module to give the readout.   Check it out:</p>
<p><center><br />
<iframe width="420" height="315" src="http://www.youtube.com/embed/5L99EJp9wqg?rel=0" frameborder="0" allowfullscreen></iframe><br />
</center></p>
<p>Pretty darned cool.   And both <em>economical</em> and <em>useful</em>.   Bill was pretty sheepish about this tiny step into the digital world.  In the past, he has expressed a greater comfort with radio circuits that are built from discrete components, such as diode mixers constructed with trifilar coils rather than the NE602 integrated circuits.   After building radios with just a handful of discrete transistors, using even the simplest microcontroller which has tens of thousands (if not more) can seem like crass extravagance.</p>
<p>But I think he should cut himself some slack.  Actually, not just cut himself some slack, but revel in the new direction his hobby has taken him.</p>
<p>In the strictest sense, QRP radio is just any communication which takes place with less than 5 watts of radiated power.  But in the broader, more ideological sense, it means constructing radios which are simple, inexpensive and well optimized, without a surplus of useless features of whistles.   There is a certain economy of design.  When you look at VK3YE&#8217;s design for his &#8220;Beach 40&#8243; DSB rig, you have to marvel at the coolness of the design.  Only 8 transistors, nicely documented in his videos.  He draws the entire schematic out <em>from memory while on the beach</em>.</p>
<p><center><br />
<iframe width="640" height="480" src="http://www.youtube.com/embed/siSgeljr4HE?rel=0" frameborder="0" allowfullscreen></iframe><br />
</center></p>
<p>If your aesthetic finds this kind of circuit pleasing, the idea of injecting a microcontroller into the mix may seem like drawing telephone wires in the background of the Mona Lisa.  But I&#8217;d submit that you can find aesthetic uses for microcontrollers in radios, even while being able to appreciate these great discrete, analog designs.</p>
<p>First of all, microcontrollers <em>enable new and useful features</em>.  Even the simplest microcontroller can be used to send automated signals for things like QRSS beacons.   Hans Summers <a href="http://www.hanssummers.com/qrsslp.html">super low power QRSS beacon</a> can send a nice &#8220;shark fin&#8221; signal using only three transistors, but if you want to send your callsign, it rapidly becomes more difficult.   Sure, you could strap a laptop or desktop computer to generate the modulating signal, but that seems very unaesthetic: hundreds of dollars and tens of watts of compute power just to drive a $5 transmitter with only a few milliwatts of output power?   He actually sells a little preprogrammed microcontroller that will do the work, or you could get a K1EL keyer chip, but you are injecting a black box in your design, without any understanding or modifiability.   But you could open that box up yourself. For the price of a pizza, you can get a dev board that will hook up to your laptop for programming, pull a few milliwatts of power, and dutifully key your transmitter.  Once you get familiar with that kind of work, you can then make an embedded controller using just the raw chips: for instance, I have a few <a href="http://www.taydaelectronics.com/attiny85-attiny85-20pu-8-bit-20mhz-microcontroller-ic.html">of these Atmel ATTINY85s</a> that I got for $1.15 each (about the same as a 555 timer from our local Radio Shack) lying around for such applications.   Add a crystal and two caps (or maybe even do away with the crystal, and use its internal oscillator) and your beacon becomes more flexible and more useful.  Want to change the message?  Have it send the current temperature or battery voltage as well?  Piece of cake. </p>
<p>Second, microcontrollers <em>are the easiest step into understanding computers</em>.  When I got my first computer back in 1980, it was already pretty difficult to understand the innermost workings of computers, although I did fairly master most aspects of my Atari 400.  With modern desktops or laptops, it seems basically impossible.  They have dozens of subsystems, with all sorts of interface and operating systems complexity.   But these microcontrollers don&#8217;t have any operating systems, and because they are mostly self-contained, the total amount of stuff you have to learn is relatively limited.  You tell the microcontroller to flip a voltage from low to high, and it does it, without drivers or intermediate layers.  It allows the same kind visceral understanding and exploration that QRP is meant to stimulate.</p>
<p>Thirdly, just like the QRP community, it allows you to <em>participate in a robust, vibrant community of experimenters</em>.   The people who are experimenting with Arduinos are kindred spirits to the homebrew radio enthusiasts.   They want to take simple, cheap building blocks, and through the power of their understanding construct new, useful and novel applications.  Even when their area of interests may differ from ours, you can learn from their skills and draw inspiration from their enthusiasm.  And we might even find some potential hams in their ranks.</p>
<p>Don&#8217;t feel bad Bill: embrace your new digital skills.   The more you goof around, the more applications you&#8217;ll find, and the more empowered you&#8217;ll be.  Computers and QRP can co-exist, and even enhance each other.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=0IDaF5GP4uA:gv6t8McT6qo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=0IDaF5GP4uA:gv6t8McT6qo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=0IDaF5GP4uA:gv6t8McT6qo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=0IDaF5GP4uA:gv6t8McT6qo:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/0IDaF5GP4uA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/05/22/on-microcontrollers-in-amateur-radio-or-qrp-computing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/05/22/on-microcontrollers-in-amateur-radio-or-qrp-computing/</feedburner:origLink></item>
		<item>
		<title>My First Thingiverse Item: A motor mount for the Axon…</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/WSNSeu7wc9A/</link>
		<comments>http://brainwagon.org/2013/05/10/my-first-thingiverse-item-a-motor-mount-for-the-axon/#comments</comments>
		<pubDate>Sat, 11 May 2013 00:42:14 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Radio Controlled Airplanes]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8467</guid>
		<description><![CDATA[Last year, Mark H (who blogs at Eastbay RC got me into the world of building RC airplanes. While my early attempts were limited in their overall successfulness (I demonstrated that I was awfully good at snapping props) I have been keeping up in my interest, and slowly acquiring more tools and hardware. Recently, I&#8217;ve [...]]]></description>
				<content:encoded><![CDATA[<p>Last year, Mark H (who blogs at <a href="http://eastbay-rc.blogspot.com">Eastbay RC</a> got me into the world of building RC airplanes.  While my early attempts were limited in their overall successfulness (I demonstrated that I was awfully good at snapping props) I have been keeping up in my interest, and slowly acquiring more tools and hardware.   Recently, I&#8217;ve had the opportunity to serve as a mentor to some local students and one of them expressed a desire to build his own RC airplane.  I had recently been inspired by the great videos by Ed Orsine of the <a href="http://www.youtube.com/user/ExperimentalAirlines">Experimental Airlines Youtube channel</a>, so we decided that constructing an Axon, one of his designs would be a cool design to try:</p>
<p><center><iframe width="640" height="360" src="http://www.youtube.com/embed/-gFYDk5QFhQ" frameborder="0" allowfullscreen></iframe></center></p>
<p>A lot of it can be constructed with just Dollar tree foam and packing tape.  But i recently got access to a 3D printer, and I thought it might be cool to fabricate some parts using that.  A good candidate was the motor mount: we wanted the motor to be firmly held, with the appropriate 5 degrees of down angle.   I just recently started teaching myself how to design simple parts using <a href="http://www.openscad.org/">OpenSCAD</a>.   It bills itself as the &#8220;Programmer&#8217;s Solid 3D Cad Modeller&#8221;, and I couldn&#8217;t agree more: it plays right into my skillset.  I&#8217;ve made an printed a few objects, and for these kind of purely functional 3D objects, I found it to be easy and straightforward.  </p>
<p>The basic idea is to make a little plastic bracket that can be mounted at the end of a piece of 5/8&#8243; square wood which is held with mounting tape inside the main fuselage.  It took me about twenty minutes to design, and it went through a couple of minor tweaks before it got to it&#8217;s final form.   And here it is, mounted in my student&#8217;s plane:</p>
<p><a href="http://brainwagon.org/wp-content/uploads/2013/05/photo1.jpg"><img src="http://brainwagon.org/wp-content/uploads/2013/05/photo1-400x300.jpg" alt="photo" width="400" height="300" class="aligncenter size-medium wp-image-8469" /></a></p>
<p>Mark H. thought it might be of interest to others in the builder/RC community, so I placed it up on thingiverse.  Feel free to download it and print it, and let me know of you find it of value.</p>
<p><a href="http://www.thingiverse.com/thing:87107">Motor Mount for the Axon</a></p>
<p>If all goes as well, we&#8217;ll have our first maiden flight of our resulting aircraft, and video and pictures coming soon.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=WSNSeu7wc9A:_iLUG9w6E9Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=WSNSeu7wc9A:_iLUG9w6E9Y:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=WSNSeu7wc9A:_iLUG9w6E9Y:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=WSNSeu7wc9A:_iLUG9w6E9Y:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/WSNSeu7wc9A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/05/10/my-first-thingiverse-item-a-motor-mount-for-the-axon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/05/10/my-first-thingiverse-item-a-motor-mount-for-the-axon/</feedburner:origLink></item>
		<item>
		<title>Why you should really upgrade to a General…</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/0UvgQpxo42w/</link>
		<comments>http://brainwagon.org/2013/05/08/why-you-should-really-upgrade-to-a-general/#comments</comments>
		<pubDate>Wed, 08 May 2013 23:41:53 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8464</guid>
		<description><![CDATA[Or not. I find a lot of editorializing about amateur radio to be, well, curiously off the mark. For instance try checking out Dan, KB6NU&#8217;s well meaning article about why you should upgrade to a General. I mean, that&#8217;s what the title is: Why you should upgrade to a General. The reason I find this [...]]]></description>
				<content:encoded><![CDATA[<p>Or not.</p>
<p>I find a lot of editorializing about amateur radio to be, well, curiously off the mark.   For instance try checking out Dan, KB6NU&#8217;s <a href="http://www.kb6nu.com/why-you-should-upgrade-to-general-class/">well meaning article about why you should upgrade to a General</a>.   I mean, that&#8217;s what the title is: Why you should upgrade to a General.  The reason I find this article so astounding is that despite the title, Dan doesn&#8217;t actually provide any reasons why you should upgrade to a General.  The entire article presumes that whatever reasons you think you have for not upgrading, they aren&#8217;t valid.   I find that a tiny bit presumptuous.   But what&#8217;s really odd to me, is that there certainly <em>are</em> reasons to upgrade, he just didn&#8217;t bother to tell you any.</p>
<p>The most important difference (which underlies most of the others) is that you have access to spectrum which is unavailable to Technician class licensees.   While Technician class licensees have all you can eat privileges above 50Mhz, they are pretty lean on the HF bands.  With a General, you get full access to big hunks (but not all) of the spectrum below 6m, and this opens up a bunch of possibilities for communication.  From SSB to RTTY to digital modes, you can participate more fully in the broad range of HF activity.  The General exam is not a particularly difficult test, and you get a big bang for the buck.  I&#8217;ve enjoyed WSPR, JT65 and beacon activity.  And of course building and QRP operation.  And just a lot of shortwave listening too (hey, no license required!)</p>
<p>But perhaps you don&#8217;t want to do any of that.   Perhaps EMCOMM on VHF+ is your thing.  Or maybe you like mountain-topping with 2m SSB.  Or microwaves.  Or APRS. Or D-Star.  Or satellites.   Or ATV.   Or meteor scatter.  Or EME.  Or just hiking with an HT, or keeping in touch while on the road.  I&#8217;m frankly okay with that, and I wish more hams were less concerned about what other people were doing, and simply got on with doing more of what they like in ham radio.  Then, we wouldn&#8217;t have to scold and cajole people into upgrading: they would either be interested, or not.  With the wide variety of interesting activity accessible to hams with Technician class licenses, it does not strain my credulity to think that it might be enough for someone.</p>
<p>When someone asks you why you don&#8217;t have your General or Extra class license, ask them how many moonbounce contacts they&#8217;ve made.   If it is zero, urge them to upgrade their skills.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=0UvgQpxo42w:VLWnQ-jWU8U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=0UvgQpxo42w:VLWnQ-jWU8U:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=0UvgQpxo42w:VLWnQ-jWU8U:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=0UvgQpxo42w:VLWnQ-jWU8U:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/0UvgQpxo42w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/05/08/why-you-should-really-upgrade-to-a-general/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/05/08/why-you-should-really-upgrade-to-a-general/</feedburner:origLink></item>
		<item>
		<title>The legendary Ray Harryhausen dies at 92…</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/DJFYd7Vlo0w/</link>
		<comments>http://brainwagon.org/2013/05/07/the-legendary-ray-harryhausen-dies-at-92/#comments</comments>
		<pubDate>Tue, 07 May 2013 18:52:17 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[My Photos]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8458</guid>
		<description><![CDATA[It is with a sense of deep sadness that I heard of the passing of Ray Harryhausen this morning. If I were to pick two things which influenced me as a kid growing up in the 1960s, it would have been the Apollo Space Program and the films of Ray Harryhausen, although at no time [...]]]></description>
				<content:encoded><![CDATA[<p>It is with a sense of deep sadness that I heard of the passing of Ray Harryhausen this morning.  If I were to pick two things which influenced me as a kid growing up in the 1960s, it would have been the Apollo Space Program and the films of Ray Harryhausen, although at no time did I ever imagine that my own path would lead me toward a career in the film industry.   What I found truly astounding about his work is that (perhaps by necessity) he excelled at all facets of his craft: from sculpting and character design, to animation and to the technical innovation necessary to make stop motion animation plausible in films.  His work was always at the cutting edge of what was possible in special effects, and in spite of decades of progress they still remain vibrant films, important for their technical advances, but also because they are just fun to watch.  Ray visited Pixar on several occasions, and while I didn&#8217;t get much personal time with him, I did get to thank him for his work and for helping to serve as inspiration, and he was kind enough to sign a copy of his book for me.</p>
<p><a href="http://brainwagon.org/wp-content/uploads/2013/05/603634_10151433184967304_232343840_n.jpg"><img src="http://brainwagon.org/wp-content/uploads/2013/05/603634_10151433184967304_232343840_n-400x300.jpg" alt="603634_10151433184967304_232343840_n" width="400" height="300" class="aligncenter size-medium wp-image-8459" /></a></p>
<p>Pixar gave a nod to Harryhausen by naming a restaurant (curiously a sushi restaurant) after him in our 2001 film, <em>Monsters, Inc</em>.  I doubt that there is anyone in the animation or visual effects industry who wouldn&#8217;t name Harryhausen as inspiration for what they do.   So long Ray, and thanks for the films.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=DJFYd7Vlo0w:zMdt_bLenZo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=DJFYd7Vlo0w:zMdt_bLenZo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=DJFYd7Vlo0w:zMdt_bLenZo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=DJFYd7Vlo0w:zMdt_bLenZo:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/DJFYd7Vlo0w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/05/07/the-legendary-ray-harryhausen-dies-at-92/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/05/07/the-legendary-ray-harryhausen-dies-at-92/</feedburner:origLink></item>
		<item>
		<title>A day at the Official Propeller Conference</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/jb_yB6K1Xpw/</link>
		<comments>http://brainwagon.org/2013/05/05/a-day-at-the-official-propeller-conference/#comments</comments>
		<pubDate>Mon, 06 May 2013 06:31:00 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[Microcontrollers]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8456</guid>
		<description><![CDATA[Even casual readers of this blog know that I&#8217;ve enjoyed playing around with the Arduino and the Atmel AVR chips. I really like them, and have used them for a variety of personal projects, as well as using them for a variety of educational projects for a local high school where I mentor students. But [...]]]></description>
				<content:encoded><![CDATA[<p>Even casual readers of this blog know that I&#8217;ve enjoyed playing around with the Arduino and the Atmel AVR chips.  I really like them, and have used them for a variety of personal projects, as well as using them for a variety of educational projects for a local high school where I mentor students.  But I also have a variety of other boards, from MSP430s to the BeagleBone, from the Raspberry Pi to the Parallax Propeller.</p>
<p>The truth is, I haven&#8217;t done a lot with the Propeller board.  I must admit that a lot of it is simply inertia: if something you already know fairly well serves your needs, then learning something new is often a distraction from your task at hand.  But there are things about the Propeller that I do find interesting and compelling.</p>
<p><b>It&#8217;s fast.</b>  The chip can be clocked up to 80Mhz, and has 8 <em>cogs</em>, each a 32 bit core with 2KB of local storage for instructions and data.  </p>
<p><b>It has a built in byte code interpreter for SPIN, a high level language.</b>  Each cog can execute about 80,000 of these high level byte codes per second, or about 640,000 max if all cogs are funning.  I have mixed feelings about Spin, but it&#8217;s a cool idea nonetheless.</p>
<p><b>It avoids interrupts, preferring to use cogs to process events.</b>  Interrupt processing is challenging for new programmers (and in some cases, even experienced ones) and the cog model might be easier and more flexible for many real time tasks.</p>
<p><b>It avoids dedicated hardware peripherals, instead providing &#8220;virtual&#8221; peripherals as software.</b>   Because the chip is fast, and there are many cogs, it&#8217;s possible to implement many devices such as UARTS, PWM, servo drivers and even video as code which runs on a particular cog in parallel with the user program.  This gives the programmer a great deal of flexibility.   SPIN supports a library of user-contributed objects which can really lend to the flexibility of the Propeller.</p>
<p>So, there is lots to like!   So, for the second year in a row, I&#8217;ve shuffled off to meet some of my friends from <a href="http://tymkrs.com">tymkrs.com</a> at the <a href="http://www.parallax.com/tabid/984/Default.aspx">Official Propeller Conference</a>.  It&#8217;s a fairly small get together of Propeller enthusiasts, hosted by Parallax and featuring short presentations on Propeller hardware and software techniques.  I had a lot of fun.   Parallax is a remarkably small company, run by Ken and Chip Gracey, and having maybe forty employees.   Besides the Propeller, they manufacture a bunch of other items, including sensors and robotics items.   The highlight of the day was a talk by Chip about the upcoming Propeller 2.  Chip&#8217;s talk was <em>remarkably</em> informative, and so devoid of normal marketing bull that I actually blinked several times at his honesty.</p>
<p>Propeller 2 looks very cool.  To me, the most exciting thing is that it one ups the flexibility of the Prop 1 in allowing <em>any</em> pin to be configured as digital or analog, and an input or output.   The Prop 1 has been used <a href="http://ko7m.blogspot.com/2012/01/wspr-on-propeller.html">by hams to directly generate beacon signals</a> but the new capabilities would seem to open a variety of demodulation as well as modulation techniques.   Chip said that the first actual silicon for the Prop 2 will be arriving at Parallax this Monday, and that he&#8217;ll let us know via the Parallax forums how that goes.  I&#8217;ll be paying attention.</p>
<p>I had a great time, culminating with a BBQ dinner with Atdiy, Whisker, Roy, Joe, and some of the Parallax crew.  It&#8217;s inspired me to actually dig in and start learning Spin.  I&#8217;m staring over at my Parallax board, happily blinking LEDS.   It&#8217;s a start.</p>
<p>More details on the Propeller as I goof around.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=jb_yB6K1Xpw:EgSCWKMt_ck:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=jb_yB6K1Xpw:EgSCWKMt_ck:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=jb_yB6K1Xpw:EgSCWKMt_ck:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=jb_yB6K1Xpw:EgSCWKMt_ck:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/jb_yB6K1Xpw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/05/05/a-day-at-the-official-propeller-conference/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/05/05/a-day-at-the-official-propeller-conference/</feedburner:origLink></item>
		<item>
		<title>Neat little beacon using an 8 pin Atmel AVR…</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/2JOWb8tOoT4/</link>
		<comments>http://brainwagon.org/2013/04/28/neat-little-beacon-using-an-8-pin-atmel-avr/#comments</comments>
		<pubDate>Mon, 29 Apr 2013 05:52:37 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8453</guid>
		<description><![CDATA[Previously, I have read about a wireless Morse thermometer designed by Steve Weber, KD1JV. I played around with the basic idea in a YouTube video I made. It basically powers a little Colpitts oscillator from an IO pin on an Arduino. Weber&#8217;s circuit did much the same, just using a small 8 pin AVR and [...]]]></description>
				<content:encoded><![CDATA[<p>Previously, I have read about a <a href="http://kd1jv.qrpradio.com/temp2morse/temp2morse.htm">wireless Morse thermometer</a> designed by Steve Weber, KD1JV. I played around with the basic idea in a <a href="http://www.youtube.com/watch?v=7UpGUdggLcY">YouTube video I made</a>.  It basically powers a little Colpitts oscillator from an IO pin on an Arduino.   Weber&#8217;s circuit did much the same, just using a small 8 pin AVR and a temperature sensor to send the current temperature via Morse code.</p>
<p>Over on the Open Emitter blog (sorry, don&#8217;t know whose blog this is) there is a twist on this basic idea: instead of using a separate oscillator, use the oscillator that drives the microcontroller as the emitter (probably of just a few microwatts into a short wire antenna).  To on-off key the oscillator, the Atmel chip is put into power-down mode, and woken up via the watch dog timer.  I think it&#8217;s a cool idea, and worthy of experimentation.  I&#8217;ve got some ATTINY85 chips on sale (just $1.10 each) which will probably be breadboarded into a test circuit, using either some of my 10.140Mhz crystals or maybe some of the 80m or 20m crystals that I have lying around.</p>
<p>Check out the article:</p>
<p><a href="http://rheslip.blogspot.com/2011/12/tiny-beacon.html">Tiny Beacon</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=2JOWb8tOoT4:aMX5xsFjGlo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=2JOWb8tOoT4:aMX5xsFjGlo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=2JOWb8tOoT4:aMX5xsFjGlo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=2JOWb8tOoT4:aMX5xsFjGlo:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/2JOWb8tOoT4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/04/28/neat-little-beacon-using-an-8-pin-atmel-avr/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/04/28/neat-little-beacon-using-an-8-pin-atmel-avr/</feedburner:origLink></item>
		<item>
		<title>Bill, N2CQR uses my Morse-sending code for the Arduino…</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/jJ0XFJob6Dk/</link>
		<comments>http://brainwagon.org/2013/04/21/bill-n2cqr-uses-my-morse-sending-code-for-the-arduino/#comments</comments>
		<pubDate>Mon, 22 Apr 2013 04:46:11 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8450</guid>
		<description><![CDATA[I&#8217;ve been busy lately, and have done almost nothing radio related. But John was kind enough to point out to me that Bill, N2CQR of Soldersmoke fame had posted a mention of me, and I surfed over to his blog to have a peek. His post that apparently uses my code to send Morse which [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been busy lately, and have done almost nothing radio related.   But John was kind enough to point out to me that Bill, N2CQR of Soldersmoke fame had posted a mention of me, and I surfed over to his blog to have a peek.</p>
<p><a href="http://soldersmoke.blogspot.com/2013/04/arduino-k6hxs-code-and-rbn-minimum.html">His post that apparently uses my code to send Morse which is tracked by the Reverse Beacon Network</a></p>
<p>Awesome.  It&#8217;a actually pretty gratifying to see how often this simple (at least for me) code has been used and reused by people.   I think of this code as being almost too trivial to worry about, but it&#8217;s clear that there are lots of people who are using the Arduino to try to get into some very simple code and electronics projects.   I think that&#8217;s awesome!   There are a number of authors/technocrats/philosophers who are saying that those who don&#8217;t learn to write programs are simply going to be left behind: appliance operators in life, and that those that do will be able to achieve.  I don&#8217;t know that it&#8217;s true, but I do think some passing knowledge of programming can be leveraged into cool projects, and I&#8217;m glad to see that Bill has taken his first steps into the world of Arduino, and glad that I could be a part of it.</p>
<p>Addendum:</p>
<p>You can get my code from <a href="http://brainwagon.org/2009/11/14/another-try-at-an-arduino-based-morse-beacon/">this blog post.</a></p>
<p>I made a couple of different videos using variations of this code.   I was inspired to make this video after seeing Steve Weber&#8217;s &#8220;Temp2Morse&#8221; project, which basically keys a small oscillator powered directly from the pin of an ATTINY processor (in his case) or an Arduino in mine.</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/7UpGUdggLcY" frameborder="0" allowfullscreen></iframe></p>
<p>I used another variation of this code to interface a PS/2 keyboard to the Arduino, and then used it to key my FT-817:</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/v6-5r04499Y" frameborder="0" allowfullscreen></iframe></p>
<p>(Apologies if you all have seen these before, but I thought they might be new to some of you.)</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=jJ0XFJob6Dk:2o4he6XtCtU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=jJ0XFJob6Dk:2o4he6XtCtU:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=jJ0XFJob6Dk:2o4he6XtCtU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=jJ0XFJob6Dk:2o4he6XtCtU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/jJ0XFJob6Dk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/04/21/bill-n2cqr-uses-my-morse-sending-code-for-the-arduino/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/04/21/bill-n2cqr-uses-my-morse-sending-code-for-the-arduino/</feedburner:origLink></item>
		<item>
		<title>Apologies for the lack of updates…</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/fTLXyuXBMso/</link>
		<comments>http://brainwagon.org/2013/04/14/apologies-for-the-lack-of-updates/#comments</comments>
		<pubDate>Sun, 14 Apr 2013 19:00:52 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8447</guid>
		<description><![CDATA[Tap&#8230; tap&#8230; tap&#8230; Is this thing still on? Apologies to my loyal readers (reader?) for the lack of recent updates. A combination of work pressure, family visits, general lassitude and other distractions have caused the writing muse to flee, and every time I sit down to write something down, I have just felt physically tired [...]]]></description>
				<content:encoded><![CDATA[<p>Tap&#8230; tap&#8230; tap&#8230;  Is this thing still on?</p>
<p>Apologies to my loyal readers (reader?) for the lack of recent updates.   A combination of work pressure, family visits, general lassitude and other distractions have caused the writing muse to flee, and every time I sit down to write something down, I have just felt physically tired and unable to write stuff down.   But the good thing is: the days are getting longer, my project at work is shipping, and I&#8217;m hoping that May will mark the beginning of some good new projects.</p>
<p>Some things I have in the works:</p>
<ul>
<li>A number of Raspberry Pi related projects.  In particular, I&#8217;ve got most of the parts for a little robotic platform that will carry a Raspberry Pi and a webcam.   It&#8217;s my first real complete homebrew robotics project, which is kind of cool.</li>
<li>I&#8217;ve been experimenting with 3D printing, and hope to do some more.</li>
<li>Weather is improving, so the urge to get my RC airplanes back in the air.</li>
<li>I need to get back to some radio projects.  I was up to 43 states on my WAS via JT65, it would be great to polish that off this summer.</li>
</ul>
<p>Stay tuned!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=fTLXyuXBMso:gE8adzjVYYU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=fTLXyuXBMso:gE8adzjVYYU:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=fTLXyuXBMso:gE8adzjVYYU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=fTLXyuXBMso:gE8adzjVYYU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/fTLXyuXBMso" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/04/14/apologies-for-the-lack-of-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/04/14/apologies-for-the-lack-of-updates/</feedburner:origLink></item>
		<item>
		<title>My Arduino bumper, with actual prints!</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/JR_Mn7sO6mY/</link>
		<comments>http://brainwagon.org/2013/03/23/my-arduino-bumper-with-actual-prints/#comments</comments>
		<pubDate>Sat, 23 Mar 2013 17:02:25 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[My Projects]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8442</guid>
		<description><![CDATA[Okay, our Replicator 2 went back online this week, and I decided to give printing my Arduino bumper another try. Since the last time, I have revised the program and code a couple of times. I was concerned that the various bits of solder protruding from the bottom of the board would need extra relief [...]]]></description>
				<content:encoded><![CDATA[<p>Okay, our Replicator 2 went back online this week, and I decided to give printing my Arduino bumper another try. Since the last time, I have revised the program and code a couple of times. I was concerned that the various bits of solder protruding from the bottom of the board would need extra relief cuts. As I tried to account for more and more of these, I decided I did not like the design especially well, so I took a different tactic: I decided to make the bumper&#8217;s walls as thin as possible, and only include an area around each of the Arduino bolt holes. This minimized the amount of material needed, and also means that it could be printed more quickly.</p>
<p>And so, I printed it out. I use the Makerbot software, set for the Replicator 2, once using medium quality (with a print time of about sixteen minutes) and once using the high quality (print time of nearly an hour). I used 25% infill for both, I wanted to make sure the outer and inner shells were sufficiently bonded. I then printed it!</p>
<p><center></p>
<blockquote class="twitter-tweet"><p>Printing my Arduino bumper&#8230; <a title="https://vine.co/v/bDMwPEOzFZ6" href="https://t.co/yHst4kXhJC">vine.co/v/bDMwPEOzFZ6</a></p>
<p>— Mark VandeWettering (@brainwagon) <a href="https://twitter.com/brainwagon/status/315233830464278529">March 22, 2013</a></p></blockquote>
<p>&nbsp;</p>
<p></center>I had a little spare time, so I also decided to print out a simple model I made in OpenSCAD: a cross section of the Clark Y airfoil, with 1/8&#8243; thickness. It turned out rather well, fairly smooth, and with only a minor divot at the trailing edge. It was also reasonably sturdy, I don&#8217;t think I could crush it in compression with my hand, although it&#8217;s impact resistance is unknown. I also took the time to download a model of the chicken from Minecraft and print that. It comes in four parts, which we could then glue together. I had no real failures:<br />
<center><br />
<blockquote class="twitter-tweet">No real failures in this round of 3d printing, but the chicken needs some sanding to fit together… <a title="http://twitter.com/brainwagon/status/315267878561644544/photo/1" href="http://t.co/U660QFaojN">twitter.com/brainwagon/sta…</a></p>
<p>— Mark VandeWettering (@brainwagon) <a href="https://twitter.com/brainwagon/status/315267878561644544">March 23, 2013</a></p></blockquote>
<p></center><br />
&nbsp;</p>
<p>But there were a few issues.</p>
<p>First of all, my Arduino bumpers were a pretty tight fit.<br />
<center><br />
<blockquote class="twitter-tweet">My bumper fits, but it is tight.Increase clearance to .012” and more clearance for connectors… <a title="http://twitter.com/brainwagon/status/315335278329995264/photo/1" href="http://t.co/Zd55qWorIW">twitter.com/brainwagon/sta…</a></p>
<p>— Mark VandeWettering (@brainwagon) <a href="https://twitter.com/brainwagon/status/315335278329995264">March 23, 2013</a></p></blockquote>
<p></center></p>
<p>I coded in a clearance of 0.008&#8243; around the nominal board size, but that was simply not enough.  I think I&#8217;ll expand that to 0.012&#8243; or even 0.015&#8243; next time around.   I was able to press fit one of my OSEPP Arduino boards into it, but just barely, and only by shaving a small amount off one corner of the board with an Exacto knife.   I also think I should thicken the bottom slightly: if you used this shield to bolt against a conductive surface, some of the solder joints on the bottom of the board could still short out.  I am also thinking of widening the channels cut for the USB and DC jack a small amount, they fit, but just barely.   An additional 0.02&#8243; of an inch would make them more comfortable.   I also noticed that one of the prints had a corner which seemed to pull up and not be level/coplanar with the rest of the print.  Not sure what that was about.   But overall it worked!  I&#8217;ll make these changes to the design, and then try another set of prints, and then you should be able to see it on Thingiverse.</p>
<p><center></p>
<blockquote class="twitter-tweet"><p>Extra space will help clearance for the #4 screw heads too.But it works as a spacer with my @<a href="https://twitter.com/tautic">tautic</a> breadboard. <a href="http://t.co/4Oz3xGMDwl" title="http://twitter.com/brainwagon/status/315338096801636352/photo/1">twitter.com/brainwagon/sta…</a></p>
<p>&mdash; Mark VandeWettering (@brainwagon) <a href="https://twitter.com/brainwagon/status/315338096801636352">March 23, 2013</a></p></blockquote>
<p><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script><br />
</center></p>
<p>I also printed <a href="http://www.thingiverse.com/thing:38021">this model of the chicken from Minecraft</a>.  It comes in four parts (body, head, two feet) which you can assemble and paint.  The model is quite simple, I printed it with medium quality settings and 10% infill.   It worked rather well, except that the parts do not assemble easily: the head is slightly too wide to fit into the slot in the body and the feet do not fit into the holes left in the bottom.  I think a little judicious belt sanding will make the head fit, and I&#8217;ll measure and redrill out the holes to make the legs fit.  But in general, the issue of clearances seems to be one I need to explore more.  Does anyone have any good references/hints/guides they would like to share?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=JR_Mn7sO6mY:mf_fDQToXuA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=JR_Mn7sO6mY:mf_fDQToXuA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=JR_Mn7sO6mY:mf_fDQToXuA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=JR_Mn7sO6mY:mf_fDQToXuA:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/JR_Mn7sO6mY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/03/23/my-arduino-bumper-with-actual-prints/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/03/23/my-arduino-bumper-with-actual-prints/</feedburner:origLink></item>
		<item>
		<title>Another stab at an Arduino bumper…</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/xsBhhWKRo44/</link>
		<comments>http://brainwagon.org/2013/03/09/another-stab-at-an-arduino-bumper/#comments</comments>
		<pubDate>Sun, 10 Mar 2013 04:50:41 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[My Projects]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8437</guid>
		<description><![CDATA[Earlier this week, I tried to print out the first version of my Arduino bumper. Sadly, our Replicator 2 had a malfunction mid print, and it&#8217;s still offline (a problem with the temp sensor) but that doesn&#8217;t mean I&#8217;ve been entirely stationary. I mentioned on twitter that I was having trouble using the minkowski operator [...]]]></description>
				<content:encoded><![CDATA[<p>Earlier this week, I tried to print out the first version of my Arduino bumper.   Sadly, our Replicator 2 had a malfunction mid print, and it&#8217;s still offline (a problem with the temp sensor) but that doesn&#8217;t mean I&#8217;ve been entirely stationary.  I mentioned on twitter that I was having trouble using the minkowski operator to generate interior offset surfaces, and @kitwallace responded <a href="http://kitwallace.co.uk/Blog/item/2013-02-10T00:00:00Z">this pointer to some code he used</a> which helped me generate a &#8220;lip&#8221; inside the outer wall that would snugly fit the Arduino.  I also realized that this wall would bump into the backside of some of the pins, particularly around the DC jack, but also on the ICSP and header pins.  So, I revised this a bit, and came up with this program: </p>
<pre class="brush: cpp; title: ; notranslate">
module arduino_outline() {
	polygon([[0, 0],
				[0, 2100],
				[2540, 2100],
				[2600, 2040],
				[2600, 1590],
				[2700, 1490],
				[2700, 200],
				[2600, 100],
				[2600, 0]]) ;
}

px = 2505.512 ;
py = 1198.031 ;

module icsp() {
		translate([px, py-200, 31.25]) minkowski() {
			cube([100, 200, 62.5]) ;
			cylinder(r=50) ;
		}
}


eps = 0.001 ;


s = 25.4/1000. ;

cl = 8 ;
th = 62.5 ;

module os() {
	linear_extrude(height=250) 
		minkowski() {
			arduino_outline() ;
			circle(r=th+cl) ;
		}
}

module is() {
	translate([0, 0, -eps]) linear_extrude(height=250 + 2 * eps) 
		minkowski() {
			arduino_outline() ;
			circle(r=cl) ;
		}
}

module final() {
	difference() {
		os() ;
		is() ;
	}
}

module neg() {
	union() {
		intersection() {
			minkowski() {
				difference() {
					translate([-200, -200, eps]) cube([3000, 3000, 62.5]) ;
					os() ;
				}
				cylinder(r=200+th+cl*2) ;
			}
			os() ;
		}
		final() ;
	}
}

module holes() {
	union() {
		translate([550, 100]) cylinder(r=125/2., h=500, center=true) ;
		translate([600, 2000]) cylinder(r=125/2., h=500, center=true) ;
		translate([2600, 300]) cylinder(r=125/2., h=500, center=true) ;
		translate([2600, 1400]) cylinder(r=125/2., h=500, center=true) ;
	}
}

off = 31.25 ;
d = 31.25 ;
w = 31.25 ;

module relief() {
	translate([1100, 100, 62.5]) translate([-w, -w, -d]) 
		cube([1400+2*w, 2*w, 2*d]) ;
	translate([740, 2000, 62.5]) translate([-w, -w, -d]) 
		cube([1740+2*w, 2*w, 2*d]) ;
}
 
module slots() {
	union() {
		translate([-100, 125, 63+off]) cube([550, 350, 500]) ;
		translate([-250, 1275, 63+off]) cube([625, 500, 500]) ;
		translate([-cl, 125, 0]) cube([450+cl, 350, 500]) ;
	}
}



$fn = 24 ;
scale([s, s, s]) difference() { neg() ; holes() ; slots(); relief() ; icsp() ; }
</pre>
<p>Here&#8217;s a quick picture:</p>
<p><a href="http://brainwagon.org/wp-content/uploads/2013/03/bumperv2.png"><img src="http://brainwagon.org/wp-content/uploads/2013/03/bumperv2-425x296.png" alt="bumperv2" width="425" height="296" class="aligncenter size-medium wp-image-8439" /></a></p>
<p>It might be a few days before I can get this printed.  If anyone uses this to generate STL and print it, I&#8217;d love to hear about what you think.   </p>
<p>If not, stay tuned.  I&#8217;ll get there eventually.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=xsBhhWKRo44:k9A70cB_OaU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=xsBhhWKRo44:k9A70cB_OaU:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=xsBhhWKRo44:k9A70cB_OaU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=xsBhhWKRo44:k9A70cB_OaU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/xsBhhWKRo44" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/03/09/another-stab-at-an-arduino-bumper/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/03/09/another-stab-at-an-arduino-bumper/</feedburner:origLink></item>
		<item>
		<title>Arduino Bumper Shell, created with OpenSCAD</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/xyRGcvIVYJ8/</link>
		<comments>http://brainwagon.org/2013/03/02/arduino-bumper-shell-created-with-openscad/#comments</comments>
		<pubDate>Sun, 03 Mar 2013 05:06:36 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8424</guid>
		<description><![CDATA[Last week, I got a chance to experiment with a Replicator 2, and printed some brackets for my robot project. I designed them using OpenSCAD, which is kind of a scripting language for solid shapes. It can export in STL format, which I then used MakerWare to drive the Replicator 2. The picture at the [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://brainwagon.org/wp-content/uploads/2013/03/brackets.jpg"><img src="http://brainwagon.org/wp-content/uploads/2013/03/brackets-400x300.jpg" alt="brackets" width="400" height="300" class="alignright size-medium wp-image-8426" /></a>Last week, I got a chance to experiment with a Replicator 2, and printed some brackets for my robot project.  I designed them using OpenSCAD, which is kind of a scripting language for solid shapes.  It can export in STL format, which I then used MakerWare to drive the Replicator 2.  The picture at the right shows my first attempt, which aborted when my silly laptop went to sleep.  Still, the brackets worked out pretty well.  The holes in the bracket were coded to be 0.125&#8243; in diameter, which is a loose clearance hole for #4 hardware.  The resulting brackets actually were close to tap size: I could thread a screw into them, but not push one through it.   That seemed like a pretty good test.<br />
<br style="clear: both;"/><br />
<a href="http://brainwagon.org/wp-content/uploads/2013/03/bumper.png"><img src="http://brainwagon.org/wp-content/uploads/2013/03/bumper-425x227.png" alt="bumper" width="425" height="227" class="alignright size-medium wp-image-8425" /></a>While digging around for new stuff to make, I saw a &#8220;bumper&#8221; style case for the Arduino on Thingiverse.  I thought that might an interesting project, and I needed something like this to mount my Arduino onto the robot platform I&#8217;ve been working on.   In about an hour, I coded up one:</p>
<pre class="brush: cpp; title: ; notranslate">

module arduino_outline() {
	polygon([[0, 0],
				[0, 2100],
				[2540, 2100],
				[2600, 2040],
				[2600, 1590],
				[2700, 1490],
				[2700, 200],
				[2600, 100],
				[2600, 0]]) ;
}

module edge () {
	difference() {
		minkowski() {
			arduino_outline() ;
			circle(62.5) ;
		}
		minkowski() {
			arduino_outline() ;
			circle(8) ;
		}
	}
}

module bands() {
	minkowski() {
		square([2600, 200]) ;
		circle(10) ;
	}
	minkowski() {
		translate([0, 1900]) square([2600, 200]) ;
		circle(10) ;
	}
	minkowski() {
			polygon([[2600, 1590],
				  [2700, 1490],
				  [2700, 200],
				  [2600, 100],
				  [2500, 200],	
				  [2500, 1490]]) ;
		circle(10) ;
	}
}

d = 31.25 ;
w = 16 ;

module bumper() {
difference() {
	union() {
		linear_extrude(height=250) edge() ;
		linear_extrude(height=62.5) bands() ;
	}
	union() {
		translate([550, 100]) cylinder(r=125/2., h=500, center=true) ;
		translate([600, 2000]) cylinder(r=125/2., h=500, center=true) ;
		translate([2600, 300]) cylinder(r=125/2., h=500, center=true) ;
		translate([2600, 1400]) cylinder(r=125/2., h=500, center=true) ;
	}
	translate([-75, 125, 63]) cube([525, 300, 500]) ;
	translate([-250, 1275, 63]) cube([625, 500, 500]) ;
	translate([1100, 100, 62.5]) translate([-w, -w, -d]) cube([1400+2*w, 2*w, 2*d]) ;
	translate([740, 2000, 62.5]) translate([-w, -w, -d]) cube([1740+2*w, 2*w, 2*d]) ;

}
}

scale([25.4/1000., 25.4/1000., 25.4/1000.]) bumper() ;
</pre>
<p>I haven&#8217;t had the chance to print it yet, so it might not be exactly right for fit, but I&#8217;ll let you know how it works out.</p>
<p><b>Addendum</b>: I found a model for an Arduino in OpenSCAD, and tried merging it with my bumper.  That revealed that I had made a mistake in the code listed above: the DC connector should be 350 mils wide: the slot as coded would be too narrow.  I also decided to widen the relief channels for the pins which stick out the bottom, and provide an extra depth relief to support the DC and USB jacks.  When I get a chance to print this out, I&#8217;ll probably upload the kit-n-kaboodle to thingiverse once I&#8217;m happy with it.</p>
<p>Until then, here&#8217;s the tease:</p>
<p><a href="http://brainwagon.org/wp-content/uploads/2013/03/witharduino.png"><img src="http://brainwagon.org/wp-content/uploads/2013/03/witharduino-333x300.png" alt="witharduino" width="333" height="300" class="aligncenter size-medium wp-image-8432" /></a></p>
<p><b>Addendum<sup>2</sup>:</b> I experimented a bit with export options.  I projected the bumper down to 2D, exported it as DXF, and then imported it into Inkscape, where I could convert it to a 300dpi bitmap.   Voila.</p>
<p><a href="http://brainwagon.org/wp-content/uploads/2013/03/path3391.png"><img src="http://brainwagon.org/wp-content/uploads/2013/03/path3391-380x300.png" alt="path3391" width="380" height="300" class="aligncenter size-medium wp-image-8434" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=xyRGcvIVYJ8:UXBUrX6f358:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=xyRGcvIVYJ8:UXBUrX6f358:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=xyRGcvIVYJ8:UXBUrX6f358:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=xyRGcvIVYJ8:UXBUrX6f358:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/xyRGcvIVYJ8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/03/02/arduino-bumper-shell-created-with-openscad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/03/02/arduino-bumper-shell-created-with-openscad/</feedburner:origLink></item>
		<item>
		<title>PIR sensor from TAUTIC.COM</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/Z3pDnp1PK0Y/</link>
		<comments>http://brainwagon.org/2013/02/23/pir-sensor-from-tautic-com/#comments</comments>
		<pubDate>Sun, 24 Feb 2013 06:07:06 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[My Projects]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8419</guid>
		<description><![CDATA[A few days ago, I heard that Jayson Tautic (@tautic), manufacturer and purveyor of a interesting electronic prototyping goodies, had put up an interesting offering: a small PIR (passive infra red) motion detector. I&#8217;m always up for a new sensor to play with, so I ordered a pair for fun, and they arrived on Friday. [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://brainwagon.org/wp-content/uploads/2013/02/pir.jpg"><img src="http://brainwagon.org/wp-content/uploads/2013/02/pir-417x300.jpg" alt="pir" width="417" height="300" class="alignright size-medium wp-image-8420" /></a>A few days ago, I heard that Jayson Tautic (@tautic), manufacturer and purveyor of a interesting electronic prototyping goodies, had put up an interesting offering: <a href="https://www.tindie.com/shops/TAUTIC/pir-motion-sensor/">a small PIR (passive infra red) motion detector</a>.  I&#8217;m always up for a new sensor to play with, so I ordered a pair for fun, and they arrived on Friday.</p>
<p>It&#8217;s a cute little package, much smaller than I expected, about 8x10mm.  It has three pins, but didn&#8217;t come with a datasheet.  Some queries among my buddies on the #tymkrs channel on afternet turned up <a href="http://www.mpja.com/download/19517sc.pdf">this datasheet</a> which appears to be the part.  That was good enough to sort out the pinouts: the pin labeled + is the supply voltage, the pin on the opposite side is ground, and the middle pin is the sense pin.  When the sensor detects motion, that pin goes high, and remains so for two seconds after the motion halts.   And that&#8217;s about it.</p>
<p>It was tremendously simple to wire it up to an Arduino for testing.  I wired the sense pin to pin 8, and then used this simple sketch&#8230;</p>
<pre class="brush: cpp; title: ; notranslate">
const int pin = 8 ;
const int ledPin = 13 ;

void
setup()
{
  Serial.begin(9600) ;
  pinMode(pin, INPUT) ;
  pinMode(ledPin, OUTPUT) ;
}

void
loop()
{
  Serial.println(&quot;NO MOTION DETECTED&quot;) ;
  digitalWrite(ledPin, LOW) ;
  while (digitalRead(pin) == LOW)
    delay(100) ;
  digitalWrite(ledPin, HIGH) ;
  Serial.println(&quot;MOTION DETECTED&quot;) ;
  while (digitalRead(pin) == HIGH)
    delay(100) ;
}
</pre>
<p>It will turn on the LED wired to pin 13 when motion is detected, and also prints a message to the serial port.  Simple.</p>
<p>I haven&#8217;t done any testing with this, but it appears they might be sensitive enough to detect the motion of my cat, which seems like it could be interesting.   Stay tuned.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=Z3pDnp1PK0Y:KXj4Rcc5DxY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=Z3pDnp1PK0Y:KXj4Rcc5DxY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=Z3pDnp1PK0Y:KXj4Rcc5DxY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=Z3pDnp1PK0Y:KXj4Rcc5DxY:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/Z3pDnp1PK0Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/02/23/pir-sensor-from-tautic-com/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/02/23/pir-sensor-from-tautic-com/</feedburner:origLink></item>
		<item>
		<title>Using the Raspberry Pi as a wireless webcam server…</title>
		<link>http://feedproxy.google.com/~r/brainwagon/~3/T4QNNgs4qZk/</link>
		<comments>http://brainwagon.org/2013/02/07/using-the-raspberry-pi-as-a-wireless-webcam-server/#comments</comments>
		<pubDate>Thu, 07 Feb 2013 19:57:36 +0000</pubDate>
		<dc:creator>brainwagon@gmail.com (Mark VandeWettering)</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">http://brainwagon.org/?p=8413</guid>
		<description><![CDATA[The other day, I was walking around in Fry&#8217;s Electronics, and noticed that they had HP HD-2200 webcams on sale for a mere $6. I thought to myself: hey, even if the camera is crappy (and it is) that is simply too cheap to pass up, and grabbed one. Last night, I decided to try [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://brainwagon.org/wp-content/uploads/2013/02/webcam.jpg"><img src="http://brainwagon.org/wp-content/uploads/2013/02/webcam-300x300.jpg" alt="webcam" width="300" height="300" class="alignright size-medium wp-image-8414" /></a>The other day, I was walking around in Fry&#8217;s Electronics, and noticed that they had HP HD-2200 webcams on sale for a mere $6.  I thought to myself: hey, even if the camera is crappy (and it is) that is simply too cheap to pass up, and grabbed one.  Last night, I decided to try to pair it with my Raspberry Pi and the WiPi dongle, and see if I could make a simple webcam that I could move around.   Over the next 30 minutes or so, this is what I came up with.  </p>
<p>The driver for the webcam already existed.  The USB driver lists the maximum power from this webcam at 200ma, which seemed modest enough, so I configured my Raspberry Pi with the WiPi and webcam plugged in directly, without any powered hub.  Technically, the combination of the WiPi and the Pi might be over the reasonable limit, but I have seen others do a similar setup, so I decided to step boldly.  This is nice, because it means that you just have one plug, and the resulting package is quite compact and mobile.</p>
<p>Experimentation using ffmpeg to read from the v4l2 device showed that the camera needed to capture a few frames before the automatic exposure would yield a decent image, so I grumbled a bit and experimented.  After 10 minutes of inconsistent results, I recalled hearing about a different but simple webcam server program called <a href="http://www.firestorm.cx/fswebcam/">fswebcam</a>.  It&#8217;s a simple little program, and was in the package repository, so a simple &#8220;sudo apt-get install fswebcam&#8221; and I had the software installed.   It&#8217;s got a pretty good man page too. Fswebcam doesn&#8217;t stream video, but it can do one-shot and periodic captures, and has a lot of the essential features that I wanted, including capturing and skipping a bunch of frames, and capturing and averaging a bunch of frames for output.</p>
<p>This morning, I left my camera aimed at the bed in our guest room, which is where my cat Scrappy likes to take his naps.  I hoped that later in the day, I&#8217;d be able to get a picture of him.   The room has some direct sun during the day, which makes for some harsh lighting, which makes the picture pretty unimpressive.</p>
<p><a href="http://brainwagon.org/wp-content/uploads/2013/02/output.jpg"><img src="http://brainwagon.org/wp-content/uploads/2013/02/output.jpg" alt="output" width="640" height="480" class="aligncenter size-full wp-image-8415" /></a></p>
<p>Nope, he wasn&#8217;t napping there.   Or was he?  I loaded the image into gimp, and stretched the contrast with the Levels adjustment:</p>
<p><a href="http://brainwagon.org/wp-content/uploads/2013/02/scrappy.jpg"><img src="http://brainwagon.org/wp-content/uploads/2013/02/scrappy.jpg" alt="scrappy" width="640" height="480" class="aligncenter size-full wp-image-8416" /></a></p>
<p>Ahah!  Hiding next to the wall!  (That&#8217;s a cloud painted on the wall above and to the right of him).</p>
<p>Pretty neat.</p>
<p>Oh, incidently, I didn&#8217;t have an http server installed on the Pi, but then remembered that it does have python.  If you run &#8220;python -m SimpleHTTPServer&#8221; it will create a webserver that can serve files out of the current directory on port 8000.  </p>
<p>Later, I may try to use ffserver or motion to do something fancier, but I&#8217;m happy with this setup so far.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/brainwagon?a=T4QNNgs4qZk:Uc15szt-XTU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=T4QNNgs4qZk:Uc15szt-XTU:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/brainwagon?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/brainwagon?a=T4QNNgs4qZk:Uc15szt-XTU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/brainwagon?i=T4QNNgs4qZk:Uc15szt-XTU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/brainwagon/~4/T4QNNgs4qZk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://brainwagon.org/2013/02/07/using-the-raspberry-pi-as-a-wireless-webcam-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://brainwagon.org/2013/02/07/using-the-raspberry-pi-as-a-wireless-webcam-server/</feedburner:origLink></item>
	<copyright>Copyright 2006, Mark VandeWettering</copyright><media:credit role="author">Mark VandeWettering</media:credit><media:rating>nonadult</media:rating></channel>
</rss><!-- Dynamic page generated in 5.972 seconds. --><!-- Cached page generated by WP-Super-Cache on 2013-05-23 15:09:49 --><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

 Served from: brainwagon.org @ 2013-05-23 15:09:49 by W3 Total Cache -->
