Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
sumobot.sb
sumobot_scrach.py

README.md

sumobot scrach - RasPi Program

Sumobot controlled by Scrach

Program

Scratch :send broadcast message, when click the image
Python : receive broadcast message, and move sumobot

Correspondence of image and message.

  • forward : "f"
  • backward : "b"
  • left : "l"
  • right : "r"
  • stop : "s"

Requrement

Setup

copy "sumobot.sb" under directory /home/pi/Scrach/
copy "sumobot_scrach.py" under directory /home/pi/sumobot/

Usage

(1) connect to Raspberry Pi (Sumobot) using VNC

(2) start Scrach
(3) open file
file -> open -> sumobot.sb

(4) start terminal
(5) excute python code

cd ~/sumobot/
sudo python sumobot_scrach.py

(6) click image on Scrach

Blog (Japanese)

http://android.ohwada.jp/archives/7152