15 June 2016
SCRATCH is the most popular educational programming environment to start learning coding. It`s simple graphical interface, visual programming concepts and rich multimedia make it fun and engaging tool to make simple games, animations and experiments.
For LOFI Robot we use Scratch as the main programming interface for beginners. In detail we use SCRATCHX which is a special version of Scratch that allows usage of external extensions such as ARDUINO communication.
Advantages of ScratchX:
1. It is web based – works in your web browser, you do not need to install it on your computer and worry about future updates, you still need to install some plugins to make it work.
2. It uses official Scratch Extension Browser Plugin which geives decent performance and connetion with Arduino board
Disadvantages of ScratchX:
1. No wireless connection – only USB cable, no bluetooth by now
ScratchX is compatible with such web browsers as:
1. Mozilla Firefox – RECOMENDED
WARNING – Chrome web browser stopped supporting SCRATCH EXTENSION BROWSER PLUGIN (as it dropped NPAPI pligins support) even though it is listed on Scratch website as compatible.
LOFI BRAIN controller configuration
To make LOFI Brain controller (or any other Arduino) communicate with ScratchX you have to upload specific sketch to the board, with a protocol called FIRMATA
You can find our version of FIRMATA below. It can be uploaded directly from this website by using CodeBender plugin or you can copy it and upload with Arduino IDE.