ExplainerHow ToIoT OS & RTOSIoT Software&ToolsRaspberry PiTutorials/DIY

How to Set Up Windows 10 IoT Core on the Raspberry Pi

Windows 10 IoT Core is a lightweight, optimized version of Windows 10 designed for Internet of Things (IoT) devices. It provides a familiar Windows environment while supporting Universal Windows Platform (UWP) apps and integration with cloud services. In this guide, we will cover how to install and configure Windows 10 IoT Core on a Raspberry Pi.

Prerequisites

Before we begin, ensure you have the following:

  • Raspberry Pi (Raspberry Pi 2, 3, or 4 recommended)
  • MicroSD Card (8GB or larger, preferably Class 10)
  • Windows 10 PC (to flash the OS onto the microSD card)
  • Micro USB Power Supply (5V, 2.5A recommended)
  • Ethernet Cable or Wi-Fi Dongle (for network connectivity)
  • Monitor, Keyboard, and Mouse (for initial setup)
  • MicroSD Card Reader (to transfer Windows 10 IoT Core onto the card)

Step 1: Download the Required Software

  1. Windows 10 IoT Core Dashboard
  2. Windows 10 IoT Core Image
    • Open the Windows 10 IoT Core Dashboard.
    • Click on Set up a new device.
    • Select Raspberry Pi 2 & 3 as the device type.
    • Choose the latest Windows 10 IoT Core version.
    • Accept the software license terms and click Download and install.

Step 2: Prepare the MicroSD Card

  1. Insert the MicroSD card into your PC using a card reader.
  2. In the IoT Core Dashboard, select the connected SD card.
  3. Click Flash to install Windows 10 IoT Core onto the MicroSD card.
  4. Once the process is complete, remove the MicroSD card safely.

Step 3: Boot the Raspberry Pi

  1. Insert the MicroSD card into the Raspberry Pi.
  2. Connect the Raspberry Pi to a monitor using HDMI.
  3. Attach a keyboard and mouse.
  4. Power on the Raspberry Pi by connecting the micro USB power cable.
  5. The Raspberry Pi will boot, and you should see the Windows 10 IoT Core startup screen.

Step 4: Configure Windows 10 IoT Core

  1. Follow the on-screen instructions to set up the device.
  2. Connect to a network via Wi-Fi or Ethernet.
  3. Set up the device name and administrator credentials.
  4. Once configured, the Raspberry Pi will reboot and apply settings.

Step 5: Connect to the Device Remotely

Using Windows Device Portal

  1. Ensure your Raspberry Pi and Windows PC are on the same network.
  2. Open a web browser and go to http://<Your-Raspberry-Pi-IP>:8080.
  3. Log in using the credentials set during the setup.
  4. From here, you can monitor device status, manage apps, and configure system settings.

Using PowerShell

  1. Open PowerShell on your Windows PC.
  2. Enable remote connections:
    Set-Item WSMan:\localhost\Client\TrustedHosts -Value "<Your-Raspberry-Pi-IP>"
    
  3. Start a remote session:
    Enter-PSSession -ComputerName <Your-Raspberry-Pi-IP> -Credential <YourUsername>
    

Step 6: Deploy an Application

Using Visual Studio

  1. Install Visual Studio 2019 or later with the Universal Windows Platform (UWP) development workload.
  2. Create a new Blank App (Universal Windows) project.
  3. Set the target platform to Windows 10 IoT Core.
  4. Connect your Raspberry Pi and select Remote Machine as the target.
  5. Deploy the application to the Raspberry Pi.

Step 7: Integrate with Azure IoT Hub (Optional)

To connect your Raspberry Pi to the cloud:

  1. Create an Azure IoT Hub in the Azure Portal.
  2. Register your device and obtain the connection string.
  3. Use the Azure IoT SDK for Python or C# to send and receive data.

Troubleshooting

Boot Issues

  • Ensure the MicroSD card is properly inserted.
  • Try using a different MicroSD card or re-flashing the OS.
  • Check the Raspberry Pi’s power supply.

Network Issues

  • Ensure the device is connected to Wi-Fi or Ethernet.
  • Check the network settings in the Windows Device Portal.

Conclusion

Setting up Windows 10 IoT Core on a Raspberry Pi allows developers to create IoT solutions with a familiar Windows environment. By following these steps, you can configure your Raspberry Pi, deploy applications, and even connect it to cloud services like Azure IoT Hub. Happy coding!

Raspberry Pi Tutorials

Harshvardhan Mishra

Hi, I'm Harshvardhan Mishra. Tech enthusiast and IT professional with a B.Tech in IT, PG Diploma in IoT from CDAC, and 6 years of industry experience. Founder of HVM Smart Solutions, blending technology for real-world solutions. As a passionate technical author, I simplify complex concepts for diverse audiences. Let's connect and explore the tech world together! If you want to help support me on my journey, consider sharing my articles, or Buy me a Coffee! Thank you for reading my blog! Happy learning! Linkedin

7 thoughts on “How to Set Up Windows 10 IoT Core on the Raspberry Pi

Leave a Reply

Your email address will not be published. Required fields are marked *