Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Teach, Learn and Make with Raspberry Pi - Estonia webinar

Ben Nuttall
August 20, 2015

Teach, Learn and Make with Raspberry Pi - Estonia webinar

Webinar on Raspberry Pi in education for teachers at the the Informatics Summer School in Estonia

Ben Nuttall

August 20, 2015

More Decks by Ben Nuttall

Other Decks in Education


  1. Teach, Learn and Make
    with Raspberry Pi
    Ben Nuttall
    Raspberry Pi Foundation
    UK Charity 1129409

    View Slide

  2. Raspberry Pi Foundation

    Registered UK charity 1129409

    Founded in 2009 to aid computing education

    On general sale since 2012, available to all worldwide
    – Sold to education, industry and hobbyists
    – Sold 6 million to date

    Free learning resources for makers and educators

    Free teacher training - Picademy (currently UK, soon USA)

    View Slide

  3. Ben Nuttall

    Education Developer Advocate
    at the Raspberry Pi Foundation
    – Software & project development
    – Learning resources & teacher
    – Outreach

    Hobbyist turned employee

    Based in Cambridge, UK

    @ben_nuttall on Twitter

    View Slide

  4. Raspberry Pi

    Credit card sized computer

    $35 / €32

    Made in the UK

    – in education
    – in industry
    – by hobbyists

    View Slide

  5. Raspberry Pi: Why?

    A programmable device the price of a textbook

    Skills shortage and lack of understanding
    – Programming
    – Computer systems
    – Engineering

    1980s computer era
    – Home computing was difficult, but created skilled users

    View Slide

  6. 29 February 2012

    Raspberry Pi Model B on
    general sale

    10, 000 in stock

    View Slide

  7. 29 February 2012

    Raspberry Pi Model B on
    general sale

    10, 000 in stock

    100, 000 sold on first day

    View Slide

  8. Raspberry Pi Community

    View Slide

  9. Raspberry Jam

    View Slide

  10. Raspberry Pi in Schools

    View Slide

  11. 6 Million Raspberry Pis sold

    Minor revisions

    Model A

    Model B+

    Model A+

    Raspberry Pi 2

    View Slide

  12. Education

    Hired education team

    £1m Education Fund

    Picademy - free teacher
    training course

    Free learning resources

    Improvements to software

    View Slide

  13. Raspberry Pi Setup

    View Slide

  14. What do I need?

    USB mouse

    USB keyboard

    USB power supply

    Monitor or TV

    HDMI cable

    Micro SD card

    View Slide

  15. Optional extras


    Ethernet cable

    USB WiFi dongle

    Camera module

    USB Bluetooth dongle

    Speakers or headphones

    View Slide

  16. The SD Card

    This is your hard drive
    – Operating system
    – Files + programs

    Buy pre-installed or download and install using your PC

    NOOBS (New Out Of the Box Software)
    – Easy installer
    – Drag & drop
    – Contains Raspbian

    – Full operating system
    – Lots of useful software pre-installed

    View Slide

  17. Getting started

    Insert SD card

    Connect mouse & keyboard

    Connect HDMI cable

    Connect power supply

    View Slide

  18. Booting the Pi

    Boot messages are shown

    Learning opportunity
    – What's happening?
    – Are there any errors?
    – Encourages questions

    Pi 1 = 1 Raspberry
    Pi 2 = 4 Raspberries
    (hint: single core vs. quad core)

    View Slide

  19. Logging in
    username: pi
    password: raspberry
    Note: password not shown
    when typing

    View Slide

  20. Command line

    The Pi is ready and awaiting
    your command!

    View Slide

  21. startx
    To boot to Desktop – and a full
    Graphical User Interface (GUI),
    type the command startx and
    press Enter
    Note: You can configure the Pi
    to boot to Desktop or boot to
    the command line

    View Slide

  22. The Terminal

    A window with a command
    line prompt

    Enter commands to run
    while you're using the

    View Slide

  23. raspi-config
    Open a Terminal window and
    enter sudo raspi-config
    sudo means “super user do” -
    runs the command with
    administrator privileges

    View Slide

  24. raspi-config

    Enable boot to Desktop

    – Locale
    – Timezone
    – Keyboard layout

    Enable camera module

    View Slide

  25. Main Menu

    Launch programming

    Web browser

    Preferences and settings

    Shutdown & reboot

    View Slide

  26. Internet connection

    Connect ethernet cable before
    boot and it just works

    Connect ethernet cable after
    boot usually works too

    WiFi dropdown menu

    Check your IP address
    – Hover over WiFi icon
    – hostname -I (in terminal)

    View Slide

  27. Scratch

    Drag & drop block interface
    to programming


    Computational thinking

    Easy to make games

    Impossible to create a
    program that fails to run!

    Recommended for young

    View Slide

  28. Sonic Pi

    Sound synthesiser for creating

    Audible computing

    Uses simple syntax text-based
    programming language Ruby

    Used for compositions and live
    coding performances

    Introduce computing concepts
    through music

    Created especially for education

    View Slide

  29. Python

    Powerful extensible
    programming language

    Easy to read and write

    Make software, games, GUIs,
    websites, robots and more

    Ideal for physical computing

    Extensive library of additional
    modules for Raspberry Pi

    Recommended for education

    View Slide

  30. Minecraft: Pi Edition

    Free version of Minecraft on
    Raspberry Pi

    Python programming

    Learn Python by building
    things and making games in

    Creative computing

    View Slide

  31. Mathematica

    Expensive proprietary
    software – free on Raspberry

    Powerful scientific

    View Slide

  32. Physical computing

    Flashy lights

    Motors & robots

    Photo & video


    Internet of Things

    Engaging and empowering

    View Slide

  33. GPIO Pins – General Purpose Input/Output

    View Slide

  34. Python library - RPi.GPIO

    Included in Raspbian

    – Configure pins as input/output
    – Read inputs (high/low)
    – Set outputs (high/low)
    – Wait for edge (wait for input to go high/low)
    – Pin event detection (callback on input pin change)

    View Slide

  35. Scratch GPIO

    Third-party download gives
    access to GPIO pins

    Soon to be implemented in
    default Scratch

    Drag & drop programming
    for robots and more!

    View Slide

  36. Flash an LED

    “Hello world” program of
    physical computing

    View Slide

  37. 3V3 = always on

    View Slide

  38. GPIO = user controllable

    View Slide

  39. Flash LED with Python
    from RPi import GPIO
    from time import sleep
    led = 2
    GPIO.setup(led, GPIO.OUT)
    while True:
    GPIO.output(led, True)
    GPIO.output(led, False)

    View Slide

  40. CamJam EduKit

    £5 starter kit

    £7 sensors kit

    Free worksheets

    Very reusable

    View Slide

  41. HATs

    View Slide

  42. Pi in the Sky

    View Slide

  43. The sky is the limit...

    View Slide

  44. ...or is it?

    View Slide

  45. Astro Pi

    View Slide

  46. Sense HAT

    8x8 RGB LED matrix

    Mini joystick




    Temperature sensor

    Barometric pressure sensor

    Humidity sensor

    View Slide

  47. www.raspberrypi.org

    Daily blog articles – news,
    projects and stories


    Help pages


    Community sites


    View Slide

  48. Raspberry Pi Learning Resources

    Teach, Learn and Make


    Creative Commons

    Created by Raspberry Pi
    Education Team

    View Slide

  49. piweekly.net

    Free weekly email newsletter

    Raspberry Pi news, projects
    and articles

    2 years of issues on the

    View Slide

  50. The MagPi

    Community magazine
    established in 2012

    Now the official Raspberry Pi

    Paper copies on sale in UK
    shops and online

    View Slide

  51. Teach, Learn and Make
    with Raspberry Pi
    Ben Nuttall
    Raspberry Pi Foundation
    UK Charity 1129409

    View Slide