S4A is a Scratch modification that supports simple programming of the Arduino open source hardware platform. It provides new blocks for managing sensors and actuators connected to Arduino. There is also a sensor report board similar to the PicoBoard.
S4A is compatible with Scratch, thus you can work with Scratch projects and PicoBoard. With the Scratch translation feature, you´ll find it in english, spanish and catalan
It works with Arduino Duemilanove and Diecimila versions, maybe it works with others but we haven´t tested them yet. You can also manage a wireless board if you add a RF module such as Xbee. An important feature is that you can make an interactive project involving as many boards as USB ports you have
S4A interacts with Arduino sending actuators state and receiving sensors state. This information exchange is done every 75 ms using the PicoBoard protocol. To make it possible, there has to be a specific program (called firmware) in the board. You´ll find instructions to upload it through the Arduino environment
Arduino objects offer blocks for the basic microcontroller functionalities, analog and digital writes and reads, and also for higher level ones. You can find a block to choose direction on Parallax continuous rotation servomotors and blocks to stop and start all the actuators.
Creating Arduino objects is available in 3 different ways as in the Scratch environment. You´ll have to choose between creating a new connection or using an already created one (if any). This allows the programmer to work in an object oriented programming paradigm making Arduino virtual objects work collaboratively using the same connection (the physical object).
The connection between the virtual and the physical objects will be established automatically. For the default Arduino object, you must use the right button menu of the sensor board to begin the connection process.
See help menu for more details.
S4A has been developed by Marina conde, Victor Casado, Joan Güell, Jose García and Jordi Delgado with the help of the Smalltalk programming group of Citilab (Barcelona). Please reports bugs and suggestions to Marina Conde Ramos (scratch@citilab.eu). We will thank block translations.
In the project web page you will find videos and we will soon upload the documentation and project examples that will be available from the file menu in future versions.



![Squeak4.1.zip [read only]_018](http://blobworks.files.wordpress.com/2010/08/squeak4-1-zip-read-only_018.png?w=460&h=391)






