<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The H-Files</title>
	<atom:link href="http://henrygroover.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://henrygroover.net/blog</link>
	<description>Rants on software development, robotics, and the meaning of life</description>
	<lastBuildDate>Mon, 15 Mar 2010 02:21:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Updates on Chumbotics</title>
		<link>http://henrygroover.net/blog/2010/03/14/updates-on-chumbotics/</link>
		<comments>http://henrygroover.net/blog/2010/03/14/updates-on-chumbotics/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 02:16:47 +0000</pubDate>
		<dc:creator>henry</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[robotics]]></category>
		<category><![CDATA[chumbotics]]></category>

		<guid isPermaLink="false">http://henrygroover.net/blog/2010/03/14/updates-on-chumbotics/</guid>
		<description><![CDATA[I'm still alive, more robotics entries to come soon, software process stuff is in a different blog at <a href="http://grooversoft.com/blog" title="Grooversoft blog">http://grooversoft.com/blog</a>]]></description>
			<content:encoded><![CDATA[<p>Not much time for fun projects with the way work has been, but in these times it&#8217;s good to be employed (or so I keep telling myself).</p>
<p>I&#8217;ve started a more serious blog focused on software process issues over at <a title="GrooverSoft blog" href="http://grooversoft.com/blog">http://grooversoft.com/blog</a> (my wife&#8217;s business). I had done some robotics work over the summer which I need to write about with photos. I basically added a picture frame platform to my roomba base with video capture capabilities (then crashed it and ruined the touchscreen, but the unit still works).</p>
<p>But yikes! almost two years since my last posting here. Lots of spam comments but time to write some entries again&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://henrygroover.net/blog/2010/03/14/updates-on-chumbotics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ChumbyCam</title>
		<link>http://henrygroover.net/blog/2008/06/22/chumbycam/</link>
		<comments>http://henrygroover.net/blog/2008/06/22/chumbycam/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 15:32:57 +0000</pubDate>
		<dc:creator>henry</dc:creator>
				<category><![CDATA[Chumby-related]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[chumby]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://henrygroover.net/blog/?p=6</guid>
		<description><![CDATA[Another Chumby firmware validation challenge developed into an interesting project.
The free http://justin.tv service allows you to connect any webcam for broadcast using a Flash 9 widget that takes your mic and webcam input and uploads it for rebroadcast. These are features that aren&#8217;t currently supported in Flash Lite, so typically it would be used with [...]]]></description>
			<content:encoded><![CDATA[<div class="wikitext">Another <a class="wiki" href="http://www.chumby.com/">Chumby</a> firmware validation challenge developed into an interesting project.</p>
<p>The free <a class="wiki" href="http://justin.tv/">http://justin.tv</a> service allows you to connect any webcam for broadcast using a Flash 9 widget that takes your mic and webcam input and uploads it for rebroadcast. These are features that aren&#8217;t currently supported in Flash Lite, so typically it would be used with a Linux or Windoze desktop machine.</p>
<p>There were some issues to validate with webcam display which turned out to be related to an unrelated problem.</p>
<p>I took it one step further and tried to use Chumby to display the output of an IP webcam. I chose the D-Link<a class="wiki wikinew" title="Create page: D-Link" href="http://wiki.henrygroover.net/tiki-editpage.php?page=D-Link">?</a> Ethernet-connected DCS-900 model, largely because it was cheap and simple. It&#8217;s around $90 USD and offers a built-in http connection. It offers java and activex viewing of the image stream but those didn&#8217;t work right out of the box, and I didn&#8217;t have 5 minutes to rtfm so I might have missed some vital step. But the jpeg feed works just fine.</p>
<p>And I had a good test opportunity in-house (literally): a 2.5-year-old boy who presents a potty training challenge. An early riser, he gets to watch PBS Sprout for a commercial-free hour or so while squatting on his pot, but likes to get up. This is also my time for getting some work done in the next room, so I wanted to use Chumby as a remote monitor.</p>
<p>Knowing the IP address of the webcam, I could write this script on the Chumby, and start it by stopping flashplayer and running the script:</p>
<pre>stop_control_panel
/mnt/usb/bin/showcam &gt;/dev/null 2&gt;&amp;1</pre>
<p>Here&#8217;s the script. It&#8217;s slightly more elaborate than needed since it caches the last 30 images. Since I&#8217;m continually invoking wget I don&#8217;t need to do anything to avoid caching &#8211; wget does not do any persistent caching by default&#8230;</p>
<pre>#!/bin/sh
CAMIP=192.168.1.127
CAMPORT=80

SERNO=0
SEQ=$(date +'%Y-%m-%d-%H%M')
mkdir /tmp/$SEQ

while :
do
if wget -O /tmp/${SEQ}/img${SERNO}.jpg http://${CAMIP}:${CAMPORT}/IMAGE.JPG
then
imgtool /tmp/${SEQ}/img${SERNO}.jpg
else
echo "Unable to fetch image"
exit 1
fi
SERNO=$(expr ${SERNO} \+ 1)
[ ${SERNO} -gt 30 ] &amp;&amp; SERNO=0
done</pre>
</div>
<div class="wikitext">
Oops, gotta run&#8230; my little boy just got up and I don&#8217;t feel like carpet-cleaning right now&#8230;</div>
<div class="wikitext">
</div>
<div class="wikitext">I&#8217;ve also put this on my <a href="http://wiki.henrygroover.net">wiki</a> under Chumby-related&#8230;
</div>
]]></content:encoded>
			<wfw:commentRss>http://henrygroover.net/blog/2008/06/22/chumbycam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back on the paper trail</title>
		<link>http://henrygroover.net/blog/2008/05/07/back-on-the-paper-trail/</link>
		<comments>http://henrygroover.net/blog/2008/05/07/back-on-the-paper-trail/#comments</comments>
		<pubDate>Wed, 07 May 2008 19:06:55 +0000</pubDate>
		<dc:creator>henry</dc:creator>
				<category><![CDATA[paper model]]></category>

		<guid isPermaLink="false">http://henrygroover.net/blog/?p=5</guid>
		<description><![CDATA[I was horrified to see how long it&#8217;s been since I&#8217;ve released an update to Papercut. I do have some lame excuses like &#8220;work has been keeping me busy&#8221; but it&#8217;s time to get back on the paper trail. I was in the middle of fixing image rotation, which would allow photo-dodecahedra to be more [...]]]></description>
			<content:encoded><![CDATA[<p>I was horrified to see how long it&#8217;s been since I&#8217;ve released an update to <a title="Home page for paper modelling software" href="http://paper-model.com" target="_self">Papercut</a>. I do have some lame excuses like &#8220;work has been keeping me busy&#8221; but it&#8217;s time to get back on the paper trail. I was in the middle of fixing image rotation, which would allow photo-dodecahedra to be more meaningful.</p>
]]></content:encoded>
			<wfw:commentRss>http://henrygroover.net/blog/2008/05/07/back-on-the-paper-trail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chumbotics &#8211; part 1</title>
		<link>http://henrygroover.net/blog/2008/05/06/chumbotics-101/</link>
		<comments>http://henrygroover.net/blog/2008/05/06/chumbotics-101/#comments</comments>
		<pubDate>Wed, 07 May 2008 02:59:49 +0000</pubDate>
		<dc:creator>henry</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[robotics]]></category>
		<category><![CDATA[chumby]]></category>

		<guid isPermaLink="false">http://henrygroover.net/blog/?p=3</guid>
		<description><![CDATA[A recent project I&#8217;ve had a lot of fun with involves using off-the-shelf components and some good old-fashioned software development.
It started out with my work at Chumby.com on the Flash Lite player. I needed to explore using a Flash movie for robotic control via RS-232.  The outcome is what I have here.
Ingredients:

Chumby. Cost: $180, [...]]]></description>
			<content:encoded><![CDATA[<p>A recent project I&#8217;ve had a lot of fun with involves using off-the-shelf components and some good old-fashioned software development.</p>
<p>It started out with my work at Chumby.com on the Flash Lite player. I needed to explore using a Flash movie for robotic control via RS-232.  The outcome is what I have here.</p>
<p>Ingredients:</p>
<ol>
<li>Chumby. Cost: $180, shipping included. Available from <a title="chumby.com" href="http://store.chumby.com/" target="_blank">chumby.com</a> (I work for chumby.com btw)</li>
<li>iRobot Create. Cost: $130 plus shipping from <a title="iRobot.com" href="http://store.irobot.com/product/index.jsp?productId=2598729&amp;cp=2174941.2600082&amp;parentPage=subcategory" target="_blank">irobot.com</a>, includes the serial cable. You&#8217;ll also need a <a title="rechargeable battery" href="http://store.irobot.com/product/index.jsp?productId=2600249&amp;cp=2174941.2600082&amp;parentPage=subcategory" target="_blank">rechargeable battery</a> ($59) and charger (either $69 for the home base charger or $35 for the <a title="12-hour brick charger" href="http://store.irobot.com/product/index.jsp?productId=2599806&amp;cp=2174947&amp;ab=OAS_IRBT%3ARoombaAccesssLP_400Series&amp;parentPage=subcategory" target="_blank">12-hour brick charger</a>). You can shell out $230 for the <a title="create, command and charge package" href="http://store.irobot.com/product/index.jsp?productId=2591900&amp;cp=2174940.2591511&amp;parentPage=family" target="_blank">create, command and charge package</a>, which will also include the ATMel-based command module (which you don&#8217;t need for this project but can be used for other robot projects). Total cost will be $230 minimum.</li>
<li>USB serial cable. Cost: $15-20 from Fry&#8217;s. The <a title="Q-stor USB to serial adapter" href="http://shop3.frys.com/%7ByYWJz+Tbgc2YzpHUptH+1w**.node1%7D/product/4475676;jsessionid=yYWJz+Tbgc2YzpHUptH+1w**.node1?site=sr:SEARCH:MAIN_RSLT_PG" target="_blank">Q-stor adapter</a> is one of the cheaper ones they stock and is $20 &#8211; there used to be a $15 GQ USB serial cable that also works. Any USB serial adapter that uses the pl2303 driver in linux will work.</li>
<li>9.6v rechargeable battery for the Chumby. You can get a <a title="1200mah ni-cad battery pack" href="http://shop3.frys.com/%7ByYWJz+Tbgc2YzpHUptH+1w**.node1%7D/product/3493783;jsessionid=yYWJz+Tbgc2YzpHUptH+1w**.node1?site=sr:SEARCH:MAIN_RSLT_PG" target="_blank">1200mah Ni-cad battery pack</a> from Fry&#8217;s used for R/C cars for about $15 (<a title="9.6v battery pack with 4-hour charger" href="http://shop3.frys.com/%7ByYWJz+Tbgc2YzpHUptH+1w**.node1%7D/product/3493773;jsessionid=yYWJz+Tbgc2YzpHUptH+1w**.node1?site=sr:SEARCH:MAIN_RSLT_PG" target="_blank">with charger</a>, $17). You&#8217;ll need to connect it to the 9V battery connector on the Chumby, which is accessible through the velcro opening on the bottom of the chumby. You&#8217;ll need to do a little cut and crimp to splice a <a title="9V battery snap connector" href="http://www.radioshack.com/product/index.jsp?productId=2062218&amp;cp=2032058.2032230.2032264&amp;parentPage=family" target="_blank">9V battery connector</a> onto the battery pack. Remember that the final result needs to have the same polarity as a battery, which means the color-coded red and black wires may be opposite from the wires on the 9.6v battery pack. Check the polarity of the final result to make sure it comes out the same as a regular 9V battery:
<p><a href="http://henrygroover.net/blog/wp-content/uploads/2008/05/imgp4327.jpg"><img class="alignnone size-medium wp-image-4" title="Battery terminal alignment" src="http://henrygroover.net/blog/wp-content/uploads/2008/05/imgp4327-300x225.jpg" alt="Correct polarity of 9V battery connector" width="300" height="225" /></a></li>
</ol>
<p>That&#8217;s it for the hardware components. The iRobot Create has a DB-25 connector in the cargo bay with a lot of potential for expansion. The next post will cover putting it together and doing some basic tests.</p>
]]></content:encoded>
			<wfw:commentRss>http://henrygroover.net/blog/2008/05/06/chumbotics-101/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
