Building Connected Things with Windows 10 IoT and Microsoft Azure

Configure Your Raspberry Pi

In this lab, you will configure your Raspberry Pi for use in the labs, tutprials and workshops, including getting it on a network, giving it a unique machine name, and changing the Administrator password.

Table of Contents

In this lab, you will install a non-standard version of Windows 10 IoT Core on your Raspberry Pi 2 or 3. The term non-standard refers to images that are not available in the default dropdown list in the Windows 10 IoT Core Dashboard, including older images and Windows Insider images. If you have a Raspberry Pi 3, you will need to use a Windows Insider image. You need to have a valid Microsoft Account (MSA) and need to be signed up for the Windows Insider Program to be able to download the Insider Preview.

Get Your Raspberry Pi on a Network

To enable you to remotely deploy and debug applications on the Raspberry Pi you need to connect it to the same network that your development machine is connected to. This can be either a physical network (via an Ethernet cable) or a Wi-Fi network, if you have a wireless adapter from the list of compatible hardware, or a Raspberry Pi 3, which has built-in wireless capabilities.

Connect to a Physical Network

Connecting to a physical network is the easiest. Simply plug the Ethernet cable into the Ethernet port on the Raspberry Pi.

Connect to a Wireless Network

If your board has a Wi-Fi adapter or is a Raspberry Pi 3, 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_CD2C196A).

Devices broadcasting their ID

  1. Go to My devices. From my devices, you can discover your device and configure it (including connecting to Wi-Fi).
  2. 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.
  3. 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.

  1. Find your device in the list
  2. 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.
  3. 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.
  4. Click Accept to accept the changes and reboot the Raspberry Pi

Your Raspberry Pi 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.

Test Device

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.

  1. Navigate to Try some samples in the left nav bar.
  2. Select Hello Blinky
  3. Select your board from the drop-down list
  4. 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

You should now be ready to begin any of the Windows 10 IoT labs.