Windows 10 IoT Core on my Raspberry Pi 2

By: JohnStutsman

 

IoT1

Figure 1 – Raspberry Pi 2 Model B

 

In February of 2015 the Raspberry Pi 2 Model B was introduced with some improved specifications like:

  • A 900MHz Quad-core ARM Cortex-A7 CPU
  • 1GB RAM

And with an identical form factor to the previous Pi Model B+, it also has:

  • 4 USB ports
  • 40 GPIO pins
  • Full HDMI port
  • Ethernet port
  • Combined 3.5mm audio jack and composit video
  • Camera interface (CSI)
  • Display interface (DSI)
  • Micro SD card slot
  • VideoCore IV 3D graphics core

The more powerful ARMv7 CPU gave the Pi2 the capability to run Microsoft Windows 10 IoT Core.

 

IoT2

Figure 2 – Raspberry Pi 2 Model B with Quick Start Guide

 

I saw the Pi2 as a fun vehicle for me to get back into programming – something I used to do a number of years ago – while also learning how to apply this technology to the IoT.

 

Video 1 – My Raspberry Pi 2 Model B Unboxing – see also Got my 1st Pi 2 Model B

 

Windows 10 IoT Core on my Raspberry Pi 2

To install Microsoft Windows IoT Core on my Raspberry Pi 2 I started at Microsoft’s “Get Started 1. Select your Device” page at http://ms-iot.github.io/content/en-US/GetStarted.htm and under the Raspberry Pi 2 I selected Start Now which took me to the page “Get Started 2. Set up your PC” at http://ms-iot.github.io/content/en-US/win10/SetupPCRPI.htm and I went through all 5 steps to setup my laptop as my Windows 10 IoT Core development PC.

After completing the 5 steps on “Get Started 2. Set up your PC” I moved to “Get Started 3. Set up your Device” where I followed Microsoft’s instructions to 1. Install the Windows 10 IoT Core Tools and 2. Put the Windows 10 IoT Core image on my SD card.

Finally, I was ready to hook up my Raspberry Pi2 and Boot Windows 10 IoT Core.

 

Video 2 – Windows 10 IoT Core on my Raspberry Pi2

 

IoT3

Figure 3 – Raspberry Pi 2 with 8GB MicroSD installed with Windows 10 IoT Core and attached Network cable, HDMI cable, and microUSB Power cable – Note to self: taking a flash picture of my Raspberry Pi2 caused it to reboot!

 

IoT4

Figure 4 – HDMI Display of Windows 10 IoT Core successfully installed on Raspberry Pi 2 with 8GB MicroSD

 

Connecting with PowerShell

IoT5

Figure 5 – PowerShell commands that connected my laptop to the Raspberry Pi 2 Model B running Windows 10 IoT Core

Microsoft’s excellent documentation of commands at http://ms-iot.github.io/content/en-US/win10/samples/PowerShell.htm got me started by connecting my laptop running Windows 10 to the Raspberry Pi 2 Model B running Windows 10 IoT Core.

Where <machine-name> = minwinpc

I used the PowerShell Commands:

net start WinRM

Set-Item WSMan:\localhost\Client\TrustedHosts -Value <machine-name>

Enter-PSSession -ComputerName <machine-name> -Credential <machine-name>\Administrator

In the credential dialog I entered the default password: [email protected] (note that it’s spelled with the number zero not the letter oh)

I then entered the following command replacing [new password] with a strong password:

net user Administrator [new password]

I made a video of connecting my laptop to Windows 10 IoT Core running on my Raspberry Pi2.

 

Video 3 – Windows 10 IoT Core on my Raspberry Pi2 – Connecting with PowerShell

 

Microsoft provided a list of Windows 10 IoT Core Command Line Utilities at http://ms-iot.github.io/content/en-US/win10/tools/CommandLineUtils.htm

 

Additionally, Microsoft provides samples of applications to get started at http://ms-iot.github.io/content/en-US/win10/samples/Blinky.htm as well as Docs and Samples at http://ms-iot.github.io/content/en-US/win10/StartCoding.htm

 

As-Built: minwinpc

  • Raspberry Pi 2
  • 8GB Class 10 MicroSD

 

Please join us in the HSS Forums with any questions, comments, and to post/share your experiences with Windows 10 Iot Core on the Raspberry Pi 2.

Let’s get coding!

 

IoT6

Figure 6 – Test setup with HDMI display (Windows 10 IoT Core), Network connection, Micro USB power source, Raspberry Pi 2, and Laptop

 

Reference:

Windows IoT 1. Get Started http://ms-iot.github.io/content/en-US/GetStarted.htm

Windows IoT 2. Set Up Your PC http://ms-iot.github.io/content/en-US/win10/SetupPCRPI.htm

Windows IoT 3. Set Up Your Device http://ms-iot.github.io/content/en-US/win10/SetupRPI.htm

Using PowerShell to connect and configure a device running Windows 10 IoT Core http://ms-iot.github.io/content/en-US/win10/samples/PowerShell.htm

Windows IoT 4. Develop http://ms-iot.github.io/content/en-US/win10/samples/Blinky.htm

Windows IoT Docs & Samples http://ms-iot.github.io/content/en-US/win10/StartCoding.htm

Card Reader I used: Black Aluminum MocroSD USB Card Reader http://www.newegg.com/Product/Product.aspx?Item=9SIA0UW0YM8623

MicroSD Card I used: Wholesale 2*Kingston TF 8G Class 10 MicroSD SDHC/SDXC Memory Flash Card http://www.newegg.com/Product/Product.aspx?Item=9SIA4UB2VV8877

HomeServerShow Forums http://homeservershow.com/forums/index.php?/forum/84-raspberry-pi/

 

You may also like...