<?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/"
	xmlns:series="http://organizeseries.com/"
	>

<channel>
	<title>Unexpected Development</title>
	<atom:link href="http://www.unexpecteddevelopment.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unexpecteddevelopment.net</link>
	<description></description>
	<lastBuildDate>Sat, 23 Feb 2013 17:48:26 +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>
		<item>
		<title>BOCS Continues its Long Journey</title>
		<link>http://www.unexpecteddevelopment.net/2012/01/bocs-continues-its-long-journey/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bocs-continues-its-long-journey</link>
		<comments>http://www.unexpecteddevelopment.net/2012/01/bocs-continues-its-long-journey/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 15:11:49 +0000</pubDate>
		<dc:creator>Daniel Loughmiller</dc:creator>
				<category><![CDATA[Community Projects]]></category>

		<guid isPermaLink="false">http://www.unexpecteddevelopment.net/?p=1316</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/community-projects/" title="Community Projects">Community Projects</a></p>After many weeks the Netduino community BOCS project continues to float around the country. Netduino community members who wish to receive the BOCS can view more information on our community forum.]]></description>
				<content:encoded><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/community-projects/" title="Community Projects">Community Projects</a></p><div class="seriesmeta">This entry is part 4 of 4 in the series <a href="http://www.unexpecteddevelopment.net/series/box-of-crappy-surplus/" class="series-43" title="Box of Crappy Surplus">Box of Crappy Surplus</a></div><p>After many weeks the Netduino community BOCS project continues to float around the country. Netduino community members who wish to receive the BOCS can view more information on our community forum entry <a href="http://forums.netduino.com/index.php?/topic/2481-whats-in-the-magical-mysterious-box-of-crappy-surplus/">here</a>. It&#8217;s progress can be seen on the map below which is periodically updated.</p>
<p><iframe src="http://maps.google.com/maps/ms?msa=0&amp;msid=218040416573614569605.0004ad2c4ded642b63aa3&amp;hl=en&amp;ie=UTF8&amp;ll=37.739508,-96.355176&amp;spn=40.859159,70.940698&amp;t=h&amp;output=embed" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="525" height="350"></iframe><br />
<small>View <a style="color: #0000ff; text-align: left;" href="http://maps.google.com/maps/ms?msa=0&amp;msid=218040416573614569605.0004ad2c4ded642b63aa3&amp;hl=en&amp;ie=UTF8&amp;ll=37.739508,-96.355176&amp;spn=19.859159,51.940698&amp;t=h&amp;source=embed">BOCS Route</a> in a larger map</small></p>
<h4>Resources:</h4>
<ol>
<li><a href="http://forums.netduino.com/index.php?/topic/2481-whats-in-the-magical-mysterious-box-of-crappy-surplus/" target="_blank">http://forums.netduino.com/index.php?/topic/2481-whats-in-the-magical-mysterious-box-of-crappy-surplus/</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.unexpecteddevelopment.net/2012/01/bocs-continues-its-long-journey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Box of Crappy Surplus]]></series:name>
	</item>
		<item>
		<title>Fun with 8 LEDs and the Netduino</title>
		<link>http://www.unexpecteddevelopment.net/2011/10/fun-with-8-leds-and-the-netduino/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fun-with-8-leds-and-the-netduino</link>
		<comments>http://www.unexpecteddevelopment.net/2011/10/fun-with-8-leds-and-the-netduino/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 17:41:17 +0000</pubDate>
		<dc:creator>Daniel Loughmiller</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.unexpecteddevelopment.net/?p=1360</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/uncategorized/" title="Uncategorized">Uncategorized</a></p>This entry is part 2 of 2 in the series Netduino Experimenters KitWe have caused one LED to blink, now it&#8217;s time to up the stakes. Lets connect eight. We&#8217;ll also have an opportunity to stretch the Netduino a bit by creating various lighting sequences. This circuit is also a nice setup to experiment with [...]]]></description>
				<content:encoded><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/uncategorized/" title="Uncategorized">Uncategorized</a></p><div class="seriesmeta">This entry is part 2 of 2 in the series <a href="http://www.unexpecteddevelopment.net/series/netduino-experimenters-kit/" class="series-50" title="Netduino Experimenters Kit">Netduino Experimenters Kit</a></div><div class="reus-1337"><p class="intro-block sparkfun-intro-block">SparkFun.com offers a reasonably priced <a href="http://www.sparkfun.com/products/10173" target="_blank&quot;">Inventor's Kit</a> for people new to electronics. It currently only offers this bundled with an Arduino Uno, however in the hopes that it will offer a Netduino version, or one without a bundled microcontroller, or simply for people interested in learning multiple platforms, I'm converting the code to a .NET/C# version. The materials of the kit are released under the Creative Commons license. Many of the images, diagrams, and other materials below came directly from or were derived from SparkFun/.:OOMLOUT:.</p></div>
<p>We have caused one LED to blink, now it&#8217;s time to up the stakes. Lets connect eight. We&#8217;ll also have an opportunity to stretch the Netduino a bit by creating various lighting sequences. This circuit is also a nice setup to experiment with writing your own programs and getting a feel for how the Netduino works. Along with controlling the LEDs we start looking into a few simple programming methods to keep your programs small.</p>
<p>for() loops &#8211; used when you want to run a piece of code several times. arrays[] &#8211; used to make managing variables easier (it&#8217;s a group of variables).<br />
<a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2012/04/circ02.jpg"><img class="alignnone  wp-image-1361" title="circ02" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2012/04/circ02.jpg" alt="" width="513" height="408" /></a></p>
<h3>Parts Required</h3>
<ul>
<li>Breadboard</li>
<li>8x 5mm Yellow LED (or any color you&#8217;d like)</li>
<li>Jumper wire</li>
<li>8x 330ohm resistor (orange-orange-brown)</li>
</ul>
<h3>Project Code</h3>

<div class="wp_syntax"><table><tr><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Threading</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">Microsoft.SPOT</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">Microsoft.SPOT.Hardware</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">SecretLabs.NETMF.Hardware</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">SecretLabs.NETMF.Hardware.Netduino</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">namespace</span> CIRC_02
<span style="color: #008000;">&#123;</span>
    <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">class</span> Program
    <span style="color: #008000;">&#123;</span>
        <span style="color: #008080; font-style: italic;">//Arrays are groups of variables</span>
        <span style="color: #0600FF; font-weight: bold;">static</span> OutputPort<span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> leds <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OutputPort<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">8</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">;</span>
&nbsp;
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> Main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #008080; font-style: italic;">//Setup all 8 LED OutputPorts, one for each connected pin</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OutputPort<span style="color: #008000;">&#40;</span>Pins<span style="color: #008000;">.</span><span style="color: #0000FF;">GPIO_PIN_D2</span>, <span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">1</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OutputPort<span style="color: #008000;">&#40;</span>Pins<span style="color: #008000;">.</span><span style="color: #0000FF;">GPIO_PIN_D3</span>, <span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">2</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OutputPort<span style="color: #008000;">&#40;</span>Pins<span style="color: #008000;">.</span><span style="color: #0000FF;">GPIO_PIN_D4</span>, <span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">3</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OutputPort<span style="color: #008000;">&#40;</span>Pins<span style="color: #008000;">.</span><span style="color: #0000FF;">GPIO_PIN_D5</span>, <span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">4</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OutputPort<span style="color: #008000;">&#40;</span>Pins<span style="color: #008000;">.</span><span style="color: #0000FF;">GPIO_PIN_D6</span>, <span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">5</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OutputPort<span style="color: #008000;">&#40;</span>Pins<span style="color: #008000;">.</span><span style="color: #0000FF;">GPIO_PIN_D7</span>, <span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">6</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OutputPort<span style="color: #008000;">&#40;</span>Pins<span style="color: #008000;">.</span><span style="color: #0000FF;">GPIO_PIN_D8</span>, <span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">7</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OutputPort<span style="color: #008000;">&#40;</span>Pins<span style="color: #008000;">.</span><span style="color: #0000FF;">GPIO_PIN_D9</span>, <span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
&nbsp;
            <span style="color: #0600FF; font-weight: bold;">while</span> <span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                oneAfterAnotherNoLoop<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                <span style="color: #008080; font-style: italic;">//oneAfterAnotherLoop();</span>
                <span style="color: #008080; font-style: italic;">//oneOnAtATime();</span>
                <span style="color: #008080; font-style: italic;">//inAndOut();</span>
            <span style="color: #008000;">&#125;</span>
        <span style="color: #008000;">&#125;</span>
&nbsp;
        <span style="color: #008080; font-style: italic;">/// &lt;summary&gt;</span>
        <span style="color: #008080; font-style: italic;">/// Will light one LED then delay for delayTime then light</span>
        <span style="color: #008080; font-style: italic;">/// the next LED until all LEDs are on it will then turn them off one after another.</span>
        <span style="color: #008080; font-style: italic;">/// This does not use a loop and is similar to the method used in CIRC-01</span>
        <span style="color: #008080; font-style: italic;">/// &lt;/summary&gt;</span>
        <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> oneAfterAnotherNoLoop<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #6666cc; font-weight: bold;">int</span> delayTime <span style="color: #008000;">=</span> <span style="color: #FF0000;">100</span><span style="color: #008000;">;</span>
&nbsp;
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">2</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">3</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">4</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">5</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">6</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">7</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">7</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">6</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">5</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">4</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">3</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">2</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            leds<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #008000;">&#125;</span>
&nbsp;
        <span style="color: #008080; font-style: italic;">/// &lt;summary&gt;</span>
        <span style="color: #008080; font-style: italic;">/// Will light one LED then delay for delayTime then light</span>
        <span style="color: #008080; font-style: italic;">/// the next LED until all LEDs are on it will then turn them off one after another</span>
        <span style="color: #008080; font-style: italic;">/// </span>
        <span style="color: #008080; font-style: italic;">/// This does it using a loop which makes for a lot less typing.</span>
        <span style="color: #008080; font-style: italic;">/// &lt;/summary&gt;</span>
        <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> oneAfterAnotherLoop<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #6666cc; font-weight: bold;">int</span> delayTime <span style="color: #008000;">=</span> <span style="color: #FF0000;">100</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF; font-weight: bold;">for</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">int</span> i <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span> i <span style="color: #008000;">&lt;=</span> <span style="color: #FF0000;">7</span><span style="color: #008000;">;</span> i<span style="color: #008000;">++</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                leds<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
&nbsp;
            <span style="color: #0600FF; font-weight: bold;">for</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">int</span> i <span style="color: #008000;">=</span> <span style="color: #FF0000;">7</span><span style="color: #008000;">;</span> i <span style="color: #008000;">&gt;=</span> <span style="color: #FF0000;">7</span><span style="color: #008000;">;</span> i<span style="color: #008000;">--</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                leds<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
        <span style="color: #008000;">&#125;</span>
&nbsp;
        <span style="color: #008080; font-style: italic;">/// &lt;summary&gt;</span>
        <span style="color: #008080; font-style: italic;">/// Will light one LED then the next turning off all the others</span>
        <span style="color: #008080; font-style: italic;">/// &lt;/summary&gt;</span>
        <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> oneOnAtATime<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #6666cc; font-weight: bold;">int</span> delayTime <span style="color: #008000;">=</span> <span style="color: #FF0000;">100</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF; font-weight: bold;">for</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">int</span> i <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span> i <span style="color: #008000;">&lt;=</span> <span style="color: #FF0000;">7</span><span style="color: #008000;">;</span> i<span style="color: #008000;">++</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                <span style="color: #6666cc; font-weight: bold;">int</span> offLED <span style="color: #008000;">=</span> i <span style="color: #008000;">-</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">;</span>
                <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>i <span style="color: #008000;">==</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">&#41;</span>
                <span style="color: #008000;">&#123;</span>
                    offLED <span style="color: #008000;">=</span> <span style="color: #FF0000;">7</span><span style="color: #008000;">;</span>
                <span style="color: #008000;">&#125;</span>
&nbsp;
                leds<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                leds<span style="color: #008000;">&#91;</span>offLED<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
        <span style="color: #008000;">&#125;</span>
&nbsp;
&nbsp;
        <span style="color: #008080; font-style: italic;">/// &lt;summary&gt;</span>
        <span style="color: #008080; font-style: italic;">/// This will turn on the two middle LEDs then the next two out</span>
        <span style="color: #008080; font-style: italic;">/// making an in and out look</span>
        <span style="color: #008080; font-style: italic;">/// &lt;/summary&gt;</span>
        <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> inAndOut<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #6666cc; font-weight: bold;">int</span> delayTime <span style="color: #008000;">=</span> <span style="color: #FF0000;">100</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">//runs the LEDs out from the middle</span>
            <span style="color: #0600FF; font-weight: bold;">for</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">int</span> i <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span> i <span style="color: #008000;">&lt;=</span> <span style="color: #FF0000;">3</span><span style="color: #008000;">;</span> i<span style="color: #008000;">++</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                <span style="color: #6666cc; font-weight: bold;">int</span> offLED <span style="color: #008000;">=</span> i <span style="color: #008000;">-</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">;</span>     <span style="color: #008080; font-style: italic;">//Calculate which LED was turned on last time through</span>
                <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>i <span style="color: #008000;">==</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">&#41;</span>
                <span style="color: #008000;">&#123;</span>                       <span style="color: #008080; font-style: italic;">//for i = 1 to 7 this is i minus 1 (i.e. if i = 2 we will</span>
                    offLED <span style="color: #008000;">=</span> <span style="color: #FF0000;">3</span><span style="color: #008000;">;</span>         <span style="color: #008080; font-style: italic;">//turn on LED 2 and off LED 1)</span>
                <span style="color: #008000;">&#125;</span>                       <span style="color: #008080; font-style: italic;">//however if i = 0 we don't want to turn of led -1 (doesn't exist)</span>
                                        <span style="color: #008080; font-style: italic;">//instead we turn off LED 7, (looping around)</span>
                <span style="color: #6666cc; font-weight: bold;">int</span> onLED1 <span style="color: #008000;">=</span> <span style="color: #FF0000;">3</span> <span style="color: #008000;">-</span> i<span style="color: #008000;">;</span>     <span style="color: #008080; font-style: italic;">//this is the first LED to go on ie. LED #3 when i = 0 and LED </span>
                <span style="color: #008080; font-style: italic;">//#0 when i = 3 </span>
                <span style="color: #6666cc; font-weight: bold;">int</span> onLED2 <span style="color: #008000;">=</span> <span style="color: #FF0000;">4</span> <span style="color: #008000;">+</span> i<span style="color: #008000;">;</span>     <span style="color: #008080; font-style: italic;">//this is the first LED to go on ie. LED #4 when i = 0 and LED </span>
                <span style="color: #008080; font-style: italic;">//#7 when i = 3 </span>
                <span style="color: #6666cc; font-weight: bold;">int</span> offLED1 <span style="color: #008000;">=</span> <span style="color: #FF0000;">3</span> <span style="color: #008000;">-</span> offLED<span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">//turns off the LED we turned on last time</span>
                <span style="color: #6666cc; font-weight: bold;">int</span> offLED2 <span style="color: #008000;">=</span> <span style="color: #FF0000;">4</span> <span style="color: #008000;">+</span> offLED<span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">//turns off the LED we turned on last time</span>
&nbsp;
                leds<span style="color: #008000;">&#91;</span>onLED1<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                leds<span style="color: #008000;">&#91;</span>onLED2<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                leds<span style="color: #008000;">&#91;</span>offLED1<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                leds<span style="color: #008000;">&#91;</span>offLED2<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">//runs the LEDs into the middle</span>
            <span style="color: #0600FF; font-weight: bold;">for</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">int</span> i <span style="color: #008000;">=</span> <span style="color: #FF0000;">3</span><span style="color: #008000;">;</span> i <span style="color: #008000;">&gt;=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span> i<span style="color: #008000;">--</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                <span style="color: #6666cc; font-weight: bold;">int</span> offLED <span style="color: #008000;">=</span> i <span style="color: #008000;">+</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">;</span>  <span style="color: #008080; font-style: italic;">//Calculate which LED was turned on last time through</span>
                <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>i <span style="color: #008000;">==</span> <span style="color: #FF0000;">3</span><span style="color: #008000;">&#41;</span>
                <span style="color: #008000;">&#123;</span>         <span style="color: #008080; font-style: italic;">//for i = 1 to 7 this is i minus 1 (i.e. if i = 2 we will</span>
                    offLED <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>        <span style="color: #008080; font-style: italic;">//turn on LED 2 and off LED 1)</span>
                <span style="color: #008000;">&#125;</span>                    <span style="color: #008080; font-style: italic;">//however if i = 0 we don't want to turn of led -1 (doesn't exist)</span>
                <span style="color: #008080; font-style: italic;">//instead we turn off LED 7, (looping around)</span>
                <span style="color: #6666cc; font-weight: bold;">int</span> onLED1 <span style="color: #008000;">=</span> <span style="color: #FF0000;">3</span> <span style="color: #008000;">-</span> i<span style="color: #008000;">;</span>       <span style="color: #008080; font-style: italic;">//this is the first LED to go on ie. LED #3 when i = 0 and LED </span>
                <span style="color: #008080; font-style: italic;">//#0 when i = 3 </span>
                <span style="color: #6666cc; font-weight: bold;">int</span> onLED2 <span style="color: #008000;">=</span> <span style="color: #FF0000;">4</span> <span style="color: #008000;">+</span> i<span style="color: #008000;">;</span>       <span style="color: #008080; font-style: italic;">//this is the first LED to go on ie. LED #4 when i = 0 and LED </span>
                <span style="color: #008080; font-style: italic;">//#7 when i = 3 </span>
                <span style="color: #6666cc; font-weight: bold;">int</span> offLED1 <span style="color: #008000;">=</span> <span style="color: #FF0000;">3</span> <span style="color: #008000;">-</span> offLED<span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">//turns off the LED we turned on last time</span>
                <span style="color: #6666cc; font-weight: bold;">int</span> offLED2 <span style="color: #008000;">=</span> <span style="color: #FF0000;">4</span> <span style="color: #008000;">+</span> offLED<span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">//turns off the LED we turned on last time</span>
&nbsp;
                leds<span style="color: #008000;">&#91;</span>onLED1<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                leds<span style="color: #008000;">&#91;</span>onLED2<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                leds<span style="color: #008000;">&#91;</span>offLED1<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                leds<span style="color: #008000;">&#91;</span>offLED2<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span>delayTime<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
        <span style="color: #008000;">&#125;</span>
&nbsp;
    <span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<h3>How It Works</h3>
<p>This time we use an array of OutputPorts. The array is specified by the square brackets [] in the declaration. Also of note, the declaraction for &#8216;leds&#8217; is outside of the void Main() function. This is necessary because we need to use that variables in all of our functions. If we declared it within the Main() function it would not be available to any other function.</p>
<p>By storing these values in an array we allow ourselves to simplify code using loop structures. It&#8217;s worth reading over the code for the oneAfterAnotherNoLoop() and oneAfterAnotherLoop() functions. These two functions produce identical output, however the latter is far simplier due to it&#8217;s use of loops.</p>
<p>Two additional functions, oneOnAtATime() and inAndOut() both produce other lighting effects. The code is fairly simple and is using simple math to determine which LEDs to turn on and off in a given loop iteration. You can change which function is run by commenting and uncommenting which function is called during the while loop within the Main() function.</p>
<h3>Further Learning</h3>
<ol>
<li>Try all 4 lighting modes and compare the output to the code</li>
<li>Create a new lighting mode that turns only the odd LEDs on, then only the even ones</li>
<li>Invent your own lighting mode</li>
<li>Add a 9th LED and update the lighting modes to work with the additional OutputPort</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.unexpecteddevelopment.net/2011/10/fun-with-8-leds-and-the-netduino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Netduino Experimenters Kit]]></series:name>
	</item>
		<item>
		<title>Making an LED Blink with Netduino</title>
		<link>http://www.unexpecteddevelopment.net/2011/10/making-an-led-blink-with-netduino/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=making-an-led-blink-with-netduino</link>
		<comments>http://www.unexpecteddevelopment.net/2011/10/making-an-led-blink-with-netduino/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 21:59:49 +0000</pubDate>
		<dc:creator>Daniel Loughmiller</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Netduino]]></category>
		<category><![CDATA[Sparkfun]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.unexpecteddevelopment.net/?p=1334</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/tutorials/" title="Tutorials">Tutorials</a></p>This entry is part 1 of 2 in the series Netduino Experimenters KitLEDs (light emitting diodes) are used in all sorts of clever things which is why we have included them in this kit. We will start off with something very simple, turning one on and off, repeatedly, producing a pleasant blinking effect. To get [...]]]></description>
				<content:encoded><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/tutorials/" title="Tutorials">Tutorials</a></p><div class="seriesmeta">This entry is part 1 of 2 in the series <a href="http://www.unexpecteddevelopment.net/series/netduino-experimenters-kit/" class="series-50" title="Netduino Experimenters Kit">Netduino Experimenters Kit</a></div><div class="reus-1337"><p class="intro-block sparkfun-intro-block">SparkFun.com offers a reasonably priced <a href="http://www.sparkfun.com/products/10173" target="_blank&quot;">Inventor's Kit</a> for people new to electronics. It currently only offers this bundled with an Arduino Uno, however in the hopes that it will offer a Netduino version, or one without a bundled microcontroller, or simply for people interested in learning multiple platforms, I'm converting the code to a .NET/C# version. The materials of the kit are released under the Creative Commons license. Many of the images, diagrams, and other materials below came directly from or were derived from SparkFun/.:OOMLOUT:.</p></div>
<p>LEDs (light emitting diodes) are used in all sorts of clever things which is why we have included them in this kit. We will start off with something very simple, turning one on and off, repeatedly, producing a pleasant blinking effect. To get started, grab the parts listed below, pin the layout sheet to your breadboard and then plug everything in. Once the circuit is assembled you&#8217;ll need to upload the program. Start a new Netduino project in Visual Studio and use the code example below to create your programs. Ensure you&#8217;ve selected the Netduino USB device to deploy to (see the other beginner tutorials for instructions) and run the program to deploy the program to your device.<br />
<a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2012/02/circ01.jpg"><img class="alignnone  wp-image-1342" title="circ01" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2012/02/circ01.jpg" alt="" width="488" height="390" /></a></p>
<h3>Parts Required</h3>
<ul>
<li>Breadboard</li>
<li>5mm Yellow LED (or any color you&#8217;d like)</li>
<li>Jumper wire</li>
<li>330ohm resistor (orange-orange-brown)</li>
</ul>
<h3>Project Code</h3>

<div class="wp_syntax"><table><tr><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Threading</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">Microsoft.SPOT</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">Microsoft.SPOT.Hardware</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">SecretLabs.NETMF.Hardware</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">SecretLabs.NETMF.Hardware.Netduino</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">namespace</span> CIRC_01
<span style="color: #008000;">&#123;</span>
    <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">class</span> Program
    <span style="color: #008000;">&#123;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> Main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #008080; font-style: italic;">//Create an Output port to control an LED on digital pin 13</span>
            OutputPort led <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OutputPort<span style="color: #008000;">&#40;</span>Pins<span style="color: #008000;">.</span><span style="color: #0000FF;">GPIO_PIN_D13</span>, <span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">//A while-loop will make our code loop indefinitely</span>
            <span style="color: #0600FF; font-weight: bold;">while</span> <span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                led<span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">1000</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
                led<span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">1000</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
&nbsp;
        <span style="color: #008000;">&#125;</span>
&nbsp;
    <span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<h3>How It Works</h3>
<p>First an instance of an OutputPort is declared, named &#8216;led&#8217; and tied to GPIO pin 13, which is where we connected the LED. It&#8217;s initial value is set to false (off).</p>
<p>An endless loop then cycles between two states. led.Write(true); sets the pin to HIGH which turns on the LED, likewise turning it to false turns off the pin and LED. Thread.Sleep(1000); instructs the microcontroller to &#8220;sleep&#8221;, or wait, for 1000 milliseconds, 1 second.</p>
<h3>Results</h3>
<p><iframe src="http://www.youtube.com/embed/MqriRGItz9U" frameborder="0" width="425" height="349"></iframe></p>
<h3>Further Learning</h3>
<ol>
<li>Make the flashing faster or slower</li>
<li>Make the flashing durations different (on for 2 seconds, off for 1)</li>
<li>Connect the LED to a different IO pin on the netduino and change the code to work with the new pin</li>
<li>Connect a second LED which is on when the first one is off</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.unexpecteddevelopment.net/2011/10/making-an-led-blink-with-netduino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Netduino Experimenters Kit]]></series:name>
	</item>
		<item>
		<title>BOCS reaches it&#8217;s first member</title>
		<link>http://www.unexpecteddevelopment.net/2011/09/bocs-reaches-its-first-member/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bocs-reaches-its-first-member</link>
		<comments>http://www.unexpecteddevelopment.net/2011/09/bocs-reaches-its-first-member/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 17:23:08 +0000</pubDate>
		<dc:creator>Daniel Loughmiller</dc:creator>
				<category><![CDATA[Community Projects]]></category>

		<guid isPermaLink="false">http://www.unexpecteddevelopment.net/?p=1308</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/community-projects/" title="Community Projects">Community Projects</a></p>This entry is part 3 of 4 in the series Box of Crappy SurplusThe BOCS  project has reached it&#8217;s first member after being mailed a few days late. The map below will track it&#8217;s journey. View BOCS Route in a larger map]]></description>
				<content:encoded><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/community-projects/" title="Community Projects">Community Projects</a></p><div class="seriesmeta">This entry is part 3 of 4 in the series <a href="http://www.unexpecteddevelopment.net/series/box-of-crappy-surplus/" class="series-43" title="Box of Crappy Surplus">Box of Crappy Surplus</a></div><p>The BOCS  project has reached it&#8217;s first member after being mailed a few days late. The map below will track it&#8217;s journey.</p>
<p><iframe src="http://maps.google.com/maps/ms?msa=0&amp;msid=218040416573614569605.0004ad2c4ded642b63aa3&amp;hl=en&amp;ie=UTF8&amp;ll=37.09024,-95.712891&amp;spn=30.859159,61.940698&amp;t=h&amp;vpsrc=6&amp;output=embed" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="525" height="450"></iframe><br />
<small>View <a style="color: #0000ff; text-align: left;" href="http://maps.google.com/maps/ms?msa=0&amp;msid=218040416573614569605.0004ad2c4ded642b63aa3&amp;hl=en&amp;ie=UTF8&amp;ll=37.09024,-95.712891&amp;spn=19.859159,51.940698&amp;t=h&amp;vpsrc=6&amp;source=embed">BOCS Route</a> in a larger map</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.unexpecteddevelopment.net/2011/09/bocs-reaches-its-first-member/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Box of Crappy Surplus]]></series:name>
	</item>
		<item>
		<title>The BOCS is Out the Door</title>
		<link>http://www.unexpecteddevelopment.net/2011/09/the-bocs-is-out-the-door/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-bocs-is-out-the-door</link>
		<comments>http://www.unexpecteddevelopment.net/2011/09/the-bocs-is-out-the-door/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 21:14:22 +0000</pubDate>
		<dc:creator>Daniel Loughmiller</dc:creator>
				<category><![CDATA[Community Projects]]></category>

		<guid isPermaLink="false">http://www.unexpecteddevelopment.net/?p=1302</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/community-projects/" title="Community Projects">Community Projects</a></p>This entry is part 2 of 4 in the series Box of Crappy SurplusJust finished packing up the BOCS (Box of Crappy Surplus), a traveling &#8216;exchange program&#8217; for miscellaneous maker materials. The exact contents of the box aren&#8217;t being listed but instead will be discovered as people hopefully find them useful and talk about the [...]]]></description>
				<content:encoded><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/community-projects/" title="Community Projects">Community Projects</a></p><div class="seriesmeta">This entry is part 2 of 4 in the series <a href="http://www.unexpecteddevelopment.net/series/box-of-crappy-surplus/" class="series-43" title="Box of Crappy Surplus">Box of Crappy Surplus</a></div><p>Just finished packing up the BOCS (Box of Crappy Surplus), a traveling &#8216;exchange program&#8217; for miscellaneous maker materials. The exact contents of the box aren&#8217;t being listed but instead will be discovered as people hopefully find them useful and talk about the interesting projects they&#8217;re doing with them.</p>
<p><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-17-4-52-57-PM.jpg"><img class="aligncenter size-medium wp-image-1304" title="Photo Sep 17, 4 52 57 PM" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-17-4-52-57-PM-300x234.jpg" alt="" width="300" height="234" /></a></p>
<p>The box will be mailed Monday (9/17/11) to it&#8217;s first recipient Arron.<a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-17-4-52-57-PM.jpg"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.unexpecteddevelopment.net/2011/09/the-bocs-is-out-the-door/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Box of Crappy Surplus]]></series:name>
	</item>
		<item>
		<title>What&#8217;s in the BOCS?</title>
		<link>http://www.unexpecteddevelopment.net/2011/09/whats-in-the-bocs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=whats-in-the-bocs</link>
		<comments>http://www.unexpecteddevelopment.net/2011/09/whats-in-the-bocs/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 00:50:33 +0000</pubDate>
		<dc:creator>Daniel Loughmiller</dc:creator>
				<category><![CDATA[Community Projects]]></category>

		<guid isPermaLink="false">http://www.unexpecteddevelopment.net/?p=1225</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/community-projects/" title="Community Projects">Community Projects</a></p>This entry is part 1 of 4 in the series Box of Crappy SurplusThe &#8220;Box of Crappy Surplus&#8221;, or BOCS, is a fun, community building experiment based on The Great Internet Migratory Box of Electronics Junk for Netduino community members. The premise is simple, as electronics enthusiasts, makers, tweakers and tinkerers we all develop small [...]]]></description>
				<content:encoded><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/community-projects/" title="Community Projects">Community Projects</a></p><div class="seriesmeta">This entry is part 1 of 4 in the series <a href="http://www.unexpecteddevelopment.net/series/box-of-crappy-surplus/" class="series-43" title="Box of Crappy Surplus">Box of Crappy Surplus</a></div><p>The &#8220;Box of Crappy Surplus&#8221;, or BOCS, is a fun, community building experiment based on <a href="http://tgimboej.org/" target="_blank">The Great Internet Migratory Box of Electronics Junk</a> for <a href="http://forums.netduino.com">Netduino community</a> members. The premise is simple, as electronics enthusiasts, makers, tweakers and tinkerers we all develop small stockpiles of near-worthless junk. Not trash mind you, but the miscellaneous bits and pieces of projects long forgotten and put away. A handful of screws, the wheel bearings that didn&#8217;t quite fit your robot, the bag of resistors that turned out to be not quite the right value. If anyone is as much of a pack-rat as me you likely have boxes of this type of stuff, too wasteful to throw away, too few to try selling on eBay.</p>
<p>The BOCS is, as TGIMBoEJ puts it, a &#8216;mobile lending library&#8217; of components. Unlike some other similar boxes we&#8217;ll provide slightly more structure. The goal is to send the box in multiple loops, back and forth across the USA. Each person who registers will receive the box in random order, and be responsible for sending the box to the next person. Flat rate boxes from the USPS keep shipping costs to a minimum and there will be no other costs to participate. Cost for a medium sized box will be approximately $10.50 and supports up to 20 pounds, labels can be easily printed from the USPS website. If the box grows too large we&#8217;ll need a &#8216;large&#8217; box which will cost closer to $15.00 to ship domestically.</p>
<p>Rules are less important than fun, but some guidelines are below:</p>
<ul>
<li><strong>What can I expect to find in the BOCS? What should I put in?</strong><br />
The &#8216;theme&#8217; of the box is electronics and general &#8216;maker&#8217; materials. Resistors, switches, buttons, wires, wheels, screws, gears, integrated circuits, small hand tools, interconnects, and who knows what else are things you could find in the box, plus anything someone along the chain thinks you might find useful. I&#8217;d prefer people use their imagination and put anything they thing another maker could find useful in the box than to create a list of &#8216;expected&#8217; items.All <a href="http://www.usps.com" target="_blank">USPS</a> regulations regarding priority mail service should be followed, and common sense should be used. Let&#8217;s avoid batteries which could short out, liquids which could spill, and things of that nature as we..</li>
<li><strong>How much can I take from the BOCS? How much must I contribute?<br />
</strong>There&#8217;s again no particular rules here. A sheet will accompany the box that we ask all people to briefly note what they took and contributed. A general rule is to replace what you take with something equally &#8220;cool&#8221;. I think if we all concern ourselves with monetary value of items then the point of the box will be lost. If you think you can use the item, or a few items, take them. We want this to be a community project so we do ask that you update us regarding any cool things you build with box items.</li>
<li><strong>Who do I send the BOCS to when I&#8217;m done?</strong><br />
To try and maintain some semblance of privacy, each person will receive via email the address of the next person on the chain. We&#8217;ll also try and confirm all addresses prior to shipping to reduce the chances that the box is &#8220;lost&#8221; at an out of date address.</li>
</ul>
<h3>Okay, I want to participate, what happens next?</h3>
<p>We&#8217;re (mostly) keeping it to Netduino community members. Visit <a href="http://forums.netduino.com/index.php?/topic/2481-whats-in-the-magical-mysterious-box-of-crappy-surplus/" target="_blank">this thread</a> to look for any updates to the rules. Send me a private message via the forums with your mailing address. Your address will only go to the person who sends the box to you.</p>
<h3>What do I do when I receive the box?</h3>
<p>First, take some free stuff! Try to only take items you think you can use, and the key here is for everyone to take what they think is fair. Put some items in the box that you no longer need. The items can be anything &#8216;maker&#8217; related, can be new or used, so long as they&#8217;re functional. If there are multiple parts to a single item make sure they&#8217;ll stay together by using a small ziplock bag. Make sure to label what the item is if it&#8217;s not obvious, might as well throw your screen name on the label so whoever receives it knows who to thank!</p>
<p>Update the box status, use the same forum thread you used to signup, that&#8217;s where we&#8217;ll update community participation. Or contact me directly and I can do so for you. This is about community building, so let us know what items you kept and what you have in mind for them!</p>
<p>Finally, check your email/forum PM&#8217;s/whatever, I&#8217;ll have sent you the address you&#8217;re meant to send the box to next. If I didn&#8217;t, make sure you ask, we don&#8217;t want the box to get stuck or lost. Print a label at USPS&#8217;s website, slap it on the box, and bring it to any post office.</p>
<p>That&#8217;s it! If all goes well will do this multiple times, growing the list each time. We&#8217;re limiting this first round to personal friends, and Netduino community members. Anyone with positive or neutral forum standing who has been a member for at least 60 days can ask to be on the list. The first 20 members who asked to be included will be on this initial round.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unexpecteddevelopment.net/2011/09/whats-in-the-bocs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Box of Crappy Surplus]]></series:name>
	</item>
		<item>
		<title>Superglue Does Not Work on Cellophane</title>
		<link>http://www.unexpecteddevelopment.net/2011/09/superglue-does-not-work-on-cellophane/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=superglue-does-not-work-on-cellophane</link>
		<comments>http://www.unexpecteddevelopment.net/2011/09/superglue-does-not-work-on-cellophane/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 23:31:03 +0000</pubDate>
		<dc:creator>Daniel Loughmiller</dc:creator>
				<category><![CDATA[Personal Projects]]></category>

		<guid isPermaLink="false">http://www.unexpecteddevelopment.net/?p=1279</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/personal-projects/" title="Personal Projects">Personal Projects</a></p>This entry is part 3 of 3 in the series Window DecorationSuperglue does not work on cellophane, not well anyways. Spent a number of frustrating hours finishing up my window decoration with little pieces that wouldn&#8217;t quite stick. I found it very important to rough up the surface of the wood before trying to glue [...]]]></description>
				<content:encoded><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/personal-projects/" title="Personal Projects">Personal Projects</a></p><div class="seriesmeta">This entry is part 3 of 3 in the series <a href="http://www.unexpecteddevelopment.net/series/window-decoration/" class="series-38" title="Window Decoration">Window Decoration</a></div><p>Superglue does not work on cellophane, not well anyways. Spent a number of frustrating hours finishing up my window decoration with little pieces that wouldn&#8217;t quite stick. I found it very important to rough up the surface of the wood before trying to glue anything at all, which I did with a small wood file. While I was doing that I carved a small vertical groove to run fishing line through.</p>
<div id="attachment_1282" class="wp-caption caption alignleft" style="width: 240px"><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-1-29-55-PM.jpeg"><img class="size-medium wp-image-1282 " title="Front and Back" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-1-29-55-PM-300x225.jpg" alt="" width="240" height="180" /></a><div class="wp-caption-text caption-text">Finished and unfinished side ready for assembly</div></div>
<div id="attachment_1281" class="wp-caption caption alignright" style="width: 240px"><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-1-51-50-PM.jpeg"><img class="size-medium wp-image-1281 " title="Tools" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-1-51-50-PM-300x225.jpg" alt="" width="240" height="180" /></a><div class="wp-caption-text caption-text">Tools for the job, glue, cellophane, tweezers, lasercut butterfly</div></div>
<p><br style="clear: both;" /><br />
I started by using my original cutting document from the computer and filling in cells with colors until it looked right. I then one color at a time would lay down some glue and press a piece of cellophane over the glue. After some time, and with plenty of trial and error I would get it to stick well enough to then cut the cellophane away from where I didn&#8217;t need it.</p>
<p><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-3-09-09-PM.jpeg"><img class="size-medium wp-image-1283 alignleft" title="Photo Sep 04, 3 09 09 PM" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-3-09-09-PM-300x225.jpg" alt="" width="240" height="180" /></a><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-3-21-31-PM.jpeg"><img class="alignright size-medium wp-image-1284" title="Photo Sep 04, 3 21 31 PM" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-3-21-31-PM-300x225.jpg" alt="" width="240" height="180" /></a></p>
<p><br style="clear: both;" /><br />
Had a small issue with some of the glue getting onto the plastic and drying opaque white, but most of it came off fairly easily. I strung the 3 finished items onto a string for hanging.</p>
<p style="text-align: center;"><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-4-12-31-PM.jpeg"><img class="size-medium wp-image-1286 alignleft" title="Photo Sep 04, 4 12 31 PM" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-4-12-31-PM-300x225.jpg" alt="" width="240" height="180" /></a><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-4-12-40-PM.jpeg"><img class="alignright size-medium wp-image-1285" title="Photo Sep 04, 4 12 40 PM" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-4-12-40-PM-300x225.jpg" alt="" width="240" height="180" /></a><br />
<br style="clear: both;" /><br />
<a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-6-02-50-PM.jpeg"><img class="aligncenter size-full wp-image-1289" title="Window Decoration Finished" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-04-6-02-50-PM.jpeg" alt="" width="491" height="369" /></a></p>
<p style="text-align: left;">If anyone&#8217;s interested in doing a similar project, <a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/butterfly.eps" target="_blank">here is the .eps file</a> I sent to <a href="http://www.ponoko.com" target="_blank">Ponoko</a> for cutting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unexpecteddevelopment.net/2011/09/superglue-does-not-work-on-cellophane/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Window Decoration]]></series:name>
	</item>
		<item>
		<title>Unpacking Ponoko</title>
		<link>http://www.unexpecteddevelopment.net/2011/09/unpacking-ponoko/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=unpacking-ponoko</link>
		<comments>http://www.unexpecteddevelopment.net/2011/09/unpacking-ponoko/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 22:54:12 +0000</pubDate>
		<dc:creator>Daniel Loughmiller</dc:creator>
				<category><![CDATA[Personal Projects]]></category>

		<guid isPermaLink="false">http://www.unexpecteddevelopment.net/?p=1258</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/personal-projects/" title="Personal Projects">Personal Projects</a></p>This entry is part 2 of 3 in the series Window DecorationReceived my first order from Ponoko, the designs are those I discussed in my previous entry about lasercutting. The designs are for a simple window-hanging and came out very well. Ponoko ships you the full sheet, not just the objects you design, which are [...]]]></description>
				<content:encoded><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/personal-projects/" title="Personal Projects">Personal Projects</a></p><div class="seriesmeta">This entry is part 2 of 3 in the series <a href="http://www.unexpecteddevelopment.net/series/window-decoration/" class="series-38" title="Window Decoration">Window Decoration</a></div><p>Received my first order from Ponoko, the designs are those I discussed in my previous entry about <a title="My First Attempt at Laser Cutting" href="http://www.unexpecteddevelopment.net/2011/08/my-first-attempt-at-laser-cutting/">lasercutting</a>. The designs are for a simple window-hanging and came out very well. Ponoko ships you the full sheet, not just the objects you design, which are first I thought was a waste of shipping, but the material is quite light and I don&#8217;t imagine it would be any cheaper to ship without the scrap included. Also the scrap material was good for testing stains/paint/etc on before potentially damaging your lasercut parts.</p>
<div id="attachment_1261" class="wp-caption caption alignleft" style="width: 240px"><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-02-6-11-28-PM.jpeg"><img class="size-medium wp-image-1261 " title="First Ponoko Order" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-02-6-11-28-PM-300x225.jpg" alt="" width="240" height="180" /></a><div class="wp-caption-text caption-text">I didn&#39;t notice at first that there was a paper backing on both sides of the material, once I did it became much easier to separate my parts</div></div>
<div id="attachment_1262" class="wp-caption caption alignright" style="width: 240px"><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-02-6-12-59-PM.jpeg"><img class="size-medium wp-image-1262  " title="Separating the parts" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-02-6-12-59-PM-300x225.jpg" alt="" width="240" height="180" /></a><div class="wp-caption-text caption-text">Separating the parts and removing all the little pieces of cut bamboo showed off how intricate the cuts were, and how impossible it would have been to do by hand</div></div>
<p><br style="clear: both;" /><br />
It took a little time but eventually I got all the parts separated, all the parts were perfectly cut and symmetrical. One side of the material looked more &#8216;burnt&#8217; than the other side, but my understanding is that this is soot, not burnt material, and can be cleaned off. I planned to paint my creation so aside from wiping it down to remove anything on the surface I didn&#8217;t really try to clean it up.</p>
<div id="attachment_1264" class="wp-caption caption aligncenter" style="width: 240px"><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-02-6-26-02-PM.jpeg"><img class="size-medium wp-image-1264   " title="Stacked up" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-02-6-26-02-PM-300x225.jpg" alt="" width="240" height="180" /></a><div class="wp-caption-text caption-text">Hard to tell but this is all 6 of the objects stacked up in a single column</div></div>
<p>The final project will see the wood painted black with colored cellophane filling in each cell, the objects will be glued back to back, creating 3 final butterflies, and hung from fishing line. Currently in the process of painting.</p>
<div id="attachment_1265" class="wp-caption caption aligncenter" style="width: 240px"><a href="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-03-5-13-03-PM.jpeg"><img class="size-medium wp-image-1265 " title="Photo Sep 03, 5 13 03 PM" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/Photo-Sep-03-5-13-03-PM-300x225.jpg" alt="" width="240" height="180" /></a><div class="wp-caption-text caption-text">First black coat of paint applied</div></div>
<p>I really want my own laser cutter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unexpecteddevelopment.net/2011/09/unpacking-ponoko/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Window Decoration]]></series:name>
	</item>
		<item>
		<title>My First Attempt at Laser Cutting</title>
		<link>http://www.unexpecteddevelopment.net/2011/08/my-first-attempt-at-laser-cutting/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-first-attempt-at-laser-cutting</link>
		<comments>http://www.unexpecteddevelopment.net/2011/08/my-first-attempt-at-laser-cutting/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 17:22:48 +0000</pubDate>
		<dc:creator>Daniel Loughmiller</dc:creator>
				<category><![CDATA[Personal Projects]]></category>

		<guid isPermaLink="false">http://www.unexpecteddevelopment.net/?p=1223</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/personal-projects/" title="Personal Projects">Personal Projects</a></p>This entry is part 1 of 3 in the series Window DecorationI&#8217;m at that point in my hobbyist tinkering where the things I want to make are too complex to create by hand, but are too infrequent to be worth investing serious money in to buy larger tools. A few months ago someone had given [...]]]></description>
				<content:encoded><![CDATA[<p>Posted in <a href="http://www.unexpecteddevelopment.net/category/personal-projects/" title="Personal Projects">Personal Projects</a></p><div class="seriesmeta">This entry is part 1 of 3 in the series <a href="http://www.unexpecteddevelopment.net/series/window-decoration/" class="series-38" title="Window Decoration">Window Decoration</a></div><p>I&#8217;m at that point in my hobbyist tinkering where the things I want to make are too complex to create by hand, but are too infrequent to be worth investing serious money in to buy larger tools. A few months ago someone had given me the link to <a href="http://www.ponoko.com/">Ponoko</a>, an online based fabrication company dealing with 3d printing, laser cutting, and more recently CNC routing. I wanted to try out their services for awhile, but didn&#8217;t have any projects that required their services, so I did what I usually do, made my life more difficult and costly by inventing a project I didn&#8217;t need to do.</p>
<p>I decided to make a hanging window ornament using a lasercut butterfly pattern and colored cellophane. Hobby cellophane I bought from <a href="http://www.stuff4scrapbooking.com" target="_blank">Stuff4Scrapbooking.com</a>, <a href="http://www.stuff4scrapbooking.com/blue-cellophane-wrap-30-wide-5-foot-roll-cw750-57.html" target="_blank">30&#215;60&#8243; rolls</a> were a mere $1.57 each and shipping was reasonable (when I tried to purchase these items from the same store&#8217;s Amazon marketplace, the item price was the same but shipping was applied per-item, making it far more expensive). I picked a few colors not having an exact plan in mind.</p>
<p>Laser cutting uses vector based drawing, which defines a series of paths for the laser to follow. I downloaded Ponoko&#8217;s <a href="http://www.ponoko.com/starter-kits/adobe-illustrator" target="_blank">starter kit for Illustrator</a>, a drawing program I already had but hadn&#8217;t used much, and read over their list of requirements and tips. Within an hour or so, using a piece of stock art as a template, I&#8217;d produced the following:</p>
<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_1235" class="wp-caption aligncenter" style="width: 410px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-1235 " title="Vector pattern for window ornament" src="http://www.unexpecteddevelopment.net/wp-content/uploads/2011/09/pattern.jpg" alt="" width="400" height="287" /></dt>
<dd class="wp-caption-dd">Stock art used as a template to draw a vector pattern, the vector was mirrored over the center to produce a symmetric pattern</dd>
</dl>
</div>
<p>It look a little practice to use the drawing tools to get the curves I wanted, to join the points to create completely enclosed paths, and to <a href="http://shapeshed.com/journal/drawing_symmetrical_shapes_in_illustrator/" target="_blank">mirror the pattern</a> correctly. There&#8217;s also some requirements from Ponoko involving not making features too small, but none of the initial design seemed to violate any of these rules. I settled on a light colored bamboo as my material, duplicated my design to fit 6 butterflies on a single P2 sized board (15.1&#8243; x 15.1&#8243;), uploaded it to get an immediate price quote (~$50 for materials, cutting, and shipping). One thing I noticed is that &#8220;laser time&#8221; outweighs material cost significantly, so optimize your designs if you can to reduce the number of, and length of your cuts.</p>
<p>It took about two days for Ponoko to approve my designs, an additional two days to approve the materials and mark the order &#8220;ready to make&#8221;, then another two or three days for it to be actually cut and shipped.</p>
<p>The package is now in the hands of UPS and I await delivery to see how my items turned out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unexpecteddevelopment.net/2011/08/my-first-attempt-at-laser-cutting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Window Decoration]]></series:name>
	</item>
	</channel>
</rss>
