Making of a Raspberry Pi2D2

R2-Pete2

Make your own R2D2 robot and control it using Scratch over wifi.

1 - Body

R2D2-Body1

~ Tear through a styrofoam TV box holder

R2D2-Body2

~ Add in some details and connect the legs with the body

R2D2-Body3

~ Smack a paint job on the body

R2D2-Body4

2 - Set up Raspberry Pi with N00bs

Raspbian includes a special version of Scratch with a GPIO Server support designed for the Pi.
You can get more information at the official Raspberry Pi website:
https://www.raspberrypi.org/downloads/noobs/

3 - GPIO outputs controls using Scratch

Controls are still in their earliest stage for Pi2D2. Stage One is to get the motors running in the simplest way. For that I'm using Scratch that comes preinstalled in Raspbian with N00bs.

Get the simple Scratch script from my GitHub page here.

Usage:
  1. VNC into your Pi's desktop graphical UI using your favorite VNC tool.

  2. Open the pi2d2.sb file in Scratch.

  3. IMPORTANT In the Edit menu press Start GPIO Server to get Scratch be able to control the Pi's Inputs and Outputs.
    GPIO Server

  4. Control the direction which the robot moves in with the keyboard arrow keys; press space to stop

Step 4 - Rule the world from your keyboard