Revision as of 00:22, 16 May 2013 by Bshowe (talk | contribs) (MaKey MaKey)

Warning.png This article or section is currently undergoing major changes. Please avoid largely modifying this page's contents until this template has been removed. (Date?)

You can connect your Scratch projects to the physical world using several different kinds of devices.

  1. MaKey MaKey
  2. LEGO Education WeDo Robotics Kit
  3. PicoBoard (also known as ScratchBoard)
  4. Kinect2Scratch, using Microsoft Kinect

Each of these work with Scratch 1.4. So far only MaKey MaKey works with Scratch 2.0 Beta, with support planned for the other devices.

MaKey MaKey

MaKey MaKey Circuit.png
Makey line drawing.jpg

MaKey MaKey allows people to turn everyday objects into keys and use them with their computer.

How does MaKey MaKey work?:

  • MaKey MaKey works by opening and closing circuits.
  • If you attach two alligator clips to the MaKey MaKey board and an apple and you, when you touch the apple you complete (close) the circuit and the computer recognizes this as a key is pressed. The computer thinks MaKey MaKey is a regular keyboard or mouse even though you have made your own unique key!

Example use of MaKey MaKey (Apple moves sprite 10 steps in Scratch):

  • To make MaKey MaKey work with Scratch, plug in the USB to your computer and create a program like you normally would in Scratch. For example, when the right arrow key is pressed, the sprite moves 10 steps.
  • Then connect one of the alligator clips to "Earth" at the bottom of the MaKey MaKey board and touch the metal at the other end of the alligator clip with your finger.
  • Next connect another alligator clip to the apple and the right arrow on the MaKey MaKey board.
  • When you touch the metal clip and apple at the same time, you complete a circuit and MaKey MaKey sends a signal to your computer saying a key is pressed. Every time you touch the apple your sprite will now move 10 steps!

For information on how to buy a MaKey MaKey, visit MaKey MaKey's website.

For information on how to set-up a MaKey MaKey, visit MaKey MaKey set-up.

For information on different materials to use with MaKey MaKey, visit MaKey MaKey materials.

For information on troubleshooting MaKey MaKey, visit MaKey MaKey troubleshooting.


Main article: LEGO Education WeDo Robotics Kit

The LEGO WeDo robotics can be used to sense things outside of your computer. It has a distance sensor, a tilt sensor, and a motor (only two can be plugged into the hub at a time).

Example uses of the WeDo parts:

  • Making a car move when the distance sensor detects a certain distance


Main article: PicoBoard

PicoBoard Diagram.png

The PicoBoard provides a way for you to make Scratch projects sense and respond to things going on in the world outside of your computer.

Examples of use with the PicoBoard:

  • Use the sound sensor to make your sprite change how it looks whenever there is a loud sound.
  • Use the light sensor to program a sprite to hop up or down whenever a shadow passes by.
  • Use the slider and button to control a character in a video game.
  • Use the USB cable and four sets of alligator clips that come with the PicoBoard to measure an electrical resistance in a circuit. The alligator clips can be used to build all kinds of custom sensors.

For more ideas on what to make visit the PicoBoard website.

To get started using the PicoBoard visit the PicoBoard Getting Started Guide.

To purchase a PicoBoard visit the SparkFun website.

If you own a ScratchBoard, a product similar to a PicoBoard that was sold through the Scratch website, the support information you'll find at the PicoBoard's website is applicable to your product as well.

If you own a ScratchBoard or PicoBoard and want to know about sensors that you can connect to it, look at the Sensor Types and Sources below.

Sensor Types and Sources

The following list shows different types of sensors that have been used in Scratch Sensor Board projects. (They are typically attached to alligator clip-heads plugged into sensor board jacks A, B, C, or D.) Visit the vendor site for pricing and ordering information.

Name; Description; Vendor Part Number

Note Note: When using resistive sensors with the XO microphone port, it appears that the interesting resistance range goes from around 2k to 5k. (Experimentally determined; your mileage may vary.)

If you are looking for the files that explain how ScratchBoards/PicoBoards are made, they can be found at the Sensor Board Technical Information page.