loading
Picture of A Gentle Introduction to Arduino for Scratch Users
arduino_scratch.jpg
There are lots of people who are very comfortable with the Scratch programming environment but want to try something with Arduino to Blink Lights, Sense Buttons, Run Servos or whatever. They may find the C programming environment in Arduino IDE - Sketch, a bit too much of a step.

This instructable draws on the work of the guys at “Citilab” http://seaside.citilab.eu/scratch .

They have created a modified version of  Scratch to interface with Arduino.

Using Scratch Programs you can make Arduino Flash Lights, Read Buttons, and do many of the things that you can do with the the regular Arduino environment.

So if you like Scratch and Arduino but are not quite ready for C programming (yet), this is something you can try out.

Step 1: You Will Need

Picture of You Will Need
Follow the instructions on this linked page http://goo.gl/4pU2h to download and install :

1.  S4A ( Scratch 4 Arduino) and

2. the Firmware for Arduino to talk to S4A


For our experiment you will need:

* Arduino UNO
* Some LEDs
* A 560 Ohm resistor for each LED  (or a value similar to that)
* A 10k Ohm resistor
* A Pushbutton Switch
* Breadboard for wiring up e.g. (http://goo.gl/1E1iIl)
* Some Wires
 
churchva2 days ago

Thanks for the help!

Informative Post!

NsibiB7 months ago

exellent

Thanks for this instructable! Is there a way to see the code from within S4A?

akellyirl (author)  killercatfish1 year ago

Unfortunately, no because the Arduino doesn't run the S4A commands natively. But take a look at ArduBlock. It's more flexible than S4A and does what I think you're looking for. Maybe I should write an Instructable for it....

I would LOVE an instructable for it :) I am trying to bridge between the drag and drop and written programming with middle school students. I tried ardublock once and didnt think I could paste code.

akellyirl (author)  killercatfish1 year ago

Click on the orange "Ardublock" link " above and check out the instructions.

Ardublock generates the Sketch (C code) from the drag-and-drop code. I've used it successfully with kids aged 10+.

If you need more details I can write it up on Instructables.

Tachyon2 years ago
Great Instructable.
The Arduino / S4A combination is a great way to get non programmers to jump into both programming and interacting with the real world via the Arduino.
gychung2 years ago
Where Can I download S4A ???
excellent!