Install Windows 10 IoT Core for the Raspberry Pi

Disclaimer: This is not my original work, just a collective effort for all IoT learners support. The credit for the original writer has been included at the end of the post.

In this tutorial, I will be going through the process of installing and setting up Windows 10 IoT Core for the Raspberry Pi.

For those who don’t know Windows 10 IoT Core is a version of the Windows 10 operating system built just for IoT devices such as the Raspberry Pi. This is very useful if you plan on utilizing something like UWP to write your application, it also gives you access to Windows 10’s core, and its wide variety of features.

I very briefly go into coding and pushing applications to the device. If you need to learn more about how to do things, then I highly recommend looking at some of Microsoft’s documentation as it is very thorough.

Please note to complete this tutorial you will need either a Raspberry Pi 2 or a Raspberry Pi 3. This is unsupported on other versions of the Raspberry Pi.

Take a look at this Video Tutorial. https://www.youtube.com/watch?v=YSVofU4Hu5o

Equipment

To be able to install Windows 10 IoT on the Raspberry Pi correctly you will need the following pieces of equipment.

Recommended:

Raspberry Pi 2 or 3

Micro SD Card

Ethernet Cord

Optional:

Raspberry Pi Case

USB Keyboard

USB Mouse
You will also need a computer running Windows 10 to be able to complete the following process.

Installing Windows 10 IoT on your Raspberry Pi

1. To begin, we will first need to download and install the Windows 10 IoT Core Dashboard. To download this, we just need to go to the Windows 10 IoT website here.
This piece of software is what will download the correct system for our Raspberry Pi and format it.

2. Insert your SD card into the computer or laptop’s SD card reader and check the drive letter allocated to it, e.g. G:/. You will need to know this to ensure that you are formatting the correct drive, as you don’t want to be doing this to any important data.

3. Now that you have inserted your SD Card into your computer/laptop, we will need to run the “Windows 10 IoT Core Dashboard” software. If you can’t find this easily after installing it then try running a search.

With the software loaded up we need to go into the “Set up a new device” (1.) screen as shown below.

On here you will want to set your “Device name” and set the “New Administration password“. Make sure that you set the password to something you can remember easily, but is secure, as this password is what you will use to remotely connect to your Raspberry Pi (2.).

Before we continue, make sure that “Drive” is set to the correct drive, make sure that the drive letter is the same as the SD Card that your inserted in step 2.

When you have filled in your information tick the “I accept the software licence terms” and then press the “Download and install” button (3.).

Windows 10 IoT Dashboard Setup a new device

4. Once the software has finished downloading and installing Windows 10 IoT Core for the Raspberry Pi we can proceed on with this tutorial. Now safely to out your Micro SD card from your computer so you can put it into your Raspberry Pi.

Booting and setting up your Win 10 IoT device

1. Now that we have successfully downloaded and written the image to our Raspberry Pi’s Micro SD card we can insert the SD Card back into the Raspberry Pi.

2. Before we power back on the device, make sure that you plug in a HDMI cable and a mouse and keyboard, we will need all 3 of these if you intend on utilizing Wi-Fi on your Raspberry Pi Windows 10 IoT device.

Once done you can plug your Raspberry Pi back into power and allow it to start booting up.

3. Now is the long wait for your Raspberry Pi to start up, when I did this it took a fair while for the Raspberry Pi to start up on boot, don’t be afraid if you think it may have frozen it just takes some serious time to do the initial setup and startup.

4. Once it has finished starting up, you should be greeted with a screen like below. Now to setup a WiFi connection, we need to click the cog in the top right-hand corner.

Windows 10 IoT on the Raspberry Pi

5. Now in the next menu we need to go to “WiFi and Network” and select the WiFi access point you want to connect to, you will receive a prompt asking you to enter your network password.

Once you have connected to your WiFi network you can return to the main screen to grab your Raspberry Pi’s IP Address, as we will need this further along in the tutorial.

Raspberry Pi Windows 10 IoT Set WiFi

Connecting to Your Device

Now there are 3 ways you’re able to connect to your Raspberry Pi Windows 10 IoT device. I will quickly mention each method now.

Web Browser

First off is utilizing your web browser to talk with the Raspberry Pi, it is probably the easiest out of the 3 main ways to deal with. Basically, all you simply need to do is point your Web Browser to your Raspberry Pi’s IP Address on port 8080.

For example, my Raspberry Pi’s local IP address is 192.168.0.143, so in my favorite web browser i would type in http://192.168.0.43:8080

You can also use the “Windows 10 IoT Core Dashboard” tool to be able to click to get to the devices web page as well. Simply load up the application, go to the “My Devices” (1.) tab in the left sidebar, right click (2.) on the device you want to connect to and click “Open in Device Portal” (3.).

Windows 10 IoT My Devices Screen

Upon either going to your Raspberry Pi’s IP Address or using the Windows 10 IoT Core Dashboard tool you will be first asked to login. Make sure you use administrator as the username, and the password you set at the beginning of this tutorial as the password.

Upon successfully logging in you should be greeted with the screen below. We recommend exploring around as the web tool does offer a fair bit of access and incite to your device. You can debug and see real time performance through this interface which is incredibly helpful to see what you Raspberry Pi is doing.

Raspberry Pi Windows 10 IoT Website

PowerShell

PowerShell is not a tool that many will be too familiar with, but it is Microsoft’s more advanced version of command prompt giving you access to a wealth of tools including the ability to administer remote systems, a feature we will be making use of shortly.

PowerShell makes it rather simple to interact with your Raspberry Pi Windows 10 IoT device as we will show shortly. There is two ways of connecting to your device through PowerShell. The easier way relies on the “Windows 10 IoT Core Dashboard” tool (Steps 1a+), the other way is utilizing PowerShell to do everything (Steps 1b+).

1a. First off, we will explain the simple way, first load up the “Windows 10 IoT Core Dashboard” tool. With the application open, go to the “My Devices” (1.) tab in the sidebar, right click (2.) on the device you want to connect to and click “Launch PowerShell” (3.).

Raspberry Pi Windows 10 IoT Dashboard Launch Powershell

2a. This will launch a PowerShell session that will automatically begin to connect to your Raspberry Pi. When prompted enter the password we set at the start of this tutorial. You should be greeted with a PowerShell window like shown below when you have been successfully connected.

1b. The second way of connecting to your Raspberry Pi is slightly more complicated and utilizes PowerShell completely. To open PowerShell on Windows 10, right click the windows Icon and select “Windows Powershell (Admin)“.

2b. In here we want to type in the following command, this adds our Raspberry Pi as a trusted device for PowerShell to connect to. Make sure you replace [YOUR _PI_IP_ADDRESS] with your Raspberry Pi’s local IP address.

Set-Item WSMan:\localhost\Client\TrustedHosts -Value [YOUR _PI_IP_ADDRESS]

3b. With that done, we can now start a PowerShell session with our Raspberry Pi Windows 10 IoT device. To do this enter the command below into PowerShell, making sure you replace [YOUR _PI_IP_ADDRESS] with your Raspberry Pi’s local IP address.

Enter-PSSession -ComputerName [YOUR _PI_IP_ADDRESS] -Credential [YOUR _PI_IP_ADDRESS]\Administrator

4b. You will be asked to enter the password you set earlier in this tutorial. Enter that to continue.

5b. After about 30 seconds, PowerShell should have now successfully made the connection and you should see a screen like below.

Raspberry Pi Windows 10 IoT Core Powershell connection

SSH

The third main way of interacting with your Raspberry Pi Windows 10 IoT device is to utilize SSH. The main advantage of this is that it is a widely available protocol and is something most users of the Raspberry Pi will be thoroughly familiar with.

You can also follow the SSH instructions below in order to use SSH to connect to your device.

1. To start off make sure you have a SSH client installed, on Windows I highly recommend using either Putty or MobaXterm.

2. Now in your SSH Client connect to your Raspberry Pi’s IP Address on port 22 (The default SSH port).

3. When asked to enter the username you want to login with, make sure you use administrator, as this is the default login username for Windows 10 IoT Core.

4. You will now be asked to enter the password associated with the account, the password you want to use is the one you would of set within the Windows 10 IoT Core Dashboard at the start of this tutorial.

5. You should now be successfully logged into your Raspberry Pi Windows 10 IoT Core device and should be greeted with a screen like what is shown below.

Raspberry Pi Windows 10 IoT SSH

If you want to learn more about utilizing SSH and some of the commands you can use within the session then make sure you take a look at Micrsoft’s own IoT documentation here.

Setting up Visual Studio for Windows 10 IOT Core

Lastly you are most likely going to want to setup Visual Studio Community. The reason for this is so that you are able to start developing your own applications for Windows 10 IoT Core.

Installation

1. First, we must download and install Visual Studio Community, luckily this is easily available on Microsoft’s website, you can find Visual Studio Community by going to the visual studio community.

Be warned that the download and installation of Visual Studio Community can take some time especially on slow internet connections.

2. Once the installation process has completed you can continue this with tutorial. Start by launching up Visual Studio Community. It will ask you to do some configuration, it should be fine to just use the default settings.

3. You will notice that there isn’t any IoT templates in the default installation. Click on the here link next to install Windows 10 IOT core project templates back on the page linked back.

4. Now one of the things you will find that is currently missing is any project templates for Windows 10 IoT Core. We can grab and install these by going to the Visual Studio marketplace.

5. Once you have downloaded and installed the templates, close and re-open Visual Studio, you need to do this for Visual Studio to load them in.

6. Upon creating the new project, you will be prompted to activate developer mode on your Windows 10 device. Simply follow the prompts provided to activate it.

7. Everything should now be ready for you to code your new application. You can find documentation on certain features of Windows 10 IoT Core by going to their documentation page. You can also find a document that explains how to utilize the GPIO pins from within Windows 10 IoT by going to their GPIO documentation.

Pushing code to the device

1. Once you have your new application in a state in which you want to deploy it to your Raspberry Pi Windows 10 IoT device, go up to the tab that has a green arrow in it.

2. Click the black drop down arrow, and select remote machine.

3. Now in here you should be able to select your Raspberry Pi underneath automatic configuration, however in some cases this will not function correctly and you will have to manually enter the IP of your Raspberry Pi.

4. You should now be able to push code / applications to your Windows 10 IoT Raspberry Pi.

I hope you now have learn how to install Windows 10 IoT core for the Raspberry Pi. If I have missed anything, or if you are having troubles or anything else you would like to share then be sure to drop a comment below.

All credit goes to PyMyLifeUp

Windows 10 IoTCore

Introduction

This project’s goal is to demonstrate guidelines for creating a Windows 10 IoTCore based product and walk through the creation of an IoT device, from implementation to final deployment.

The project has two applications:

  • One background application to receive sensor data and send it to the Azure cloud. Receiving sensor data and analyzing it are important tasks in IoT and a device will often operate in “headless” mode for monitoring; thus, we separate these tasks in an independent app. It also receives application keys securely and saves user settings to Azure.
  • One foreground application for user interaction. This application shows local weather (read by the background app), information from the internet (news and regional weather) and interacts with the user (playing media or showing a slideshow). A settings page is also available to change settings.

App communication

The applications are written using Universal Windows Platform (UWP); thus, the same foreground app can be run on both IoT and Desktop.

Guides

Steps from implementation of apps to deployment are documented with an end-to-end solution. Each tutorial shows small code snippets and then links to the code running in the walkthrough project.

Sections

  1. About the project
  2. Background application
  3. Foreground application
  4. Inter-application communication
  5. Connecting to the Azure cloud
  6. Integration with third-party services
  7. Preparing for deployment
  8. Deployment
    • Creating a retail OEM image

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

SharePoint video tutorials for all

What is SharePoint?

So now comes the videos and tutorials for how-to with SharePoint 2013.  I am only going to post the Microsoft one’s here, and will review and look at other videos via YouTube, MVPs, and other later.

Free SharePoint Training for IT Pros

In addition to the courses for Developers, there’s also some great videos aimed at IT Professionals on Technet as follows :

Technet please go here:

  1. SharePoint 2013 IT pro introduction and overview
  2. SharePoint 2013 system requirements
  3. SharePoint 2013 architectural changes
  4. SharePoint 2013 server farms and site architecture planning
  5. Office Web Apps 2013 architecture and deployment
  6. SharePoint 2013 service application architecture and individual service applications
  7. SharePoint 2013 enterprise search overview
  8. SharePoint 2013 social features
  9. SharePoint 2013 enterprise content management and web content management considerations
  10. SharePoint 2013 customization options and management
  11. SharePoint 2013 authentication and authorization overview
  12. Overview of SharePoint 2013 business continuity management
  13. Upgrading to SharePoint 2013
  14. What’s new in Project 2013 for IT Professionals

Free SharePoint Training for Developers

Developer-focused how to training and walkthrough videos about Office 2013 and SharePoint 2013 including changes and new features for search, social, ECM, WCM, and REST. Learn about apps for Office and SharePoint. The following list provides an overview of the new modules.

Full content on MSDN can be found here

  1. Introduction to Office 2013 and SharePoint 2013 development.
  2. SharePoint 2013 app model for developers.
  3. SharePoint 2013 Developer Tools
  4. Hosted apps in SharePoint 2013
  5. Create Cloud-Hosted apps for SharePoint 2013
  6. SharePoint 2013 client object model (CSOM) and REST APIs
  7. OAuth and application identity in SharePoint 2013
  8. Develop SharePoint 2013 remote event receivers
  9. Workflow changes and features in SharePoint 2013
  10. Business connectivity services changes in SharePoint 2013
  11. Search features and changes in SharePoint 2013
  12. Enterprise content management changes in SharePoint 2013
  13. Web content management changes and features in SharePoint 2013
  14. Social features in SharePoint 2013
  15. Office services in SharePoint 2013
  16. Create mobile apps for SharePoint 2013
  17. Develop apps for Office 2013
  18. Project Server 2013 training for developers

SharePoint general development

Use SharePoint to engage with people, share ideas, and reinvent the way you work together. Find in-depth developer resources, how-to documentation, training, videos, code samples, and SDKs for SharePoint and SharePoint Add-ins.

Applies to: Office 365 | SharePoint 2013 | SharePoint Add-ins | SharePoint Online

Find out how to customize SharePoint Online and SharePoint on-premises by extending the out of the box capabilities.

SharePoint development
SharePoint developer home
SharePoint 2013
SharePoint 2010

SharePoint Framework
Overview of the SharePoint Framework
Tools and libraries for SharePoint Framework
Get started with web parts
SharePoint Framework API reference

SharePoint Add-ins
Get started creating SharePoint-hosted SharePoint Add-ins
Get started creating provider-hosted SharePoint Add-ins
Tools and environments for developing SharePoint Add-ins
SharePoint Patterns and Practices (PnP) solution guidance

References
JavaScript API reference for SharePoint
REST API reference for SharePoint
.NET server API reference for SharePoint
.NET client API reference for SharePoint
Schema reference for SharePoint
SharePoint webhooks REST API

Code samples
SharePoint Patterns and Practices (PnP) samples at dev.office.com

Support
SharePoint forum on stack overflow
SharePoint development forums on MSDN
SharePoint UserVoice

Social media
Office Dev Center blogs
Office Developer on Twitter
Office Developer on Facebook

If you are a developer and looking for where to start with then this is the best place for you. https://dev.office.com/videos