Help the wiki!

The Scratch Wiki is made by and for Scratchers. Do you want to contribute?

Learn more about joining as an editor!

See discussions in the Community Portal

Remote Sensor Connections

Remote sensor connections is a feature allowing other programs to connect to Scratch. This allows it to be extended to connect to devices, access the internet, or perform other functions not possible inside Scratch. For example, JoyTail allows you to use a joystick with Scratch.

Contents

Enabling

This requires Scratch 1.3.1 or higher.

Enabling remote sensor connections.png

Now Scratch is ready to send and receive data over the network.

How it works

Remote Sensor connections turn Scratch into a local server at port 42001. Whenever either:

  • A broadcast is sent
  • A global variable is changed

It sends out a message to all connected programs with the relevant information.

Software

Danger.png The Scratch Wiki is not responsible for the security of downloadable programs or external links in this page or section.


The following software use this feature to connect to Scratch:

Languages

The following programming languages can connect to Scratch:

You can also implement the Remote Sensors Protocol yourself in any language that supports sockets.

  • This page was last modified on 13 March 2014, at 17:35.