Blog Post

Visual Programming for PiStorms Robots

Visual Programming for PiStorms Robots

7426

Blockly Programming for PiStorms

Blockly, a visual programming environment which resembles Scratch, was originally developed by Google.

With the release 4.007 of PiStorms software, Blockly Visual Programming is integrated with PiStorms and is built into the PiStorms Web.

You can use it from any PC browser, Smartphone or Tablet. (any Windows PC, Mac computer, Android phone/tablet or iPhone/iPad will work).

follow the instructions here to access the PiStorms Web Interface.

Blockly Visual programming is a pretty fun way to learn software development!

How to access Blockly programs

Open PiStorms Web in your browser and to access Blockly programs click on 'Programs' followed by '20-BlocklyDemos'.

 

Click on BlocklyDemos

 
There are several demo programs included, start with '01-BlocklyFeatures'.
Click on the green editor icon next to the program name, that would open the program in your browser.
You can edit the program using this interface.

 

Blockly Features Demo program

 

The programming toolbox is located on left hand side of the edit area, as follows:

Click on the toolbox label to open its blocks.

 

blockly palette

 

Creating your own programs

To create your own programs, click on the 'Blockly File' button and follow on-screen instructions.  It will ask you for a file name and create that file to write your program.

 

create blockly file

 

Save the program

When done, use the 'Save' button to save your program.

 

 save blockly program

 

To run your Blockly program on PiStorms

On your PiStorms screen, scroll down to '20-BlocklyDemos' and click on it. That will show you a list of files in that folder.

 

Blockly programs

 

From the list, click on the desired program to run it.

 

run Blockly program

Comments (0)

No comments at this moment
Please Login to add your comments

Featured Posts

The mindsensors Grove Sensor Adapter makes it easy to use a variety of unique Grove sensors with the...

Read more

The mindsensors Grove Sensor Adapter makes it easy to use a variety of unique Grove sensors with the...

Read more

Poll

  • What do you use to program your FRC Robot?
    Total: