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
- Windows 10 IoT Core Dashboard
- Download and install the Windows 10 IoT Core Dashboard from the Microsoft website.
- 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
- Insert the MicroSD card into your PC using a card reader.
- In the IoT Core Dashboard, select the connected SD card.
- Click Flash to install Windows 10 IoT Core onto the MicroSD card.
- Once the process is complete, remove the MicroSD card safely.
Step 3: Boot the Raspberry Pi
- Insert the MicroSD card into the Raspberry Pi.
- Connect the Raspberry Pi to a monitor using HDMI.
- Attach a keyboard and mouse.
- Power on the Raspberry Pi by connecting the micro USB power cable.
- The Raspberry Pi will boot, and you should see the Windows 10 IoT Core startup screen.
Step 4: Configure Windows 10 IoT Core
- Follow the on-screen instructions to set up the device.
- Connect to a network via Wi-Fi or Ethernet.
- Set up the device name and administrator credentials.
- Once configured, the Raspberry Pi will reboot and apply settings.
Step 5: Connect to the Device Remotely
Using Windows Device Portal
- Ensure your Raspberry Pi and Windows PC are on the same network.
- Open a web browser and go to
http://<Your-Raspberry-Pi-IP>:8080
. - Log in using the credentials set during the setup.
- From here, you can monitor device status, manage apps, and configure system settings.
Using PowerShell
- Open PowerShell on your Windows PC.
- Enable remote connections:
Set-Item WSMan:\localhost\Client\TrustedHosts -Value "<Your-Raspberry-Pi-IP>"
- Start a remote session:
Enter-PSSession -ComputerName <Your-Raspberry-Pi-IP> -Credential <YourUsername>
Step 6: Deploy an Application
Using Visual Studio
- Install Visual Studio 2019 or later with the Universal Windows Platform (UWP) development workload.
- Create a new Blank App (Universal Windows) project.
- Set the target platform to Windows 10 IoT Core.
- Connect your Raspberry Pi and select Remote Machine as the target.
- Deploy the application to the Raspberry Pi.
Step 7: Integrate with Azure IoT Hub (Optional)
To connect your Raspberry Pi to the cloud:
- Create an Azure IoT Hub in the Azure Portal.
- Register your device and obtain the connection string.
- 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
- Raspberry Pi – Introduction | Overview | Setup and Management | Tutorials
- How To Use RPi in a truely headless mode
- Remote control your RPi from your PC with VNC!
- RPi GPIO Basics
- Interfacing a light Sensor (LDR) with RPi
- Getting Started with The Sense HAT
- Setting up SPI on RPi
- How To Setup Static IP Address on RPi
- Simple RPi Home Security System
- How to setup Bluetooth on a RPi 3
Pingback: How to set up Windows 10 IoT Core on the Raspberry Pi — IoTbyHVM – Explore TechBytes – hashstacks
Pingback: How To Use DS18B20 Water Proof Temperature Sensor
Pingback: IFTTT Alternatives To Automate Your Online Workflow 2019 | IFTTT ?
Pingback: ESP8266 Static IP Address Using Arduino Example - ESP
Pingback: MQX Real Time Operating System (RTOS) - IoTbyHVM
Pingback: Program Your Arduino With an Android Device - IoTbyHVM - Bits & Bytes of IoT
Pingback: IoT OS and RTOS for Internet of Things Devices - CompileIoT