Information On Windows 10 IoT Core Blockly

In this post, we will provide you information about IoT Core Blockly, a new UWP Application, which would allow you to program a Raspberry Pi 2 or 3 along with Raspberry Pi Sense Hat, using a “block” editor, right from your Browser.
 
Microsoft in its official blog states,
 
“You create a program with interlocking blocks, which will run on the Raspberry Pi. For example, you can control the LED matrix on the Sense Hat and react to the inputs (buttons, sensors like temperature, humidity, etc.).”
 
 Image Source: blogs.windows.com
 
Steps to set up IoT Core Blockly on your Raspberry Pi
 
In order to set up an IoT Core Blockly on your Raspberry Pi, you will need the following, as per the official blog-
  • A Raspberry Pi 2 or 3.
  • A Raspberry Pi Sense Hat.
  • A clean SD Card (at least 8 Gb) to install Windows IoT Core 10 Insider Preview.
  • A computer or laptop running Windows 10 to install IoT Dashboard.
 
Image Source: blogs.windows.com
 
Your first step would be to unpack your Sense Hat and connect it on top of Raspberry Pi.
In the second step, you will need to install the latest Windows IoT Core Insider Preview on your SD card. For more information, check www.windowsondevices.com.
 
IoT Dashboard should by now be up and running on your Windows 10 device (desktop or laptop) and your Raspberry Pi is connected to the network. You will be able to see your Raspberry Pi on the IoT Dashboard on “My Devices” section.
 
Now, you will need to go to the IoT Dashboard, visit the go to section known as “Try some samples” and you will be able to view IoT Core Blockly sample. Click it and follow the instructions provided, in order to install UWP Application onto your Raspberry Pi. Within a few seconds, IoT Dashboard will open your favorite Browser and automatically connect to IoT Core Blockly Application, which is running on your Raspberry Pi.
 
The next step would be to click “Run” button and the IoT Core Blockly Application needs to initiate the “Heartbeat” program and you will be able to see the blinking red heart on your Sense Hat.
 
You can also try some other samples, such as the Green button, which is available on the top. Select a sample; inspect the ‘blocks’ in the editor and click ‘Start’ button, in order to start the new program.
 
You can also go on to try modifying an example, maybe a different image, color or message. IoT Core Blockly will automatically remember the last program, which you have run on the Raspberry Pi and it will go on to reload it, and go on to restart Raspberry Pi.
 
IoT Core Blockly is a functional sample; however Microsoft feels that it will also be able to perform the following functions-
  • Add more support for colors.
  • Add support for sounds.
  • Add support for voice (speech and speech recognition).
  • Add more blocks for GPIO, ADC, PWM, SPI, I2C.
  • Add blocks for other “hats” (for example, the GrovePi).
  • Send/Receive data to/from the Cloud, over BT, etc.
  • Leverage the IO environment.
  • Improve the stability of the Web Server.
IoT Core Blockly code is now available on GitHub. For more information, check Microsoft’s official blog.