Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Join the chat at

Sublime's custom image

A New Version For Python 3.5, called s2aio, Is Available Here.

Arduino users! Would you like to configure and control your Arduino micro-controller without having to write a single line of Arduino sketch code and at the same time have access to a graphical user interface?

Scratch and Snap! programmers! Would you like to control and communicate with an Arduino board using Scratch? Imagine, using Scratch to control physical devices such as LEDs, motors, and relays while monitoring devices, such as temperature sensors, potentiometers, and light sensors. What would you create?

Want to do motor control using Snap! and Wifi? Check out our article on Physical Computing.

All the code is included here!

s2a_fm is a Scratch/Snap! hardware extension written in Python allowing Scratch or Snap! and an Arduino micro-controller to communicate seamlessly.

Program Block translations are included for Chinese, Dutch, English (default), French, German, Greek, Italian, Korean, Portuguese, Spanish, and Taiwanese.

Make sure you get the latest version of the Scratch Off-Line editor if you are using Scratch (version 404 or greater).

Check Out Our Blog

Installation Instructions

The s2a_fm Reference Manual, s2a_fm_reference.pdf, located in the documentation directory of this distribution, provides full installation instructions.

Alternative Japanese Block Translation May 30, 2017

Translations provided through the generosity of Hiroaki Kawashima

Japanese Block Translation Oct 17 2016

Translations provided through the generosity of Antoine Choppin

Greek Block Translation Feb 3, 2015

Translations provided through the generosity of Alexandros Moskofidis

Italian Block Translation Dec 12, 2014

Translations provided through the generosity of Gianfranco Zuliani

New Language Translation October 9, 2014

Taiwanese translation provided through the courtesy of Hsu Jen-Chieh.

Version 1.5 Apr 12, 2014

New Features for 1.5

Korean translation provided through the generosity of Dr. Eungil Kim

Portuguese and German translations of Block Text provided through the generosity of Aldo von Wangenheim, from

A Chinese translation of the reference manual was graciously provided by Yufangjun 发自我的小米手机

Version 1.4 Mar 23, 2014

New Feature for 1.4

Chinese translation of Block Text provided through the generosity of Professor YuFangjun

French translation of Block Text provided through the generosity of Professor Sebastien Canet .

Version 1.3 Feb 23, 2014

New Features for 1.3

  1. Support for the upcoming Snap!Mobile Physical Computing Project in "Instructables"

  2. Spanish Translation of Block Text and a Spanish Tutorial provided courtesy of Professor José Manuel Ruiz

Version 1.2 Jan 1, 2014

New Features for 1.2:

  1. Support for Snap! 4.0 provided.

  2. Support for up to 4 simultaneous HC-SR04 type "Ping" Sensors. (This requires using PyMata version 1.54 or greater and the FirmataPlus Arduino sketch supplied with PyMata 1.54).

  3. Dutch translation for the Scratch/Snap! Block Text included (Thanks to Sjoerd Dirk Meijer).

  4. Provision to translate Scratch/Snap! Block Text to any language.

Version 1.1 December 19, 2013

New Features for 1.1:

  1. When enabling a digital pin, the pin capabilty is verified for the requested mode.

  2. A new Scratch debugger command block has been added to help debug Scratch scripts.

Known Snap! 4.0 Extension Issues


Known Scratch 2.0 Extension Issues

All previous major issues have been resolved as of version 404 of the Off-Line editor.


Scratch s2a_fm Extension Blocks


Snap! s2a_fm Extension Blocks


Wiring Diagrams for Examples




A Scratch Hardware Extension For Arduino







No packages published

Contributors 4