---
title: Install S4A - Scratch for Arduino on Debian using the Snap Store | Snapcraft
description: Get the latest version of S4A - Scratch for Arduino for on Debian - Scratch
  for Arduino boards
url: https://snapcraft.io/install/s4a/debian
---

[Canonical Snapcraft](https://snapcraft.io/)

# Install S4A - Scratch for Arduino on **Debian**

# S4A - Scratch for Arduino (s4a)

[Snapcrafters](https://snapcraft.io/publisher/snapcrafters "View all snaps from Snapcrafters")

* [Snapcrafters](https://snapcraft.io/publisher/snapcrafters "View all snaps from Snapcrafters")
* [Devices and IoT](https://snapcraft.io/search?categories=devices-and-iot)
* [Education](https://snapcraft.io/search?categories=education)

[Install](https://snapcraft.io/install/s4a/debian#install)

#### Scratch for Arduino boards

S4A is a Scratch modification that allows for 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 sensors report board similar to the PicoBoard one.

The main aim of the project is attracting people to the programming world. The goal is also to provide a high level interface to Arduino programmers with functionalities such as interacting with a set of boards through user events.

**Setup**

In order to upload code an arduino board over USB, you need to add your user to the `dailout` group and connect the snap to the `raw-usb` socket. Open a terminal window, run the following commands an *reboot* your computer.

> `sudo usermod -a -G dialout $USER`

> `sudo snap connect s4a:audio-record`

> `sudo snap connect s4a:camera`

Now restart your computer and you're good to go!

Note: In order to use S4A with an Arduino board, you need to first upload the firmware to the board. See the S4A Getting Started guide for more information: <https://merlijn.sebrechts.be/blog/2020-02-s4a-setup-ubuntu/>

**Supported boards**

* Arduino Diecimila
* Arduino Duemilanove
* Arduino Uno

*Other boards have not been tested but might also work*

**Connectivity**

Components have to be connected in a particular way. S4A allows for 6 analog inputs (analog pins), 2 digital inputs (digital pins 2 and 3), 3 analog outputs (digital pins 5, 6 and 9), 3 digital outputs (pins 10, 11 and 13) and 4 special outputs to connect Parallax continuous rotation servomotors (digital pins 4, 7, 8 and 12).

You can manage a board wirelessly by attaching an RF module to it, such as Xbee.

S4A allows you to control as many boards as USB ports you have.

### Package name

* s4a

---

### License

* MIT

---

### Last updated

* 8 July 2021 - latest/stable
* 10 November 2022 - latest/edge

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [s4a.cat](http://s4a.cat/ "http://s4a.cat/")

---

### Contact

* [github.com/snapcrafters/s4a/issues](https://github.com/snapcrafters/s4a/issues "https://github.com/snapcrafters/s4a/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/install/s4a/debian#report-snap-modal)

---

## Enable snaps on Debian and install S4A - Scratch for Arduino

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the [Snap Store](https://snapcraft.io/store), an app store with an audience of millions.

### Enable snapd

On Debian 9 (Stretch) and newer, snap can be installed directly from the command line:

```
sudo apt update
sudo apt install snapd
```

After this, install the snapd snap in order to get the latest snapd:

```
sudo snap install snapd
```

### Install S4A - Scratch for Arduino

To install S4A - Scratch for Arduino, simply use the following command:

```
sudo snap install s4a
```

### Other popular snaps…

[See more...](https://snapcraft.io/search?categories=featured)

[See more in Featured](https://snapcraft.io/search?categories=featured)

### More things to do…

#### [Get the snap store](https://snapcraft.io/snap-store)

Browse and find snaps from the convenience of your desktop using the snap store snap.

#### [Learn more about snaps](https://snapcraft.io/docs)

Interested to find out more about snaps? Want to publish your own application? Visit [snapcraft.io](https://snapcraft.io/) now.

[Back to top](https://snapcraft.io/install/s4a/debian)

© 2026 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Powered by [Charmed Kubernetes](https://www.ubuntu.com/kubernetes)

[Join the forum](https://forum.snapcraft.io/), contribute to or report problems with,
[snapd](https://bugs.launchpad.net/snapd),
[Snapcraft](https://bugs.launchpad.net/snapcraft),
or [this site](https://github.com/canonical/snapcraft.io/issues/new).

* [Share on Twitter](https://twitter.com/snapcraftio)
* [Share on Facebook](https://www.facebook.com/snapcraftio)
* [Share on YouTube](https://www.youtube.com/snapcraftio)

* [Terms of Service](https://ubuntu.com/legal/terms-and-policies/snap-store-terms)
* [Data privacy](https://www.ubuntu.com/legal/data-privacy)
* [Manage your tracker settings](https://snapcraft.io/install/s4a/debian)
* [Service status](https://status.snapcraft.io/)
* [Other functions](https://dashboard.snapcraft.io/)
* [Contact us](https://snapcraft.io/about/contact-us)
