Getting Started With Windows IoT Core on Raspberry Pi Created by Rick Lesniak Last updated on 2018-08-22 03:54:57 PM UTC
Guide Contents Guide Contents Overview Initial Setup Install Visual Studio on your Windows 10 computer Install IoT Core Dashboard on your Windows Computer Prepare Raspberry Pi Device Portal PowerShell Optional: Build IoT image Installing the Core version is easy If you want to install the Core Insider Preview Version © Adafruit Industries https://learn.adafruit.
Overview Tap the power of Windows 10 on your Raspberry Pi! Windows IoT Core is the awesome cross-platform development system from Microsoft, that gives you the Windows 10 programming environment on embedded devices. In this series, we show you how to get started with Windows IoT Core. We'll help you setup your development environment, and then show you how to write your first two Windows IoT Core applications for your Raspberry Pi.
Initial Setup There are several installation steps to go through before we can get started programming. We need to get Windows IoT Core installed on the Raspberry Pi, we need to install Visual Studio on a Windows 10 PC, and we need to install some support tools on the PC in addition to Visual Studio. Install Visual Studio on your Windows 10 computer Make sure you have the latest Windows 10 release installed.
While you’re in the Extensions and Updates window, check for updates by clicking “Updates” on the left of the window. Select the updates you want to install, and click the “Update” button. Finally, make sure developer mode is enabled on your computer. Go to Settings > Update & Security, and click on “For developers”. Click on Developer mode. Install IoT Core Dashboard on your Windows Computer After installing Visual Studio, we need to install the Windows 10 IoT Core Dashboard.
IoT devices. Download the IoT Core Dashboard from here: https://iottools.blob.core.windows.net/iotdashboard/setup.exe (https://adafru.it/pco) Run the setup application, and click “Install”. When the installation is complete, the IoT Core Dashboard will appear on your screen. You will probably also see a Windows Security Alert pop up, asking if you want to allow the Core Dashboard to communicate with your network. Check the ‘Private networks’ box, and then click Allow Access.
Prepare Raspberry Pi At a minimum, you’ll need a power supply, a bootable microSD card, and an Ethernet connection (must be on the same network as your Windows 10 computer). A USB WiFi dongle is optional. An HDMI monitor is a good idea, along with a USB mouse. The version of Windows IoT Core shipped with the Adafruit development kit is for the Pi 2. It is not compatible with the Pi 3. You will need to build a Pi 3 image if using a Pi 3. See this page of the tutorial for instructions. https://adafru.
Click the “Settings” icon for your device. This will bring up a page which allows you to change the name of your device, along with the username of the administrator. The default name of the device is “minwinpc”, and the user name is “Administrator”. Click on the line “Open Windows Device Portal in browser”. Your browser will pop up a login screen.
Optional: Build IoT image If you bought Adafruit’s Windows IoT Core development kit, you’ve already got an SD card with IoT installed on it. If so, you can skip this step. But if you don’t have a preloaded SD card, or if you want to install one of Microsoft’s Preview versions, or if you’re just curious, read on for a guide to building an IoT system on an SD card. To start, you’ll need an 8 GB or larger SD card. Insert the SD card into your Windows 10 computer so you can format it.
If you want to install the Core Insider Preview Version Go to Microsoft’s Getting Started page (https://adafru.it/pct), and select the type of IoT system you’re setting up. First, select your board type (we’ll be using a Raspberry Pi 2) Next, select which sort of IoT system you’re building. We’re starting from scratch with a blank SD card, so select “Flash onto my blank microSD card” Now, select the Windows 10 IoT Core Insider Preview Click Next.