Introduction to Windows IoT core
Windows IoT is a Microsoft-built operating system for the IoT ecosystem, and Windows IoT core is a core version of the Windows IoT operating system, with relatively streamlined functionality. Using Windows IoT, you can build your own IoT ecosystem.
Introduction to the release of Windows Ten IoT
- Windows IoT Enterprise Edition
Windows IoT Enterprise Edition uses Windows 10 enterprise features for a wide range of devices in retail, manufacturing, medical, financial, and other industries. The Windows IoT Enterprise Appliance runs powerful line-of-business applications and performs specialized functions in a secure, reliable, and simplified manner to support mission-critical industry devices.
Windows IoT Enterprise Edition supports both universal Windows Apps and classic Windows apps, and offers many innovative features: advanced protection against modern security threats, full deployment flexibility, update options and support options, and comprehensive infrastructure, device, and application management capabilities. For companies that require manageability, consistency, and predictability, select Windows IoT Enterprise Edition and Windows 10 enterprise.
- Windows IoT Mobile Enterprise Edition
Windows IoT Mobile Enterprise provides the features of Windows 10 Mobile Enterprise for line-of-business mobile devices that require a natural user experience and enterprise-class security and manageability. Its instant application access, inherent support for barcode scanning and other peripherals, and a secure device experience can increase productivity in a variety of mobile scenarios.
The Mobile Enterprise Edition also offers many other features, such as multiple user profiles and advanced locking, to support mobile line-of-business scenarios in retail, healthcare, manufacturing, and other vertical industries.
Windows IoT Core Edition is a version of Windows 10 optimized for smaller, lower-cost industry devices. This version is built to support devices such as IoT gateways or micro self-service terminals, and is designed to run a single line-of-business application. Windows IoT core runs a universal Windows app and uses the same development, configuration, and management tools as other versions of Windows 10, which makes it easy to integrate into IoT scenarios and leverage existing resources.
Raspberry Pi 3B Introduction
The Raspberry Pi 3B is the third-generation Raspberry Pi, which is mainly configured as
- 1G Memory
- 4-Core CPU 1.2GHz ARM cortex-a53 64-bit (ARMV8 series)
- USB interface
- HDMI interface
- RJ45 Network Interface
- 3.5mm Audio jack
- microSD card slots
- Support Bluetooth
- Support WiFi
At present, Raspberry Pi supports a variety of operating systems, common systems are the following, mainly based on Linux and Windows platform:
- NOOBS
- RASPBIAN
- UBUNTU MATE
- SNAPPY UBUNTU CORE
- WINDOWS IOT CORE
- Osmc
- Libreelec
- PINET
- RISC OS
- WEATHER Station
- ICHIGO JAM RPI
The most frequently used operating system should belong to Raspbian, a Debian-based Linux operating system, the mainstream supported operating system, see Raspberry Pi system download for details.
Material preparation
- Power
- Cable
- microSD card reader
Raspberry pi 3B display Raspberry pi 3B front
Raspberry Pi 3B Back
Raspberry Pi 3B USB Interface surface
Raspberry Pi 3B Hdmi&power&audio face
Raspberry Pi 3B SD card surface
Install Windows IoT Core
To install Windows IoT core in Raspberry Pi 3 B, you first need to download and install the official Windows IoT Core Dashboard software.
After the download is successful, double-clicking the run will start the online download installation.
During the download and installation process, we can plug the memory card into the PC via the card reader, format it, and empty the data.
When the installation is complete, we open the dashboard, select the platform we want to run and the operating system to install in the new device, as shown in
On the drive options, locate the memory card we just inserted, set the device name and system password (save the password, log in to the IoT to use), and click Download Install to write the Windows IoT core system to our memory card.
After the system has been written, SD will be partitioned, and pop-up formatting prompts, click Cancel, do not format the operation.
Everything is ready, unplug the SD card, insert the SD card into the Raspberry Pi 3 B, turn on the power, and our Raspberry Pi will start running! Remember to plug in the cable when you first run it, because we need to operate the Raspberry Pi via a remote connection.
When the Raspberry Pi light is lit, wait a moment, then refresh my list of my devices in Windows IoT Core Dashboard to see that our IoT system has run successfully and is recognized.
Right click on our device and you can see there are three ways to connect to our Raspberry Pi
Opening in Device portal is a web-based way to access the IoT system in the Raspberry Pi, where we can view the status of the system, information about the process, manage the app, and more.
Opens the website, will prompt us to enter the user name password, the default user name is the Super Administrator account Administrator, the password is the password which we set when writes the system.
After successful login, we can see the various system data, as well as the Operation menu, for example, can see the current CPU, memory, IO usage in the Performance menu under processes.
Currently, we are using a network cable to log on to the IoT, which is a bit cumbersome, and raspberry Pi 3B itself support WiFi module, using WiFi is obviously a better choice.
In the table below the Connectivity->network menu we can see all the WiFi signals currently available for scanning, choose our own WiFi, and enter the password to connect to the WiFi,
The next time you start, you will not need to plug in the network cable, WiFi signal automatically connected.
Now unplug the network cable and restart the IoT to see that the WiFi connection is successful and the device is successfully identified in IoT dashboard.
Another common way to do this is by manipulating our Raspberry Pi devices through the command line under PowerShell, which is a much more flexible approach.
Like device portal, when you log in to PowerShell, you also need to enter the username and password, consistent with the above, and after the successful login, we can operate the IoT system under the command line.
- Start the IoT remote client
IoT remote clients are similar to remote desktops, using an image-based interface to connect to our IoT systems, which requires downloading the corresponding Windows app to connect. Direct click to launch the IoT remote client will prompt us to install the Windows IoT Remotes client and download the installation.
Once the installation is complete, click Start IoT remote client again, select our device to connect, and you will find that the connection is still timed out or failed because the Windows IoT remote client needs the corresponding server side support and we need to go to device portal to enable it.
Open the Device portal website, enter the remote menu, which will prompt us to download the corresponding client, here we have downloaded, can be directly ignored.
You can enable remote connection services by ticking the Enable Windows IoT remote server directly.
However, in practice, it may not be as smooth as it should be, enabling the remote server may fail, and it will still be the same after a reboot, as shown in the following error.
Check the version of our current operating system first, then go to Google to search for a solution. You can see that our current system version is 10.0.16299.15
By searching for an error message, you can see that other people have encountered similar problems
The following are official solutions
The Windows IoT Remote client does not work for Raspberry Pi.
Use a board with accelerated graphics such as Minnowboard Max or Dragonboard or attach a monitor for local display.
You can see that the current Raspberry Pi does not support Windows IoT Remote Server, so we can try to update the system to see if the problem has been resolved.
Under the Windows Update menu, select Check for updates directly, wait for updates to be checked and downloaded, and then prompt for a reboot after the update, to reboot directly.
After rebooting, we refresh the Windows IoT Core Dashboard and wait for the IoT to go back online. But the problem came again, half an hour later, the system has not been dashboard recognized, it is likely not to start successfully, this time is more embarrassing, we can not judge the current state of the system.
Unfortunately, you can only use the HDMI interface to connect the display for local connection view. Hand unplug our PC's video HDMI cable, plugged into the Raspberry Pi HDMI interface, the screen instantly lit, Plug and play, this is very convenient.
At this point we can see only the progress bar on the screen, indicating that the system has not been updated, we can only wait for the system to update the completion.
After waiting for n long, found that this update is a pit, Windows IoT core update is unusually slow, do not know how long to wait, it may be at least one hours, the system was finally updated.
After the update, enter the system's main interface, and then silently insert the mouse keyboard to start viewing.
into the Windows boot interface, and did not see the Imagined Start menu, explorer and so on, only a simple interface, showing some of the Raspberry Pi parameters, as well as some simple demo, there is no other UI program.
Now that we plug the display back into the console, we can see that Windows IoT Core Dashboard has been re-identified to our Raspberry Pi and again into device Portal, and we can see that the latest version is 10.0.16299.125. If you try to open a remote service and find that it is still an error, it appears that Windows IoT remote server is still unavailable. But for now, the Windows IoT Remote server is not very useful to us at the moment, let's not worry about him.
At last, I enclose the normal working Raspberry Pi physical map.
How to install Windows IoT Core in Raspberry Pi 3 b