<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Entries tagged with .NET Micro Framework</title>
    <atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Tags/.net+micro+framework/RSS"></atom:link>
    <itunes:summary></itunes:summary>
    <itunes:author>Microsoft</itunes:author>
    <itunes:subtitle></itunes:subtitle>
    <image>
      <url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
      <title>Channel 9 - Entries tagged with .NET Micro Framework</title>
      <link>http://channel9.msdn.com/Tags/.net+micro+framework</link>
    </image>
    <itunes:image href=""></itunes:image>
    <itunes:category text="Technology"></itunes:category>
    <description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
    <link>http://channel9.msdn.com/Tags/.net+micro+framework</link>
    <language>en</language>
    <pubDate>Mon, 20 May 2013 07:41:18 GMT</pubDate>
    <lastBuildDate>Mon, 20 May 2013 07:41:18 GMT</lastBuildDate>
    <generator>Rev9</generator>
    <c9:totalResults>60</c9:totalResults>
    <c9:pageCount>3</c9:pageCount>
    <c9:pageSize>25</c9:pageSize>
  <item>
      <title>&quot;Here comes the sun...&quot; with Solar Tracker</title>
      <description><![CDATA[<p>Well it's Solar Time again! Yep, it's been like, what, days since I've done a solar or energy related project? Well enough of that! Today's Hardware Friday by Graham Ross might seem simple, but is one that I think you can adapt for anything number of cool hardware projects...</p><h2><a href="https://solartracker.codeplex.com/">Solar Tracker</a></h2><blockquote><p><strong>Project Description</strong><br>This project is deployed to a netduino, it uses a Arduino Compatible Mega Motor Shield, a linear actuator and a photocell out of a garden light to move a set of solar panel so that they face the sun throughout the day.</p><p><strong>Required components</strong><br>Netduino version 4.2 .NetMF<br><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-130.png" alt="image" width="221" height="155" border="0"></p><p>Motor shield <a href="http://www.robotshop.com/ca/arduino-compatible-mega-motor-shield-1a-5-28v-2.html">http://www.robotshop.com/ca/arduino-compatible-mega-motor-shield-1a-5-28v-2.html</a><br><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B5%5D-69.png" alt="image" width="250" height="250" border="0"><br>12V DC 12 in. Stroke Linear Actuator <br><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B8%5D-65.png" alt="image" width="500" height="188" border="0"></p><p>Completed unit<br><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B11%5D-52.png" alt="image" width="485" height="364" border="0"></p></blockquote><p>And of course the source is available (which is the real cool part of this project)</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B15%5D-32.png" alt="image" width="181" height="384" border="0"></p><p>Here's the Program.cs. It gives you a real nice feel for all the features to play with and code to check out...</p><p><pre class="brush: csharp">public class Program
{
     private const int IterationTimeout = 5000;
     private static LinearActuator _linearActuator;
     private static LightSensor _lightSensor;
     private static readonly LcdText _lcdText = new LcdText();
     private static Thread _workerThread;
     private static long _lastTime;
     private static bool _setup;
     public static void Main()
     {
         _workerThread = new Thread(UpdateLCD);
         _workerThread.Start();
         InitializeActuator();
         InitializeLightSensor();

         var button = new InterruptPort(Pins.GPIO_PIN_A3, true, Port.ResistorMode.PullUp, Port.InterruptMode.InterruptEdgeLow);
         button.OnInterrupt &#43;= button_OnInterrupt;

         Thread.Sleep(Timeout.Infinite);

     }


     static void button_OnInterrupt(uint data1, uint data2, DateTime time)
     {
         var currentTime = time.Ticks;
         var delta = currentTime - _lastTime;
         if (delta &gt; 500)
         {
             _lastTime = currentTime;
             if (_setup == false)
             {
                 _setup = true;
                 if (_linearActuator.IsTracking == false)
                 {
                     _linearActuator.SetupDaylength(_lightSensor.LenghtOfDaylight.Ticks / TimeSpan.TicksPerMillisecond);
                 }
             }
             _linearActuator.Step(null);
             _lcdText.DebugLine2 = &quot;Force step, Pos:&quot; &#43; _linearActuator.CurrentPosition;
         }
     }


     private static void UpdateLCD()
     {
         var lcd = new Lcd { Visible = true };
         lcd.Clear();
         lcd.ShowCursor = true;
         // set up the LCD's number of columns and rows: 
         lcd.Begin(24, 2);
         bool toggleDebug = false;
         while (true)
         {
             lcd.Clear();
             if (toggleDebug)
             {
                 lcd.SetCursorPosition(0, 0);
                 lcd.Write(_lcdText.DebugLine1);
                 lcd.SetCursorPosition(0, 1);
                 lcd.Write(_lcdText.DebugLine2);
             }
             else
             {
                 lcd.SetCursorPosition(0, 0);
                 lcd.Write(_lcdText.ActuatorText);
                 lcd.SetCursorPosition(0, 1);
                 lcd.Write(_lcdText.SensorText);
             }
             toggleDebug = _lcdText.HasDebug ? !toggleDebug : false;
             Thread.Sleep(IterationTimeout);
         }
     }

     private static void InitializeActuator()
     {
         _linearActuator = new LinearActuator(_lcdText);
         return;
     }

     private static void InitializeLightSensor()
     {
         _lightSensor = new LightSensor(_lcdText);
         _lightSensor.Dusk &#43;= LightSensorDusk;
         _lightSensor.Dawn &#43;= LightSensorDawn;
     }

     static void LightSensorDawn(object sender, EventArgs e)
     {
         _linearActuator.GoEast();
         // start tracking
         _linearActuator.StartTracking(_lightSensor.LenghtOfDaylight.Ticks / TimeSpan.TicksPerMillisecond);
     }

     static void LightSensorDusk(object sender, EventArgs e)
     {
         // stop tracking and return to east
         _lcdText.ActuatorText = &quot;Waiting for morning&quot;;
         _linearActuator.GoEast();
     }
}
</pre></p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:74225be69c25493192caa1a6018009a3">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Here-comes-the-sun-with-Solar-Tracker</comments>
      <itunes:summary>Well it&#39;s Solar Time again! Yep, it&#39;s been like, what, days since I&#39;ve done a solar or energy related project? Well enough of that! Today&#39;s Hardware Friday by Graham Ross might seem simple, but is one that I think you can adapt for anything number of cool hardware projects... Solar TrackerProject DescriptionThis project is deployed to a netduino, it uses a Arduino Compatible Mega Motor Shield, a linear actuator and a photocell out of a garden light to move a set of solar panel so that they face the sun throughout the day. Required componentsNetduino version 4.2 .NetMF Motor shield http://www.robotshop.com/ca/arduino-compatible-mega-motor-shield-1a-5-28v-2.html12V DC 12 in. Stroke Linear Actuator  Completed unit And of course the source is available (which is the real cool part of this project)  Here&#39;s the Program.cs. It gives you a real nice feel for all the features to play with and code to check out... public class Program
{
     private const int IterationTimeout = 5000;
     private static LinearActuator _linearActuator;
     private static LightSensor _lightSensor;
     private static readonly LcdText _lcdText = new LcdText();
     private static Thread _workerThread;
     private static long _lastTime;
     private static bool _setup;
     public static void Main()
     {
         _workerThread = new Thread(UpdateLCD);
         _workerThread.Start();
         InitializeActuator();
         InitializeLightSensor();

         var button = new InterruptPort(Pins.GPIO_PIN_A3, true, Port.ResistorMode.PullUp, Port.InterruptMode.InterruptEdgeLow);
         button.OnInterrupt &amp;#43;= button_OnInterrupt;

         Thread.Sleep(Timeout.Infinite);

     }


     static void button_OnInterrupt(uint data1, uint data2, DateTime time)
     {
         var currentTime = time.Ticks;
         var delta = currentTime - _lastTime;
         if (delta &amp;gt; 500)
         {
             _lastTime = currentTime;
             if (_setup == false)
         </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Here-comes-the-sun-with-Solar-Tracker</link>
      <pubDate>Fri, 03 May 2013 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Here-comes-the-sun-with-Solar-Tracker</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/cfdc8737-b295-4f41-824c-cfda728df060.png" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/116e0f1e-cb0a-45dc-abb5-d763911917b3.png" height="165" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Here-comes-the-sun-with-Solar-Tracker/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
      <category>Solar Power</category>
    </item>
  <item>
      <title>.NET Gadgeteer Core gets VS2012 support in v2.42.700</title>
      <description><![CDATA[<p>Today's Hardware Friday is about one of our favorite hardware things, the .NET Gadgeteer and its updated Code release...</p><h2><a href="https://gadgeteer.codeplex.com/releases/view/105366">.NET Gadgeteer Core 2.42.700</a></h2><blockquote><p>The .NET Gadgeteer Core installer includes the core libraries and end user project templates for Microsoft .NET Gadgeteer. This is a prerequisite for end users to build and deploy .NET Gadgeteer projects. It includes a project template wizard in the New Project dialog in Visual Studio 2012 or 2010 (or express versions) under the Gadgeteer tab - &quot;.NET Gadgeteer Application&quot;. This template uses a graphical designer built for Visual Studio which allows end users to visually configure .NET Gadgeteer hardware builds and then write the software logic for that hardware in C# or Visual Basic.</p><p>The .NET Gadgeteer Builder Templates installer is for hardware vendors who are building modules, mainboards or kits comprising multiple modules/mainboards. This adds additional project templates for modules, mainboards and kits. Each template includes instructions on how to use it, and automatically builds an MSI installer which can be distributed to end users.</p><p>If you are a prospective module or mainboard builder you should also look at the Module Builder's Guide and Mainboard Builder's Guide, which includes the full specifications for what it means to be &quot;.NET Gadgeteer compatible&quot; and other helpful examples and guidelines.</p><p>Neither installer includes libraries for specific hardware modules/mainboards, so by themselves these installers do not enable users to use .NET Gadgeteer hardware. Hardware manufacturers should release installers (based on the templates above) for their hardware.</p><p>================================================================<br>Microsoft .NET Gadgeteer Core <br>RELEASE NOTES<br>Version 2.42.700 19 April 2013<br>...</p><p>================================================================<br>Change Log<br>================================================================<br>Version 2.42.700, 19 April 2013<br>MAJOR CHANGES</p><ul><li>VS 2012 support (if using NETMF 4.3 SDK) added alongside VS 2010 support (using NETMF 4.2 or earlier) (When using VS 2012 you can target NETMF 4.2 or 4.1 devices too) </li><li>Visual Studio Express 2012 for Windows Desktop support (and older 2010 Express version support maintained) </li><li>Application template wizard which checks for compatibility between VS, NETMF SDK and mainboard </li><li>Power consumption data is specifiable in GadgeteerHardware.xml schema and shown in VS designer </li></ul><p>MINOR CHANGES</p><ul><li>Socket type D and H compatibility check fixed </li><li>Managed software I2C (used by DaisyLink) uses repeated start condition when appropriate </li><li>Added StorageDevice.DeleteDirectory method and fixed StorageDevice.Delete to delete files </li><li>Text templates no longer used by designer, avoiding permissions warning </li><li>License updated to clarify that VS extensions are binary-only </li></ul><p>**** ALPHA SUPPORT *****<br>This release also includes alpha support for the following. This is for evaluation purposes only, and features may change.</p><ul><li>NETMF 4.3, with feature changes: </li><li>AnalogOutput uses NETMF native support </li></ul><p>...</p></blockquote><p>And remember, the source for all of this, and even some 3D models, are available;</p><p><a href="https://gadgeteer.codeplex.com/SourceControl/BrowseLatest"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B3%5D-89.png" alt="image" width="295" height="364" border="0"></a><a href="https://gadgeteer.codeplex.com/SourceControl/BrowseLatest"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B7%5D-37.png" alt="image" width="272" height="364" border="0"></a></p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:147839a9555f401ab193a1a601689e74">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/NET-Gadgeteer-Core-gets-VS2012-support-in-v242700</comments>
      <itunes:summary>Today&#39;s Hardware Friday is about one of our favorite hardware things, the .NET Gadgeteer and its updated Code release... .NET Gadgeteer Core 2.42.700The .NET Gadgeteer Core installer includes the core libraries and end user project templates for Microsoft .NET Gadgeteer. This is a prerequisite for end users to build and deploy .NET Gadgeteer projects. It includes a project template wizard in the New Project dialog in Visual Studio 2012 or 2010 (or express versions) under the Gadgeteer tab - &amp;quot;.NET Gadgeteer Application&amp;quot;. This template uses a graphical designer built for Visual Studio which allows end users to visually configure .NET Gadgeteer hardware builds and then write the software logic for that hardware in C# or Visual Basic. The .NET Gadgeteer Builder Templates installer is for hardware vendors who are building modules, mainboards or kits comprising multiple modules/mainboards. This adds additional project templates for modules, mainboards and kits. Each template includes instructions on how to use it, and automatically builds an MSI installer which can be distributed to end users. If you are a prospective module or mainboard builder you should also look at the Module Builder&#39;s Guide and Mainboard Builder&#39;s Guide, which includes the full specifications for what it means to be &amp;quot;.NET Gadgeteer compatible&amp;quot; and other helpful examples and guidelines. Neither installer includes libraries for specific hardware modules/mainboards, so by themselves these installers do not enable users to use .NET Gadgeteer hardware. Hardware manufacturers should release installers (based on the templates above) for their hardware. ================================================================Microsoft .NET Gadgeteer Core RELEASE NOTESVersion 2.42.700 19 April 2013... ================================================================Change Log================================================================Version 2.42.700, 19 April 2013MAJOR CHANGES VS 2012 support (</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/NET-Gadgeteer-Core-gets-VS2012-support-in-v242700</link>
      <pubDate>Fri, 26 Apr 2013 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/NET-Gadgeteer-Core-gets-VS2012-support-in-v242700</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/8a22e28a-d379-47f7-9ef6-89dca09259a2.png" height="62" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/fbda8170-8e1f-401b-97a1-a864fba2dddb.png" height="135" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>1</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/NET-Gadgeteer-Core-gets-VS2012-support-in-v242700/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
      <category>Hardware</category>
    </item>
  <item>
      <title>http://NWS... A NETMF Web Server (with source of course)</title>
      <description><![CDATA[<p>Today's Hardware Friday project is one from someone I've been wanting to highlight for a while, and finally, the time is just right.</p><p><a href="http://blogs.msdn.com/b/laurelle/">Laurent Ellerbach</a> has been building some pretty cool .Net Micro Framework projects for a while now. Here's just a few;</p><ul><li><a href="http://blogs.msdn.com/b/laurelle/archive/2011/10/12/lighting-my-lego-city-using-net-microframework.aspx" target="_blank">Lighting my Lego city using .NET Microframework</a> </li><li><a href="http://blogs.msdn.com/b/laurelle/archive/2012/06/20/using-xmlhttprequest-to-pilot-a-lego-train-dynamically-in-html-5.aspx" target="_blank">Using XMLHttpRequest to pilot a Lego train dynamically in HTML 5</a> </li><li><a href="http://blogs.msdn.com/b/laurelle/archive/2011/10/22/display-overlay-images-in-html-and-javascript-with-net-microframework.aspx" target="_blank">Also see: Display overlay images in HTML and javascript with .NET Microframework</a> </li><li><a href="http://blogs.msdn.com/b/laurelle/archive/2012/02/20/some-hard-to-pilot-a-sprinkler-with-net-microframework.aspx" target="_blank">Some hard to pilot a Sprinkler with .NET Microframework</a> </li><li><a href="http://blogs.msdn.com/b/laurelle/archive/2012/06/24/a-low-cost-humidity-sensor-for-my-sprinkler-system.aspx" target="_blank">A low cost humidity sensor for my sprinkler system</a> </li><li><a href="http://blogs.msdn.com/b/laurelle/archive/2012/07/18/a-soil-low-cost-humidity-sensor-moisture-and-net-micro-framework-netmf.aspx" target="_blank">A soil low cost humidity sensor (moisture) and .NET Micro Framework (NETMF)</a> </li></ul><h2><a href="http://blogs.msdn.com/b/laurelle/archive/2013/04/05/web-server-and-css-files-in-netmf-net-microframework.aspx" target="_blank">Web Server and CSS files in NETMF (.NET Microframework)</a></h2><blockquote><p>But I will start with the modification of my Web Server to support CSS file. I did couple of demonstration of my development and each time I show the interface people were telling to me I need to work with a designer. And that’s what I finally did&nbsp; I worked with <a href="http://blogs.msdn.com/b/designmichel/">Michel Rousseau</a> who is designer at Microsoft in the French team. And I gave him a challenge: “Design this simple web page without changing the code too much and keep it less than couple of K without any image”. Michel is used to design Windows 8 and Windows Phone apps but not very very simple page like the one I had.</p><p>And he has done an excellent job! Here is the view before and after:</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B3%5D-87.png" alt="image" width="366" height="250" border="0"></p><p>Now I had to implement this in my code. As the brief was to have minimal effect on the code, I was expecting to implement this quickly. Reality was a bit different. It took me a bit more time than expected for the following reasons:</p><ul><li>I had to implement in <a href="http://blogs.msdn.com/b/laurelle/archive/2012/05/29/creating-an-efficient-http-web-server-for-net-microframework-netmf.aspx">my basic web server</a> a function to be able to download a file (the CSS one) </li><li>To read and download a file from an SD, you have to do it by chunk as the buffer size is limited (in the case of my <a href="http://www.netduino.com/">Netduino</a> 1024 bit) </li><li>Modify the main code to care about downloaded file and also add the lines of code to support CSS </li><li>But the main issue was that I’ve discovered that to be able to have a CSS file, you need to have the specific type “text/css”. This is to avoid cross domain fishing and other hacking </li></ul><p>So let see how to implement this step by step. So let start with the reading part of the file and how to send it. As explained in the last point, a CSS file has to have the correct mime type in the header. In fact, Internet Explorer and most of the other browsers such as Chrome and Firefox does not need the mime type to determine what kind of fire you are downloading. They do it with the mime type and/or with the extension. Most of the time, it’s just with the extension and reading the header of the file. But for security reason, it’s better if you have to determine correctly the type matching with the extension and the header of the file. And for CSS, it is forced like this to reinforce the security in Internet Explorer 8, 9 and 10.</p><p>So as I had to implement this feature for CSS, I made a simple function to support some types I’ll use in other creation:</p><p>...</p></blockquote><p>Want to just jump to the source?</p><h2><a href="http://blogs.msdn.com/b/laurelle/archive/2013/04/07/net-microframework-netmf-web-server-source-code-available.aspx" target="_blank">.NET Microframework (NETMF) Web Server source code available</a></h2><blockquote><p>So as I got lots of asks to get the code of my Web Server, I’ve decided to create a Codeplex project. You’ll find the source here: <a href="https://netmfwebserver.codeplex.com/">https://netmfwebserver.codeplex.com/</a></p><p>It does include the following features:</p><ul><li>Start, stop, Pause the Web Server </li><li>Creation of a Web Server on any port </li><li>Fully functional multithread Web Server supporting GET only </li><li>Downloading any file present on a SD (or any other physical storage) </li><li>A full function to get all the parameters of a URL </li></ul></blockquote><p>Now your next .Net Micro Framework and be an web providing for the Internet of Things...</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:a8f24139bb6c461d9c21a19f01693083">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/httpNWS-A-NETMF-Web-Server-with-source-of-course</comments>
      <itunes:summary>Today&#39;s Hardware Friday project is one from someone I&#39;ve been wanting to highlight for a while, and finally, the time is just right. Laurent Ellerbach has been building some pretty cool .Net Micro Framework projects for a while now. Here&#39;s just a few; Lighting my Lego city using .NET Microframework Using XMLHttpRequest to pilot a Lego train dynamically in HTML 5 Also see: Display overlay images in HTML and javascript with .NET Microframework Some hard to pilot a Sprinkler with .NET Microframework A low cost humidity sensor for my sprinkler system A soil low cost humidity sensor (moisture) and .NET Micro Framework (NETMF) Web Server and CSS files in NETMF (.NET Microframework)But I will start with the modification of my Web Server to support CSS file. I did couple of demonstration of my development and each time I show the interface people were telling to me I need to work with a designer. And that’s what I finally did&amp;nbsp; I worked with Michel Rousseau who is designer at Microsoft in the French team. And I gave him a challenge: “Design this simple web page without changing the code too much and keep it less than couple of K without any image”. Michel is used to design Windows 8 and Windows Phone apps but not very very simple page like the one I had. And he has done an excellent job! Here is the view before and after:  Now I had to implement this in my code. As the brief was to have minimal effect on the code, I was expecting to implement this quickly. Reality was a bit different. It took me a bit more time than expected for the following reasons: I had to implement in my basic web server a function to be able to download a file (the CSS one) To read and download a file from an SD, you have to do it by chunk as the buffer size is limited (in the case of my Netduino 1024 bit) Modify the main code to care about downloaded file and also add the lines of code to support CSS But the main issue was that I’ve discovered that to be able to have a CSS file, you need to have </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/httpNWS-A-NETMF-Web-Server-with-source-of-course</link>
      <pubDate>Fri, 19 Apr 2013 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/httpNWS-A-NETMF-Web-Server-with-source-of-course</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/c06b4d90-2278-46de-b23e-49a5405cb0bd.png" height="68" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/1c8d9010-6453-421c-8ffe-395f01e348de.png" height="150" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/httpNWS-A-NETMF-Web-Server-with-source-of-course/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
    </item>
  <item>
      <title>Clouds would be bad today, since when we&#39;re talking &quot;NetDuino Solar Monitor&quot;</title>
      <description><![CDATA[<p>I've been on this house hardware kick recently haven't I? Well today's no different! MUAHAHAH... Well, okay, kind of different. No clouds, no Azure. Today Graham Ross is going to help us scratch our Green itch, will still geek'ing out in our web and Netduino world.</p><h2><a href="http://netduinosolar.codeplex.com/">NetDuino Solar Monitor</a></h2><blockquote><p>The Netduino Solar Monitor accesses data from a Midnite Solar Classic charge controller using the Modbus protocol or the Outback Flexmax controller using the serial interface. The solar monitor can also monitor information from a Outback FX inverter using the serial interface. The Netduino Solar hosts an embedded web server that displays the pages below which can be viewed on a smart phone or tablet.</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B3%5D-84.png" alt="image" width="436" height="315" border="0"></p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B7%5D-35.png" alt="image" width="520" height="249" border="0"></p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B11%5D-48.png" alt="image" width="520" height="293" border="0"></p></blockquote><p><a href="http://netduinosolar.codeplex.com/documentation">Installing/Running/Building? Check the Documentation page;</a></p><blockquote><p>If you simply want to install this application onto a netduino plus 2, please follow these steps;<br>1. Download the NetduinoSolar.zip file from the 'Downloads' area.<br>2. Unzip to a temporary location on your PC.<br>3. ...</p><p>If you want to use the emulator, please follow these steps</p><p>1. Follow the instructions at <a href="http://netduino.com/downloads/">http://netduino.com/downloads/</a> to install the required .Net Micro Framework SDK.<br>2. Once you have the SDK installed, you can use Visual Studio (Express) to deploy the application to the netduino or you can run the application within the emulator when you select the 'Debug' target.<br>3. ...</p><p>The Netduino and the charge controller should be connected to a wireless router. The charge controller must be setup with a static IP address, this address must then be entered in the settings tab of the NetduinoSolar application.</p><p>The status page viewed by browsing to the configured deviceIp address which can be configured along with the subnet mask and gateway address by editing the SolarConfig.ini file.</p><p>If you are going to be monitoring an Outback controller or inverter, you will need an RS232 interface for your Netduino. Pins 4 (DTR) will need to be driven high and pin 7 (RTS) will need to be driven low in order to power the Outback Mate serial interface. An interface card such as the Pololu 23201a Serial Adapter can be used.</p><p>...</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B19%5D-17.png" alt="image" width="501" height="384" border="0"></p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B18%5D-20.png" alt="image" width="290" height="384" border="0"></p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B23%5D-17.png" alt="image" width="505" height="384" border="0"></p><p>...</p><p><strong>Netduino Solar parts list</strong><br>Required components;<br>1. Netduino Plus 2, firmware rev 4.2.2 (https://www.sparkfun.com/products/11608)<br>2. 2 Gig micro SD card, netduino does not support more than 2 Gigs (http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=2882538&amp;CatId=3610)<br>3. 9 volt AC adapter (<a href="https://www.sparkfun.com/products/298">https://www.sparkfun.com/products/298</a>)</p><p>Optional components for access to Outback Mate;<br>- RS 232 serial adapter (http://www.pololu.com/catalog/product/126)<br>Optional LCD display;<br>- 24x2 Line LCD Module HD44780 (ebay)<br>Optional power supply to run netduino and router directly off the (24V) battery bank <br>- LM2596 DC 3A Step-Down Adjustable Breadboard Module Power Supply Converter (ebay)</p></blockquote> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:47d8fd6365f245d1bf24a19101541b27">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Clouds-would-be-bad-today-since-when-were-talking-NetDuino-Solar-Monitor</comments>
      <itunes:summary>I&#39;ve been on this house hardware kick recently haven&#39;t I? Well today&#39;s no different! MUAHAHAH... Well, okay, kind of different. No clouds, no Azure. Today Graham Ross is going to help us scratch our Green itch, will still geek&#39;ing out in our web and Netduino world. NetDuino Solar MonitorThe Netduino Solar Monitor accesses data from a Midnite Solar Classic charge controller using the Modbus protocol or the Outback Flexmax controller using the serial interface. The solar monitor can also monitor information from a Outback FX inverter using the serial interface. The Netduino Solar hosts an embedded web server that displays the pages below which can be viewed on a smart phone or tablet.    Installing/Running/Building? Check the Documentation page; If you simply want to install this application onto a netduino plus 2, please follow these steps;1. Download the NetduinoSolar.zip file from the &#39;Downloads&#39; area.2. Unzip to a temporary location on your PC.3. ... If you want to use the emulator, please follow these steps 1. Follow the instructions at http://netduino.com/downloads/ to install the required .Net Micro Framework SDK.2. Once you have the SDK installed, you can use Visual Studio (Express) to deploy the application to the netduino or you can run the application within the emulator when you select the &#39;Debug&#39; target.3. ... The Netduino and the charge controller should be connected to a wireless router. The charge controller must be setup with a static IP address, this address must then be entered in the settings tab of the NetduinoSolar application. The status page viewed by browsing to the configured deviceIp address which can be configured along with the subnet mask and gateway address by editing the SolarConfig.ini file. If you are going to be monitoring an Outback controller or inverter, you will need an RS232 interface for your Netduino. Pins 4 (DTR) will need to be driven high and pin 7 (RTS) will need to be driven low in order to power the Outback Mate serial i</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Clouds-would-be-bad-today-since-when-were-talking-NetDuino-Solar-Monitor</link>
      <pubDate>Fri, 05 Apr 2013 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Clouds-would-be-bad-today-since-when-were-talking-NetDuino-Solar-Monitor</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/275c6410-2a3c-460e-b3d7-510c3af59775.png" height="46" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/e9281638-94f5-4c2d-b717-14f63cd5ece5.png" height="101" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>1</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Clouds-would-be-bad-today-since-when-were-talking-NetDuino-Solar-Monitor/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
      <category>Solar Power</category>
    </item>
  <item>
      <title>Sometimes you do need to be Pushy... &quot;Near Real Time Sensor Data with Windows Azure Mobile Services, .NET Micro Framework, Pusher and ASP .NET MVC&quot;</title>
      <description><![CDATA[<p>Today's Hardware Friday project by Nick Harris.</p><ul><li>Hardware? Check. </li><li>.Net Micro Framework? Check </li><li>The new Windows Azure Mobile Services? Check </li><li>Azure Web Site? Check </li><li>Quick project to bring this all together for the fun of it? Check! </li></ul><p>Here's a summary that says it all...</p><blockquote><p>This is a little demo pulled together over the weekend to demonstrate that we can do some really cool things using Mobile Services and embedded devices! - the dataflow is basically the following:</p><ul><li>Temperature and Humidity data captured on using .NET Micro Framework 4.2 on Gadgeteer GHI FEZ Spider </li><li>Data is then inserted into mobile services using a thin slice of the Mobile Services SDK that i ported to .NET MF. It was slow going as in the .NET MF there is no support for generics, json serialization, no linq and limited reflection capabilities sort of like coding back in .NET 1.1 </li><li>Mobile Service Insert Script sends collected data to this browser via Pusher - one of our store partners </li><li>Windows Azure Web Site Web client subscribed with Pusher and shows update live data on graph in near real time </li></ul></blockquote><p>&nbsp;</p><h2><a href="http://www.nickharris.net/2013/02/devices-services-near-realtime-sensor-data-with-windows-azure-mobile-services-net-microframework-and-pusher/">Devices &#43; Services: Near Realtime Sensor Data with Windows Azure Mobile Services, .NET MicroFramework, Pusher and ASP .NET MVC</a></h2><blockquote><p>It’s no surprise to people around me that I have a strong desire to code more, so I did just that on a Saturday several weeks back and here is what I built – a new devices &#43; services scenario using a Gadgeteer, the .NET MicroFramework, <a href="http://www.windowsazure.com/mobile">Windows Azure Mobile Services</a> and <a href="http://pusher.com/">Pusher</a> and Windows Azure Web Sites.</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B8%5D-62.png" alt="image" width="418" height="364" border="0"></p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-124.png" alt="image" width="500" height="281" border="0"></p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B5%5D-63.png" alt="image" width="246" height="364" border="0"></p><p>...</p><p><strong>Capturing Sensor Data</strong></p><p>For this scenario I am using the GHI Gadgeteer FEZ Spider and I have already installed <a href="http://www.ghielectronics.com/support/dotnet-micro-framework">all the pre-req software from GHI</a>&nbsp;&nbsp; An embedded device that runs the .NET MicroFramework and has a bunch of plug and play sensors for rapid prototyping.&nbsp; To collect the sensor data is quite straight forward</p><p>...</p><p><strong>Storing the Sensor Data in Mobile Services</strong> Ok the first thing that you will need to do is Create a Mobile Service. Within the <a href="https://manage.windowsazure.com/">Windows Azure Portal </a>Click New&#43;</p><p>...</p><p><strong>Sending the sensor data to listening clients using Pusher</strong></p><p>This is where things get pretty sweet. I wanted to visualize my sensor data in a graph as it arrived in my Mobile Service. Recently we announced a new Windows Azure Store partner – <a href="http://pusher.com/">Pusher </a>a&nbsp; WebSocket Powered Realtime Messaging Service.&nbsp; Within the Windows Azure Store you can quickly provision a Pusher account and utilize it from Mobile Services within minutes as follows.</p><p>...</p><p><strong>Graphing the data received via Pusher in a web client running on Windows Azure Web Sites</strong></p><p>So now we had our sensor data collected, inserted and stored in Mobile Services and then <strong>pushed</strong> using pusher to any listening clients.&nbsp; What I wanted was a web client to visualize the data in a graph as it arrived. You can learn how to create a free Windows Azure Website using ASP.NET MVC and deploy it to Windows Azure here – <a href="http://www.windowsazure.com/en-us/develop/net/tutorials/get-started/">http://www.windowsazure.com/en-us/develop/net/tutorials/get-started/</a></p><p>...</p><p>If you read through the code you will see pretty clearly that the Pusher implementation is 3 lines of code only – to me this is extremely cool. Itty bitty amount of code, phenomenal cosmic power!</p><p>So that’s it now we have live graphs on our website, you can checkout a running version of this code and it live graphs that I deployed to a Windows Azure Web Site here – <a href="http://microframework.azurewebsites.net/">http://microframework.azurewebsites.net</a></p><p><strong>How much does it cost</strong></p><p>Everything that I did here can be done for free with <a href="http://www.windowsazure.com/en-us/pricing/free-trial/">Windows Azure Windows Azure Free Trial</a> and/or the great free tier offerings for Windows Azure Web Sites, Windows Azure Mobile Services and Pusher.</p><p><strong>Where’s teh codez?</strong></p><p>This is unofficial, is not supported – I did it in my free time and it Works on my machine! <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' />&nbsp; disclaimers all being said I really hope that this does open up a lot of doors for you for building out a whole new range of devices &#43; services scenarios using Windows Azure and our Store Partners You can download the .NET MF lib and sample code from <a href="https://github.com/nickharris/Microsoft.Azure.Zumo.MicroFramework">this github repo</a></p><p><strong>Summary</strong></p><p>I hope this has opened the door to great new devices&#43;services scenarios you can build out for your .NET MicroFramework solutions. With few lines of code and powerful services like Windows Azure Web Sites, Windows Azure Mobile Services and Pusher you can make working in the emerging embedded devices &#43; services space a lot easier then it has been in the past. Please do let me know if you have built something awesome in this space on the Twitterz <a href="http://www.twitter.com/cloudnick">@cloudnick</a></p></blockquote><p>Check, check, check! Got to love that you can do all this cloud stuff for free!</p><p>So what are you waiting for? Get building your cloud connected projects!</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:b9fab9a99d114d449a5ca18a014b3196">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Sometimes-you-do-need-to-be-Pushy-Near-Real-Time-Sensor-Data-with-Windows-Azure-Mobile-Services-NET-</comments>
      <itunes:summary>Today&#39;s Hardware Friday project by Nick Harris. Hardware? Check. .Net Micro Framework? Check The new Windows Azure Mobile Services? Check Azure Web Site? Check Quick project to bring this all together for the fun of it? Check! Here&#39;s a summary that says it all... This is a little demo pulled together over the weekend to demonstrate that we can do some really cool things using Mobile Services and embedded devices! - the dataflow is basically the following: Temperature and Humidity data captured on using .NET Micro Framework 4.2 on Gadgeteer GHI FEZ Spider Data is then inserted into mobile services using a thin slice of the Mobile Services SDK that i ported to .NET MF. It was slow going as in the .NET MF there is no support for generics, json serialization, no linq and limited reflection capabilities sort of like coding back in .NET 1.1 Mobile Service Insert Script sends collected data to this browser via Pusher - one of our store partners Windows Azure Web Site Web client subscribed with Pusher and shows update live data on graph in near real time &amp;nbsp; Devices &amp;#43; Services: Near Realtime Sensor Data with Windows Azure Mobile Services, .NET MicroFramework, Pusher and ASP .NET MVCIt’s no surprise to people around me that I have a strong desire to code more, so I did just that on a Saturday several weeks back and here is what I built – a new devices &amp;#43; services scenario using a Gadgeteer, the .NET MicroFramework, Windows Azure Mobile Services and Pusher and Windows Azure Web Sites.    ... Capturing Sensor Data For this scenario I am using the GHI Gadgeteer FEZ Spider and I have already installed all the pre-req software from GHI&amp;nbsp;&amp;nbsp; An embedded device that runs the .NET MicroFramework and has a bunch of plug and play sensors for rapid prototyping.&amp;nbsp; To collect the sensor data is quite straight forward ... Storing the Sensor Data in Mobile Services Ok the first thing that you will need to do is Create a Mobile Service. Within the Windows Azure Portal C</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Sometimes-you-do-need-to-be-Pushy-Near-Real-Time-Sensor-Data-with-Windows-Azure-Mobile-Services-NET-</link>
      <pubDate>Fri, 29 Mar 2013 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Sometimes-you-do-need-to-be-Pushy-Near-Real-Time-Sensor-Data-with-Windows-Azure-Mobile-Services-NET-</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/fc3cc51e-cadd-4428-96c9-ffd36e8321ed.png" height="56" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/8773b7ad-5c67-4b5e-96a0-79ac7dcf68d2.png" height="124" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Sometimes-you-do-need-to-be-Pushy-Near-Real-Time-Sensor-Data-with-Windows-Azure-Mobile-Services-NET-/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
      <category>Windows Azure</category>
      <category>Windows Azure Mobile Services</category>
    </item>
  <item>
      <title>Your house, 11 Netduinos and the Cloud...</title>
      <description><![CDATA[<p>Today's Hardware Friday project by Mike Linnen is one that's pretty awesome in a cool Internet of Things kind of way. We've featured bits and pieces of like functionality in the past, but I don't think something ever as complete as this.</p><p>The best part of all is that it's not really a project as much as it is a &quot;teach you to fish all the while creating an awesome thing&quot; kind of... well... thing.</p><h2><a href="http://www.protosystem.net/post/2013/02/14/Demo-connecting-11-Netduinos-to-Windows-Azure-Service.aspx">Demo connecting 11 Netduinos to Windows Azure Service</a></h2><blockquote><p>I put together a talk that includes a lab on building a security/home automation system using 11 netduinos communicating over MQTT with a broker located in Windows Azure.&nbsp; The attendees of this talk will walk through the lab and build out various components of a security system.</p><p>Here is a video demonstrating the various components of the system.&nbsp;&nbsp;</p><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/PgB4qjhS3Ls&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/PgB4qjhS3Ls&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p>...</p></blockquote><h2><a href="http://www.cloudhomesecurity.com/" target="_blank">My Security</a></h2><blockquote><h4><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-123.png" alt="image" width="485" height="364" border="0"></h4><h4>Overview</h4><p>This project was created to show off some fun things you can do to get started in the Internet of Things craze. This project was never intended to be an actual working Home Security system so don’t try and use it for that unless you really think about addressing some of the internet security issues that need to be tackled with a project like this. Please use this code as an example only!</p><p>Each device that is connected to the system's central hub will perform a specific function in the security platform. In a real security system you wouldn’t have mission critical devices dependent on external connectivity to the cloud. The connectivity to such an external system could be easily disrupted. Again this is just a fun example to get you thinking about connecting many devices to a cloud service.</p><p>The hardware used for this project is the <a href="http://www.netduino.com/netduinoplus2/specs.htm">Netduino Plus 2</a> from <a href="http://secretlabs.com/">Secret Labs LLC</a>. All code samples you see on this sight will target the Netduino Plus 2 device. However, the protocol to communicate with the cloud service is not platform specific so any device can be used to communicate with the Home Security service. So feel free to use a different .Net Micro Framework device. You could even use one of the very popular Arduino devices.</p><p>Of course the cloud service part of this project is running on the <a href="http://www.windowsazure.com/en-us/">Windows Azure Platform</a>. There are so many options available to you with the Azure platform. I decided to use a small subset of the features available just to prove that it doesn't take a lot to get something going on the Azure platform.</p><h4>Where to start</h4><p>As a participant in this project you will be building the devices that complete the Home Security system. Some basic code will already be written for you but for the most part it will be your job to complete the code and make the device functional. The cloud service that connects the devices is already completed and deployed to Windows Azure for you to use, so you wont need to do any of that coding. However the code for the cloud service is available in source control for you to look at.</p><ul><li><a href="http://www.cloudhomesecurity.com/Docs">Documentation</a> - This is where you will spend most of your time because it contains all the documentation to complete the lab exercises. </li><li><a href="http://www.cloudhomesecurity.com/Docs/GettingReadyForTheMeeting">Getting Ready For the Meeting</a> - All the information you need to come prepared for the event. </li><li><a href="https://github.com/mlinnen/CloudHomeSecurity">Azure Source Code Repository</a> - All the source for the Azure components of the security system. </li><li><a href="https://github.com/mlinnen/NetduinoHomeSecurity">Netduino Source Code Repository</a> - All the source for the Netduino components of the security system </li><li><a href="http://www.cloudhomesecurity.com/HomeSecurity">Dashboard</a> - This is the Home Security Dashboard where you can see the status of a device and interact with it </li><li><a href="http://www.slideshare.net/mlinnen/hacknight-powerpoint-16458192">Slide Deck</a> - The slides for the presentation </li></ul></blockquote><h3><a href="http://www.cloudhomesecurity.com/Docs">Documentation</a></h3><blockquote><h4>What do I need</h4><p>Before you attend this event you need to get a few things in order. We don't have a lot of time during the event to spend it setting up your development environment so make sure you check out <a href="http://www.cloudhomesecurity.com/Docs/GettingReadyForTheMeeting">Getting Ready For the Meeting</a>.</p><h4>What will I be doing</h4><p>You will be building one of the following devices in the home security system:</p><ul><li><a href="http://www.cloudhomesecurity.com/Docs/ExternalDoorEntry">External Door Entry</a>- This device handles all the I/O for any External Door </li><li><a href="http://www.cloudhomesecurity.com/Docs/DoorBell">Door Bell</a>- This device handles the I/O for letting the user know a door bell was pushed </li><li><a href="http://www.cloudhomesecurity.com/Docs/Alarm">Alarm</a>- This device handles the I/O for letting the user know the alarm was tripped </li><li><a href="http://www.cloudhomesecurity.com/Docs/AlarmControlPanel">Alarm Control Panel</a>- This device handles the I/O for the control panels placed in each room of the house </li><li><a href="http://www.cloudhomesecurity.com/Docs/MasterControlPanel">Master Control Panel</a>- This isn't really a device (but it could be) and it is already built for you. I am calling it out here because without it the entire system would be a bunch of devices that are independent of one another with no real central control managing the whole security system logic. </li></ul><p>Determine which one of the devices that you want to attempt to build. Some of the devices are harder to complete than others. If you want to start out easy then you can do the doorbell device. If you want a tougher challenge then go ahead and try the Alarm Control Panel.</p><p>There will be some code that is already written for you so that you don't have to worry about the communication protocols needed to publish and subscribe to the <a href="http://mqtt.org/">MQTT</a> message bus. Since the protocol is abstracted away from you all you need to know is that the MQTT messages are basically made up of two parts: a Topic and a Message. There is a lot more to the MQTT standard that you can read up on your own but you won't need it for this project. Basically, topics are a series of words separated by a / topic separator. The message is simply any string. The devices on the bus are expected to understand the topics and message formats, but like all pub/sub designs the devices don't know</p><p>...</p><h4>What is running in the cloud</h4><p>There are two main components that already exist in Azure that the devices will interact with: MQTT Message Broker and Master Control Panel. The message broker runs under an Azure Worker Role. The Master Control Panel runs in Windows Azure Web Role. The broker simply routes MQTT messages and has no real home security specific business logic on it. The Master Control Panel manages the state of the security system as well as the business rules around how the security system functions as a whole. SignalR is used to update the client browsers when the state of the security system changes. Take a look at the <a href="http://www.cloudhomesecurity.com/Docs/MasterControlPanel">Master Control Panel</a> for more details on how it functions.</p><p>...</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B8%5D-60.png" alt="image" width="473" height="364" border="0"></p></blockquote><p>As you can see, pretty awesome. If you're in his area, make sure you see him, and build this project with him... Scroll to the bottom of <a title="http://www.cloudhomesecurity.com/" href="http://www.cloudhomesecurity.com/">http://www.cloudhomesecurity.com/</a> to see where and when.</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:b42f0b5314984c169d13a1840123d601">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Your-house-11-Netduinos-and-the-Cloud</comments>
      <itunes:summary>Today&#39;s Hardware Friday project by Mike Linnen is one that&#39;s pretty awesome in a cool Internet of Things kind of way. We&#39;ve featured bits and pieces of like functionality in the past, but I don&#39;t think something ever as complete as this. The best part of all is that it&#39;s not really a project as much as it is a &amp;quot;teach you to fish all the while creating an awesome thing&amp;quot; kind of... well... thing. Demo connecting 11 Netduinos to Windows Azure ServiceI put together a talk that includes a lab on building a security/home automation system using 11 netduinos communicating over MQTT with a broker located in Windows Azure.&amp;nbsp; The attendees of this talk will walk through the lab and build out various components of a security system. Here is a video demonstrating the various components of the system.&amp;nbsp;&amp;nbsp;  ... My SecurityOverviewThis project was created to show off some fun things you can do to get started in the Internet of Things craze. This project was never intended to be an actual working Home Security system so don’t try and use it for that unless you really think about addressing some of the internet security issues that need to be tackled with a project like this. Please use this code as an example only! Each device that is connected to the system&#39;s central hub will perform a specific function in the security platform. In a real security system you wouldn’t have mission critical devices dependent on external connectivity to the cloud. The connectivity to such an external system could be easily disrupted. Again this is just a fun example to get you thinking about connecting many devices to a cloud service. The hardware used for this project is the Netduino Plus 2 from Secret Labs LLC. All code samples you see on this sight will target the Netduino Plus 2 device. However, the protocol to communicate with the cloud service is not platform specific so any device can be used to communicate with the Home Security service. So feel free to use a different .</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Your-house-11-Netduinos-and-the-Cloud</link>
      <pubDate>Fri, 22 Mar 2013 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Your-house-11-Netduinos-and-the-Cloud</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/18e4e76c-934a-4837-9c28-3302cc417a10.png" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/3b89082e-08ae-4fc7-ad18-af18be2eef7b.png" height="165" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>2</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Your-house-11-Netduinos-and-the-Cloud/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
      <category>Hardware</category>
    </item>
  <item>
      <title>An amazing maze, with some Windows Phone 8, Netduino, servos and some 3D printing for flavor...</title>
      <description><![CDATA[<p>Welcome to the RogueCode Blog!</p><p>Just kidding... <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /> but with all the cool work Matt, aka RogueCode, has been doing, and which we've been highlighting, it kinds of feels that way doesn't it? Now if only the stuff he was doing wasn't just so darn cool.</p><p>We have just about everything in this project. Hardware, electronics, development, mobile even 3D printing!</p><h2><a href="http://blog.roguecode.co.za/Post/Netduino%2bWP8real-lifemazegame">Netduino &#43; WP8 real-life maze game</a></h2><blockquote><p>When I was young my parents bought me a wooden maze game. I loved that thing. I don’t think I ever cared much for the actual maze element – but the mechanism to tilt the stage was intriguing, and very simple.</p><p>When I remembered it the other day I managed to both find it online, and actually find my original one in an old cupboard from storage.</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-120.png" alt="image" width="400" height="312" border="0"></p><p>Moving on a decade or two, we now have hundreds of these ball games on smartphones using their accelerometers (<a href="http://www.windowsphone.com/en-us/store/app/pocket-maze-free/3af75353-ec66-4b39-92b8-72b70e25a7d2">like this one</a> – a random one from the WP store), but their graphics leave a lot to be desired. Which is why I’ve made a photorealistic one <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif?v=c9' alt='Wink' /></p><p><strong>The objective</strong> was to make a maze game that was a merge between the old-school and new-school ones. So the phone is used as a tilt controller to control the physical maze via Bluetooth with a Netduino. The maze is a simple model printed on my 3D printer and is tilted by using two servos. Bonus points for adding a switch mechanism to report back to the phone when the player gets to the end.</p><h3><strong>What you need</strong>:</h3><ul><li>2 fairly strong servos. I used Turnigy metal-gear ones from <a href="http://www.hobbyking.com/hobbyking/store/__17322__Turnigy_TGY_9018MG_Metal_Gear_Servo_2_5kg_13g_0_10.html">HobbyKing</a>. </li><li>Bluetooth module </li><li>Netduino </li><li>Small square maze-like object </li><li>10K ohm resistor </li><li>4.8V battery pack </li><li>Conductive ball-bearing/marble </li></ul></blockquote><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/q_nzCgNW28g&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/q_nzCgNW28g&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/XBzHrL2hT5c&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/XBzHrL2hT5c&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><blockquote><h3>The maze:</h3><p>This probably took longer than all the other parts combined because my 3D printer’s extruder nozzle jammed up rather solidly. And even when I did eventually get it to print, the result was pretty terrible. However, the actual maze model at the end of this post is perfect and will print fine on your printer if you have one. I printed it 9CM x 9CM because that is about the biggest my Makerbot Thing-O-Matic can print.</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B8%5D-59.png" alt="image" width="500" height="214" border="0"></p><p>To make the model, I first went to <a href="http://www.mazegenerator.net/">http://www.mazegenerator.net/</a> and generated a 9X9 maze. Then imported the result into SketchUp, traced out the lines, and extruded the walls up. I only made the walls high enough to steer the ball – not encase it.</p></blockquote><p>And of course, Matt's made everything that can be downloaded, downloadable...</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:17b87517f5f64c75970ba17d011ef2d6">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/An-amazing-maze-with-some-Windows-Phone-8-Netduino-servos-and-some-3D-printing-for-flavor</comments>
      <itunes:summary>Welcome to the RogueCode Blog! Just kidding...  but with all the cool work Matt, aka RogueCode, has been doing, and which we&#39;ve been highlighting, it kinds of feels that way doesn&#39;t it? Now if only the stuff he was doing wasn&#39;t just so darn cool. We have just about everything in this project. Hardware, electronics, development, mobile even 3D printing! Netduino &amp;#43; WP8 real-life maze gameWhen I was young my parents bought me a wooden maze game. I loved that thing. I don’t think I ever cared much for the actual maze element – but the mechanism to tilt the stage was intriguing, and very simple. When I remembered it the other day I managed to both find it online, and actually find my original one in an old cupboard from storage.  Moving on a decade or two, we now have hundreds of these ball games on smartphones using their accelerometers (like this one – a random one from the WP store), but their graphics leave a lot to be desired. Which is why I’ve made a photorealistic one  The objective was to make a maze game that was a merge between the old-school and new-school ones. So the phone is used as a tilt controller to control the physical maze via Bluetooth with a Netduino. The maze is a simple model printed on my 3D printer and is tilted by using two servos. Bonus points for adding a switch mechanism to report back to the phone when the player gets to the end. What you need:2 fairly strong servos. I used Turnigy metal-gear ones from HobbyKing. Bluetooth module Netduino Small square maze-like object 10K ohm resistor 4.8V battery pack Conductive ball-bearing/marble   The maze:This probably took longer than all the other parts combined because my 3D printer’s extruder nozzle jammed up rather solidly. And even when I did eventually get it to print, the result was pretty terrible. However, the actual maze model at the end of this post is perfect and will print fine on your printer if you have one. I printed it 9CM x 9CM because that is about the biggest my Makerbot Thing-</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/An-amazing-maze-with-some-Windows-Phone-8-Netduino-servos-and-some-3D-printing-for-flavor</link>
      <pubDate>Fri, 15 Mar 2013 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/An-amazing-maze-with-some-Windows-Phone-8-Netduino-servos-and-some-3D-printing-for-flavor</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/7a5d856a-3ebb-4a20-a495-1b800d185f5b.png" height="45" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/567de521-4ca9-4978-a9e7-88539c74b41f.png" height="100" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/An-amazing-maze-with-some-Windows-Phone-8-Netduino-servos-and-some-3D-printing-for-flavor/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Bluetooth</category>
      <category>Coding4Fun</category>
      <category>Hardware</category>
    </item>
  <item>
      <title>Rock-Paper-[Netduino/Arduino]</title>
      <description><![CDATA[<p>Today's Hardware Friday project by Georgi Hadzhigeorgiev is one that's a little unusual in that there's not only Netduino code but also an Arduino version available too. I thought that kind of cool, seeing both in one post... Also there's just nothing like a little Rock-Paper-Scissors.</p><h3><a href="http://ghadzhigeorgiev.wordpress.com/2013/02/10/rock-paper-scissors-with-netduino-and-arduino/" target="_blank">Rock-Paper-Scissors with Netduino and Arduino</a></h3><blockquote><p>Been constantly persuaded by my 6 years old daughter to play Rock-Paper-Scissors I decided that we can make it a bit more interesting, so I’ve put following schematics on the prototyping shield:</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-118.png" alt="image" width="484" height="364" border="0"></p><p>Netduino and Arduino are pin compatible, but the output voltages are different: 3.3V for Netduino and 5V for Arduino. For current limiting, I’ve selected 150Ohm resistor to avoid changing the elements, when change the platform. The 10K pull-down resistors assure false state on the digital inputs until button is pressed.</p><p><img title="SNAGHTML285f8cc8" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML285f8cc8%5B3%5D.png" alt="SNAGHTML285f8cc8" width="500" height="352" border="0"></p><p><img title="SNAGHTML285fe0c1" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML285fe0c1%5B3%5D.png" alt="SNAGHTML285fe0c1" width="463" height="364" border="0"></p><p>What the code is doing and how to play:<br>After MCU initialise, RGB LED becomes steady GREEN thus indicating first player’s move. In secret from the other player, press the chosen button (from left to right in order: ROCK, PAPER, SCISSORS). RGB LED becomes steady RED and now this is the second player’s turn (at that stage of the game, the player may not press the button in secret any more). After the second player’s choice, the RGB LED will flash with the winners colour: GREEN (first player), RED (second player) and BLUE for TIE. Few seconds later, game restarts and you can play again.</p></blockquote><p>BTW, while your there, make sure you check out his <a href="http://ghadzhigeorgiev.wordpress.com/netduino-for-beginners-turorial/" target="_blank">Netduino for beginners tutorial!</a> (Yes, it's a two for one kind of day... <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /></p><p><a href="http://ghadzhigeorgiev.wordpress.com/netduino-for-beginners-turorial/" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B6%5D-63.png" alt="image" width="439" height="364" border="0"></a></p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:0dbbd74357b94da89983a176014a301e">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Rock-Paper-NetduinoArduino</comments>
      <itunes:summary>Today&#39;s Hardware Friday project by Georgi Hadzhigeorgiev is one that&#39;s a little unusual in that there&#39;s not only Netduino code but also an Arduino version available too. I thought that kind of cool, seeing both in one post... Also there&#39;s just nothing like a little Rock-Paper-Scissors. Rock-Paper-Scissors with Netduino and ArduinoBeen constantly persuaded by my 6 years old daughter to play Rock-Paper-Scissors I decided that we can make it a bit more interesting, so I’ve put following schematics on the prototyping shield:  Netduino and Arduino are pin compatible, but the output voltages are different: 3.3V for Netduino and 5V for Arduino. For current limiting, I’ve selected 150Ohm resistor to avoid changing the elements, when change the platform. The 10K pull-down resistors assure false state on the digital inputs until button is pressed.   What the code is doing and how to play:After MCU initialise, RGB LED becomes steady GREEN thus indicating first player’s move. In secret from the other player, press the chosen button (from left to right in order: ROCK, PAPER, SCISSORS). RGB LED becomes steady RED and now this is the second player’s turn (at that stage of the game, the player may not press the button in secret any more). After the second player’s choice, the RGB LED will flash with the winners colour: GREEN (first player), RED (second player) and BLUE for TIE. Few seconds later, game restarts and you can play again. BTW, while your there, make sure you check out his Netduino for beginners tutorial! (Yes, it&#39;s a two for one kind of day...   </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Rock-Paper-NetduinoArduino</link>
      <pubDate>Fri, 08 Mar 2013 14:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Rock-Paper-NetduinoArduino</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/314c2b89-7a36-4701-8bd2-7c7859b86c91.png" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/b3bbfe74-435d-4372-8317-e5ae9d79c0d3.png" height="165" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Rock-Paper-NetduinoArduino/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>C#</category>
      <category>Coding4Fun</category>
    </item>
  <item>
      <title>Netduino, GDI and a playable Invaders-like game...</title>
      <description><![CDATA[<p>Today's Hardware Friday post takes us to another .Net Micro Framework/Netduino developer who's been on knocking out a bunch of great articles and projects...</p><p>C9'ers, this is <a href="http://www.tinyclr.it/mainblog.aspx" target="_blank">Mario Vernari</a>. Mario Vernari, this is C9'ers...</p><h2><a href="http://www.tinyclr.it/a-simple-yet-versatile-gdi-library-for-netduino.aspx" target="_blank">A simple yet versatile GDI library for Netduino.</a></h2><blockquote><p>This is <a href="http://highfieldtales.wordpress.com/2012/02/12/lcdboost-library-for-netduino/">my second attempt</a> of making an hardware abstraction against a limited UI which can be connected to a Netduino. Most of the times, you can drive a character LCD module or something like that, but no complex displays unless some native library or hardware helper will come in rescue. That's because they require a lot of resources, such as RAM as well as CPU speed. However, until you write apps in managed C# on a Netduino, both of them are very limited.</p><p>That's the way I considered only very simple displays, and -why not?- the nice led matrix presented in <a href="http://www.tinyclr.it/sure-electronics-led-matrix-driver-for-netduino.aspx">my previous article</a>.</p><p>I don't think to have discovered anything new: I took &quot;inspiration&quot; by the old Windows GDI (Win 98 and earlier), mixed with some elegancy of the newer GDI&#43; (XP). By the way, GDI&#43; is the one exposed by the .Net Winforms APIs. Instead, the challenge was to create the very minimum to be able to (literally) play with, without forgetting a decent performance.</p><h5>Step-by-step usage of library with the Sure Electronics led-matrix.</h5><p>The library usage should be pretty straightforward. However, a basic knowledge of the Windows GDI/GDI&#43; and/or <a href="http://msdn.microsoft.com/en-us/library/dd30h2yb.aspx">Winforms Graphics</a> will help a lot. I don’t teach here anything about it, because it is <a href="http://www.bobpowell.net/Default.aspx">very well explained</a> in many places, and there are thousands of good examples.</p><p>Instead, here I just want to show you how to proceed, step-by-step, for a very basic app. As a minimal example, this app won’t have any animation, but creates only static images on the display. Animations aren’t particularly different, but it require a bit of ability on manage the graphics at best, due the limited performance.</p><p>Here we go!</p><p>...</p></blockquote><h2><a href="http://www.tinyclr.it/animation-with-the-gdi-library-for-netduino.aspx" target="_blank">Animation with the GDI library for Netduino.</a></h2><blockquote><p>As promised, here is a tutorial on how create a basic animation with the <a href="http://www.tinyclr.it/a-simple-yet-versatile-gdi-library-for-netduino.aspx">GDI library for Netduino</a> and the <a href="http://www.sureelectronics.net/goods.php?id=1095">Sure Electronics HT1632 led-matrix</a> module.</p><p>There's nothing special behind it: the process is exactly the same as drawing a static composition, but the sequence of frames is performed many times in a second. The deal is managing the drawing composition on every frame in the quickest way, that require a pretty good knowledge of the library and the framework itself.</p><h6>Frame rendering: choosing an approach.</h6><p>There are two approaches on how manage the animation.</p><p>The first way is running all the rendering in a tight endless-loop, so that the frame rendering sequence will be as fast as possible. The actual frame rate is not known a priori, but it varies upon the amount of work to be done for the graphics composition. Thus, when a frame is relatively simple, the frame rate will be high. Instead, when the composition is rather complex, you'll experience a poor, jerky animation.</p><p>Another way is constraining the frame rate at a certain value (e.g. 20 frames per second). This should ensure the same animation quality in any context, but requires a much more careful development of the composition. In fact, you must be sure that, in any case, no composition will take longer than the maximum allowed (in the example of 20 fps, no longer than 50ms).</p><p>I'd prefer the latter, but there are pros and cons in both of them.&nbsp;</p><p>Although you may choose the best approach you'll like, you have to deal with short timings of composition in any case. This is the only real task to deal with.</p><p>To measure the framing time, I used a simple trick. An OutputPort is taken high on the very beginning of the composition, then pulled low at the end. The high-level duration is measured with the scope (or any logic analyzer), and gives an approximate time of the task.</p><h5>The bouncing-balls example.</h5><p>This tutorial will cover an example on how to animate one or more &quot;balls&quot;, each one actually drawn as a framed rectangle, and bouncing against the virtual bounds of the display viewport.</p><p>The program is structured to animate an array of &quot;Ball&quot; instances, thus you can experience how long takes animating just one or a series of them. A similar project is also interesting for inspecting what and where can be optimized.</p><p>Let's start back from a generic application, as seen in this article.</p><p>...</p></blockquote><h2><a href="http://www.tinyclr.it/the-gdi-library-for-netduino-targets-a-lcd-module.aspx" target="_blank">The GDI library for Netduino targets a LCD module.</a></h2><blockquote><p>In this post I will show how the <a href="http://www.tinyclr.it/a-simple-yet-versatile-gdi-library-for-netduino.aspx">GDI library for Netduino</a> can be used for a generic LCD character module (typically HD44780 driven).</p><p>The library abstracts the physical layer pretty well, although it’s rather hard to ignore the huge differences between a colored led-matrix and a back-and-white display.</p><p>First off, as said, the colors are just two: black and white. Better: blank and shaded, because there are LCDs which displays dark dots on a bright background, but also other models which displays bright dots on a dark background. To mimic the blending as in the led-matrix case, I considered the “Black” as blank (inactive) and the “White” as shaded (active).</p><p>Secondly, this kind of LCD module is structured as a character-matrix, so it has an intrinsic ability to display a character. For the led-matrix there’s a font-oriented character generator, which compose the character pattern using the display’s dots.</p><p>Thirdly, in a character-oriented LCD module, you cannot target a single “pixel” (meant as a single dot of a character). The “pixels” are something inaccessible from the outside interface, which understands the “character-entity” only, instead.</p><h5>The hardware and the “old” LCD Boost library.</h5><p>This project actually replaces the old <a href="http://highfieldtales.wordpress.com/2012/02/12/lcdboost-library-for-netduino/">LcdBoost library</a>, but just for the software side. The hardware is still the same, because it works fine and it’s very fast compared to other solutions.</p><p>So, before dealing with the step-by-step tutorial, you should wire up the hardware. Here follows the Fritzing board-view of the circuit.</p><p>...</p></blockquote><h2><a href="http://tinyclr.it/a-playable-invaders-like-game-with-a-netduino-plus-2.aspx" target="_blank">A playable Invaders-like game with a Netduino Plus 2.</a></h2><blockquote><p>This is not the very first time an Invaders game has been developed for the .Net Micro Framework (check <a href="http://blogs.msdn.com/b/mikehall/archive/2007/02/07/video-net-micro-framework-invaders-and-robots.aspx">here</a>), but it should be the very first developed for a Netduino-sized board.</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-116.png" alt="image" width="484" height="364" border="0"></p><p>The goal of this post is not give you a game, rather demonstrating how is simple create a pretty complex application using the <a href="http://tinyclr.it/a-simple-yet-versatile-gdi-library-for-netduino.aspx">GDI library for Netduino</a>. Moreover, the good performance of the library as well as the physical layer (driver and hardware) yields the ability to control both a <a href="http://tinyclr.it/sure-electronics-led-matrix-driver-for-netduino.aspx">led-matrix</a> and a <a href="http://tinyclr.it/the-gdi-library-for-netduino-targets-a-lcd-module.aspx">LCD module</a> at same time.</p><p>Of course, for the game to be playable, we also need a minimal controller. A simple sound generation is also provided.</p><h5>How it's made?</h5><p>I won't go deeper in the details of the app, because any good programmer can put his/hers hands on it. Instead, I'll go to describe the circuit structure, which is far form being complex.</p><p>All the hardware is composed of the following &quot;components&quot;:</p><ul><li>a Netduino (Plus) 2; </li><li>a Sure Electronics led-matrix module (introduced <a href="http://tinyclr.it/sure-electronics-led-matrix-driver-for-netduino.aspx">here</a>); </li><li>any common LCD character-module (I used a 4x20 one); </li><li>three pushbuttons as the game-controller; </li><li>some parts for the sound generation (optional); </li><li>a good 5VDC power supply (I used a <a href="http://en.wikipedia.org/wiki/78xx">LM7805</a>). </li></ul><p>...</p></blockquote><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B5%5D-60.png" alt="image" width="484" height="364" border="0"></p><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/qzw1KY10rUA&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/qzw1KY10rUA&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p>Hardware, code and some space-invaders... Looks like you've got some fun stuff to play with this weekend, don't you?</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B8%5D-57.png" alt="image" width="484" height="364" border="0"></p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:ae346ec479664be1beaca16e017a925e">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Netduino-GDI-and-a-playable-Invaders-like-game</comments>
      <itunes:summary>Today&#39;s Hardware Friday post takes us to another .Net Micro Framework/Netduino developer who&#39;s been on knocking out a bunch of great articles and projects... C9&#39;ers, this is Mario Vernari. Mario Vernari, this is C9&#39;ers... A simple yet versatile GDI library for Netduino.This is my second attempt of making an hardware abstraction against a limited UI which can be connected to a Netduino. Most of the times, you can drive a character LCD module or something like that, but no complex displays unless some native library or hardware helper will come in rescue. That&#39;s because they require a lot of resources, such as RAM as well as CPU speed. However, until you write apps in managed C# on a Netduino, both of them are very limited. That&#39;s the way I considered only very simple displays, and -why not?- the nice led matrix presented in my previous article. I don&#39;t think to have discovered anything new: I took &amp;quot;inspiration&amp;quot; by the old Windows GDI (Win 98 and earlier), mixed with some elegancy of the newer GDI&amp;#43; (XP). By the way, GDI&amp;#43; is the one exposed by the .Net Winforms APIs. Instead, the challenge was to create the very minimum to be able to (literally) play with, without forgetting a decent performance. Step-by-step usage of library with the Sure Electronics led-matrix.The library usage should be pretty straightforward. However, a basic knowledge of the Windows GDI/GDI&amp;#43; and/or Winforms Graphics will help a lot. I don’t teach here anything about it, because it is very well explained in many places, and there are thousands of good examples. Instead, here I just want to show you how to proceed, step-by-step, for a very basic app. As a minimal example, this app won’t have any animation, but creates only static images on the display. Animations aren’t particularly different, but it require a bit of ability on manage the graphics at best, due the limited performance. Here we go! ... Animation with the GDI library for Netduino.As promised, here is a tutorial on</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Netduino-GDI-and-a-playable-Invaders-like-game</link>
      <pubDate>Fri, 01 Mar 2013 14:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Netduino-GDI-and-a-playable-Invaders-like-game</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/3a3239c9-36d2-4960-9240-7961ed062509.png" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/01e13b29-1da6-4e98-b0d2-c13aa97ee55e.png" height="165" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>1</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Netduino-GDI-and-a-playable-Invaders-like-game/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>C#</category>
      <category>Coding4Fun</category>
    </item>
  <item>
      <title>What does the Imperial March, Windows Phone 8, Netduino, Bluetooth and Sonar have in common? This!</title>
      <description><![CDATA[<p>In today's Hardware Friday Project takes us back, <a href="http://channel9.msdn.com/coding4fun/blog/Windows-Phone-8-Netduino-and-Bluetooth" target="_blank">Windows Phone 8, Netduino and Bluetooth...</a>, to the very cool work that Matt Cavanagh is doing. <a href="http://forums.netduino.com/index.php?/user/2-chris-walker/" target="_blank">Chris Walker</a> of <a href="http://netduino.com/" target="_blank">Netduino</a> fame was impressed enough to reach out to us to point out the cool stuff Matt's doing now.</p><p>I mean how can you not dig a Windows Phone 8, Netduino, Sonar and the Star Wars Imperial March all in one project!?</p><p>But first...</p><h2><a href="http://blog.roguecode.co.za/Post/MoreNetduino%2bWP8%2bBluetoothfun-3Dreconstruction">More Netduino &#43; WP8 &#43; Bluetooth fun- 3D reconstruction</a></h2><blockquote><p>Following my previous post on <a href="http://blog.roguecode.co.za/Post/ControllingaNetduinooverBluetoothwithWP8">Bluetooth with the Netduino</a>, I thought I would extend it a bit.</p><p>The goal for this project is the following: Have a Netduino sending it’s orientation data (XYZ) over Bluetooth to WP8 which displays a 3D representation of it (at the right angle of course), and for bonus points attach a potentiometer to control the zoom.</p><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/WKoQXQmYC3c&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/WKoQXQmYC3c&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p><em>In the video above, as with the last one, the Netduino is only plugged in because I don’t have a 9v battery lying around. And you might notice a few MS of lag – that’s due to the smoothing filters. It’s possible to get the movement to just about real-time (Bluetooth is impressively fast) but then you also get all the fluctuations of the accelerometer.</em></p><p><em>...</em></p><p>For the phone app I’ve copied pretty much the entire code from the last post. Some is commented out because it referenced UI stuff that isn’t in this project. Because the previous post covered all this, I’m not going to go into any of that code.</p><p>So how do we show a 3D model? Well, in my opinion the easiest way is XNA. However, Microsoft killed XNA on WP8 (and W8) leaving native code as the only way. Enter: MonoGame. <a href="http://monogame.codeplex.com/">MonoGame is a framework</a> that enables XNA developers to write one code base and have it run on many different platforms. So even though XNA isn’t officially supported on WP8, we can still use MonoGame – which is pretty much identical (at least for anything we’re going to be doing). Here is their explanation of it:</p><p>...</p></blockquote><p>Okay, okay.. I know, &quot;Star Wars!...&quot;, here you go...</p><h2><a href="http://blog.roguecode.co.za/Post/Netduino%2bSonar%2bWP8%2bBluetooth-Controllingsoundwithyourmind">Netduino &#43; Sonar &#43; WP8 &#43; Bluetooth - Controlling sound with your mind</a></h2><blockquote><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/jtNh3nvP8xo&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/jtNh3nvP8xo&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p>OK, maybe not with your mind, but at the very least, your hand.</p><p><strong>The objective</strong> here was to add a sonar (ultrasonic) sensor to the Netduino, work out how close my hand was, and then send that info over Bluetooth to Windows Phone 8 and display it. Bonus points for doing something useful with the data (yes, controlling the volume of the Imperial March is totally useful!).</p><p><strong>What you need</strong> for this is:</p><ul><li>Netduino or variant </li><li>Sonic/sonar sensor </li><li>Bluetooth Module </li><li>Windows Phone 8 </li></ul><p>...</p><p>few months ago I bought this Sonar sensor: HC-SR04 (<a href="http://lightake.com/detail.do/sku.Ultrasonic_Sensor_HC_SR04_Distance_Measuring_Module___Blue___Silver-58594">http://lightake.com/detail.do/sku.Ultrasonic<em>Sensor</em>HC<em>SR04</em>Distance<em>Measuring</em>Module<strong><em>Blue</em></strong>Silver-58594</a>). I got it from a random little online Chinese shop for $4. I literally just bought it to see if they would actually deliver (free worldwide) because they have quite a big range of Arduino/Netduino sensors and it’s hard to get things locally. Surprisingly it actually came.</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-113.png" alt="image" width="364" height="364" border="0"></p><p>So last night I opened it, <a href="https://twitter.com/RogueCode/status/301031128452702208">tweeted</a>, and plugged it into the Netduino:</p><p>VCC&nbsp;&nbsp; -&nbsp; 5v<br>Trig&nbsp;&nbsp; -&nbsp; D6<br>Echo&nbsp; - D7<br>GND&nbsp; - GND</p><p>This site has a great explanation about how these work: <a href="http://arduino-info.wikispaces.com/UltraSonicDistance">http://arduino-info.wikispaces.com/UltraSonicDistance</a><br><em><strong><br>They have two transducers, basically a speaker and a microphone.<br>Ultrasound is a high frequency sound (typically 40 KHz is used). A short burst of sound waves (often only 8 cycles) is sent out the &quot;Transmit&quot; transducer (left, above). Then the &quot;Receive&quot; transducer listens for an echo. Thus, the principle of ultrasonic distance measurement is the same as with Radio-based radar.</strong></em></p><p>After understanding it I started coding a little helper to do the math for me, and realized that someone would have done this before – and proceeded to find this perfect little class by J Wilson on the Netduino forums: <a href="http://forums.netduino.com/index.php?/topic/3256-library-for-hc-sr04-ultrasonic-rangefinder/">http://forums.netduino.com/index.php?/topic/3256-library-for-hc-sr04-ultrasonic-rangefinder/</a></p><p>Download that class and add it to your Netduino project.</p><p>...</p><p>Create a new WP8 project just like before and add the Bluetooth stuff like in the first post.</p><p>Then I have a very simple UI. It’s got a ProgressBar to visualize the volume, a MediaElement to play the song, and some TextBlocks to show the current value.</p><p>&nbsp;</p><p>This would have probably been a good time to show a very basic use of MVVM, but I will leave that for another day.</p><p>Besides the Bluetooth code, there is really only one method that does all the work here, and it’s really simple. This method is called when a message is received over BT. The message in this case will be the CM distance value from the sonar sensor:</p><p>...</p></blockquote><p>And yes, of course the source is available for both projects... <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /></p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:6a46a4c7d0694ad6bd37a167013e50fb">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/What-does-the-Imperial-March-Windows-Phone-8-Netduino-Bluetooth-and-Sonar-have-in-common-This</comments>
      <itunes:summary>In today&#39;s Hardware Friday Project takes us back, Windows Phone 8, Netduino and Bluetooth..., to the very cool work that Matt Cavanagh is doing. Chris Walker of Netduino fame was impressed enough to reach out to us to point out the cool stuff Matt&#39;s doing now. I mean how can you not dig a Windows Phone 8, Netduino, Sonar and the Star Wars Imperial March all in one project!? But first... More Netduino &amp;#43; WP8 &amp;#43; Bluetooth fun- 3D reconstructionFollowing my previous post on Bluetooth with the Netduino, I thought I would extend it a bit. The goal for this project is the following: Have a Netduino sending it’s orientation data (XYZ) over Bluetooth to WP8 which displays a 3D representation of it (at the right angle of course), and for bonus points attach a potentiometer to control the zoom.  In the video above, as with the last one, the Netduino is only plugged in because I don’t have a 9v battery lying around. And you might notice a few MS of lag – that’s due to the smoothing filters. It’s possible to get the movement to just about real-time (Bluetooth is impressively fast) but then you also get all the fluctuations of the accelerometer. ... For the phone app I’ve copied pretty much the entire code from the last post. Some is commented out because it referenced UI stuff that isn’t in this project. Because the previous post covered all this, I’m not going to go into any of that code. So how do we show a 3D model? Well, in my opinion the easiest way is XNA. However, Microsoft killed XNA on WP8 (and W8) leaving native code as the only way. Enter: MonoGame. MonoGame is a framework that enables XNA developers to write one code base and have it run on many different platforms. So even though XNA isn’t officially supported on WP8, we can still use MonoGame – which is pretty much identical (at least for anything we’re going to be doing). Here is their explanation of it: ... Okay, okay.. I know, &amp;quot;Star Wars!...&amp;quot;, here you go... Netduino &amp;#43; Sonar &amp;#43; WP8 &amp;#43; </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/What-does-the-Imperial-March-Windows-Phone-8-Netduino-Bluetooth-and-Sonar-have-in-common-This</link>
      <pubDate>Fri, 22 Feb 2013 14:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/What-does-the-Imperial-March-Windows-Phone-8-Netduino-Bluetooth-and-Sonar-have-in-common-This</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/29a6c1a0-1d46-4513-9697-c41b23ab6a8b.png" height="57" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/7a91e017-6bd8-4308-9e67-9ab674410c76.png" height="125" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/What-does-the-Imperial-March-Windows-Phone-8-Netduino-Bluetooth-and-Sonar-have-in-common-This/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Bluetooth</category>
      <category>Coding4Fun</category>
    </item>
  <item>
      <title>TWC9: VS 2012 Update 2 CTP3, Save Project As, Zooming Windows 8 and more</title>
      <description><![CDATA[<p>This week on Channel 9, Brian and Nisha discuss the week's top developer news, including;</p><ul><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=56s">[0:56]</a>&nbsp;<a href="http://blogs.msdn.com/b/bharry/archive/2013/02/11/ctp-for-visual-studio-2012-update-2-vs-2012-2-is-available.aspx">CTP for Visual Studio 2012 Update 2 (VS 2012.2) is available</a> (Brian Harry), <a href="http://blogs.msdn.com/b/visualstudioalm/archive/2013/02/11/february-ctp-for-visual-studio-update-2.aspx">February CTP for Visual Studio Update 2</a> (Charles Sterling) </li><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=1m47s">[1:47]</a>&nbsp;<a href="http://blogs.msdn.com/b/agile/archive/2013/02/07/embracing-semantic-logging.aspx">Embracing Semantic Logging</a>, <a href="http://channel9.msdn.com/posts/Introducing-Semantic-Logging">Introducing Semantic Logging</a> (Grigori Melnik), <a href="http://entlib.codeplex.com/wikipage?title=Entlib6CTPReleaseNotes">Codeplex site</a>. </li><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=2m51s">[2:51]</a>&nbsp;<a href="http://blogs.msdn.com/b/codefx/archive/2013/02/14/sample-of-feb-13rd-project-saveas-vs-extension.aspx">[Sample Of Feb 13rd] Project SaveAs VS extension</a> (Philip Fu), <a href="http://code.msdn.microsoft.com/VBVSXSaveProject-65a4f335">http://code.msdn.microsoft.com/VBVSXSaveProject-65a4f335</a> </li><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=4m1s">[4:01]</a>&nbsp;<a href="http://bloggingabout.net/blogs/vagif/archive/2013/02/12/intoducing-simple-odata-client-a-portable-odata-client-library-for-net4-x-windows-store-silverlight-5-and-windows-phone-8.aspx">Introducing Simple.OData.Client: a portable OData client library for .NET4.x, Windows Store, Silverlight 5 and Windows Phone 8</a> (Vagif Abilov) </li><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=5m32s">[5:32]</a>&nbsp;<a href="http://compiledexperience.com/blog/posts/async-golden-rules">Simple golden rules for async / await</a> (Nigel Sampson) </li><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=6m22s">[6:22]</a>&nbsp;<a href="http://www.dotnetcurry.com/ShowArticle.aspx?ID=864">Windows 8: Working with Semantic Zoom using C# and XAML</a> (Mahesh Sabnis) </li><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=7m34s">[7:34]</a>&nbsp;<a href="http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/02/13/make-your-app-more-attractive-to-customers-in-the-windows-phone-store.aspx">Make your app more attractive to customers in the Windows Phone Store</a> (Kami LeMonds) </li><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=8m36s">[8:36]</a>&nbsp;<a href="http://www.codeproject.com/Articles/542448/Create-a-blog-reader-Windows-Store-app-using-JavaS">Create a blog reader Windows Store app using JavaScript and HTML</a> </li><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=9m42s">[9:42]</a>&nbsp;<a href="http://blogs.msdn.com/b/pakistan/archive/2013/02/13/xaml-introduction.aspx">XAML Introduction</a> (Shahid Aziz ) </li><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=10m54s">[10:54]</a>&nbsp;<a href="http://code.msdn.microsoft.com/Visual-Studio-3D-Starter-54ec8d19">Visual Studio 3D Starter Kit (Windows Store only)</a>, <a href="http://code.msdn.microsoft.com/Visual-Studio-3D-Starter-ac3ef01b">Visual Studio 3D Starter Kit (Windows Phone only)</a> (Roberto Sonnino) </li><li><a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=11m55s">[11:55]</a>&nbsp;<a href="http://visualstudiogallery.msdn.microsoft.com/583a346f-3526-4007-84f8-e147d61eceac">Game Design [Storyboard] Shapes</a> </li></ul><p>Picks of the Week</p><ul><li>Nisha's Pick of the Week:<a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=12m55s">[12:55]</a> <a href="http://www.windowsphone.com/en-us/store/app/blink/3e185ac7-2d21-4a74-9cad-3d4729509446">BLINK</a> </li><li>Brian's Pick of the Week:<a href="http://channel9.msdn.com/Shows/This&#43;Week&#43;On&#43;Channel&#43;9/TWC9-February-15-2013#time=13m42s">[13:42]</a> <a href="http://blog.roguecode.co.za/Post/MoreNetduino%2bWP8%2bBluetoothfun-3Dreconstruction">Windows Phone 8 Bluetooth -- Fun with Gyros</a>, <a href="http://blog.roguecode.co.za/Post/Netduino%2bSonar%2bWP8%2bBluetooth-Controllingsoundwithyourmind">Windows Phone 8 Bluetooth – Sonar and Imperial March</a> (Matt aka @RogueCode ) [Found Via: Chris Walker] </li></ul> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:cce69157912749e79be5a165014e1651">]]></description>
      <comments>http://channel9.msdn.com/Shows/This+Week+On+Channel+9/TWC9-February-15-2013</comments>
      <itunes:summary>This week on Channel 9, Brian and Nisha discuss the week&#39;s top developer news, including; [0:56]&amp;nbsp;CTP for Visual Studio 2012 Update 2 (VS 2012.2) is available (Brian Harry), February CTP for Visual Studio Update 2 (Charles Sterling) [1:47]&amp;nbsp;Embracing Semantic Logging, Introducing Semantic Logging (Grigori Melnik), Codeplex site. [2:51]&amp;nbsp;[Sample Of Feb 13rd] Project SaveAs VS extension (Philip Fu), http://code.msdn.microsoft.com/VBVSXSaveProject-65a4f335 [4:01]&amp;nbsp;Introducing Simple.OData.Client: a portable OData client library for .NET4.x, Windows Store, Silverlight 5 and Windows Phone 8 (Vagif Abilov) [5:32]&amp;nbsp;Simple golden rules for async / await (Nigel Sampson) [6:22]&amp;nbsp;Windows 8: Working with Semantic Zoom using C# and XAML (Mahesh Sabnis) [7:34]&amp;nbsp;Make your app more attractive to customers in the Windows Phone Store (Kami LeMonds) [8:36]&amp;nbsp;Create a blog reader Windows Store app using JavaScript and HTML [9:42]&amp;nbsp;XAML Introduction (Shahid Aziz ) [10:54]&amp;nbsp;Visual Studio 3D Starter Kit (Windows Store only), Visual Studio 3D Starter Kit (Windows Phone only) (Roberto Sonnino) [11:55]&amp;nbsp;Game Design [Storyboard] Shapes Picks of the Week Nisha&#39;s Pick of the Week:[12:55] BLINK Brian&#39;s Pick of the Week:[13:42] Windows Phone 8 Bluetooth -- Fun with Gyros, Windows Phone 8 Bluetooth – Sonar and Imperial March (Matt aka @RogueCode ) [Found Via: Chris Walker] </itunes:summary>
      <itunes:duration>908</itunes:duration>
      <link>http://channel9.msdn.com/Shows/This+Week+On+Channel+9/TWC9-February-15-2013</link>
      <pubDate>Fri, 15 Feb 2013 21:06:07 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Shows/This+Week+On+Channel+9/TWC9-February-15-2013</guid>
      <media:thumbnail url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215_100.jpg" height="56" width="100"></media:thumbnail>
      <media:thumbnail url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215_220.jpg" height="123" width="220"></media:thumbnail>
      <media:thumbnail url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215_512.jpg" height="288" width="512"></media:thumbnail>
      <media:group>
        <media:content url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215.mp3" expression="full" duration="908" fileSize="14537859" type="audio/mp3" medium="audio"></media:content>
        <media:content url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215.mp4" expression="full" duration="908" fileSize="86898625" type="video/mp4" medium="video"></media:content>
        <media:content url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215.webm" expression="full" duration="908" fileSize="32956232" type="video/webm" medium="video"></media:content>
        <media:content url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215.wma" expression="full" duration="908" fileSize="7352815" type="audio/x-ms-wma" medium="audio"></media:content>
        <media:content url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215.wmv" expression="full" duration="908" fileSize="46312901" type="video/x-ms-wmv" medium="video"></media:content>
        <media:content url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215_high.mp4" expression="full" duration="908" fileSize="190494875" type="video/mp4" medium="video"></media:content>
        <media:content url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215_mid.mp4" expression="full" duration="908" fileSize="133003896" type="video/mp4" medium="video"></media:content>
        <media:content url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215_Source.wmv" expression="full" duration="908" fileSize="87436971" type="video/x-ms-wmv" medium="video"></media:content>
        <media:content url="http://smooth.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215.ism/manifest" expression="full" duration="908" fileSize="6036" type="video/x-ms-wmv" medium="video"></media:content>
      </media:group>      
      <enclosure url="http://media.ch9.ms/ch9/6a06/73b5104f-e470-4e99-abd0-cf64ba446a06/TWC920130215.wmv" length="46312901" type="video/x-ms-wmv"></enclosure>
      <dc:creator>Brian Keller, Greg Duncan, Nisha Singh</dc:creator>
      <itunes:author>Brian Keller, Greg Duncan, Nisha Singh</itunes:author>
      <slash:comments>11</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Shows/This+Week+On+Channel+9/TWC9-February-15-2013/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Bluetooth</category>
      <category>Microsoft Research</category>
      <category>Odata</category>
      <category>Storyboards</category>
      <category>Visual Studio</category>
      <category>XAML</category>
      <category>Windows 8</category>
      <category>Windows Store App</category>
    </item>
  <item>
      <title>Internet of Things... such as a Gadgeteer Gas Sensor with ThingSpeak</title>
      <description><![CDATA[<p>Today's Hardware Friday project is something a little different (I know, I say that all the time, but then again, I do try to make every post about something a little different...) and one that I thought kind of cool. I also liked how it melded a couple tech and also used a library we've recently highlighted, <a href="http://channel9.msdn.com/coding4fun/blog/Get-your-Net-Micro-Framework-devices-up-with-the-PLibrary">Get your .Net Micro Framework devices up with the μPLibrary!</a>.</p><p>To give credit where credit is due, I found via <a href="http://hackaday.com/">Hack A Day's</a>, <a href="http://hackaday.com/2013/01/31/gas-sensor-suite-built-with-gadgeteer-modules/">Gas sensor suite built with Gadgeteer modules</a> post.</p><h2><a href="http://www.youtube.com/watch?v=ro2Wd1ciEpY">Gadgeteer Gas Sensor with ThingSpeak</a></h2><blockquote><p>Gadgeteer Gas Sensor demo using ThingSpeak. The ThingSpeak site for this project is available to the public at <a href="https://thingspeak.com/channels/3512">https://thingspeak.com/channels/3512</a> while I test different gas sensors. I'd like to thank Paolo for his excellent ThingSpeak libraries which I got from his CodePlex 'μPLibrary - Net Micro Framework Helper Library' which is available at <a href="http://uplibrary.codeplex.com/">http://uplibrary.codeplex.com/</a> Source code for this project is now available at <a href="http://www.tinyclr.com/codeshare/entry/607">http://www.tinyclr.com/codeshare/entry/607</a> The Gadgeteer Framework site: <a href="http://gadgeteer.codeplex.com">http://gadgeteer.codeplex.com</a></p><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/ro2Wd1ciEpY&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/ro2Wd1ciEpY&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p></blockquote><p><a href="http://www.tinyclr.com/codeshare/entry/607">Gadgeteer Gas Sensors and ThingSpeak</a></p><blockquote><p>A demo of how to use ThingSpeak (an IOT web site) with a Gadgeteer Gas Sensor Device. Data from the sensors are displayed in real time on ThingSpeak and using some of ThingSpeak's cool features the Gas Sensor device can send out Tweets for Alert and Alarm conditions. A very special thanks to Paolo for his ThingSpeak libraries which I got from his CodePlex 'μPLibrary - Net Micro Framework Helper Library' project at <a href="http://uplibrary.codeplex.com/">http://uplibrary.codeplex.com</a> You can visit the ThingSpeak channel for this projects at <a href="https://thingspeak.com/channels/3512">https://thingspeak.com/channels/3512</a> while I'm testing different gas modules.</p></blockquote><p><a href="https://thingspeak.com/channels/3512">https://thingspeak.com/channels/3512</a></p><blockquote><p><a href="https://thingspeak.com/channels/3512"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B3%5D-80.png" alt="image" width="196" height="364" border="0"></a></p></blockquote><p>And as mentioned the source for the project is available too!</p><p><a href="http://www.tinyclr.com/codeshare/entry/607"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B8%5D-51.png" alt="image" width="233" height="384" border="0"></a></p><p>With the .Net Gadgeteer, a few components, a few libraries, plug and play and your creativity and you've got your own cool thing...</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:d7c29bbf73464560a564a15a015c979e">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Internet-of-Things-such-as-a-Gadgeteer-Gas-Sensor-with-ThingSpeak</comments>
      <itunes:summary>Today&#39;s Hardware Friday project is something a little different (I know, I say that all the time, but then again, I do try to make every post about something a little different...) and one that I thought kind of cool. I also liked how it melded a couple tech and also used a library we&#39;ve recently highlighted, Get your .Net Micro Framework devices up with the μPLibrary!. To give credit where credit is due, I found via Hack A Day&#39;s, Gas sensor suite built with Gadgeteer modules post. Gadgeteer Gas Sensor with ThingSpeakGadgeteer Gas Sensor demo using ThingSpeak. The ThingSpeak site for this project is available to the public at https://thingspeak.com/channels/3512 while I test different gas sensors. I&#39;d like to thank Paolo for his excellent ThingSpeak libraries which I got from his CodePlex &#39;μPLibrary - Net Micro Framework Helper Library&#39; which is available at http://uplibrary.codeplex.com/ Source code for this project is now available at http://www.tinyclr.com/codeshare/entry/607 The Gadgeteer Framework site: http://gadgeteer.codeplex.com  Gadgeteer Gas Sensors and ThingSpeak A demo of how to use ThingSpeak (an IOT web site) with a Gadgeteer Gas Sensor Device. Data from the sensors are displayed in real time on ThingSpeak and using some of ThingSpeak&#39;s cool features the Gas Sensor device can send out Tweets for Alert and Alarm conditions. A very special thanks to Paolo for his ThingSpeak libraries which I got from his CodePlex &#39;μPLibrary - Net Micro Framework Helper Library&#39; project at http://uplibrary.codeplex.com You can visit the ThingSpeak channel for this projects at https://thingspeak.com/channels/3512 while I&#39;m testing different gas modules. https://thingspeak.com/channels/3512  And as mentioned the source for the project is available too!  With the .Net Gadgeteer, a few components, a few libraries, plug and play and your creativity and you&#39;ve got your own cool thing... </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Internet-of-Things-such-as-a-Gadgeteer-Gas-Sensor-with-ThingSpeak</link>
      <pubDate>Fri, 08 Feb 2013 14:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Internet-of-Things-such-as-a-Gadgeteer-Gas-Sensor-with-ThingSpeak</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/23ab84c4-9a30-4621-8a86-f4a11771e352.png" height="59" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/89c5e930-2e48-44b0-aef6-ffdde6d84e7e.png" height="129" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Internet-of-Things-such-as-a-Gadgeteer-Gas-Sensor-with-ThingSpeak/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
    </item>
  <item>
      <title>Windows Phone 8, Netduino and Bluetooth...</title>
      <description><![CDATA[<p>Today's Hardware Friday project comes to us via Matt Cavanagh and</p><h2><a href="http://blog.roguecode.co.za/Post/ControllingaNetduinooverBluetoothwithWP8">Controlling a Netduino over Bluetooth with WP8</a></h2><blockquote><p>The last time I touched my Netduino was about 5 months ago (due to work-load), around the time of my wedding to make the wedding tank. So this weekend I decided to dust it off and introduce it to my Lumia 920.</p><p>Disclosure: I didn’t actually dust it off.</p><p>They are now lovers.</p><p>Here is a video of what this post aims to explain how to make. It’s hard to see the actual color of things in the video – so let’s just trust me that it works</p><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/m6WNIbC502I&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/m6WNIbC502I&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p>I’m going to start by explaining the entire Netduino side of things then move to WP8. Also, I’ve pretty much explained it as simply as possible incase there is anyone on earth worse than me at electronic stuff...</p></blockquote><p>First he covers the hardware...</p><blockquote><p>First was to get the Netduino updated. Surprisingly, the Netduino didn’t update itself sitting in the cupboard. I’m running Windows 8 – but besides mistakenly flashing it with the Netduino Plus rom the drivers all work fine and there's nothing special you need to do.</p><p>Next I picked up this awesome little Bluetooth module from Pro-tecc:</p><p>...<img title="SNAGHTML232730c8" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML232730c8%5B3%5D.png" alt="SNAGHTML232730c8" width="500" height="271" border="0"></p><p>&nbsp;</p></blockquote><p>... next Windows Phone 8</p><blockquote><p>Onto Windows Phone 8.</p><p>Create a new WP8 application in VS2012. Yes, this is only possible in WP8, not 7.</p><p>I’ve made a simple UI which has 3 sliders, one for each color. By default, the color of the sliders on the left of the handle will be the phone’s accent color, so I overrode the style and changed that. Below that is a Rectangle that shows the color. Then there are 3 radio buttons: Still, Strobe, and Ambient. Still will just send the slider values and strobe will randomize the sliders every 100MS (essentially flickering the LED). Ambient is a bit more complicated. I am using the [back] camera on the device to get the average color of what the phone is looking at, and then it sends that color through to the Netduino. To force the camera to initialize I needed to put a hidden rectangle on the UI and bind it’s Brush to the camera.</p><p>Above all of that is a Grid with a ProgressBar to show that it’s connecting. If the connection fails (or the first time it connects), it will display this overlay until it’s successfully reconnected and has sent and received a test ping.</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-110.png" alt="image" width="220" height="364" border="0"></p><p>...</p><p><img title="SNAGHTML232799c7" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML232799c7%5B3%5D.png" alt="SNAGHTML232799c7" width="496" height="364" border="0"></p></blockquote><p>Source? Yes, he's made the source for both sides available, just <a href="http://blog.roguecode.co.za/Post/ControllingaNetduinooverBluetoothwithWP8">Click through to the post</a>, and scroll down to the bottom of the post.</p><p>This should help you get started and keep your WP8 from feeling blue...</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:c94b2e28a9354c728aa2a152016fc53e">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Windows-Phone-8-Netduino-and-Bluetooth</comments>
      <itunes:summary>Today&#39;s Hardware Friday project comes to us via Matt Cavanagh and Controlling a Netduino over Bluetooth with WP8The last time I touched my Netduino was about 5 months ago (due to work-load), around the time of my wedding to make the wedding tank. So this weekend I decided to dust it off and introduce it to my Lumia 920. Disclosure: I didn’t actually dust it off. They are now lovers. Here is a video of what this post aims to explain how to make. It’s hard to see the actual color of things in the video – so let’s just trust me that it works  I’m going to start by explaining the entire Netduino side of things then move to WP8. Also, I’ve pretty much explained it as simply as possible incase there is anyone on earth worse than me at electronic stuff... First he covers the hardware... First was to get the Netduino updated. Surprisingly, the Netduino didn’t update itself sitting in the cupboard. I’m running Windows 8 – but besides mistakenly flashing it with the Netduino Plus rom the drivers all work fine and there&#39;s nothing special you need to do. Next I picked up this awesome little Bluetooth module from Pro-tecc: ... &amp;nbsp; ... next Windows Phone 8 Onto Windows Phone 8. Create a new WP8 application in VS2012. Yes, this is only possible in WP8, not 7. I’ve made a simple UI which has 3 sliders, one for each color. By default, the color of the sliders on the left of the handle will be the phone’s accent color, so I overrode the style and changed that. Below that is a Rectangle that shows the color. Then there are 3 radio buttons: Still, Strobe, and Ambient. Still will just send the slider values and strobe will randomize the sliders every 100MS (essentially flickering the LED). Ambient is a bit more complicated. I am using the [back] camera on the device to get the average color of what the phone is looking at, and then it sends that color through to the Netduino. To force the camera to initialize I needed to put a hidden rectangle on the UI and bind it’s Brush to the cam</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Windows-Phone-8-Netduino-and-Bluetooth</link>
      <pubDate>Fri, 01 Feb 2013 14:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Windows-Phone-8-Netduino-and-Bluetooth</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/53d67d63-8e66-40c9-bdd2-af198908e3bc.png" height="57" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/1ab7d5ee-5b7c-44dc-b9fb-df686db5e7b9.png" height="125" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>2</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Windows-Phone-8-Netduino-and-Bluetooth/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Bluetooth</category>
      <category>Coding4Fun</category>
      <category>Windows Phone 8</category>
    </item>
  <item>
      <title>Speeding up your Netduino project (a view from a Desktop dev)</title>
      <description><![CDATA[<p>Today's Hardware Friday post by Mario Vernari struck a cord for me. Being a Desktop Dev myself, his view was one that I could appreciate. Hardware dev is a very different world and requires you to think differently (&quot;No? Really?&quot; Sorry, I have this &quot;state the obvious&quot; condition... lol <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif?v=c9' alt='Wink' /> and this post shows you why...</p><h2><a href="http://highfieldtales.wordpress.com/2013/01/05/how-to-get-our-netduino-running-faster/" target="_blank">How to get our Netduino running faster</a></h2><blockquote><p>Before going on on my graphic library for led matrix, I think it’s time to optimize a bit the code in order to get the Netduino running faster.</p><p>My job is programming application using .Net for desktop, but a PC is very rich of resources such as RAM and processor speed. Instead, the Micro Framework offers a very small environment where every byte more might have an impact on the final result.<br><br>Here is a brief bunch of tests for showing a comparison on different approaches against a same task. Sometime you don’t care about the best way to write the code, but the interesting thing is actually knowing how the things are working. You will be surprised, as I was.</p><h5>The test bench.</h5><p>The base program for the tests is very simple: it is an endless loop where the code under test runs interleaved by a short pause of 100ms. The comparison is mostly against different yet commonly-used types, such as Int32, Single, Double and Byte.</p><p>The timings are taken by using a scope, then watching at two output ports when they change their state.</p><p>Except for the very first, each test cycles 50 times over a 20-operations set: that for minimize the overhead due to the “for-loop”. By the way, the first test is targeted just for get the “for-loop” heaviness.</p><p>It follows the test program template:</p><p>...</p><h5>The basic for-loop.</h5><p>Since every test will use the “for-loop”, we should measure how much overhead that introduces.</p><p>Here is the snippet…</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B5%5D-52.png" alt="image" width="260" height="85" border="0"></p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-107.png" alt="image" width="320" height="240" border="0"></p><p>...</p><p>Roughly speaking, we could say that every for-loop cycle takes about 7 microseconds.</p><p>How does look the IL-opcodes generated by the compiler (restricted to the only for-loop)?</p><p>Well, it is pretty interesting digging a bit behind (or under?) the scenes. I will take advantage by the awesome <a href="http://ilspy.net/">ILSpy</a>, which is a free, open-source decompiler, disassembler and much more provided by the <a href="http://www.icsharpcode.net/">SharpDevelop</a> teams.</p><p>...</p></blockquote><p>If you're not afraid of a little IL and want to see what's happening behind the scenes of the code you're writing, check out his post...</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:d47bf86aaf9f4324ada8a14b0158fd85">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Speeding-up-your-Netduino-project-a-view-from-a-Desktop-dev</comments>
      <itunes:summary>Today&#39;s Hardware Friday post by Mario Vernari struck a cord for me. Being a Desktop Dev myself, his view was one that I could appreciate. Hardware dev is a very different world and requires you to think differently (&amp;quot;No? Really?&amp;quot; Sorry, I have this &amp;quot;state the obvious&amp;quot; condition... lol  and this post shows you why... How to get our Netduino running fasterBefore going on on my graphic library for led matrix, I think it’s time to optimize a bit the code in order to get the Netduino running faster. My job is programming application using .Net for desktop, but a PC is very rich of resources such as RAM and processor speed. Instead, the Micro Framework offers a very small environment where every byte more might have an impact on the final result.Here is a brief bunch of tests for showing a comparison on different approaches against a same task. Sometime you don’t care about the best way to write the code, but the interesting thing is actually knowing how the things are working. You will be surprised, as I was. The test bench.The base program for the tests is very simple: it is an endless loop where the code under test runs interleaved by a short pause of 100ms. The comparison is mostly against different yet commonly-used types, such as Int32, Single, Double and Byte. The timings are taken by using a scope, then watching at two output ports when they change their state. Except for the very first, each test cycles 50 times over a 20-operations set: that for minimize the overhead due to the “for-loop”. By the way, the first test is targeted just for get the “for-loop” heaviness. It follows the test program template: ... The basic for-loop.Since every test will use the “for-loop”, we should measure how much overhead that introduces. Here is the snippet…   ... Roughly speaking, we could say that every for-loop cycle takes about 7 microseconds. How does look the IL-opcodes generated by the compiler (restricted to the only for-loop)? Well, it is pretty intere</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Speeding-up-your-Netduino-project-a-view-from-a-Desktop-dev</link>
      <pubDate>Fri, 25 Jan 2013 14:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Speeding-up-your-Netduino-project-a-view-from-a-Desktop-dev</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/fe94e8b3-779a-4bc4-b0fa-8a75e8db62da.png" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/e2ebf469-4067-4a05-ae2f-e05c5e130036.png" height="165" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Speeding-up-your-Netduino-project-a-view-from-a-Desktop-dev/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
    </item>
  <item>
      <title>Modern UI Weather Station, .Net Micro Framework powered</title>
      <description><![CDATA[<p>I'm just a sucker for weather stations. I don't know what it is about them, but I can't ever seem to get enough of them. And since we're currently having some &quot;weather&quot; here in Southern California I thought a .Net Micro Framework Weather Station something cool to blog about... This is more work of Paolo Patierno (who brought us, <a href="http://channel9.msdn.com/coding4fun/blog/Get-your-Net-Micro-Framework-devices-up-with-the-PLibrary" target="_blank">Get your .Net Micro Framework devices up with the μPLibrary!</a>)</p><h2><a href="http://mfweatherstation.codeplex.com/">.Net Micro Framework Weather Station</a></h2><blockquote><p>This project helps you to build a weather station based on .Net Micro Framework. The data come from some sensors (temperature, humidity, luminosity and wind speed) and you can read them, in real time, using a Web page on the integrated Web Server. Enabling data logging, you can save your data into a microSD.</p><p>The project is built for Netduino Plus board and based on .Net Micro Framework 4.2 but you can use a different board changing only the pin for the sensors connections.</p><p>It uses Metro UI CSS (<a href="http://metroui.org.ua/">http://metroui.org.ua/</a>) for Metro style Web page.</p><p>The main components are :</p><ul><li>Netduino Plus board; </li><li>Wind Speed Anemometer; </li><li>SHT1X Temperature and Humidity sensor; </li><li>Photoresistor for luminosity; </li><li>DS1307 RTC; </li><li>microSD for data logging; </li></ul></blockquote><p>Here's a snap of the Solution,</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B3%5D-78.png" alt="image" width="227" height="384" border="0"></p><p>Did you catch how it's built-in Web Server feeds up a Tile Web UI by using <a href="http://metroui.org.ua/">http://metroui.org.ua/</a>? That's kind of cool, isn't it?</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B6%5D-60.png" alt="image" width="420" height="364" border="0"></p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:a327a9b914c24e16acd2a145000466dd">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Modern-UI-Weather-Station-Net-Micro-Framework-powered</comments>
      <itunes:summary>I&#39;m just a sucker for weather stations. I don&#39;t know what it is about them, but I can&#39;t ever seem to get enough of them. And since we&#39;re currently having some &amp;quot;weather&amp;quot; here in Southern California I thought a .Net Micro Framework Weather Station something cool to blog about... This is more work of Paolo Patierno (who brought us, Get your .Net Micro Framework devices up with the μPLibrary!) .Net Micro Framework Weather StationThis project helps you to build a weather station based on .Net Micro Framework. The data come from some sensors (temperature, humidity, luminosity and wind speed) and you can read them, in real time, using a Web page on the integrated Web Server. Enabling data logging, you can save your data into a microSD. The project is built for Netduino Plus board and based on .Net Micro Framework 4.2 but you can use a different board changing only the pin for the sensors connections. It uses Metro UI CSS (http://metroui.org.ua/) for Metro style Web page. The main components are : Netduino Plus board; Wind Speed Anemometer; SHT1X Temperature and Humidity sensor; Photoresistor for luminosity; DS1307 RTC; microSD for data logging; Here&#39;s a snap of the Solution,  Did you catch how it&#39;s built-in Web Server feeds up a Tile Web UI by using http://metroui.org.ua/? That&#39;s kind of cool, isn&#39;t it?  </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Modern-UI-Weather-Station-Net-Micro-Framework-powered</link>
      <pubDate>Sat, 19 Jan 2013 20:02:26 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Modern-UI-Weather-Station-Net-Micro-Framework-powered</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/1860f374-4517-49ba-a5a4-3b5f6bb3f236.png" height="87" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/3f838f56-de4f-4117-a642-72deb85beea3.png" height="191" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>2</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Modern-UI-Weather-Station-Net-Micro-Framework-powered/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
    </item>
  <item>
      <title>Driving Devices with the .NET Micro Framework [Device] Toolbox</title>
      <description><![CDATA[<p>Today's Hardware Friday post is one that I help those of you with shiny new .Net Micro Framework devices...</p><h2><a href="http://netmftoolbox.codeplex.com/">.NET Micro Framework Toolbox</a></h2><blockquote><p><strong>Project Description</strong><br>This project is a sub-framework for the .NET Micro Framework that gives support for several electrical components in the form of drivers NETMF-devices.</p><p><strong>What's in the project?</strong><br>In this project is support for multiple <a href="http://netmftoolbox.codeplex.com/wikipage?title=Supported%20devices&amp;referringTitle=Home">devices</a> by adding several drivers in the form of <a href="http://netmftoolbox.codeplex.com/wikipage?title=Available%20classes&amp;referringTitle=Home">classes</a>. See the <a href="http://netmftoolbox.codeplex.com/documentation?referringTitle=Home">documentation</a> for more details about them.</p><p><strong>How to download the source code</strong><br>All source code is available on Codeplex. To download the latest release, follow these two simple steps:<br>1. Browse through the latest build using this direct link: <a href="http://netmftoolbox.codeplex.com/SourceControl/BrowseLatest">http://netmftoolbox.codeplex.com/SourceControl/BrowseLatest</a><br>2. Click on the big download-button</p><p><strong>If you need support</strong><br>The developers and maintainer of this library are all active at <a href="http://forums.netduino.com/">http://forums.netduino.com/</a></p><p>If you encounter any problems with Netduino hardware, it's best to post a thread on those forums.</p><p>Also, there's the <a href="http://netmftoolbox.codeplex.com/discussions">Discussions tab</a>.</p><p><strong>Note about Visual Basic support</strong><br>Although the framework code is completely written in C#, all samples are available for both C# and Visual Basic. This requires .NET Micro Framework 4.2 or higher.</p></blockquote><p>Here's an example if one of the classes/devices in action;</p><h2><a href="http://forums.netduino.com/index.php?/topic/6555-netduino-hd44780-snake/">Netduino HD44780 Snake</a></h2><blockquote><p>I [<a href="http://forums.netduino.com/index.php?/user/3331-stefan/">Stefan Thoolen</a>] just updated the .NETMF Toolbox with some additional samples for both <strong>Visual C#</strong> and <strong>VB.NET</strong>. One of them is this awesome game which demonstrates custom character support for the HD44780 text LCDs:</p><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/3YMlDvjhpPo&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/3YMlDvjhpPo&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p></blockquote><p>So what kind of devices are supported?</p><p><a href="http://netmftoolbox.codeplex.com/wikipage?title=Supported%20devices">Supported devices</a></p><blockquote><p><a href="http://netmftoolbox.codeplex.com/wikipage?title=Supported%20devices"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B4%5D-11.png" alt="image" width="167" height="384" border="0"></a></p></blockquote><p>And it's not just all about hardware devices. Check out these classes</p><p><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B8%5D-49.png" alt="image" width="506" height="257" border="0"></p><p>And the source for all of this is available too!</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:fb1f75000ced4f259e92a1360163cb67">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Driving-Devices-with-the-NET-Micro-Framework-Device-Toolbox</comments>
      <itunes:summary>Today&#39;s Hardware Friday post is one that I help those of you with shiny new .Net Micro Framework devices... .NET Micro Framework ToolboxProject DescriptionThis project is a sub-framework for the .NET Micro Framework that gives support for several electrical components in the form of drivers NETMF-devices. What&#39;s in the project?In this project is support for multiple devices by adding several drivers in the form of classes. See the documentation for more details about them. How to download the source codeAll source code is available on Codeplex. To download the latest release, follow these two simple steps:1. Browse through the latest build using this direct link: http://netmftoolbox.codeplex.com/SourceControl/BrowseLatest2. Click on the big download-button If you need supportThe developers and maintainer of this library are all active at http://forums.netduino.com/ If you encounter any problems with Netduino hardware, it&#39;s best to post a thread on those forums. Also, there&#39;s the Discussions tab. Note about Visual Basic supportAlthough the framework code is completely written in C#, all samples are available for both C# and Visual Basic. This requires .NET Micro Framework 4.2 or higher. Here&#39;s an example if one of the classes/devices in action; Netduino HD44780 SnakeI [Stefan Thoolen] just updated the .NETMF Toolbox with some additional samples for both Visual C# and VB.NET. One of them is this awesome game which demonstrates custom character support for the HD44780 text LCDs:  So what kind of devices are supported? Supported devices  And it&#39;s not just all about hardware devices. Check out these classes  And the source for all of this is available too! </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Driving-Devices-with-the-NET-Micro-Framework-Device-Toolbox</link>
      <pubDate>Fri, 04 Jan 2013 14:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Driving-Devices-with-the-NET-Micro-Framework-Device-Toolbox</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/f2f1cb23-5762-4f0d-a7e6-3da35c504b17.png" height="50" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/2c7c970b-91df-43cf-9b1a-f63326e1aa79.png" height="111" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>1</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Driving-Devices-with-the-NET-Micro-Framework-Device-Toolbox/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>C#</category>
      <category>Coding4Fun</category>
      <category>Devices</category>
      <category>Visual Basic</category>
    </item>
  <item>
      <title>VB, .Net Gadgeteer, .Net Micro Framework SDK 4.2 and a simple Web Server</title>
      <description><![CDATA[<p>Today's post from PepLluis is a very short quick hit, but I just give VB.Net much love here, so...</p><h2><a href="http://msmvps.com/blogs/peplluis/archive/2012/12/11/vb-gadgeteer-webserver-sdk-4-2-qfe2-and-spider-premium-library-s.aspx" target="_blank">VB Gadgeteer Webserver, SDK 4.2 QFE2 and Spider Premium Library's</a></h2><blockquote><p>This is an small sample code to show how to build our basic gadgeteer web server using VB with Spider and the 4.2 RTM Premium library's.</p><p>Start Visual Studio with a new gadgeteer project and copy/paste...That's all! (remember add library's references)</p><p><a href="http://msmvps.com/blogs/peplluis/archive/2012/12/11/vb-gadgeteer-webserver-sdk-4-2-qfe2-and-spider-premium-library-s.aspx" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-100.png" alt="image" width="500" height="334" border="0"></a></p><p>...</p></blockquote> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:02065018ee3044599531a128013a85ad">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/VB-Net-Gadgeteer-Net-Micro-Framework-SDK-42-and-a-simple-Web-Server</comments>
      <itunes:summary>Today&#39;s post from PepLluis is a very short quick hit, but I just give VB.Net much love here, so... VB Gadgeteer Webserver, SDK 4.2 QFE2 and Spider Premium Library&#39;sThis is an small sample code to show how to build our basic gadgeteer web server using VB with Spider and the 4.2 RTM Premium library&#39;s. Start Visual Studio with a new gadgeteer project and copy/paste...That&#39;s all! (remember add library&#39;s references)  ... </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/VB-Net-Gadgeteer-Net-Micro-Framework-SDK-42-and-a-simple-Web-Server</link>
      <pubDate>Fri, 21 Dec 2012 14:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/VB-Net-Gadgeteer-Net-Micro-Framework-SDK-42-and-a-simple-Web-Server</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/0c977c68-6aa3-44cb-842c-31265ab54e36.png" height="66" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/65446bb5-4a32-48b1-9d73-7f64f54302c9.png" height="145" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/VB-Net-Gadgeteer-Net-Micro-Framework-SDK-42-and-a-simple-Web-Server/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
      <category>Visual Basic</category>
    </item>
  <item>
      <title>2 plus awesome = The just released netduino plus 2!</title>
      <description><![CDATA[<p>What can't we get enough of here? What's one of our favorite hardware platforms? What is the latest and shiniest new release? A release that JUST happened yesterday?</p><p>Here's a hint from Chris Walker...</p><blockquote><p><u>Summary</u></p><p>2x the RAM, 4x the speed, and 6x the flash of GEN1 <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' />&nbsp; Many users have run out of flash/RAM on gen1, so the huge upgrade is going to be pretty big news.</p><p><u>Most Vital Specs</u></p><ul><li>168 MHz </li><li>384KB code space (1MB total flash) </li><li>100KB&#43; available RAM (192KB total RAM) </li></ul><p><u>New Features</u></p><ul><li>OneWire support </li><li>Four serial ports (vs. 2 serial ports on gen1) </li><li>Compatibility with even more Arduino shields <ul><li>Higher current </li><li>All six core PWMs </li><li>Compatible with new extended Arduino shield form factor </li></ul></li><li>MiniJTAG – for debugging of native code (side-by-side with C#/VB debugging via USB) </li></ul></blockquote><p>Figured it out yet?</p><h2><a href="http://www.netduino.com/netduinoplus2/specs.htm" target="_blank">netduino plus 2</a></h2><blockquote><p><a href="http://www.netduino.com/netduinoplus2/specs.htm" target="_blank"><img title="SNAGHTMLef6a0de" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTMLef6a0de%5B4%5D.png" alt="SNAGHTMLef6a0de" width="500" height="325" border="0"></a></p><p><strong>system requirements</strong></p><p><strong><img src="http://www.netduino.com/images/tpixel.gif" alt="" width="1" height="15"></strong>Windows</p><ul><li><img src="http://www.netduino.com/images/tpixel.gif" alt="" width="1" height="5">Windows XP, Vista, or 7 (32 or 64 bit)<br>Recommended: Windows 7 or 8 </li><li>1.6 GHz or faster processor </li><li>1 GB RAM </li><li>Up to 3 GB of available hard drive space for Visual Studio Express 2010 </li></ul><p><strong>design files and source code</strong></p><p><strong><img src="http://www.netduino.com/images/tpixel.gif" alt="" width="1" height="15"></strong>design files (open source)</p><ul><li><img src="http://www.netduino.com/images/tpixel.gif" alt="" width="1" height="5"><a href="http://www.netduino.com/netduinoplus2/schematic.pdf">netduino plus 2 schematics</a> </li><li><a href="http://www.netduino.com/downloads/netduinoplus2/netduinoplus2layout.zip">netduino plus 2 board layout</a> </li></ul><p><img src="http://www.netduino.com/images/tpixel.gif" alt="" width="1" height="15">source code (open source)</p><ul><li><img src="http://www.netduino.com/images/tpixel.gif" alt="" width="1" height="5"><a href="http://netmf.codeplex.com/releases/view/82448#DownloadId=343357">.NET Micro Framework v4.2 source</a> </li><li>netduino firmware v4.2.1 source<br>coming soon </li><li>netduino sdk v4.2.1 source<br>coming soon </li></ul></blockquote><p><a href="http://www.netduino.com/netduinoplus2/specs.htm" target="_blank"><img title="np2_clint_angle" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/np2_clint_angle%5B3%5D.jpg" alt="np2_clint_angle" width="414" height="364" border="0"></a><a href="http://www.netduino.com/netduinoplus2/specs.htm" target="_blank"><img title="np2_clint_overhead" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/np2_clint_overhead%5B3%5D.jpg" alt="np2_clint_overhead" width="364" height="364" border="0"></a></p><p>Also remember if you want something a bit easier, try the Netduino Go! Or the Gadgeteer boards over at GHI. We love all our hardware vendors providing .Net Microsoft Framework compatible systems. There's hardware for every skill level (even one for a dev like me!... cough... Gadgeteer... cough...&nbsp; Now that's saying something)</p><p>Remember when you build something awesome with one of these systems, drop us a line. Thanks and most importantly, have fun!</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:bfdeb30f26bb4e658977a1040020a43d">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/2-plus-awesome--The-just-released-netduino-plus-2</comments>
      <itunes:summary>What can&#39;t we get enough of here? What&#39;s one of our favorite hardware platforms? What is the latest and shiniest new release? A release that JUST happened yesterday? Here&#39;s a hint from Chris Walker... Summary 2x the RAM, 4x the speed, and 6x the flash of GEN1 &amp;nbsp; Many users have run out of flash/RAM on gen1, so the huge upgrade is going to be pretty big news. Most Vital Specs 168 MHz 384KB code space (1MB total flash) 100KB&amp;#43; available RAM (192KB total RAM) New Features OneWire support Four serial ports (vs. 2 serial ports on gen1) Compatibility with even more Arduino shields Higher current All six core PWMs Compatible with new extended Arduino shield form factor MiniJTAG – for debugging of native code (side-by-side with C#/VB debugging via USB) Figured it out yet? netduino plus 2 system requirements Windows Windows XP, Vista, or 7 (32 or 64 bit)Recommended: Windows 7 or 8 1.6 GHz or faster processor 1 GB RAM Up to 3 GB of available hard drive space for Visual Studio Express 2010 design files and source code design files (open source) netduino plus 2 schematics netduino plus 2 board layout source code (open source) .NET Micro Framework v4.2 source netduino firmware v4.2.1 sourcecoming soon netduino sdk v4.2.1 sourcecoming soon  Also remember if you want something a bit easier, try the Netduino Go! Or the Gadgeteer boards over at GHI. We love all our hardware vendors providing .Net Microsoft Framework compatible systems. There&#39;s hardware for every skill level (even one for a dev like me!... cough... Gadgeteer... cough...&amp;nbsp; Now that&#39;s saying something) Remember when you build something awesome with one of these systems, drop us a line. Thanks and most importantly, have fun! </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/2-plus-awesome--The-just-released-netduino-plus-2</link>
      <pubDate>Fri, 09 Nov 2012 14:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/2-plus-awesome--The-just-released-netduino-plus-2</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/7ee4ff79-347a-4625-b1bf-d06720fb5e09.jpg" height="88" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/93b1155a-d074-48c0-bc7b-98486206e468.jpg" height="194" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>1</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/2-plus-awesome--The-just-released-netduino-plus-2/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
      <category>Hardware</category>
    </item>
  <item>
      <title>Entering the [LED] Matrix with Netduino</title>
      <description><![CDATA[<p>Today Hardware Friday post from Mario Vernari is one that I thought a little different than others I've blogged about (though related), one that helps solve a difficult problem and can might be a good kick off for building some Holiday hardware displays too...</p><h2><a href="http://highfieldtales.wordpress.com/2012/10/06/led-matrix-controller-driven-via-spi/">Led-matrix controller driven via SPI</a></h2><blockquote><p>Time ago, Stanislav -a Netduino community user- posted a problem on how to drive a 6-by-4 led-matrix using its Netduino. After some experiment, he got stuck with the circuit, because a matrix must be multiplexed, and that’s not easy to solve.</p><p>Here is the <a href="http://forums.netduino.com/index.php?/topic/4191-led-matrix/">link</a> to the forum thread.</p><p>If you read the message exchange on the thread, then you’ll collect easily a list of constraints. Here they are:</p><ul><li>the leds have been already assembled (i.e. only the multiplex driver is needed) </li><li>the overall price should fall within 10 Euro </li><li>must be handcrafted, thus no use of small parts (e.g. SMDs) </li><li>the multiplex should not stop its cycling as the Netduino stops (avoid leds burnout) </li><li>the circuit should avoid complicate wiring, so that the PCB can get pretty easy </li><li>reliable enough </li><li>finally, Stanislav asked to learn how to design such a circuit </li></ul><p>It was clear that Netduino only wasn’t enough to drive a 6×4 led-matrix. First off, for the inability to give enough current for the leds, and secondly for the relative slowness of the managed code running into.</p><h5>The problem in depth.</h5><p>Light up a led is very simple. Starting from the power supply, as parameter you have the current flowing through the led, then calculating the resistor to put in series. A led needs from few mA (SMDs), to several hundreds of mA (or even more) for the high-power class.<br>Let’s face the multiplex problem thinking to a normal discrete-led which needs 10 mA for a normal brightness.</p><p><strong>So, what is a multiplex?</strong><br>The multiplexing is a technique for driving many loads (e.g. leds), using a relatively low number of wires. Thinking to a 6×4 led-matrix, instead having 24 wires (one for each led), the multiplex-way needs only 6&#43;4 = 10 wires at all. The trick is enabling one column at once, and issuing the related row pattern. If this process is fast enough, our eyes can’t perceive the scanning.</p><p>Now, let’s focus on a single column of four leds: the scan process cycles over, but each column is enabled only at 25% (i.e. 1/4) of the total cycle-time. It means that to yield the same brightness as the led was lit with 10 mA, <strong>we should raise it of a factor of 4, thus 40 mA</strong>. This current is off the upper limit achievable by a normal logic chip.</p><p>By the way 40 mA is probably above the led’s limit. However, the current is flowing only for a quarter of the cycle, so there’s no warm up in the *average*. We only should take care to *avoid* any cycle break, otherwise the 40 mA will flow for a too long time, and the led blows.</p><p>That’s not all. When a column is enabled, there are 6 leds composing it, and they might be all on (worst case). So, the total current flowing is 40 mA x 6 = 240 mA.<br>How much is the current of each row, instead? A row drives only the led at where the column is enabled, but at 25% duty, of course. It means the 40 mA seen above.</p><h5>My solution.</h5><p>To solve this problem, I see three ways:</p><p>...</p></blockquote><p><a href="http://highfieldtales.wordpress.com/2012/10/06/led-matrix-controller-driven-via-spi/" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B9%5D-26.png" alt="image" width="294" height="384" border="0"></a></p><p><a href="http://highfieldtales.wordpress.com/2012/10/06/led-matrix-controller-driven-via-spi/" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B10%5D-30.png" alt="image" width="475" height="384" border="0"></a></p><p><a href="http://highfieldtales.wordpress.com/2012/10/06/led-matrix-controller-driven-via-spi/" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B11%5D-39.png" alt="image" width="520" height="355" border="0"></a></p><p><a href="http://highfieldtales.wordpress.com/2012/10/06/led-matrix-controller-driven-via-spi/" target="_blank"><img title="SNAGHTML2af669" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML2af669%5B5%5D.png" alt="SNAGHTML2af669" width="500" height="322" border="0"></a></p><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/2VXWlNz32o8&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/2VXWlNz32o8&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p>I mentioned holidays? Well don't you see yourself coding something up to display some kind of holiday stuff with this? Come on, you know you want to code this to display some kind of little animated Christmas Tree... <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /></p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:7b33c5601965494f9757a0f10155a65a">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Entering-the-LED-Matrix-with-Netduino</comments>
      <itunes:summary>Today Hardware Friday post from Mario Vernari is one that I thought a little different than others I&#39;ve blogged about (though related), one that helps solve a difficult problem and can might be a good kick off for building some Holiday hardware displays too... Led-matrix controller driven via SPITime ago, Stanislav -a Netduino community user- posted a problem on how to drive a 6-by-4 led-matrix using its Netduino. After some experiment, he got stuck with the circuit, because a matrix must be multiplexed, and that’s not easy to solve. Here is the link to the forum thread. If you read the message exchange on the thread, then you’ll collect easily a list of constraints. Here they are: the leds have been already assembled (i.e. only the multiplex driver is needed) the overall price should fall within 10 Euro must be handcrafted, thus no use of small parts (e.g. SMDs) the multiplex should not stop its cycling as the Netduino stops (avoid leds burnout) the circuit should avoid complicate wiring, so that the PCB can get pretty easy reliable enough finally, Stanislav asked to learn how to design such a circuit It was clear that Netduino only wasn’t enough to drive a 6&#215;4 led-matrix. First off, for the inability to give enough current for the leds, and secondly for the relative slowness of the managed code running into. The problem in depth.Light up a led is very simple. Starting from the power supply, as parameter you have the current flowing through the led, then calculating the resistor to put in series. A led needs from few mA (SMDs), to several hundreds of mA (or even more) for the high-power class.Let’s face the multiplex problem thinking to a normal discrete-led which needs 10 mA for a normal brightness. So, what is a multiplex?The multiplexing is a technique for driving many loads (e.g. leds), using a relatively low number of wires. Thinking to a 6&#215;4 led-matrix, instead having 24 wires (one for each led), the multiplex-way needs only 6&amp;#43;4 = 10 wires at all. The tri</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Entering-the-LED-Matrix-with-Netduino</link>
      <pubDate>Fri, 02 Nov 2012 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Entering-the-LED-Matrix-with-Netduino</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/373a0cd1-041a-45fd-8fbe-c42564def8f5.png" height="67" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/e9a482ab-6624-4c5d-aeb2-89c5240a939e.png" height="147" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>1</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Entering-the-LED-Matrix-with-Netduino/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>C#</category>
      <category>Coding4Fun</category>
      <category>Hardware</category>
    </item>
  <item>
      <title>Windows 8 to Electric IMP, &quot;Well, hello there...&quot;</title>
      <description><![CDATA[<p>Today's Hardware Friday from Kevin D. Wolf, is a a different piece of hardware, one we've not highlighted before, the <a href="http://electricimp.com/" target="_blank">Electric IMP</a> and how to build a Windows 8 app to talk to it...</p><h2><a href="http://new.efficientcoder.net/2012/10/talking-to-electric-imp-with-windows-8.html">Talking to an Electric IMP with Windows 8</a></h2><blockquote><p>Ok – your first question is “What the hell is an Electric IMP?”&nbsp; My lazy answer is - check out their web site for the best answer: <a href="http://electricimp.com/">http://electricimp.com</a>.&nbsp;&nbsp;</p><p>But in a nut shell, it’s a small little electronics module with the primary focus of connecting to the internet and controlling hardware.&nbsp; This hardware can be something as simple as a relay to control a light or as complicated as a sensor that uses <a href="http://en.wikipedia.org/wiki/I2C">I2C</a>, <a href="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus">SPI</a> or serial communications (<a href="http://en.wikipedia.org/wiki/UART">UART</a>).&nbsp; You have six I/O lines that can be configured for your needs, so you aren’t going to control a small factory with only one of these, but configure a 100 or so of these and it might get interesting.&nbsp; At this point, this “tech” is in a very early stage, the concept is very cool, but I don’t think I’d propose doing anything commercial or for a client, <em>well at least just yet</em>.</p><p>So let’s start where it all begins, here is my little <a href="https://www.sparkfun.com/products/11395">Electric IMP</a> that I purchased from <a href="http://www.sparkfun.com/">Spark Fun</a>.&nbsp;</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-85.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb-85.png" alt="image" width="281" height="254" border="0"></a></p><p>...</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B8%5D-45.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B2%5D-81.png" alt="image" width="492" height="384" border="0"></a></p><p>In my picture above, you can see the green glow of some internal LED’s.&nbsp; This is because I’ve already registered my IMP with Electric IMP’s server.&nbsp; <strong>Everything</strong> you do with this IMP goes through their server.&nbsp; Ok, you are probably now thinking what I was/still am thinking….”<em>hmmm…actually I don’t know what to think about that…and…I’m still at the jury is still out point on this having long term legs…but it is sooooo cool, I’m going to give it the benefit of the doubt”</em>.</p><p>Ok back to the content, my IMP is green, if you plug a new one in, yours won’t be.&nbsp; To get your IMP green, and thus have it registered so you can use it with the Electric IMP server, you need to signup for an account at <a href="http://electricimp.com/">http://electricimp.com</a>, download an iPhone or Android (what no Windows Phone?!??) app.&nbsp; Then, do something that I think is very cool, <em>turn the lights down in your room, </em>no seriously do this it works better in a darker room, run the app, follow the instructions and hold the screen of your <em>non-Windows Phone</em> device, next to the front edge of your IMP as pictured below and press the “Send BlinkUp” button on your “<em>other type of phone</em>”.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B11%5D-38.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B3%5D-70.png" alt="image" width="355" height="384" border="0"></a></p><h4>Programming</h4><p>So, next you’ll go to their <a href="http://electricimp.com/">web site</a> with Chrome (another editorial note, they don’t support IE, but they say they are “working on it”, yyyyyeeeaaaahhh, I’m sure that’s towards the top of their priority list) and if you click on the “impees” you’ll see that your Imp has been registered.</p><h4>My Imp</h4><p>...</p><h4>Planner</h4><p>Now we need to “program” the IMP.&nbsp; Go to the “Planner” tab, find your IMP’s node and select the program you just created, in our case “<strong>MyFirstApp</strong>”.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B14%5D-33.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B4%5D-58.png" alt="image" width="520" height="358" border="0"></a></p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B5%5D-45.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B1%5D-98.png" alt="image" width="482" height="384" border="0"></a></p><p>...</p></blockquote><p>Now you've got a starting point. Take it and drive on!</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:5cce86832eec4b38a36ea0f0017283d7">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Windows-8-to-Electric-IMP-Well-hello-there</comments>
      <itunes:summary>Today&#39;s Hardware Friday from Kevin D. Wolf, is a a different piece of hardware, one we&#39;ve not highlighted before, the Electric IMP and how to build a Windows 8 app to talk to it... Talking to an Electric IMP with Windows 8Ok – your first question is “What the hell is an Electric IMP?”&amp;nbsp; My lazy answer is - check out their web site for the best answer: http://electricimp.com.&amp;nbsp;&amp;nbsp; But in a nut shell, it’s a small little electronics module with the primary focus of connecting to the internet and controlling hardware.&amp;nbsp; This hardware can be something as simple as a relay to control a light or as complicated as a sensor that uses I2C, SPI or serial communications (UART).&amp;nbsp; You have six I/O lines that can be configured for your needs, so you aren’t going to control a small factory with only one of these, but configure a 100 or so of these and it might get interesting.&amp;nbsp; At this point, this “tech” is in a very early stage, the concept is very cool, but I don’t think I’d propose doing anything commercial or for a client, well at least just yet. So let’s start where it all begins, here is my little Electric IMP that I purchased from Spark Fun.&amp;nbsp;  ...  In my picture above, you can see the green glow of some internal LED’s.&amp;nbsp; This is because I’ve already registered my IMP with Electric IMP’s server.&amp;nbsp; Everything you do with this IMP goes through their server.&amp;nbsp; Ok, you are probably now thinking what I was/still am thinking….”hmmm…actually I don’t know what to think about that…and…I’m still at the jury is still out point on this having long term legs…but it is sooooo cool, I’m going to give it the benefit of the doubt”. Ok back to the content, my IMP is green, if you plug a new one in, yours won’t be.&amp;nbsp; To get your IMP green, and thus have it registered so you can use it with the Electric IMP server, you need to signup for an account at http://electricimp.com, download an iPhone or Android (what no Windows Phone?!??) app.&amp;nbsp; Then, </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Windows-8-to-Electric-IMP-Well-hello-there</link>
      <pubDate>Fri, 26 Oct 2012 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Windows-8-to-Electric-IMP-Well-hello-there</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/7817ace0-87c7-4d71-b9a0-401a55b0b10a.png" height="90" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/8b0c995a-9236-41ea-bdab-50101b1cce94.png" height="197" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>2</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Windows-8-to-Electric-IMP-Well-hello-there/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
    </item>
  <item>
      <title>Every Gadgeteer&#39;s dream? A Gadgeteer Home Automation System</title>
      <description><![CDATA[<p>Today's Hardware Friday project by a friend of the blog, Marco Minerva, shows how he, and with his help, us, can build a cool home automation system with some of our favorite tools.</p><h2><a href="http://mikedodaro.net/2012/09/17/gadgeteer-home-automation-system/" target="_blank">Gadgeteer Home Automation System</a></h2><blockquote><p>In this post I want to describe how to create a Home Automation System that puts together many of the modules and source code we talked about on this blog during the past months. In particular,&nbsp; we’ll create a Gadgeteer device that uses touch screen capabilities of <a href="http://www.ghielectronics.com/catalog/product/276">Display T35</a> to provide access to all the functionalities of the system.</p><p>So, let’s start. Connect the following modules to a <a href="http://www.ghielectronics.com/catalog/product/269">FEZ Spider Mainboard</a>:</p><ul><li><a href="http://www.ghielectronics.com/catalog/product/280">USB ClientDP</a>; </li><li><a href="http://www.ghielectronics.com/catalog/product/282">WiFi RS21</a>, to retrieve current time from the Internet; </li><li><a href="http://www.ghielectronics.com/catalog/product/276">Display T35</a>, to manage the system using touch; </li><li><a href="http://www.ghielectronics.com/catalog/product/271">SD Card</a>, to store the configuration file of the application; </li><li><a href="http://www.ghielectronics.com/catalog/product/344">Temp &amp; Humidity</a>, to show an example of information that can be acquired using sensors; </li><li><a href="http://www.ghielectronics.com/catalog/product/327">Relays</a>, to control eletrical devices; </li><li><a href="http://www.ghielectronics.com/catalog/product/283">Camera</a>, with which we can show, for example, people that ring our bell. </li></ul><p>You can see the result in following screenshot.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B9%5D-25.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B3%5D-68.png" alt="image" width="315" height="265" border="0"></a></p><p>Almost all the FEZ Spider sockets are filled. As said before, we’ll use source code from some articles that have been published on this blog. In particular:</p><ul><li><a href="http://mikedodaro.net/2011/12/14/xml-configuration-files-for-net-micro-framework-applications-english/">XML Configuration Files for .NET Micro Framework</a> </li><li><a href="http://mikedodaro.net/2011/11/20/synchronize-the-clock-with-a-reference-server-on-the-internet-english/">Synchronize the Clock with a Reference Server on the Internet</a> </li><li><a href="http://mikedodaro.net/2011/11/18/windows-like-interface-for-the-net-gadgeteer-display-english/">Windows-like Interface for the .NET Gadgeteer Display</a> </li></ul><p>Moreover, we need to create some custom fonts for the application. .NET Micro Framework SDK provides a <a href="http://msdn.microsoft.com/en-us/library/cc533019.aspx">command line tool</a> that allows to do this. Alternatively, you can use the <a href="http://informatix.miloush.net/microframework/Utilities/TinyFontTool.aspx">Tiny Font Tool GUI</a> to make things simpler. In the ZIP file attached to this article you can find all the fonts we’ll use.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B3%5D-70.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B1%5D-95.png" alt="image" width="171" height="364" border="0"></a></p><p>...</p></blockquote><p>This project goes into all the details, from build the hardware, coding it and constructing the UI</p><blockquote><p>Our application has three sections: <em>Temperature &amp; Humidity</em>, <em>Relays</em> and <em>Camera</em>. So, we need to create three menu items:</p><p>&nbsp;</p><p>&nbsp;</p>The result is shown in the following screenshot. <p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B6%5D-53.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B2%5D-78.png" alt="image" width="502" height="384" border="0"></a></p></blockquote><p>Here's a video of it in action.</p><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/e27-reYmXEg&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/e27-reYmXEg&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p>And as you would expect, the source available for download (<a href="http://mikedodaro.net/2012/09/17/gadgeteer-home-automation-system/" target="_blank">click through</a> and it's at the bottom of the page)</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:e34d7a5b9fd64610b31ca0e901723c21">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Every-Gadgeteers-dream-A-Gadgeteer-Home-Automation-System</comments>
      <itunes:summary>Today&#39;s Hardware Friday project by a friend of the blog, Marco Minerva, shows how he, and with his help, us, can build a cool home automation system with some of our favorite tools. Gadgeteer Home Automation SystemIn this post I want to describe how to create a Home Automation System that puts together many of the modules and source code we talked about on this blog during the past months. In particular,&amp;nbsp; we’ll create a Gadgeteer device that uses touch screen capabilities of Display T35 to provide access to all the functionalities of the system. So, let’s start. Connect the following modules to a FEZ Spider Mainboard: USB ClientDP; WiFi RS21, to retrieve current time from the Internet; Display T35, to manage the system using touch; SD Card, to store the configuration file of the application; Temp &amp;amp; Humidity, to show an example of information that can be acquired using sensors; Relays, to control eletrical devices; Camera, with which we can show, for example, people that ring our bell. You can see the result in following screenshot.  Almost all the FEZ Spider sockets are filled. As said before, we’ll use source code from some articles that have been published on this blog. In particular: XML Configuration Files for .NET Micro Framework Synchronize the Clock with a Reference Server on the Internet Windows-like Interface for the .NET Gadgeteer Display Moreover, we need to create some custom fonts for the application. .NET Micro Framework SDK provides a command line tool that allows to do this. Alternatively, you can use the Tiny Font Tool GUI to make things simpler. In the ZIP file attached to this article you can find all the fonts we’ll use.  ... This project goes into all the details, from build the hardware, coding it and constructing the UI Our application has three sections: Temperature &amp;amp; Humidity, Relays and Camera. So, we need to create three menu items: &amp;nbsp; &amp;nbsp; The result is shown in the following screenshot.  Here&#39;s a video of it in action.</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Every-Gadgeteers-dream-A-Gadgeteer-Home-Automation-System</link>
      <pubDate>Fri, 19 Oct 2012 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Every-Gadgeteers-dream-A-Gadgeteer-Home-Automation-System</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/9efa809c-af3e-4476-923e-41783f58f645.png" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/c1bb1ca2-d746-431b-85e3-82cd30f7a64e.png" height="166" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>1</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Every-Gadgeteers-dream-A-Gadgeteer-Home-Automation-System/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>C#</category>
      <category>Coding4Fun</category>
      <category>Home Automation</category>
      <category>.Net Gadgeteer</category>
    </item>
  <item>
      <title>CET MicroWorkflow for Netduino</title>
      <description><![CDATA[<p>Today's Hardware Friday post is one that that I thought pretty cool and not something I've seen before...</p><h2><a href="http://highfieldtales.wordpress.com/2012/09/29/introducing-microworkflow-for-netduino/" target="_blank">Introducing MicroWorkflow for Netduino</a></h2><blockquote><p>MicroWorkflow – create your own automation on Netduino in a visual way.</p><p>MicroWorkflow is a framework layer for creating simple automation on the top of a host .Net application. It currently supports both the standard .Net framework, and the .Net MF.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-82.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb-82.png" alt="image" width="520" height="353" border="0"></a></p><p>It’s not meant as a replacement of the underlying programming language, but rather a simple and effective way for creating small tasks, which aid the main hosting application. A dedicate engine provide one or more tasks to run, by interpreting runtime the complied workflow designed by the user.</p><p>The language structure is procedural, similar to Pascal. Several functions are available at the moment of writing, but many more will be added, as well as general improvements.</p><hr><h5>At a glance…</h5><p>Structural features:</p><ul><li>Deeply inspired by the Windows Workflow Foundation: meant to be a very light, yet flexible platform for small/embedded devices. </li><li>The tasks run on the top of the .Net framework, so that their implementation code can be loaded/unloaded anytime, with absolutely no assembly-gluing. </li><li>No special firmwares are required. </li><li>The tasks run in a “sandbox”, which share a custom interface with the hosting application. This is perfect for keeping the application protected, while the custom tasks can be modified by the user. </li><li>The engine is structured in a functional-fashion: that yields to an easier thread-safe concurrency, for running many tasks simultaneously. </li><li>A compiled task is very compact and easy to transfer, as a simple string is. </li><li>Total independence from the communication channel: the data can be sent via TCP/IP, UART, SPI, etc. Any feasible way for exchanging a string can be used. </li><li>The compiled tasks may be stored in any non-volatile medium, such as SD or EEProm. Afterward, the hosting app could load the right task on-demand. </li></ul><p>Interop features:</p><ul><li>No skilled programming required, nor complicated IDEs. Even Visual Studio is not required. A full-visual approach has been chosen for creating your own tasks. </li><li>... </li></ul><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B5%5D-42.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B1%5D-92.png" alt="image" width="458" height="384" border="0"></a></p></blockquote><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/w4RsXXpiC1I&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/w4RsXXpiC1I&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p>And best of all? It's open source! <a href="http://cetmwf.codeplex.com/" target="_blank">Cet MicroWorkflow</a></p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:31ab1a951b6540e3ab3da0e2015556ae">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/CET-MicroWorkflow-for-Netduino</comments>
      <itunes:summary>Today&#39;s Hardware Friday post is one that that I thought pretty cool and not something I&#39;ve seen before... Introducing MicroWorkflow for NetduinoMicroWorkflow – create your own automation on Netduino in a visual way. MicroWorkflow is a framework layer for creating simple automation on the top of a host .Net application. It currently supports both the standard .Net framework, and the .Net MF.  It’s not meant as a replacement of the underlying programming language, but rather a simple and effective way for creating small tasks, which aid the main hosting application. A dedicate engine provide one or more tasks to run, by interpreting runtime the complied workflow designed by the user. The language structure is procedural, similar to Pascal. Several functions are available at the moment of writing, but many more will be added, as well as general improvements. At a glance…Structural features: Deeply inspired by the Windows Workflow Foundation: meant to be a very light, yet flexible platform for small/embedded devices. The tasks run on the top of the .Net framework, so that their implementation code can be loaded/unloaded anytime, with absolutely no assembly-gluing. No special firmwares are required. The tasks run in a “sandbox”, which share a custom interface with the hosting application. This is perfect for keeping the application protected, while the custom tasks can be modified by the user. The engine is structured in a functional-fashion: that yields to an easier thread-safe concurrency, for running many tasks simultaneously. A compiled task is very compact and easy to transfer, as a simple string is. Total independence from the communication channel: the data can be sent via TCP/IP, UART, SPI, etc. Any feasible way for exchanging a string can be used. The compiled tasks may be stored in any non-volatile medium, such as SD or EEProm. Afterward, the hosting app could load the right task on-demand. Interop features: No skilled programming required, nor complicated IDEs</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/CET-MicroWorkflow-for-Netduino</link>
      <pubDate>Fri, 12 Oct 2012 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/CET-MicroWorkflow-for-Netduino</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/e07ce083-6099-4f00-b24f-bc671ae0184a.png" height="67" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/fddb13e1-dabc-4b6f-a2bf-3fb992d54971.png" height="147" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/CET-MicroWorkflow-for-Netduino/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
      <category>Micro Framework</category>
    </item>
  <item>
      <title>Windows 8 Store App controlling a NETMF Gadgeteer Robot</title>
      <description><![CDATA[<p>For this week's Hardware Friday post I tried to find something that fit this week's Visual Studio Launch theme, but couldn't find anything that really fit.</p><p>I DID find this post from the .Net Micro Framework team, <a href="http://blogs.msdn.com/b/netmfteam/archive/2012/09/12/on-going-vs-express-support.aspx" target="_blank">On-going VS Express Support</a>, which notes the VS 2012 support for the .Net Micro Framework is coming...</p><blockquote><p>...</p><p>We are in the final stages of version 4.3 of NETMF with release in the near future.&nbsp;&nbsp; This release will work with Visual Studio Express 2012 for Windows Desktop.&nbsp; In addition, we are in the planning stages for .NET Gadgeteer version 4.3 and this version will also support that Express edition.&nbsp; We don’t have a firm release target for that at this time.</p><p>In the meantime,&nbsp; VS 2010 and VS2012 co-exist nicely and the language specific Express editions are still available.</p></blockquote><p>... but I couldn't leave today's post at that. So since the Visual Studio Launch was pretty focused on Windows 8, how about we highlight a Windows 8 hardware related project from the one and only Pete Brown?&nbsp;</p><h2>&nbsp;<a href="http://10rem.net/blog/2012/09/10/controlling-a-netmf-gadgeteer-robot-from-a-windows-8-app" target="_blank">Controlling a NETMF Gadgeteer Robot from a Windows 8 App</a></h2><blockquote><p>At several recent events (VSLive Redmond, thatConference, the Heartland Developer Conference and more), I've had a neat little .NET Micro Framework robot with me. The remote control for the robot is a Windows 8 tablet running a simple Modern UI/Windows Store app I wrote in C#/XAML. The example shows both how you can use C# skills to build robots, and also how flexible the new Windows Store app model is when it comes to communicating with remote devices.</p><p><iFrame src="http://channel9.msdn.com/Shows/Visual-Studio-Toolbox/Windows-8-and-the-NET-Micro-Framework/player?h=384&w=512" frameborder="0" scrolling="no" width="512px" height="384px"></iFrame></p></blockquote><p>Pete covers the complete project in his post, from the parts, with links to where you can purchase them;</p><blockquote><p><strong>Parts</strong></p><p>Although they're out there, it's rare to find a robot as a complete kit. Typically you need to assemble one from a number of different parts. Here are the parts I used.</p><ul><li><h6>The body</h6></li><li><h6>The brain</h6></li><li><h6>Wireless</h6></li><li><h6>Motor controller</h6></li><li><h6>Motor power</h6></li><li><h6>Optional LCD Character display</h6></li><li><h6>Optional sensor</h6></li><li><h6>Wireless Hub / Router</h6></li></ul></blockquote><p>Hooking everything together;</p><blockquote><h5>Robot Connections</h5><p>Assemble the chassis. I did the chassis assembly with my two kids; it's pretty easy, although some parts do get a little fiddly (the motor mounts in-particular). Leave the top off for now so you can get to the bottom deck.</p><p>Then, connect both motors to the positive and negative motor connections on the motor module. I kept the motor module on the bottom deck to make that easier. Because I didn't reverse the wires on the two motor connections, but the motors are on opposite sides, they have to be reversed in code. Positive voltage in one goes forward, while on the other goes backwards.</p><p>Attach the 9v battery connector (without battery) to the motor modules power input...</p></blockquote><p>Coding the robot;</p><blockquote><h5>Robot Code</h5><p>Now, let's get to the code.</p><p>The onboard robot code is a .net Gadgeteer project, created in Visual Studio 2010. NETMF doesn't currently support Visual Studio 2012, but you can install VS2010 side by side with VS2012.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-75.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb-75.png" alt="image" width="520" height="361" border="0"></a></p><p>First, I used the WiFly module source code from Stefan Thoolen's great <a href="http://netmftoolbox.codeplex.com/">.NET Micro Framework Toolbox project</a> on CodePlex. This project currently doesn't have support for being a socket server, only a client. For that reason, I had to make the Windows 8 app the server. The downside to this is the IP address for the Windows 8 device is hard-coded into the robot, which is opposite of what you would normally do.</p><p>The code is simple, all contained in the Program.cs file. Explanation after the listing.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML9f0e5a7%5B4%5D.png" target="_blank"><img title="SNAGHTML9f0e5a7" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML9f0e5a7_thumb%5B1%5D.png" alt="SNAGHTML9f0e5a7" width="500" height="335" border="0"></a></p></blockquote><p>To building the Windows 8 Windows Store app;</p><blockquote><h5>Windows 8 App</h5><p>When I first saw the networking support available to Windows 8 apps, I was pretty psyched. I did a lot of networking work in Silverlight, including some sockets (shudder). What we have in Windows 8 is not only a lot simpler, but it also does not have the port and protocol restrictions Silverlight has because WinRT apps weren't designed to be run in a web browser on the public Internet.</p><p>Here's the UI. It's very simple: just four boxes sized and positioned for touch.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML9f39b22%5B4%5D.png" target="_blank"><img title="SNAGHTML9f39b22" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML9f39b22_thumb%5B1%5D.png" alt="SNAGHTML9f39b22" width="500" height="265" border="0"></a></p></blockquote><p>As Pete notes, the Windows Store App is... um... minimal... at this point.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B5%5D-36.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B1%5D-85.png" alt="image" width="520" height="301" border="0"></a></p><p>But the key to this isn't the UI, it's the code and the connection.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B8%5D-37.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B2%5D-70.png" alt="image" width="520" height="167" border="0"></a></p><p>Can a Windows 8 Windows Store app .NET Gadgeteer? Oh yeah, and Pete makes it look easy (as these things do in hindsight now that he's done all the work... <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif?v=c9' alt='Wink' /></p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:7f3f376682bd4e9893d0a0cd014c8bb1">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Windows-8-Store-App-controlling-a-NETMF-Gadgeteer-Robot</comments>
      <itunes:summary>For this week&#39;s Hardware Friday post I tried to find something that fit this week&#39;s Visual Studio Launch theme, but couldn&#39;t find anything that really fit. I DID find this post from the .Net Micro Framework team, On-going VS Express Support, which notes the VS 2012 support for the .Net Micro Framework is coming... ... We are in the final stages of version 4.3 of NETMF with release in the near future.&amp;nbsp;&amp;nbsp; This release will work with Visual Studio Express 2012 for Windows Desktop.&amp;nbsp; In addition, we are in the planning stages for .NET Gadgeteer version 4.3 and this version will also support that Express edition.&amp;nbsp; We don’t have a firm release target for that at this time. In the meantime,&amp;nbsp; VS 2010 and VS2012 co-exist nicely and the language specific Express editions are still available. ... but I couldn&#39;t leave today&#39;s post at that. So since the Visual Studio Launch was pretty focused on Windows 8, how about we highlight a Windows 8 hardware related project from the one and only Pete Brown?&amp;nbsp; &amp;nbsp;Controlling a NETMF Gadgeteer Robot from a Windows 8 AppAt several recent events (VSLive Redmond, thatConference, the Heartland Developer Conference and more), I&#39;ve had a neat little .NET Micro Framework robot with me. The remote control for the robot is a Windows 8 tablet running a simple Modern UI/Windows Store app I wrote in C#/XAML. The example shows both how you can use C# skills to build robots, and also how flexible the new Windows Store app model is when it comes to communicating with remote devices.  Pete covers the complete project in his post, from the parts, with links to where you can purchase them; Parts Although they&#39;re out there, it&#39;s rare to find a robot as a complete kit. Typically you need to assemble one from a number of different parts. Here are the parts I used. The bodyThe brainWirelessMotor controllerMotor powerOptional LCD Character displayOptional sensorWireless Hub / RouterHooking everything together; Robot ConnectionsAssem</itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Windows-8-Store-App-controlling-a-NETMF-Gadgeteer-Robot</link>
      <pubDate>Fri, 21 Sep 2012 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Windows-8-Store-App-controlling-a-NETMF-Gadgeteer-Robot</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/655e147e-9f75-4029-bccb-1ea1a924cdf9.png" height="68" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/14feb680-e19e-4e6b-a116-f76e9d41feba.png" height="150" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>1</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Windows-8-Store-App-controlling-a-NETMF-Gadgeteer-Robot/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>Coding4Fun</category>
      <category>Robot</category>
      <category>Windows 8</category>
    </item>
  <item>
      <title>Shining a light on a Windows Phone .Net Gadgeteer Light Switch</title>
      <description><![CDATA[<p>Since we didn't do a Mobile Monday post we'll do one that also includes a Hardware Friday project! Marco Minerva, has written up a cool project that combines a Windows Phone app with some .Net Gadgeteer hacking...</p><h2><a href="http://mikedodaro.net/2012/07/05/controlling-a-light-switch-using-windows-phone/">Controlling a Light Switch using Windows Phone</a></h2><blockquote><p>In this post, I’ll show how to control a <a href="http://www.ghielectronics.com/catalog/product/327">Relay module</a> using a Windows Phone app that is able to remotely turn on or off a light.</p><p>Let’s start creating a new Gadgeteer application. Connect the following modules to a <a href="http://www.ghielectronics.com/catalog/product/269">FEZ Spider Mainboard</a>:</p><ul><li><a href="http://www.ghielectronics.com/catalog/product/280">USB ClientDP</a>; </li><li><a href="http://www.ghielectronics.com/catalog/product/282">WiFi RS21</a>, to allow connections to the device; </li><li><a href="http://www.ghielectronics.com/catalog/product/272">Multicolor LED</a>, to indicate device status; </li><li><a href="http://www.ghielectronics.com/catalog/product/343">OLED Display</a>, to show the IP Address of the device; </li><li><a href="http://www.ghielectronics.com/catalog/product/327">Relay</a> (the most important), that allows to create a switch controlled by .NET Gadgeteer. </li></ul><p>The resulting system is shown in the following screenshot.</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B2%5D-74.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb-74.png" alt="image" width="520" height="375" border="0"></a></p><p>...</p></blockquote><p>From the hardware;</p><blockquote><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B5%5D-34.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B1%5D-83.png" alt="image" width="503" height="384" border="0"></a></p></blockquote><p>To the .Net Micro Framework code...</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML6f55695%5B4%5D.png" target="_blank"><img title="SNAGHTML6f55695" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML6f55695_thumb%5B1%5D.png" alt="SNAGHTML6f55695" width="459" height="364" border="0"></a></p><p>To the Windows Phone 7 code and app...</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML6f68c85%5B4%5D.png" target="_blank"><img title="SNAGHTML6f68c85" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/SNAGHTML6f68c85_thumb%5B1%5D.png" alt="SNAGHTML6f68c85" width="398" height="364" border="0"></a></p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B8%5D-34.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B2%5D-67.png" alt="image" width="241" height="384" border="0"></a></p><p>It's all there. If you click through and scroll to the bottom there's a download link for both projects too.</p><p>Okay, okay, this might be overkill, but it's a pretty cool overkill, you've got to admit!</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:1211e012bdf54729b9c5a0c00000beff">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Shining-a-light-on-a-Windows-Phone-Net-Gadgeteer-Light-Switch</comments>
      <itunes:summary>Since we didn&#39;t do a Mobile Monday post we&#39;ll do one that also includes a Hardware Friday project! Marco Minerva, has written up a cool project that combines a Windows Phone app with some .Net Gadgeteer hacking... Controlling a Light Switch using Windows PhoneIn this post, I’ll show how to control a Relay module using a Windows Phone app that is able to remotely turn on or off a light. Let’s start creating a new Gadgeteer application. Connect the following modules to a FEZ Spider Mainboard: USB ClientDP; WiFi RS21, to allow connections to the device; Multicolor LED, to indicate device status; OLED Display, to show the IP Address of the device; Relay (the most important), that allows to create a switch controlled by .NET Gadgeteer. The resulting system is shown in the following screenshot.  ... From the hardware;  To the .Net Micro Framework code...  To the Windows Phone 7 code and app...   It&#39;s all there. If you click through and scroll to the bottom there&#39;s a download link for both projects too. Okay, okay, this might be overkill, but it&#39;s a pretty cool overkill, you&#39;ve got to admit! </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Shining-a-light-on-a-Windows-Phone-Net-Gadgeteer-Light-Switch</link>
      <pubDate>Fri, 14 Sep 2012 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Shining-a-light-on-a-Windows-Phone-Net-Gadgeteer-Light-Switch</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/a018aa7b-3016-4678-bee6-aacbe5963559.png" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/cc37e943-f1d7-46ee-8c66-f787be1aa19a.png" height="166" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>1</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Shining-a-light-on-a-Windows-Phone-Net-Gadgeteer-Light-Switch/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>C#</category>
      <category>Coding4Fun</category>
      <category>Windows Phone</category>
    </item>
  <item>
      <title>Mini-Pacman on mini hardware...</title>
      <description><![CDATA[<p>Today's hardware Friday post in this seemly game themed week is the work of Chris Taylor and Kenny Spade, one building on the work of the other and together providing us some .NET Micro Framework Gadgeteer Mini-Pacman Arcade console coolness...</p><h2><a href="http://taylorza.blogspot.com/2012/05/playing-with-net-micro-framework-and.html" target="_blank">Playing with .NET Micro Framework and Gadgeteer</a></h2><blockquote><p>I am sure most people have heard about the .NET Micro Framework and more recently Gadgeteer. While I have had a keen interest for sometime, I never got around to purchasing any of the hardware until about 3 weeks ago.</p><p>Here are a few things I have done in my endeavor to learn more about the framework and the embedded devices.</p><p>The first application I developed was a little Pac man clone, I made the source for this available on codeplex just follow this link <a href="http://chrismcstuff.codeplex.com/">http://chrismcstuff.codeplex.com/</a></p></blockquote><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/lrjgm6SnuLM&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/lrjgm6SnuLM&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><h2><a href="http://taylorza.blogspot.com/2012/05/mini-pacman-on-miniature-arcade-console.html" target="_blank">Mini-Pacman on Miniature Arcade Console</a></h2><h5>&nbsp;</h5><blockquote><p>I recently <a href="http://taylorza.blogspot.com/2012/05/playing-with-net-micro-framework-and.html">blogged</a> about some of the stuff I am playing with on the .NET Micro Framework Gadgeteer platform. Kenny Spade from the <a href="http://www.tinyclr.com/">TinyCLR</a> community forums has kindly built a miniature arcade and put up a video of Mini-Pacman running on the arcade.</p></blockquote><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/3OmvOt-V0Yg&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/3OmvOt-V0Yg&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/NQ11bA5x4w0&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/NQ11bA5x4w0&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p><p>BTW, this is related to the Min Arcade Console project we highlighted here,<a href="http://channel9.msdn.com/coding4fun/blog/Snake-away-with-a-NET-Gadgeteer-arcade-console-and-Snake-game" target="_blank">Snake away with a .NET Gadgeteer arcade console and Snake game</a></p><p>Code? Oh yeah, Chris posted all the code, which made this all possible, here, <a href="http://chrismcstuff.codeplex.com/" target="_blank">Chris' Micro Controller Stuff</a></p><p>Here's a snap of the hardware;</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B3%5D-64.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B1%5D-80.png" alt="image" width="670" height="373" border="0"></a></p><p>And the Solution;</p><p><a href="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image%5B7%5D-26.png" target="_blank"><img title="image" src="http://files.channel9.msdn.com/wlwimages/ae054c0b4d7b402ab1239e6800c0220f/image_thumb%5B3%5D-57.png" alt="image" width="188" height="427" border="0"></a></p><p>Now you too can build your own little Pacman arcade console too!</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/.net+micro+framework/RSS&WT.dl=0&WT.entryid=Entry:RSSView:99c31003d63d429da9dba0bf0147af59">]]></description>
      <comments>http://channel9.msdn.com/coding4fun/blog/Mini-Pacman-on-mini-hardware</comments>
      <itunes:summary>Today&#39;s hardware Friday post in this seemly game themed week is the work of Chris Taylor and Kenny Spade, one building on the work of the other and together providing us some .NET Micro Framework Gadgeteer Mini-Pacman Arcade console coolness... Playing with .NET Micro Framework and GadgeteerI am sure most people have heard about the .NET Micro Framework and more recently Gadgeteer. While I have had a keen interest for sometime, I never got around to purchasing any of the hardware until about 3 weeks ago. Here are a few things I have done in my endeavor to learn more about the framework and the embedded devices. The first application I developed was a little Pac man clone, I made the source for this available on codeplex just follow this link http://chrismcstuff.codeplex.com/  Mini-Pacman on Miniature Arcade Console&amp;nbsp;I recently blogged about some of the stuff I am playing with on the .NET Micro Framework Gadgeteer platform. Kenny Spade from the TinyCLR community forums has kindly built a miniature arcade and put up a video of Mini-Pacman running on the arcade.   BTW, this is related to the Min Arcade Console project we highlighted here,Snake away with a .NET Gadgeteer arcade console and Snake game Code? Oh yeah, Chris posted all the code, which made this all possible, here, Chris&#39; Micro Controller Stuff Here&#39;s a snap of the hardware;  And the Solution;  Now you too can build your own little Pacman arcade console too! </itunes:summary>
      <link>http://channel9.msdn.com/coding4fun/blog/Mini-Pacman-on-mini-hardware</link>
      <pubDate>Fri, 07 Sep 2012 13:00:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/coding4fun/blog/Mini-Pacman-on-mini-hardware</guid>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/bc05f939-b622-4429-a9f1-d435b84892df.png" height="68" width="100"></media:thumbnail>
      <media:thumbnail url="http://files.channel9.msdn.com/thumbnail/a74a2e85-b0a8-4753-b089-6f401dba9daa.png" height="149" width="220"></media:thumbnail>      
      <dc:creator>Greg Duncan</dc:creator>
      <itunes:author>Greg Duncan</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/coding4fun/blog/Mini-Pacman-on-mini-hardware/RSS</wfw:commentRss>
      <category>.NET Micro Framework</category>
      <category>C#</category>
      <category>Coding4Fun</category>
    </item>    
</channel>
</rss>