Check out Scratch for Arduino S4A. Easier electronics for kids

#“Check out Scratch for Arduino (S4A). Easier electronics for kids”

Whilst I’m a huge fan of the Arduinoinitiative(is “initiative"the right word?), its programming language, Wiring, is still fundamentally C with most of its power but also most of its difficulty.

C was the fifth language I learned after ZX Spectrum BASIC, Forth, Z80 assembler and Fortran (spit). I then spent the next 13 years using little else. But here I am still struggling to read a number from a sensor, add it to an ascii string, send it over a wireless link and then convert that back to a number at the far end. The wireless link bit is trivial using VirtualWire, whilst the pain is all in the int/char/char */char []/String rubbish that would make most kids give up after an hour of hair pulling. And don’t get me started on Null termination.

That’s why I’m very positive about both Modkit and S4A. Modkit is a pay-for in-browser Scratch-like environment and I’m impressed with it, but I’ll blog about that another day. Today is about S4A which came out of a Citilab team in Spain. It’s a modified version of Scratch that can interact with Arduino boards and electronics connected to it. I tested using an Arduino UNO and it worked perfectly.

s4a

Getting started is very easy. You download some code for the Arduino which you put on the board using the usual Arduino IDE. Then you install S4Aon your PC and run it.

There are some basic examplesavailable to learn the core ideas.The examples all come with simple wiring diagrams which are appropriate for anyone with one of the UNO Starter Kits.

It’ll be interesting to see what we can do beyond simple button+led. I’m trying out some of the servo stuff with Oisn this afternoon.

Conor O'Neill

Tech guy who likes running slowly

Bandon, Cork, Ireland https://conoroneill.net