Close

Able to Flash Snap Circuits LED Using Scratch on the Kano Computer

A project log for Raspberry Pi 3 Desktop a 7-yr-old Can Build & Use

Teach programming, electronics, and mechanics with the Kano Computer and Snap Circuits.

steve-schulerSteve Schuler 06/27/2016 at 19:140 Comments

Over the weekend I was able to flash a Snap Circuits LED using Scratch on the Kano computer without having to install any additional software. According to raspberrypi.org, "the September 2015 release of Scratch for the Pi, included in the Raspbian Jessie release, introduces a new GPIO server to make driving LEDs, buzzers, HATS and other devices and components easier."

Source: https://www.raspberrypi.org/documentation/usage/scratch/gpio/README.md

I used my Snap Circuits to header pin conversion cable:

I connected black-red to pin 7 (GPIO 4) and black-black to pin 9 (Ground).

RPi2 Pin Header

Picture source: https://developer.microsoft.com/en-us/windows/iot/win10/samples/pinmappingsrpi2

Simply boot up the Kano Computer and go to scratch:

Click Edit > Start GPIO Server:

The Scratch program to flash the Snap Circuits LED is very simple:

Discussions