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

en_generic_rgb_wo_60

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
    enableremotesensor 
  3. Select “enable remote sensor connections”
    enableremotesensor2

Disable firewall or allow Scratch

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

windows firewall scratch

 

note

– 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.
    cmd
  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.
    connect

Use Scratch

スクリーンショット_060614_045409_PMスクリーンショット_060614_045253_PMスクリーンショット_060614_045727_PM

Unable to connect

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

Please read here.

t_Screenshot_2014-06-05-18-33-26

use multiple units

If you want to use by two or more sets.
Menu -> Setting -> Prefix
t_Screenshot_2014-06-05-18-20-29_060514_062557_PM

t_Screenshot_2014-06-05-18-20-52

スクリーンショット_060514_062916_PM

2 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

コメントをのこす

このエントリーをはてなブックマークに追加