Introduction
In this second article written in collaboration with
Piero, Sbressa dedicated IoT, and after the introduction found at this
link, Let's see how to download, install and configure Windows 10 IoTCore a tab Raspberry Pi2 some more customization to the operating system installed.
Hardware required
For those who do not know what is the Raspberry Pi2, it is a microcomputer, with 4 USB ports, a LAN port, an HDMI more outlets for food and the Mini SD slot. Version two was released in the spring and is fully compatible with Windows 10 IoT Core. We begin, before proceeding to prepare the material that will be useful hardware, here's a preview.
Figure 1: Hardware required
Figure 2: The Raspberry Pi2
Figure 3: USB keyboard and mouse (or even in a single USB as in my case)
Figure 4: Ethernet cable
Figure 5: HDMI cable
Figure 6: Power cord that came with the card
Figure 7: Micro SD card at least eight GB with adapter
Now that we have everything you need for hardware components, we can start to connect cables and adapter, but not to feed (since in the absence switch, the Raspberry Pi2 will start immediately), as long as we do not use a power outlet with a dedicated switch.
Installing Windows 10 IoT Core on micro sd
We mentioned at the beginning, that the Raspberry Pi2 has a slot for Micro SD, and there we're going to install the operating system on Micro SD. Clarification, the PC that will prepare the disc for Raspberry Pi2, must necessarily have installed Windows 10. To prepare the Micro SD, the first thing we have to download the ISO of Windows 10 IoT Core.
We connect to this
website to download the ISO.
After saving the file (IoT Core RPi2.ISO), double-click the mouse, and automatically will mount a virtual drive with the file Windows_10_IoT_Core_RPi2.msi to install.
Figure 8: Windows_10_IoT_Core_RPi2 to install
Hence we install the file Windows_10_IoT_Core_RPi2. When the installation is complete, we will find a file in C: \ Program Files (x86) \ Microsoft IoT \ FFU \ RaspberryPi2 flash.ffu called, will be the file that will be useful for the installation of Windows 10 IoT Core. Remember at this point to eject the virtual CD. We are now ready for installation.
Let the program WindowsIoT system
Figure 9: WindowsIoT system
WindowsIoTImageHelper open, and we will be led to the following screen.
Figure 10: WindowsIoTImageHelper
We put our micro SD slot of the PC and installed Windows 10, click with the mouse on the Refresh button. WARNING: The following procedure will erase all the contents of Micro SD.
Figure 11: Click with the mouse on the Refresh button
The software has detected the Micro SD card as shown in the figure above. Through the "Browser" Let's now select the file flash.ffu and click with the mouse on button "Flash".
Figure 12: Click with the mouse on button Flash
Figure 13: Erase Content
Then start the installation process, which takes a few minutes.
Figure 14: Start the installation process
Once we are able to remove the micro SD card (always remembering to do before the procedure of expulsion devices). Then insert the micro SD slot present on Raspberry Pi2, and we can now connect to the power grid is our contact. If we did everything correctly in the previous steps, we will see a screen like this.
Figure 15: Micro SD slot present on Raspberry Pi2
Card personalization
The first thing that will leap to the eye, and that Raspberry Pi2 hasn't a Shell, which has an Explorer-like instead are in a Desktop PC or Laptop. However, we can, if we choose, perform customizations, let's see now. Let's start with the name of the computer. We must resort to a tool they use daily the en-pro, in other words, Powershell. Having Windows 10 installed, Powershell is already included in the system and do not need to download it. Let's open a session Powershell ISE, as Administrator, the text box to search.
Figure 16: Powershell
It will open Powershell.
Figure 17: Open Powershell
Because we will have to manage a machine remotely, the first thing we have to start the service on. We type in net start Powershell WinRM as in the following figure.
Figure 18: Powershell WinRM
We must now ensure that the device is visible on the network. We can verify this in the following two ways: ping the IP address that appears in the screen above, or use a tool called Windows IoT Core Watcher, which will see the available tabs on the network.
Figure 19: Available tabs on the network
At this point we type the following command in Powershell.
And finally, reconnect remotely by typing Powershell.