How to use

How to use

  1. Download “Physical Sensor for Scratch” from Android Market
  2. Turn on Scratch “remote sensor connecting”
  3. disable firewall (your PC) or allow Scratch (if using)
  4. connect with WiFi (Smartphone)
  5. tap connect button! (Android Sensor for Scratch)

Download “Physical Sensor for Scratch” from Android Market


Turn on Scratch “remote sensor connecting”

  1. Start Scratch 1.4 (Sorry, does not work “Scratch 2.0 Offline Editor” )
  2. Sensing -> slider▼ sensor value -> Right-click
  3. Select “enable remote sensor connections”

Disable firewall or allow Scratch

– Windows
Very important.
Allow scratch in firewall or disable firewall, While using this APP.

windows firewall scratch



– Mac OS X

-Linux / raspberry pi (If you use it)

  • add /etc/network/iptables
    -A INPUT -i eth0 -p tcp -m tcp –dport 42001 -j ACCEPT
    -A INPUT -i wlan0 -p tcp -m tcp –dport 42001 -j ACCEPT

Connect with LAN and Note your Computer IP

Check your Computer IP Address

– Windows

  1. Click on the Start Menu, type cmd in search box, and press Enter.
  2. In the Command Prompt, type ipconfig /all and press Enter. Your IP Address is listed to the right of IPv4 Address.
    command prompt

– Mac / Linux

  1. Terminal
  2. type    ip a

tap connect button!

  1.  Enter PC IP Address.
    Android Sensor for Scratch capinput ip address
  2. Connect.

Use Scratch


Unable to connect

Check the setting of firewall and open TCP port 42001, or allow Scratch.

Please read here.


use multiple units

If you want to use by two or more sets.
Menu -> Setting -> Prefix



3 Responses

  1. vitto
    vitto · 12月 19, 2014 at 03:43:52 · →

    is there a way to make it work with scratch 2 offline editor, where the slider sesning block has been withdrawn ?

  2. Sherif
    Sherif · 2月 26, 2017 at 07:25:27 · →

    It is very nice program I like it

  3. Yong Chen
    Yong Chen · 1月 25, 2018 at 23:55:30 · →

    I love it