As mentioned before, I am a big fan of electronics and the hardware side of gadgetry and projects. For this reason, I will try and aim to complete a project with the Kano computer kit that ticks these boxes, as well as making full use of the new Raspberry Pi model 3's inbuilt Bluetooth and WiFi connectivity. 

Firstly, I decided to try out GPIO Zero for the first time, a new library of code written by Ben Nuttall at the Raspberry Pi Foundation. GPIO Zero is a simple library designed to allow people to control the Pi's GPIO pins in the simplest way possible.  

On the right are two videos of me using the Kano and GPIO zero to control an LED, and then using a PIR motion sensor to detect movement, and turn on an LED. The code for both of these can be found here

Controlling the GPIO pins with Kano OS is as simple as with any other Raspberry Pi OS - the terminal can be accessed from the 'apps' menu on the desktop.

If you want to code your own blinking LED with your Kano, using GPIO zero, follow these simple instructions.

1) In Terminal, type:

                     sudo apt-get update

   (You may need to enter a password at this point,                    the default for the Kano is: kano)

2) Type:

       sudo apt-get install python-gpiozero

3) Create a new file:

       nano blinkingled.py

4) The code can then be added to the file as from the         GPIO zero documentation found here. (Code for blinking LED on right) Then the file can be saved by pressing Ctrl+X, followed by 'y', then enter.

5) Using an LED, a 330Ω resistor and a breadboard (see here), connect the LED to the Pi as shown in the diagram on the right.

6) Type:

       sudo python blinkingled.py

The program will now run on the pi, and can be stopped by pressing Ctrl+C





Code for blinking LED: 

from gpiozero import LED

from signal import pause

red = LED(17)

red.blink()

pause()