PocketLab let's you write Scratch programs that talk to the outside world. This guide will help you get started connecting your PocketLab to MIT Media Lab's Scratch software. With PocketLab and Scratch you can read real time sensor data in Scratch and write programs that interact with the outside world.
Follow these steps to get started with the PocketLab - Scratch integration:
1. The PocketLab Scratch integration is a new feature. If you find an issue and need help, contact us at email@example.com. You're feedback will be extremely valuable to the PocketLab community.
2. Follow this link to open our Scratch X program in a Chrome browser. Make sure pop-ups are enabled. The integration is only works on PocketLab compatible Max OSX and Chromebook devices. When the PocketLab Web App is up and running on Windows 10, it will also work on Windows 10 compatible devices.
3. A different version of our PocketLab Web App will automatically open in a new tab. Connect your PocketLab to that version of the PocketLab Web App. The PocketLab Scratch X program can now read data collected in the PocketLab Web App.
You can now write your own creative programs in Scratch that use PocketLab data as an input.
There is a basic guide that shows a simple program to read temperature in a Scratch program which you can read here:
For some advanced level fun, we have a Scratch game Space Blaster lets you control a spaceship on screen with your PocketLab and shoot at asteroids. The lesson plan for this program is here: