In this section, we’ll start with Windows IOT Core. Let’s get started with Windows 10 IOT core and the raspberry pi 3. Therefore, let’s jump right in and talk about equipment. The first thing you’re going to need is a Raspberry Pi 3. You’re also going to need a 5 volts micro USB power cable and a micro SD card. The minimum requirement for Windows 10 IOT core is 8 gigabytes, but windows team highly recommend 16 gigabytes. Here I am using 32 GB card.
This is the hard drive for your Raspberry Pi and all of your apps your files your storage and the operating system. I am on Windows 10 PC all the coding happens on here and is and is used to connect to the Raspberry Pi. Here don’t really need monitor unless you are doing any UI application.
Let’s get started first we’re going to visit Microsoft IOT Page and download the IOT Core Dashboard. Once downloaded, then we just need to follow as shown below in the diagrams.
Here, from the dropdown, I selected Raspberry Pi option and then click on Download and Install option. Having said that, it will first format the sd card and then start installing windows image as shown below.
Once installed successfully, you can explore the same, it will look like as shown below.
At first boot, you need to wait for sometime and then you will first notice below said device. It comes with a variety of options and currently all are disabled as our device still needs to get configured.
After sometime, you will notice that your raspberry pi 3 device started showing in my devices section.
Here, all the options got enabled.
Now, at this moment, we need some sample code to get started with. Hence, we will get started with below link.
Once you installed all the things correctly, its time to setup hardware. Below are the stuffs which is required for this experiment.
- a LED (any color you like)
- a 2oo ohm resistor for the Raspberry Pi 2, Raspberry Pi 3 and the MinnowBoard Max or a 330
- a breadboard and a couple of connector wires
- Raspberry Pi 3b
Sample circuit board configuration looks like as shown above. You can find details about the same
After that, I will open my project which I have cloned from https://github.com/Microsoft/Windows-iotcore-samples/tree/develop/Samples/HelloBlinky. Once this is done. I will set my debug properties like shown below.
Make sure to copy your remote machine name from IOT-Device portal and paste the same above. After building the same, once you try running the same, it may give you error saying developer mode not enabled on target device. In order to enable the same, we need to enable the developer mode from windows settings like shown below.
Once this is done, now let’s rebuild the solution once and then deploy this once using deploy option like shown below.
You can find the complete detail about the sample code here @ https://github.com/Microsoft/Windows-iotcore-samples/tree/develop/Samples/HelloBlinky/CS. Once this is done, then we can run the app. If all PIN configurations and LED settings are correct, then it should blink like shown below.
With this I would like to wrap this here. In the next section, will delve further into some exciting stuff. Thanks for joining me.
908 total views, 2 views today
Also published on Medium.