<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.9.3 (http://www.squarespace.com/) on Sat, 20 Mar 2010 07:21:12 GMT--><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Net Micro Articles</title><link>http://www.robmiles.com/net-micro-articles/</link><description></description><lastBuildDate>Fri, 26 Feb 2010 20:21:36 +0000</lastBuildDate><copyright></copyright><language>en-GB</language><generator>Squarespace Site Server v5.9.3 (http://www.squarespace.com/)</generator><item><title>Fez Micro Robot Bottom</title><category>Development</category><dc:creator>Rob</dc:creator><pubDate>Fri, 26 Feb 2010 20:21:36 +0000</pubDate><link>http://www.robmiles.com/net-micro-articles/2010/2/26/fez-micro-robot-bottom.html</link><guid isPermaLink="false">49484:590530:6846041</guid><description><![CDATA[<p><a title="Photo Sharing" href="http://www.flickr.com/photos/41113520@N00/4390671176/"><img alt="4390671176" src="http://static.flickr.com/4050/4390671176_fbb7dc5838.jpg" width="400" height="360" /></a></p>  <p>If you are having bother positioning the support posts to hold your <a href="http://www.tinyclr.com/hardware/2/fez-mini/">Fez Mini</a> robot together you might find the above picture useful.&#160; The PDF gives lots of good detail about how to fit the motors to the battery tray, but lining up the unit with the right screw holes on the base is a bit tricky. I think mine is right, at least the wheels seem straight enough for me. The back of the robot is at the bottom of the above picture.</p>  <p>Oh, and you don’t have to fit the line detectors where I have (just outside each wheel). This is part of an experiment I’m doing to find out how well grey scale line following can be made to work.</p>]]></description><wfw:commentRss>http://www.robmiles.com/net-micro-articles/rss-comments-entry-6846041.xml</wfw:commentRss></item><item><title>Using the FEZ Line Sensors</title><dc:creator>Rob</dc:creator><pubDate>Wed, 10 Feb 2010 20:22:16 +0000</pubDate><link>http://www.robmiles.com/net-micro-articles/2010/2/10/using-the-fez-line-sensors.html</link><guid isPermaLink="false">49484:590530:6641218</guid><description><![CDATA[<p>The <a href="http://www.tinyclr.com/downloads/Component/Broch_ReflectiveSensor.pdf">Fez reflective sensors</a> let your robot detect what it is running on. You can use them to create line following robots. They are surprisingly sensitive. You can connect them to an analogue port on your Robot Controller. The most important aspect of these devices is that the line you print must be a “proper” black. This means a printout from a Laser Printer, and <strong>not</strong> the output from an inkjet. For some reason inks are not detected, but the black produced by a laser printer works a treat.</p>]]></description><wfw:commentRss>http://www.robmiles.com/net-micro-articles/rss-comments-entry-6641218.xml</wfw:commentRss></item><item><title>Clearing out your FEZ</title><dc:creator>Rob</dc:creator><pubDate>Thu, 28 Jan 2010 14:33:28 +0000</pubDate><link>http://www.robmiles.com/net-micro-articles/2010/1/28/clearing-out-your-fez.html</link><guid isPermaLink="false">49484:590530:6452126</guid><description><![CDATA[<p>I managed (I’m not entirely proud of this) to get my lovely FEZ Micro into a bit of a pickle.&#160; I think I set some pins how they shouldn’t be. The result was that Visual Studio got stuck at “Preparing to Deploy Assemblies to Device” and never got past this. If I tried to use MFDeploy to ping the device it didn’t work. Things looked bad.</p>  <p>Turns out that it is fixable though. The FEZ is a dual personality device. Normally it is a Micro Framework device that accepts programs and runs them. However, it also has a mode where it accepts updates to the internal firmware. TinyClr call this the “’Firmware Updater”. I call it my “Get out of Jail Free Card”. </p>  <p>There is a very useful video from the Fez folks that describes this mode and how to activate it.&#160; First thing you do is watch the video:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:a24ec31f-7661-41ea-9818-5b7a45641bb1" class="wlWriterEditableSmartContent"><div id="e092e6df-a0b5-4105-8f03-1ce2146a7c23" style="margin: 0px; padding: 0px; display: inline;"><div><a href="http://www.youtube.com/watch?v=a3N0nQRWb08" target="_new"><img src="http://www.robmiles.com/resource/WindowsLiveWriter-ClearingoutyourFEZ_CCB1-?fileId=5540452" style="border-style: none" galleryimg="no" onload="var downlevelDiv = document.getElementById('e092e6df-a0b5-4105-8f03-1ce2146a7c23'); downlevelDiv.innerHTML = &quot;&lt;div&gt;&lt;object width=\&quot;425\&quot; height=\&quot;355\&quot;&gt;&lt;param name=\&quot;movie\&quot; value=\&quot;http://www.youtube.com/v/a3N0nQRWb08&amp;hl=en\&quot;&gt;&lt;\/param&gt;&lt;embed src=\&quot;http://www.youtube.com/v/a3N0nQRWb08&amp;hl=en\&quot; type=\&quot;application/x-shockwave-flash\&quot; width=\&quot;425\&quot; height=\&quot;355\&quot;&gt;&lt;\/embed&gt;&lt;\/object&gt;&lt;\/div&gt;&quot;;" alt=""></a></div></div></div>  <p>&#160;</p>  <p>Once you have watched the video, installed Terra Term and got the device on the end of the terminal to talk to the terminal program you are ready to clear the memory. You don’t actually want to install any new firmware (so don’t do any of the XModem stuff), you just want to get rid of that nasty Micro Framework program that is stuck in your device. You can do this using the Bootloader program, which is described in Chapter 5 of this guide:</p>  <p><a title="http://www.ghielectronics.com/downloads/USBizi/USBizi%20User%20Manual.pdf" href="http://www.ghielectronics.com/downloads/USBizi/USBizi%20User%20Manual.pdf">http://www.ghielectronics.com/downloads/USBizi/USBizi%20User%20Manual.pdf</a></p>  <p>The command you want to use is D.&#160; Just press D and then Y to confirm the erase. You can now exit from Terra Term, reset the device and everything in the garden will be lovely again.</p>  <p>If your PC complains that it can’t find the USB drivers for the FEZ you can find them in the installation directory on your PC once you have installed the FEZ SDK.</p>  <p>I must stress that it is very unlikely that your FEZ will get stuck. I did to something really stupid to break mine, but it is nice to know there is a way back if it does.</p>]]></description><wfw:commentRss>http://www.robmiles.com/net-micro-articles/rss-comments-entry-6452126.xml</wfw:commentRss></item><item><title>Micro Framework Version 4.0</title><dc:creator>Rob</dc:creator><pubDate>Tue, 26 Jan 2010 13:59:48 +0000</pubDate><link>http://www.robmiles.com/net-micro-articles/2010/1/26/micro-framework-version-40.html</link><guid isPermaLink="false">49484:590530:6433507</guid><description><![CDATA[<p>Version 4.0 of the <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=77dbfc46-14a1-4dcf-a809-eda7ccfe376b">.NET Micro Framework</a> was released in November 2009 and builds nicely on the earlier releases. Since the Micro Framework is now released under an Open Source license you can get hold of an entire porting kit to allow you to run the system on any platform, and you can also get hold of most of the source of the program. </p>  <p>It is great to see the system developing in this way. Over the next few weeks I’m going to be posting some .NET projects, starting with some fun and games with the new FEZ devices from <a href="http://www.tinyclr.com/">TinyCLR</a>.</p>]]></description><wfw:commentRss>http://www.robmiles.com/net-micro-articles/rss-comments-entry-6433507.xml</wfw:commentRss></item><item><title>Micro Framework Book</title><category>Development</category><dc:creator>Rob</dc:creator><pubDate>Wed, 06 Dec 2006 20:19:53 +0000</pubDate><link>http://www.robmiles.com/net-micro-articles/2006/12/6/micro-framework-book.html</link><guid isPermaLink="false">49484:590530:800365</guid><description><![CDATA[<p>I'm very pleased to be able to announce that I'm helping to&nbsp;writing a book about the .NET Micro Framework. The text will be primarly aimed at:</p> <ul> <li>experienced embedded developers who want to move into using C# and .NET in their devices</li> <li>experienced Windows C# programmers who want to use .NET technologies in embedded devices</li> <li>people who want to play with this cool technology and have fun</li></ul> <p>The new book has its own <a href="http://www.dotnetmicroframework.com/">website</a>, and we will be replicating some of the content from here on the new site, and posting examples of the content for folks out there to read and comment on.</p> <p>We hope to have the book ready for early 2007. It is very nice to see that the technology is really coming along now, I've been playing with Beta 3 of the software and it works well. </p>]]></description><wfw:commentRss>http://www.robmiles.com/net-micro-articles/rss-comments-entry-800365.xml</wfw:commentRss></item><item><title>.NET Micro Hardware Emerging</title><dc:creator>Rob</dc:creator><pubDate>Sun, 08 Oct 2006 20:57:27 +0000</pubDate><link>http://www.robmiles.com/net-micro-articles/2006/10/8/net-micro-hardware-emerging.html</link><guid isPermaLink="false">49484:590530:715932</guid><description><![CDATA[<p>It is nice to see that .NET Micro Framework hardware is now starting to appear. I'll post links to the stuff as I find out more about it, for now you could do a lot worse than mosey on down <a href="http://www.windowsfordevices.com/news/NS8917151086.html">here</a> and <a href="http://www.windowsfordevices.com/news/NS7346146724.html">here</a> to take a look at the newest stuff (the latter one looks extremely droolworthy).</p>]]></description><wfw:commentRss>http://www.robmiles.com/net-micro-articles/rss-comments-entry-715932.xml</wfw:commentRss></item><item><title>A First Program</title><dc:creator>Rob</dc:creator><pubDate>Sun, 28 May 2006 11:53:09 +0000</pubDate><link>http://www.robmiles.com/net-micro-articles/2006/5/28/a-first-program2.html</link><guid isPermaLink="false">49484:590530:509606</guid><description><![CDATA[<p>The .NET Micro Framework exposes the hardware by means of an object model. This little snippet of code should give you some idea of how this works, and also how similar/identical the code looks to C# programs for PCs.<br /><font face="Courier"><br /></font><span class="sizeLess20">public static void Main()<br />{<br /><br />&nbsp;&nbsp;&nbsp; Microsoft.SPOT.Hardware.Cpu.Pin ledPin = <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft.SPOT.Hardware.Stamp.Pins.GPIO9_SER2_TDX;<br />&nbsp;<br />&nbsp;&nbsp;&nbsp; Microsoft.SPOT.Hardware.OutputPort ledOutput = <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new Microsoft.SPOT.Hardware.OutputPort(ledPin, true);<br />&nbsp;<br />&nbsp;&nbsp;&nbsp; while (true)<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ledOutput.Write(false);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Threading.Thread.Sleep(500);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ledOutput.Write(true);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Threading.Thread.Sleep(500);<br />&nbsp;&nbsp;&nbsp; }<br />}<br /></span><br />The program will simply flash a led connected to one of the pins.&nbsp; An OutputPort instance is created from that pin and then methods on the instance are called to set the output high (true) and low (false). Note that the standard thread management code is used to pause the program for half a second after each change of state of the led.</p>]]></description><wfw:commentRss>http://www.robmiles.com/net-micro-articles/rss-comments-entry-509606.xml</wfw:commentRss></item></channel></rss>