Getting Started with EduBlocks

What Is EduBlocks?

Edublocks is a new program for the raspberry pi, which allows you to write real python code but in block format like Scratch, with this in mind it is helping educators teach younger children to program in python and by the time they are able to move on to python they will already understand the python syntax.

How To Install EduBlocks

EduBlocks does not come installed on the Raspberry Pi by default, so for us to install it we need to open a terminal window do this by clicking on the icon that looks like this Terminal Icon It is located at the top along from the menu icon.

Once the Terminal has opened you will see a window similar to this: Terminal Window

Now we need to type the following command:

curl -sSL | bash

Once you have typed the line above press enter. Now we just have to wait till its finished.

Getting To Know EduBlocks

Once it is finished you will see that there is an EduBlocks Icon on the desktop, like this: EduBlocks Icon Double click on the icon.

Once Edublocks has loaded you will see something like this: EduBlocks Window

The menu along the top gives you options of what to do with your code.

  • Themes The themes option gives you the choice of different themes for EduBlocks for example MineCraft.

  • Samples By clicking on this tab you can get some sample code written in EduBlocks.

  • Download This lets you download your Edublocks code file as Python and save it to your Raspberry Pi.

  • New This opens a new blank EduBlocks canvas.

  • Open This opens previously saved EduBlocks code.

  • Save This saves EduBlocks code for you to go back to later.

  • Run This runs any code that you have created.

Just below this menu you will see a tab like this tab by clicking on it you can swap between blockly view and Python view.

The menu down the left hand side gives you your coding blocks.

  • Basic menu The basics menu has things that may be used a lot like while loops and print statements.

  • Minecraft Menu Clicking on Minecraft gives you 2 sub menus.

  • General This contains the blocks to interact with the python Library and the Minecraft program.

  • Commands This contains the rest of the blocks needed to integrate with Minecraft like the post to chat. which posts messages to the chat menu in Minecraft.

  • GPIO Zero This is the Python GPIO zero library. It is split into 5 sub-menus.

  • General This contains general blocks of code to import libraries.

  • Inputs This displays 5 sub-menus, 1 for each type of input devices that the GPIOZero library supports for example, Buttons and Line follower.

  • Outputs This displays 7 sub-menus 1 for each type of output devices that the GPIOZero Library supports for example, LED and Motor.

  • Boards and accessories This category shows different add-on boards supported by GPIOZero.

  • Internal and SPI Devices This shows different internal devices you can interact with for example, getting CPU temperature or getting the time from the Raspberry Pi.

  • Sonic pi this allows you to interact with the sonic pi program which allows you to live code music.

  • Pimoroni This is a menu of Pimoroni add on boards that can be controlled using EduBlocks.

  • Advanced This contains advanced Edublock commands.

  • SenseHat This adds the function of the SenseHat and emulation SenseHat libraries, so you can scroll text on the SenseHat.

That is all I am going to cover in this guide.

Keep having FUN while LEARNING!