PocketLab - Scratch Integration Beta

Submitted by PocketLab on Tue, 12/05/2017 - 18:18


Interested in Beta testing the new PocketLab - Scratch integration?

Follow these steps: 

1. Before you try it out, know that this is a Beta and there will be plenty of bugs and issues to work through. We won't always be able to fix them or help with them right away as the Scratch integration is not an official PocketLab feature yet. You are a PocketLab - Scratch pioneer and sometimes pioneers are on their own.  That being said, 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.

4. Build your own creative programs in Scratch that use PocketLab data as an input. 

A couple notes: 

-It's important to remember that this is a Beta and there will be plenty of bugs and issues. We have a small team, so it is difficult to test and fix these issues right away. To help with this, instead of emailing support issues, post them to the comments section on this article. We'll try to help as best we can, but posting your questions will allow other members of the community to help. Posting to the comments section will also give us a good place to collect all FAQs which will be helpful to other users. 

-You'll need to switch to the desired sensors in the PocketLab Web App for Scratch to read them. It will only read what is being displayed in real-time graphing mode from the PocketLab Web App. 

-In this version of the PocketLab Web App, you might notice a couple differences. Most notably a button at the bottom that says, "Upload to CloudLab." Ignore that. Our Cloud software is not ready for Beta testing yet and you'll need log-in credentials to use it anyway. 

-This version of the PocketLab Web App is our "Developer Version" so there might be random bugs from time to time as we are testing different things out and working on updates. Don't use this version of the PocketLab Web App for regular PocketLab data collection. It's only useful for working with Scratch. The regular version of the PocketLab Web App can be found at thepocketlab.com/app





Thu, 12/07/2017 - 19:59

We had some fun at the PocketLab office making a Scratch program that uses PocketLab's IR Rangefinder and the Gyroscope to map out a 2D image of a "room." It works similar to LIDAR. It makes a great add-on to our RC BB-8 Star Wars toy. 

Here's a link to download the Scratch X file: https://www.dropbox.com/s/55ufubunn5y2k52/RangefinderMap.sbx?dl=0 

Here's a more detailed lesson on similar concepts of LIDAR: http://www.thepocketlab.com/support/lesson/voyager-ozobot-stem-team-determine-dimensions-cardboard-box