Getting Started with Scratch

About This Tutorial
Scratch is a free programming language where you can create your own innovative and interactive projects, stories, games, and animations.
Tutorial Info
Programming Platform:
Difficulty:
Estimated Time (hrs):
2

Introduction

Scratch

Scratch is a visual programming language that helps kids and budding programmers, to learn how to code, i.e. how to write a program in a fun, educational, and easy way using pieces known as blocks. This makes learning coding nothing but a jigsaw game that helps develop problem-solving and decomposition skills.

The biggest advantage of using Scratch for learning how to code is that kids don’t have to worry about the syntax, i.e. a set of rules predefined for writing the statements (which the case with most programming languages). This allows them to entirely focus and develop their problem-solving and decomposition skills.

mBlock

mBlock is a Scratch based graphical programming interface. It allows you to make both Scratch based and Arduino based programs, and use evive through its Arduino plugins for making projects based on evive.

evive Notes Icon
Note: Before proceeding to install mBlock, download the latest version of Arduino IDE (1.6.6 or above) from here if you haven’t before. It is a must to have Arduino IDE for successfully installing mBlock

How to install Arduino IDE

Follow the steps below to install Arduino IDE on your laptop/desktop:

  1. Go to the Arduino download page (www.arduino.cc) and download the latest version of the Arduino software.
  2. When the download is finished, run arduino-1.8.5-windows.exe  file and click on I Agree.
  3. Choose the components to install (It is recommended to install all components).
  4. Choose the Destination Folder (It is recommended to install in the default folder).
  5. The process will extract and install all the required files to execute properly the Arduino Software (IDE).
  6. Close the installation window when it’s complete.

How to install mBlock

Follow the steps below to install mBlock in your laptop/desktop (Windows version only):

  1. Go to www.mblock.cc and download mBlock3, by clicking on mBlock for PC and then clicking on mBlock3 and selecting the version suitable for the version of Windows in your laptop/desktop.
  2. When the download is finished, unzip the file and run the mBlock application setup file (.exe extension).
  3. Choose the appropriate language and press OK. In our case, we are choosing English.
  4. A new window will pop up. Select I accept the agreement and click on Next.
  5. Choose the installation directory (We suggest you to not change the directory). Then press Next. 
  6. Select start menu folder, where the setup will place the program’s shortcuts. Then press Next.
  7. Select the “Create a desktop icon”, if you want to create the desktop icon. Then press Next.
  8. Press Install.
  9. After the installation, deselect the Launch mBlock option; then click on Finish.
  10. Next, go to the (C:) Drive in My Computer/This PC and open the Program Files (x86) folder.
  11. Inside the Program Files (x86) folder go to the mBlock folder and open it.
  12. Inside the mBlock folder you’ll see a folder named Arduino; delete it.
  13. Go back to the Program Files (x86) folder; there’s you see another folder named Arduino; copy it and paste it inside the mBlock folder.
  14. Download the extensions (Arduino, evive App, evive Inbuilt Functions, evive TFT Display, and evive Tinkering) from here.
  15. Open mBlock.
  16. Go to the Extensions Tab in Toolbar and click on Manage Extension.
  17. A new window will pop-up in the centre of the screen. Search for evive in the manage extension tab.
  18. Then, install all the extensions one by one. After adding all the extensions you will be able to see all the extension blocks in the Robot palette.

Downloading the Scratch Mode Firmware

To work on Scratch mode, you must first upload a firmware to evive. You can the instructions for the same here.

  1. After uploading the script, go to the Connect Tab in the Toolbar.
  2. Then click on Serial Port and select the appropriate COM Port.

You are now all set to work in Scratch mode. Happy Scratch-ing!

This Helped
This didn't help
Share this Tutorial
Facebook
Twitter
Google+
Pinterest
Reddit
Print
Related Tutorials
Featured Projects
Unique-Christmas-Tree

DIY Unique Christmas Tree

This project will show you how to make a unique DIY Christmas Tree for this year’s Christmas.

All articles loaded
No more articles to load
Close Menu
×

Cart