<?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>todbot blog &#187; programming</title>
	<atom:link href="http://todbot.com/blog/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://todbot.com/blog</link>
	<description>Random experiments, circuits, code, rapid prototyping, sometimes things to buy, and the odd tune by Tod E. Kurt.</description>
	<lastBuildDate>Sun, 30 May 2010 23:51:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How To Do Big Strings in Arduino</title>
		<link>http://todbot.com/blog/2008/06/19/how-to-do-big-strings-in-arduino/</link>
		<comments>http://todbot.com/blog/2008/06/19/how-to-do-big-strings-in-arduino/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 05:08:29 +0000</pubDate>
		<dc:creator>todbot</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://todbot.com/blog/?p=267</guid>
		<description><![CDATA[<p>Arduino makes it pretty easy to store &#038; use character strings, but those strings compete with your variables, so you can&#8217;t do as much.  Here&#8217;s how to put big strings into read-only program memory and use them.</p>
<p>Lots of sketches can have big strings in them.  Maybe you&#8217;ve built a little command-line interface or you&#8217;re storing small web pages (for net-connected Arduinos).  Normally you do something like this:</p>

char hellostr[] =  "&#60;html>&#60;head>&#60;title>hello world&#60;/title>&#60;/head>"
                   "&#60;body>&#60;p align=center>&#60;h1>hello world&#60;/h1>&#60;/p>
     [...]]]></description>
		<wfw:commentRss>http://todbot.com/blog/2008/06/19/how-to-do-big-strings-in-arduino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;WiiChuck&#8221; Wii Nunchuck Adapter Available</title>
		<link>http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/</link>
		<comments>http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 02:41:17 +0000</pubDate>
		<dc:creator>todbot</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[blinkm]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[hardware-hacking]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[thingm]]></category>
		<category><![CDATA[ubicomp]]></category>

		<guid isPermaLink="false">http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/</guid>
		<description><![CDATA[<p>Want to hook up a Wii Nunchuck to an Arduino but don&#8217;t want to cut up the cord on  your Nunchuck?  Yeah me too.  So I made some of these:</p>
<p></p>
<p></p>
<p>It&#8217;s a small PCB that adapts the Wii Nunchuck connector to standard 4-pin header. I call it the &#8220;wiichuck adapter&#8221;. It plugs directly into the Arduino, no wiring necessary.  You can get one too for $4.</p>
<p>Available from the following wonderful shops:
-  FunGizmos.com. FREE DOMESTIC SHIPPING. International shipping for $1 more.
-   Tinker.it (UK)
-   Little Bird Electronics (Australia)
- Sparkfun.  Ships domestic &#038; internationally. [...]]]></description>
		<wfw:commentRss>http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/feed/</wfw:commentRss>
		<slash:comments>193</slash:comments>
		</item>
		<item>
		<title>In Processing, size() matters for Serial ports</title>
		<link>http://todbot.com/blog/2008/01/14/in-processing-size-matters-for-serial-ports/</link>
		<comments>http://todbot.com/blog/2008/01/14/in-processing-size-matters-for-serial-ports/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 04:20:45 +0000</pubDate>
		<dc:creator>todbot</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sketching]]></category>

		<guid isPermaLink="false">http://todbot.com/blog/2008/01/14/in-processing-size-matters-for-serial-ports/</guid>
		<description><![CDATA[<p>Mark Allen of Machine Project is teaching an Arduino course using some of the notes from my Bionic Arduino class.  He and his students were seeing in Windows XP &#038; 2000, when trying to getting Processing to talk to Arduino, the cryptic error:

  gnu.io.PortInUseException: Unknown Application
               at
  gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:354)

<p>Both his class and Mark and I separately spent a lot of time trying to figure out what the problem was.  Eventually we discovered that it&#8217;s because the sketch I had written had a setup() [...]]]></description>
		<wfw:commentRss>http://todbot.com/blog/2008/01/14/in-processing-size-matters-for-serial-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SpiroExplorer, a Spirograph toy</title>
		<link>http://todbot.com/blog/2006/06/03/spiroexplorer-a-spirograph-toy/</link>
		<comments>http://todbot.com/blog/2006/06/03/spiroexplorer-a-spirograph-toy/#comments</comments>
		<pubDate>Sun, 04 Jun 2006 06:31:14 +0000</pubDate>
		<dc:creator>todbot</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[ramblings]]></category>
		<category><![CDATA[roomba]]></category>

		<guid isPermaLink="false">http://todbot.com/blog/2006/06/03/spiroexplorer-a-spirograph-toy/</guid>
		<description><![CDATA[<p>So I&#8217;ve written a tool that can turn any parametric equation into a series of Roomba movement commands. Mostly, anyway.  The parametric equations I&#8217;m predominately focusing on are the hypotrochoid series of equations used in a Spirograph.</p>
<p>To explore the space of hypotrochoid curves I created SpiroExplorer, a simple Processing applet that lets you to adjust the equation parameters in real-time.  You can do the following things while it&#8217;s drawing:</p>
<p>- left/right arrows change &#8220;r&#8221;, the radius of the inner moving circle
- up/down arrows change &#8220;d&#8221;, the pen&#8217;s distance from center of the moving circle
- ,/. changes &#8220;R&#8221;, the radius [...]]]></description>
		<wfw:commentRss>http://todbot.com/blog/2006/06/03/spiroexplorer-a-spirograph-toy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RoombaComm library, release 0.95</title>
		<link>http://todbot.com/blog/2006/06/01/roombacomm-library-release-095/</link>
		<comments>http://todbot.com/blog/2006/06/01/roombacomm-library-release-095/#comments</comments>
		<pubDate>Fri, 02 Jun 2006 01:44:35 +0000</pubDate>
		<dc:creator>todbot</dc:creator>
				<category><![CDATA[hardware-hacking]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[roomba]]></category>

		<guid isPermaLink="false">http://todbot.com/blog/2006/06/01/roombacomm-library-release-095/</guid>
		<description><![CDATA[<p>RoombaComm is Java library for communicating and controlling the Roomba.  It works on any operating system that RXTX supports.  This includes Mac OS X, Linux, and Windows.  It also works with Processing.  It will soon work with Flash and Max/MSP.</p>
<p>It&#8217;s been a work in progress for several months and has gotten a little better as I work through improving it for the book.</p>
<p>Several bugs have been fixed, particularly with respect to Bluetooth on Windows. See the README for some info on that.</p>
<p>Tested systems:
- Mac OS X 10.4 (Tiger) : usb serial &#038; bluetooth
- Mac OS X [...]]]></description>
		<wfw:commentRss>http://todbot.com/blog/2006/06/01/roombacomm-library-release-095/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RoombaComm: Roomba Control &amp; Communications API, release 0</title>
		<link>http://todbot.com/blog/2006/02/14/roombacomm-roomba-control-communications-api-release-0/</link>
		<comments>http://todbot.com/blog/2006/02/14/roombacomm-roomba-control-communications-api-release-0/#comments</comments>
		<pubDate>Wed, 15 Feb 2006 07:15:07 +0000</pubDate>
		<dc:creator>todbot</dc:creator>
				<category><![CDATA[hardware-hacking]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[roomba]]></category>

		<guid isPermaLink="false">http://todbot.com/blog/2006/02/14/roombacomm-roomba-control-communications-api-release-0/</guid>
		<description><![CDATA[<p> Update: 
new version of RoombaComm released </p>
<p>As mentioned previously, I&#8217;ve started on a library to make Roomba-to-host-computer interfacing easier.  This is the zeroth release of such a library.</p>
<p>The goals of this library are:

 provide full access to the entire Roomba SCI protocol

 provide a set of higher-level functionality on top of the SCI protocol

 create a library that is as cross-platform as possible

 provide interfaces to high-level languages/environments like Java, Flash, Processing, Max/MSP, etc.

 allow someone who&#8217;s not an expert programmer utilize a rapid development environment like Processing to quickly manipulate the Roomba.


<p>Java was chosen as a language, [...]]]></description>
		<wfw:commentRss>http://todbot.com/blog/2006/02/14/roombacomm-roomba-control-communications-api-release-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Roomba Processing UI</title>
		<link>http://todbot.com/blog/2006/01/30/roomba-processing-ui/</link>
		<comments>http://todbot.com/blog/2006/01/30/roomba-processing-ui/#comments</comments>
		<pubDate>Mon, 30 Jan 2006 22:12:34 +0000</pubDate>
		<dc:creator>todbot</dc:creator>
				<category><![CDATA[hardware-hacking]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[roomba]]></category>

		<guid isPermaLink="false">http://todbot.com/blog/archives/2006/01/30/roomba-processing-interface/</guid>
		<description><![CDATA[<p>Been playing around with Processing to act as the Roomba telemetry console.  Here&#8217;s a little playable mock-up of what it might look like:

Click to play with it.  It&#8217;s sorta like a Virtual Roomba!</p>
]]></description>
		<wfw:commentRss>http://todbot.com/blog/2006/01/30/roomba-processing-ui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roomba Hacking via Serial Tether</title>
		<link>http://todbot.com/blog/2006/01/25/roomba-hacking-via-serial-tether/</link>
		<comments>http://todbot.com/blog/2006/01/25/roomba-hacking-via-serial-tether/#comments</comments>
		<pubDate>Wed, 25 Jan 2006 08:39:20 +0000</pubDate>
		<dc:creator>todbot</dc:creator>
				<category><![CDATA[hardware-hacking]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[roomba]]></category>

		<guid isPermaLink="false">http://todbot.com/blog/?p=73</guid>
		<description><![CDATA[<p>Note:
This post is pretty old and I&#8217;ve been continuing work on Roomba software.
Note:
For a more readable take on this, see this Makezine artcicle</p>
<p>A week ago I got my OSMO//hacker Roomba firmware updater from iRobot.  It worked like a charm, giving me a serial port to fully control the Roomba.</p>
<p>An interface was needed however, since the crazy mini-DIN 7-pin on the Roomba is very unstandard.  So the first attempt at a robust interface between a Roomba and a standard PC serial port is my Roomba Serial Interface:</p>
<p></p>
<p></p>
<p>The Roomba Serial Connector
It seems people are confused by the mini-DIN 7-pin connector, [...]]]></description>
		<wfw:commentRss>http://todbot.com/blog/2006/01/25/roomba-hacking-via-serial-tether/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Finally, something about the US government I&#8217;m proud of&#8230;</title>
		<link>http://todbot.com/blog/2004/04/26/finally-something-about-the-us-government-im-proud-of/</link>
		<comments>http://todbot.com/blog/2004/04/26/finally-something-about-the-us-government-im-proud-of/#comments</comments>
		<pubDate>Tue, 27 Apr 2004 03:17:00 +0000</pubDate>
		<dc:creator>todbot</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://todbot.com/blog/archives/2004/04/26/finally-something-about-the-us-government-im-proud-of/</guid>
		<description><![CDATA[<p>Dictionary of Algorithms and Data Structures</p>
]]></description>
		<wfw:commentRss>http://todbot.com/blog/2004/04/26/finally-something-about-the-us-government-im-proud-of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
