Table of Contents
- Table of Contents
- Install Windows 10 IoT Core on Raspberry Pi 2
- Connect the Raspberry Pi 2
- Join the Wireless Network
- Set the Machine Name and Password
- Test Device
- Conclusion & Next Steps
If you haven’t already done so, please follow the instructions in the ‘Getting Started’ section.
In this section, you will install Windows 10 IoT Core on your Raspberry Pi 2.
Install Windows 10 IoT Core on Raspberry Pi 2
Windows 10 IoT Core is a version of Windows 10 designed to run on small devices, like the Raspberry Pi 2. You can download and install the Windows IoT Core image onto the micro SD card.
- In a browser, navigate to the Microsoft Windows IoT Downloads & Tools page.
- Click on the Get IoT Core Dashboard button to download the dashboard utility.
Once the setup.exe has downloaded, open it to install the dashboard utility.
Once the Windows IoT Core Dashboard is installed, use it to flash the microSD card with the latest Windows IoT Core OS image.
- Insert the micro SD card into your SD card writer.
In the IoT Dashboard, select Set up a new device.
- Use the drop-down list to make Device Type = Raspberry Pi 2.
- Select Windows 10 IoT Core for Raspberry Pi 2.
- Select the microSD card in the Drive drop-down list.
- Check the box for I accept the software license terms (of course, you have already read them).
Click the Download and install button.
When prompted, select Continue indicating that you have backed up any files from the microSD card before it gets erased.
The download and install could take some time depending on your bandwidth and the size of the microSD card. When it is complete you will see the Your SD card is ready screen.
Connect the Raspberry Pi 2
You are now ready to connect and power on your Raspberry Pi 2.
- Insert the microSD card with the Windows 10 IoT Core image on it into your Raspberry Pi 2 (the slot is on the underside, on the opposite edge from the side with the USB ports).
- If you will be connecting to a physical network, connect a network cable from your local network to the Ethernet port on the Raspberry Pi 2. Your development device must be on the same network. If you will be using Wi-Fi, see the Joining the Wi-Fi Network section below.
- If you will be working with a monitor, connect an HDMI monitor to the HDMI port on the board.
- Connect the power supply to the micro USB port on the board. You must power this from the 5V 2A adapter - USB power from your computer is insufficient.
Windows 10 IoT Core will boot on power-up. The first boot may take a few minutes. If you have the Raspberry Pi 2 connected to a display, you should see the default app screen.
Join the Wireless Network
If your board has a WiFi adapter and it has not yet be set up, it will start to broadcast itself as a network. Unconfigured boards will begin with “AJ_” (e.g. AJ_58EA6C68).
- Go to My devices. From my devices, you can discover your device and configure it (including connecting to Wi-Fi).
- Find your board and click Configure Device. If you don’t see your board, make sure that you’ve allowed enough time for your board to boot. If all else fails, reboot your device.
- Enter your network credentials. Your computer will now connect to your board.
Set the Machine Name and Password
By default, your board will have the name minwinpc and an Administrator password of p@ssw0rd. It is recommended that you change both of these to avoid confusion with other devices on your network.
- Find your device in the list
- Click the edit symbol (pencil symbol). This will take you to the Settings page. From the settings page, you can launch Windows Device Portal, and set basic settings.
- Set the machine name and change the password (highly recommended). All devices start with a default password. The default password is p@ssw0rd. It is highly suggested that you change it.
- Click Accept to accept the changes and reboot the Raspberry Pi 2
Your Raspberry Pi 2 will reboot and when it is back up and running it will have the new name you gave it, and the Administrator account will use the password you created.
Quick-Run samples are pre-built and require no compiling or coding to get going. This is a great way to make sure everything is working and easily play with your board.
- Navigate to Try some samples in the left nav bar.
- Select Hello Blinky
- Select your board from the drop-down list
- Launch the sample.
In the background, the dashboard will temporarily install the sample onto your device. Once loaded, the device will broadcast a web page over the network and IoT Dashboard will automatically connect to it. This lets you control the app without having to plug in a monitor directly to your device.
Conclusion & Next Steps
In this lab, you prepared your Raspberry Pi 2 for the following labs. Next, you will learn about how the GrovePi hardware you will be using in this workshop works with the Raspberry Pi 2.