<?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>eriksmartt.com/blog &#187; arduino</title>
	<atom:link href="http://www.eriksmartt.com/blog/archives/tag/arduino/feed" rel="self" type="application/rss+xml" />
	<link>http://www.eriksmartt.com/blog</link>
	<description>my little chunk of bandwidth</description>
	<lastBuildDate>Wed, 08 Sep 2010 18:48:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>New Bookmark</title>
		<link>http://www.eriksmartt.com/blog/archives/1230</link>
		<comments>http://www.eriksmartt.com/blog/archives/1230#comments</comments>
		<pubDate>Thu, 14 Jan 2010 03:00:11 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[make]]></category>

		<guid isPermaLink="false">http://www.eriksmartt.com/blog/archives/1230</guid>
		<description><![CDATA[Leaf Labs : maple &#8211; Arduino-compatible board using a 72 MHz ARM Cortex M3 chip. Sounds like it&#39;s still a work in progress, but might offer Arduino hackers a more powerful alternative in the near future!]]></description>
			<content:encoded><![CDATA[<div class="bookmark"><a href="http://leaflabs.com/Maple">Leaf Labs : maple</a> &#8211; Arduino-compatible board using a 72 MHz ARM Cortex M3 chip. Sounds like it&#39;s still a work in progress, but might offer Arduino hackers a more powerful alternative in the near future!</div>]]></content:encoded>
			<wfw:commentRss>http://www.eriksmartt.com/blog/archives/1230/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Official Arduino Ethernet preview board&#8221;</title>
		<link>http://www.eriksmartt.com/blog/archives/444</link>
		<comments>http://www.eriksmartt.com/blog/archives/444#comments</comments>
		<pubDate>Tue, 13 May 2008 14:43:21 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[make]]></category>

		<guid isPermaLink="false">http://www.eriksmartt.com/blog/?p=444</guid>
		<description><![CDATA[Adding Internet connectivity to your Arduino projects might be getting a lot easier: (Via: Matt Biddulph) [Update: 2008-05-15] Those shopping for Arduino&#8217;s might also check out this new Arduino Nano: (Via Arduino Nano: all-in-one design for breadboard use.)]]></description>
			<content:encoded><![CDATA[<p>Adding Internet connectivity to your <a href="http://arduino.cc/">Arduino</a> projects might be getting a lot easier:</p>
<p><a href="http://flickr.com/photos/mbiddulph/2489332318/"><img src="http://farm3.static.flickr.com/2134/2489332318_2725a9f84a.jpg" border="0" width="500" height="333" alt="Official Arduino Ethernet preview board" /></a></p>
<p>(Via: <a href="http://twitter.com/mattb">Matt Biddulph</a>)</p>
<p>[Update: 2008-05-15]<br />
Those shopping for Arduino&#8217;s might also check out this new <a href="http://store.gravitech.us/arduino-nano1.html">Arduino Nano</a>:</p>
<p><a href="http://www.arduino.cc/blog/?p=39"><img src="http://www.arduino.cc/blog/wp-content/uploads/2008/05/arduino-nano.jpg" height="328" width="500" border="0" alt="Arduino Nano" /><a /><br />
</a></p>
<p>(Via <a href="http://www.arduino.cc/blog/?p=39">Arduino Nano: all-in-one design for breadboard use<a />.)</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.eriksmartt.com/blog/archives/444/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Adruino Diecimila board supposedly h&#8230;</title>
		<link>http://www.eriksmartt.com/blog/archives/397</link>
		<comments>http://www.eriksmartt.com/blog/archives/397#comments</comments>
		<pubDate>Thu, 23 Aug 2007 04:03:58 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.eriksmartt.com/blog/archives/397</guid>
		<description><![CDATA[The Adruino Diecimila board supposedly has circuit protection to ensure that one doesn&#8217;t fry their computer accidentally, but just in case, I figured it might be better to use a spare machine for my Arduino hacking. I happened to have an older PowerBook that fits the bill perfectly; however, I run Ubuntu PPC on it, [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.arduino.cc/">Adruino</a> Diecimila board supposedly has circuit protection to ensure that one doesn&#8217;t fry their computer accidentally, but just in case, I figured it might be better to use a spare machine for my Arduino hacking.  I happened to have an older PowerBook that fits the bill perfectly; however, I run Ubuntu PPC on it, and it didn&#8217;t take long for me to realize that neither the Arduino OS X or Linux builds would work on it.</p>
<p>Not to be discouraged, some quick googling led to the instructions on patching up the OS X release for Ubuntu PPC.  However, a little more googling dug up something much more interesting: <strike>Arduino from the Command Line</strike> [Update 10/08/17: <a href="http://arduino.cc/en/Hacking/BuildProcess">Build Process</a>.]</p>
<p>It&#8217;s not obvious while using the Arduino/Wiring IDE, but you&#8217;re really just writing C without includes and prototypes.  When you save, the IDE patches up your code, then passes it to gcc-avr for compiling and avrdude for flashing.  Therefore, if you&#8217;re so inclined (or happen to prefer vi and be on a non-supported platform), one can simply add the extra code manually and build/flash yourself.</p>
<p>The docs on this (linked above) tell the story, but they&#8217;re a little out of date (since they reference release 0007.)  You still need to &#8220;sudo apt-get install gcc-avr avr-libc avrdude&#8221;, but after that, download the &#8220;Arduino 0009 installer for Linux&#8221; [the newest at the time of writing] instead, uncompress it, and look in &#8220;lib/targets/arduino/&#8221; for the Makefile and libraries you need.  Read the comments in the Makefile &#8212; they explain it all quite well.</p>
<p>Once you stash the libraries somewhere handy, starting a new project goes like this:</p>
<ol>
<li>Create a new directory to work in</li>
<li>Write your Arduino code as a *.cpp instead of a *.pde file</li>
<li>Copy and modify the Makefile for your project</li>
<li>Run &#8216;make&#8217; to compile it</li>
<li>Run &#8216;make upload&#8217; to flash your code to the Arduino</li>
</ol>
<p>It&#8217;s not as simple as the IDE, but it works, it lets you use any text editor you want, and gets you a little closer to whats going on behind the scenes.</p>
<p>For those curious, I&#8217;ve included an example of how the supplied &#8220;Blink&#8221; sample looks once modified for command-line building.  It&#8217;s a bit longer&#8230; but still manageable:</p>
<pre><code>
/*
 * Blink (modified for command-line building)
 *
 * The basic Arduino example.  Turns on an LED on for one second,
 * then off for one second, and so on...  We use pin 13 because,
 * depending on your Arduino board, it has either a built-in LED
 * or a built-in resistor so that you need only an LED.
 *
 * <a href="http://www.arduino.cc/en/Tutorial/Blink" rel="nofollow">http://www.arduino.cc/en/Tutorial/Blink</a>
 */

#include &lt;WProgram.h&gt;

void setup();
void loop();
int main();

int ledPin = 13;                // LED connected to digital pin 13

void setup()                    // run once, when the sketch starts
{
  pinMode(ledPin, OUTPUT);      // sets the digital pin as output
}

void loop()                     // run over and over again
{
  digitalWrite(ledPin, HIGH);   // sets the LED on
  delay(1000);                  // waits for a second
  digitalWrite(ledPin, LOW);    // sets the LED off
  delay(1000);                  // waits for a second
}

int main() {
  init();
  setup();

  for (;;)
    loop();

  return 0;
}
</code></pre>]]></content:encoded>
			<wfw:commentRss>http://www.eriksmartt.com/blog/archives/397/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Arduino says Hello</title>
		<link>http://www.eriksmartt.com/blog/archives/394</link>
		<comments>http://www.eriksmartt.com/blog/archives/394#comments</comments>
		<pubDate>Wed, 22 Aug 2007 05:36:57 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://www.eriksmartt.com/blog/archives/394</guid>
		<description><![CDATA[I finally got my first Arduino board last week (a Diecimila, to be specific.) It&#8217;s been on my list of &#8220;things I want to hack on&#8221; for awhile, so I eagerly awaited it&#8217;s arrival. It&#8217;s been a good ten years since I&#8217;ve built anything in the Art Installation / Physical Computing genre &#8212; which is [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm2.static.flickr.com/1403/1198914415_85c889656f.jpg" width="500" height="375" alt="18082007460" /></p>
<p>I finally got my first <a href="http://www.arduino.cc/">Arduino</a> board last week (a <a href="http://www.arduino.cc/en/Main/ArduinoBoardDiecimila">Diecimila</a>, to be specific.)  It&#8217;s been on my list of &#8220;things I want to hack on&#8221; for awhile, so I eagerly awaited it&#8217;s arrival.  It&#8217;s been a good ten years since I&#8217;ve built anything in the Art Installation / <a href="http://en.wikipedia.org/wiki/Physical_computing">Physical Computing</a> genre &#8212; which is ten years way too long.</p>
<p>In preparation for my first weekend with the Arduino, I hit up <a href="http://www.sparkfun.com/">SparkFun</a> and a local electronics store for a handful of little gizmos to wire up.  I&#8217;m still a newbie when it comes to designing electronics (though to be honest, that&#8217;s part of the fun), so I started off by following the &#8220;<a href="http://todbot.com/blog/spookyarduino/">Spooky Projects &#8211; Introduction to Microcontrollers with Aurdino</a>&#8221; lessons.  With the Spooky Projects built (minus the glowing skull, unfortunately), I wrapped up the weekend experimenting with potentiometers as the controls for animation timing in a few late-night, generative-art pieces I&#8217;ve built using <a href="http://processing.org/">Processing</a>.</p>
<p>So far it&#8217;s all good fun &#8212; and something I&#8217;d definitely encourage folks to try.</p>]]></content:encoded>
			<wfw:commentRss>http://www.eriksmartt.com/blog/archives/394/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
