{"id":55,"date":"2012-07-08T17:50:00","date_gmt":"2012-07-08T17:50:00","guid":{"rendered":"http:\/\/www.sweeny.ca\/blog\/?p=55"},"modified":"2012-07-08T22:09:50","modified_gmt":"2012-07-08T22:09:50","slug":"getting-started-with-netduino","status":"publish","type":"post","link":"https:\/\/www.sweeny.ca\/blog\/2012\/07\/08\/getting-started-with-netduino\/","title":{"rendered":"Getting Started With NetDuino"},"content":{"rendered":"<p>After my previous foray into Arduino and XBee, I was hoping to be able to use Node.js as the &#8220;on-the-metal&#8221; OS of sorts for running the Atmel microcontroller.  Unfortunately, Node.js (in it&#8217;s default configuration) is too big to run in the memory and program storage constraints of the Arduino uController.  Not wanting to write my control applications in Arduino Sketch or C, I decided to switch over to using NetDuino as the central controller hub of my real world control project. This is the story of getting started down that path.<\/p>\n<p>I already have a copy of Visual Studio 2010 Professional, which is more than enough to start writing NetDuino projects, but I did need to get the latest version of the .NET Micro Framework.  As of this writing, that is version 4.2 RTM, available <a href=\"http:\/\/netmf.codeplex.com\/releases\/view\/82448\" title=\"Microsoft .NET Micro Framwork 4.2 RTM\" target=\"_blank\">here<\/a> on Microsoft&#8217;s CodePlex site.<\/p>\n<p>I didn&#8217;t realize it, but I would need an SDK for the Netduino Plus itself &#8211; found that on the Netduino website <a href=\"http:\/\/www.netduino.com\/downloads\/\" title=\"Netduino Downloads\">here<\/a>.  They suggest installing the .NET Micro Framework 4.1, but I had already installed 4.2 so I decided to throw caution to the wind and try it anyway.<\/p>\n<ul>\n<li>Project->New->Micro Framework->Netduino Plus &#8211; give it some name that you will inevitably regret later<\/li>\n<li>Open program.cs, add some code like:<\/li>\n<p>while(true)<br \/>\n{<\/p>\n<p>}<\/p>\n<p>Ok, I did a whole bunch of stuff that I will document later, but I have a Netduino acting as central controller and an Arduino acting as a remote controller attached to some irrigation valves.  I have a web server running on the Netduino and a simple web interface for turning my irrigation valves on and off.  That&#8217;s my big accomplishment for the day.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After my previous foray into Arduino and XBee, I was hoping to be able to use Node.js as the &#8220;on-the-metal&#8221; OS of sorts for running the Atmel microcontroller. Unfortunately, Node.js (in it&#8217;s default configuration) is too big to run in &hellip; <a href=\"https:\/\/www.sweeny.ca\/blog\/2012\/07\/08\/getting-started-with-netduino\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,6,5,7],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-arduino","category-electronics","category-home-automation","category-real-world-computer","category-watering-system"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.sweeny.ca\/blog\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sweeny.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sweeny.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sweeny.ca\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sweeny.ca\/blog\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":6,"href":"https:\/\/www.sweeny.ca\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/www.sweeny.ca\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions\/58"}],"wp:attachment":[{"href":"https:\/\/www.sweeny.ca\/blog\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sweeny.ca\/blog\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sweeny.ca\/blog\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}