5. Raspberry Pi Foundation
● Educational charity founded in
2009
● Incorporates:
– Raspberry Pi Trading Ltd
– Code Club
– CoderDojo
– Raspberry Pi Foundation North
America
● Trading profits fund education
programmes
raspberrypi.org/about
6. Our mission
“Putting the power of digital making into the hands of people all over the world”
So that people are:
● Capable of understanding and shaping an increasingly digital world
● Able to solve the problems that matter to them, both as makers and
entrepreneurs
● Equipped for the jobs of the future
raspberrypi.org/about
7. We do this by providing...
● Low-cost, high-performance computers
● Outreach and education programmes
● Free resources and teacher training
p
8. Current models
● Raspberry Pi 3
● 64-bit quad-core ARMv8
@ 1.2GHz
● 1GB RAM
● $35
● Raspberry Pi Zero / Zero W
● 32-bit single-core ARMv6
@ 1GHz
● 512MB RAM
● $5 / $10
raspberrypi.org/products
36. Supporting multiple pin libraries
● RPi.GPIO
● Implemented in C, current default
● Available in PyPI & apt repository (installed by default in Raspbian)
● RPIO
● Implemented in C, supports hardware PWM, supports Pi 1 only (dead project)
● Available in PyPI
● pigpio
● Python wrapper for C library, supports lots of protocols, runs as daemon, supports remote connections
● Available in PyPI & apt repository (installed by default in Raspbian)
● Native
● Pure Python, limited functionality, experimental
● Included in gpiozero source
● MockPin & MockPWMPin
● Pure Python, used in test suite
● Included in gpiozero source
38. pigpio - remote GPIO from Pi or PC
from gpiozero import LED
from gpiozero.pins.pigpio import PiGPIOFactory
from signal import pause
factory = PiGPIOFactory('192.168.0.2')
led = LED(22, pin_factory=factory)
led.blink()
pause()
39. pigpio - remote GPIO from Pi or PC
$ export GPIOZERO_PIN_FACTORY=pigpio
$ export PIGPIO_ADDR=192.168.0.2
$ python3 led.py
from gpiozero import LED
from signal import pause
led = LED(22)
led.blink()
pause()
43. Sense HAT
● Special made for Tim Peake's
Astro Pi mission
● Sensors, LED display &
joystick
● Great for science, games and
creativity
● Works on any Pi model
● Emulators also available
raspberrypi.org/products/sense-hat
53. Picamera – record video
from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.start_preview()
camera.start_recording('/home/pi/video.h264')
sleep(10)
camera.stop_recording()
camera.stop_preview()
54. Picamera + GPIO push button
from picamera import PiCamera
from gpiozero import Button
camera = PiCamera()
button = Button(17)
camera.start_preview()
button.wait_for_press()
camera.capture('/home/pi/Desktop/image.jpg')
camera.stop_preview()
59. Google AIY Projects kit
● Free with The MagPi #57
● Now available to buy
● Google Voice HAT + speaker
● Google assistant
● Write code to process custom voice
commands
– “Lights on”
– “Robot go forward”
– “Take a picture”
aiyprojects.withgoogle.com
60. Mythic Beasts Pi Cloud
● Raspberry Pi 3 in the cloud a data centre
● NFS filesystem (no SD card)
● SSH into a Pi in minutes
mythic-beasts.com
61. The MagPi
● Community magazine established in
2012 (as free PDF download)
● Now the official Raspberry Pi
magazine
● Paper copies on sale in UK/US
shops and online
● Still a free PDF download
● Occasionally comes with a free
computer or other giveaway
● Book series (buy or download for
free)
raspberrypi.org/magpi
63. Raspberry Jam
● Independently organised
community events
● Family-friendly
● Mix of meetup / conference /
workshop styles
● Raspberry Jam Guidebook and
more resources available
● Contact me about setting one up!
raspberrypi.org/jam
66. Code Club
● Free volunteer-led after
school clubs for children
aged 9-13
● Projects provided using
Scratch, HTML and Python
● Training and support
provided for volunteers
● Help translating materials
codeclubworld.org
68. Raspberry Pi booth
● Booth #41
● Behind the registration desk
● Come say hi!
● Ask questions
● Tell me about your projects
● Find a Raspberry Jam near
you – or help set one up