Building Connected Things with Windows 10 IoT and Microsoft Azure
Configure Your Raspberry Pi
Table of Contents
- Table of Contents
- Get Your Raspberry Pi on a Network
- Set the Machine Name and Password
- Test Device
- Conclusion & Next Steps
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).
- 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
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.
- 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
You should now be ready to begin any of the Windows 10 IoT labs.