1. Setting up your Computer and Raspberry Pi

1. Setting up your Computer and Raspberry Pi

Windows IOT and the GrovePi

Windows IOT and the GrovePi

Step 1: Setting Up Your Computer and Raspberry Pi.

This is the first step in a 3 part series on Getting Started with WinIoT and the GrovePi+.  See all of the parts here.

Step 1 covers setting up your computer and the Raspberry Pi to get started with WinIoT and the GrovePi.  In this step we will prepare your PC, install Visual Studio, install the Visual Studio dependencies, and set up the Raspberry Pi.

All of these steps need only be performed one time: they are startup steps you will need to perform once!  After your environment is setup, you should not need to perform any of these steps again.

1).  Have Windows 10.

If you haven’t upgraded from Windows 7 or Windows 8, you can upgrade to Windows 10, for free, here.

2).  Install Windows 10 IoT Core Dashboard.

You will most likely get a security warning, that is fine.  Continue.  This process should take about 5 minutes, depending on your internet connection.

Install_WinIoT_Core

You can download and install Windows IoT Core Dashboard (again for free) here.  The link will lead to an installer “setup.exe”, simply download the installer and run it on your Windows 10 PC.

Windows_IoT_Dashboard

3).  Install Visual Studio Community (2015 or Greater)

You can download Visual Studio Community for free here.  You will be required to register with a Microsoft account (Hotmail or Outlook or Live account).

Install_Visual_Studio     Install_Visual_Studio_for_the_GrovePi    Install_Visual_Studio_for_the_GrovePi-Finished

Download the executable file, and install Visual Studio.  This will take about an hour.

Reboot your PC.

4).  Update Visual Studio

If you already have Visual Studio, you must have Visual Studio Update 2 installed.  You can update from within Visual Studio, or you can download an installer here.  Click, install, read an article (this process can take some time as the PC creates a restore point and then installs prerequisites and the program).

Install_Visual_Studio_Update-2-for_the_GrovePi-Starting

 

 

5).  Validate Visual Studio

After starting Visual Studio, click “Help” –> “About Microsoft Visual Studio”.

If you already had Visual Studio installed before this tutorial, you should see the required version of Visual Studio is 14.0.24720.00 Update 1. The required version of Visual Studio Tools for Universal Windows Apps is at least 14.0.24720.00.

If you already had Visual Studio installed before this studio and you have an older version, you must update it.

In the picture below, we have Version 14.025123.00 Update 2.

Verify-visual-studio-for-winiot-grovepi

 

6).  Install Windows IoT Core Project Templates

You can install them here.

Templates-installer-for-winiot-grovepi     Templates-installer-for-winiot-grovepi-done

 

7).  Enable Developer Mode on your PC

On your PC, go to Settings, choose “Update & Security” and then choose “For developers.”

Enable_Developer_Mode

After choosing “For Developers” you should activate Developer mode.

You can see more about enabling developer mode on your PC here.

8).  Prepare Your SD Card

Now, back to the WinIoT Dashboard!  This entire process will take about 20 minutes.

First, click “Set up a new device”.  Select your Device: Raspberry Pi 2, and Windows 10 IoT Core for Raspberry Pi 2.

Insert an SD card with at least 8 GB of space on it (this will fully erase the card, all data will be lost!).  Place the SD Card in your computer.

Install_WinIOT_on_SD-card

Click “Download and install”

After WinIoT is done downloading the software, it will prompt to erase and write to your SD Card.  Continue!

Install-WinIOT-on-SD-card-write-warning

Finally, “Your SD card is ready.”

Install_WinIOT_on_SD-card-finished

And now your SD Card is ready!  Remove it from your PC.  Note that if you don’t want to download the Windows image every time you install an SD Card, you can download the image manually here.

Raspberry_Pi_Model_B+ (2)

9).  Start your Raspberry Pi

Connect the SD card, ethernet, and power your Raspberry Pi 2.

First, insert the SD card.  You can watch a video of how to do this here!

Next, connect your Pi and PC over ethernet.  You can connect the Pi to your wifi network with ethernet, or connect your Pi directly to your PC over ethernet.  To connect your Pi over your local wifi network, simply plug one end of the ethernet cable into the Raspberry Pi, and the other into your wifi network hub.  To connect your Pi and PC directly, simply plug one end of your ethernet cable into the Raspberry Pi, and the other directly into your PC ethernet port.

After your SD card is inserted, and the ethernet cable is connected to your network, power up the Raspberry Pi!  A successful bootup should look something like this video.

10).  Connect to your Raspberry Pi

The final step is to connect to your Raspberry Pi over the network.

Open the IoT Dashboard again.  Click “My Devices”.  You should see “minwinpc”  show after a few minutes.

Windows_IoT_Dashboard-find-your-device

If you click the pencil next to your device, you can rename it to something awesome, like “GrovePi” or “dex”.  We don’t recommend changing your password.

Windows_IoT_Dashboard-find-your-device-rename-to-GrovePi

Done!  We should have all the tools setup to move forward and start programming with the GrovePi and WinIoT!

Next Step: 2. Run Hello World in WinIoT

 

Did we miss something?  Ask us about it on the forums here!

{"cart_token":"","hash":"","cart_data":""}