|
Science Buddies
  Science Buddies Home Science Fair Project Ideas Science Fair Project Guide Ask an Expert Blog Teacher Resources Parents Students Science Careers My Science Buddies More  
Attention NEW WEB PAGE!
You are looking at a new Web Page. Be one of the first to Review This Web Page!

Connect your Scratch program to the outside world with the PicoBoard.

Imagine how amusing it would be if an animated Scratch version of yourself danced on the computer screen when you turned off the lights in your room, but stopped as soon as you flicked the lights back on. Or if the music on your Scratch music video got faster and faster as you clapped your hands. Does it sound like a sci-fi movie? Well, with the power of the PicoBoard, your Scratch programs can do all this, and more!

What is the PicoBoard?

The PicoBoard is a piece of hardware called a sensor board that can be combined with MIT's Scratch programming environment to allow your Scratch programs to react (and even respond) to events happening outside of the computer. (If you're unfamiliar with Scratch and would like to learn more about it, read the Science Buddies Introduction to Scratch page.) A sensor is a device that detects (senses) and measures the presence or absence of something. The PicoBoard is actually made up of several different types of sensors so it can detect many different "somethings," including sound and light. The PicoBoard allows you, the user, to interact with Scratch programs. The action that you see on screen depends upon the sensor(s) that you are using and the duration and amount of "something" that the sensor detects. You can do some pretty cool things with the PicoBoard. For example, you can use the slider to make your sprite slide across the screen, press the button to make the sprite jump, or use the sensors at the bottom of the board to measure resistance and make an on-screen instrument. You can also use two sensors at once to make a sprite jump and slide at the same time! For more examples of what you can do with the PicoBoard, visit the Playful Invention Company's website.

Where do I buy the PicoBoard?

The PicoBoard is manufactured and marketed by the Playful Invention Company. You can order the PicoBoard directly from them at: www.picocricket.com/picoboard.html.

How do I install the PicoBoard?

  1. Once you have a PicoBoard, you're ready to install it and start trying it out. Here are some step-by-step tips on getting it set up to work with your computer. You might want to ask someone who is experienced with downloading and unzipping files to help you with the computer setup. Also note that you should have permission from the computer's owner to download drivers onto the computer for your science project.
  2. Open the package. The package comes with one PicoBoard, all of its different devices, and five cables. One of the cables is a USB cable and the other four cables have a plug on one end and alligator clips on the other end.
  3. The PicoBoard has many different sensors that allow the user to interact with the program on his or her computer screen. Figure 1 shows the different sensors on the PicoBoard. The light sensor allows you to have your sprites respond to shadows passing over the sensor. Your sprites can also respond to sound, to the slider moving, and to pressing of the button.
Computer Science fair project <B>Figure 1.</B> This figure shows the different sensors on a PicoBoard that allow you to interact with your Scratch program.
Figure 1. This figure shows the different sensors on a PicoBoard that allow you to interact with your Scratch program.
  1. The first step in using the PicoBoard is to download the drivers so that your computer can communicate with the PicoBoard. Go to the Playful Invention web page to download the drivers.
  2. At the bottom of the screen you will see three choices. Click on the Set Up Your PicoBoard choice. You will be asked to identify the PicoBoard that you have so that you can download the correct drivers. Click on the image of the PicoBoard you have.
  3. Follow the instruction to download the correct drivers. If you are using a Windows-based computer, download the drivers for Windows. If you are using a Mac, download the drivers for Macs. Save the downloaded file to a file on your computer that you should name Scratch.
  4. The downloaded drivers file is a compressed file (the image has a zipper on it). Left-click on it and choose Extract all from the drop-down menu.
  5. The extracted file will not have a zipper on it. Open the file. The drivers are contained within this file. Click on the drivers icon.
  6. Once the drivers have been saved to the proper location, test your PicoBoard. Connect the USB cable to your computer and to the PicoBoard. The PicoBoard's USB connector is located at the top of the board.
  7. Open Scratch on your computer. Click on the Sensing category, located at the top left. You will see the sensing blocks listed on the left side of the screen.
  8. Click on the gray box in front of the slider sensor value block. Click and drag the block into the Scripts area. You should see a counter on the stage that says slider sensor value with the value.
  9. Click on the gray box in front of the sensor button pressed? block. Click and drag the block into the Scripts area. You should see a counter on the stage that says sensor button pressed? and the status.
  10. Move the slider on the PicoBoard up and down and see if the value shown on the stage changes.
  11. Press the button on the PicoBoard and see if the status on the stage changes from false to true.
  12. If these actions occurred, then your PicoBoard is ready for use. If not, then you will have to investigate whether you have the correct drivers in place. Have a person that is knowledgeable about installing software on computers or who has successfully downloaded software from the Internet help you troubleshoot this.

How many sensors are there and how can I use them?

Now that you have the PicoBoard set up correctly, you're ready to start playing with it. The table below describes each sensor, how you can use it, and the Scratch blocks that you could use to capture and use the sensor information.


Sensor (refer to Figure 1, above.)ActionScratch Blocks
ButtonYour sprite can be programmed to react when you push this button. Make your sprite jump or change colors. When you stop pushing the button, the sprite will go back to its original state.Computer Science fair project Scratch program blocks using sensor data from the button sensor
SoundYour sprite can be programmed to react when this sensor detects sound. For example, a sprite can jump up in surprise if you yell into the sensor, but perhaps not do anything if you simply whisper into the sensor. Try to keep background sound to a minimum when using this sensor.Computer Science fair project Scratch program  Blocks using sensor data from the sound sensor
LightYour sprite can react to light or shade using the data coming from this sensor. One of the examples in Scratch uses the light sensor in an interesting animation of the Sun.Computer Science fair project Scratch program blocks using sensor data from the light sensor
SliderThis sensor is useful because instead of being a binary sensor, like the button sensor (which turns on or off), this sensor changes continuously on a scale from 0 to 100.Computer Science fair project Scratch program blocks using sensor data from the slider sensor
A, B, C, D (used with alligator clip cables)These sensors monitor the resistance between the alligator clips of its cable. If you connect all four cables, you can monitor the resistance of four different items.Computer Science fair project Scratch program blocks using sensor data from the A,B,C,D sensors

  1. Click on the gray box in front of the sensor blocks to monitor the sensor values while your program executes. Figure 2, below, shows how you can see the sensor values on the screen.


Geology science fair project  <B>Figure 2.</B> Screenshot of a Scratch program that uses a PicoBoard.
Figure 2. Screenshot of a Scratch program that uses a PicoBoard.


  1. Click on the following link to download an example of a Scratch program that works with a PicoBoard. The sprite in this simple Scratch and PicoBoard example jumps and slides when the button and slider on the PicoBoard are employed.
    1. To see more programming examples, check out the Sensors and Motors examples in Scratch. You can access these examples by opening Scratch and then clicking on the word "File" near the top left of the screen. This opens a menu of options. Choose Open from the File menu. Click on the Examples button on the left panel and then open the Sensors and Motors folder. Inside are several Scratch projects that use the PicoBoard. Double-click on one to open it. Remember, to see the programs working, you need to have a PicoBoard installed.

Report a Problem with this Page Report a Problem with this Page

Does something not look right on your screen? Did you receive an error? Please take a moment and let us know what isn't working so we can fix it!

Scratch User Guide

Sponsor

Sponsored by a generous grant from Elmer's
Elmer's supports
the Broadcom MASTERS
A Competition for 6-8th
Grade Students
www.societyforscience.org

Getting Expert Help

Ask an Expert is an online bulletin board you and/or students can use to ask science fair and/or career-oriented questions of our volunteer advisors, all of whom are professional scientists or engineers.

Help Support Science Buddies

Even a $1 Donation Helps: Science Buddies is a 501c3 public charity that relies on donations to operate.




 


It's free! As a member you will be the first to receive our new and innovative project ideas, news
about upcoming science competitions, science fair tips, and information on other science related initiatives.


Science Fair Project Home     Our Sponsors     Partners     About Us     Work for Us     Volunteer     Donate     Contact Us     Academic Outreach Partnerships     Site Map

Science Fair Project Ideas     Science Fair Project Guide     Ask an Expert     Blog     Teacher Resources     Parent Resources     Student Resources     Science Careers     Join Science Buddies    


Privacy Policy Science Buddies

Copyright © 2002-2012 Science Buddies. All rights reserved.
Reproduction of material from this website without written permission is strictly prohibited.
Use of this site constitutes acceptance of our Terms and Conditions of Fair Use.