FunKey Super Scratch Pico Mode (S/J)

 

 

FunKey Super has a Scratch Pico mode, which delivers real time sensor data right to Scratch by emulating Scratch's built-in "Pico" mode.  This requires installing the Scratch plug in.  The advantage is that it provides up to 7 sensor inputs at once from FunKey Super's analog input connections, and gives you good resolution from those sensors, and corresponding Scratch blocks to handle the input and integrate it into various Scratch activities.  Unfortunately, the Scratch Plug In is not always easy to install, and the documentation from Scratch is not very good.

 

Here's how to set the FunKey Super into Scratch "Pico" mode:

 

Unplug the board from the USB if it's connected

Use an alligator clip to by connecting the S and J hole pairs.

Plug  the FunKey Super board to the USB port

The I/O Mode blue LED will be bright, and the Keystroke Mode light will be on, but dim.

Remove the alligator clip.  You are now in Scratch Pico Mode 

 

 

Here's an example of using Pico mode to read all 8 available sensor inputs.

 

https://scratch.mit.edu/projects/195310483/

 

 

This example plots sensor data to the Scratch Display, and you can control data capture intervale and the saving of data to a Scratch list (exportable to Excel)

 

https://scratch.mit.edu/projects/193402704/

 

In Scratch, you must enable Scratch's built-in Pico mode in the extensions block.  This will require installing a Scratch Plug In for this purpose as per instructions on the Scratch web site.  Because Scratch only supports Pico and WeDo internally, we piggyback on top of the Pico interface to let users employ blocks to read and react to real-time analog data from any FunKey Super sensor.

 

FunKey Super's Scratch mode emulates the Pico protocol to make sensor data available to blocks inside Scratch.

 

Here are the mappings:

Analog sensor connected to this FunKey connector:      M                         activates Scratch block    Slider

Analog sensor connected to this FunKey connector:      L                          activates Scratch block    Light

Analog sensor connected to this FunKey connector:      K                          activates Scratch block    Res A

Analog sensor connected to this FunKey connector:      J                          activates Scratch block    Res B

Analog sensor connected to this FunKey connector:      I                           activates Scratch block    Res C

Analog sensor connected to this FunKey connector:      H                         activates Scratch block    Res D

Analog sensor connected to this FunKey connector:      A                         activates Scratch block    Sound

On/Off sensor connected to this FunKey connector:  "Click"                   activates Scratch block    Button

If you have trouble installing the Scratch Plug in and getting Pico Mode running, don't forget that in its Keystroke Mode, with Scratch in its default mode (no Pico blocks) FunKey Super is capable of sending keystrokes directly to Scratch, which is perfect for on/off sensors like IR reflection.  As an alternative you can also use FunKey Super's Scratch KeyStream mode, which does not require any plug ins.