Wednesday, September 30, 2015

Raspberry Pi / Windows 10 Iot - Getting Started

Microsoft updated their Iot Windows 10 content for several platforms, including the Pi.  I started from scratch getting my Pi hardware installed with Windows 10 (core) on the Pi, then proceeded to use Visual Studio 2015 to get my lil' LED light blinking.  Surprisingly I was able to stay within Visual Studio the entire time to write the C# code (no Mono involved), compile, deploy, and execute the application remotely on the Pi (oh yes...even debug the code executing remotely on the Pi).  The latest help/instructions from the Microsoft side have been updated to walk you through the steps in enough detail to be successful without having to search to the end of the Internet for answers.

Here are a few links that lay out the short journey (all you need to have is your Pi assembled).  The last link is the new C# Microsoft GPIO (General Purpose Input/Output hardware pin headers) library which makes is really nice to interface to the hardware.

Download Windows 10 for Raspberry Pi
http://ms-iot.github.io/content/en-US/Downloads.htm

Getting Started (select Raspberry Pi)
http://ms-iot.github.io/content/en-US/GetStarted.htm

Raspberry Pi Source Code Examples
https://github.com/ms-iot/samples/archive/develop.zip

C# Windows.Device.Gpio namespace
https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.gpio.aspx

Can't RDP? How to enable / disable virtual machine firewall for Azure VM

Oh no!  I accidentally blocked the RDP port on an Azure virtual machine which resulted in not being able to log into the VM anymore.  I did ...