Teach, Learn and Make with Raspberry Pi - Estonia webinar

A1995c9abe48450ce2f82d93ca0b863f?s=47 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

A1995c9abe48450ce2f82d93ca0b863f?s=128

Ben Nuttall

August 20, 2015
Tweet

Transcript

  1. Teach, Learn and Make with Raspberry Pi Ben Nuttall Raspberry

    Pi Foundation UK Charity 1129409
  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)
  3. Ben Nuttall • Education Developer Advocate at the Raspberry Pi

    Foundation – Software & project development – Learning resources & teacher training – Outreach • Hobbyist turned employee • Based in Cambridge, UK • @ben_nuttall on Twitter
  4. Raspberry Pi • Credit card sized computer • $35 /

    €32 • Made in the UK • Used – in education – in industry – by hobbyists
  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
  6. 29 February 2012 • Raspberry Pi Model B on general

    sale • 10, 000 in stock
  7. 29 February 2012 • Raspberry Pi Model B on general

    sale • 10, 000 in stock • 100, 000 sold on first day
  8. Raspberry Pi Community

  9. Raspberry Jam

  10. Raspberry Pi in Schools

  11. 6 Million Raspberry Pis sold • Minor revisions • Model

    A • Model B+ • Model A+ • Raspberry Pi 2
  12. Education • Hired education team • £1m Education Fund •

    Picademy - free teacher training course • Free learning resources • Improvements to software
  13. Raspberry Pi Setup

  14. What do I need? • USB mouse • USB keyboard

    • USB power supply • Monitor or TV • HDMI cable • Micro SD card
  15. Optional extras • Case • Ethernet cable • USB WiFi

    dongle • Camera module • USB Bluetooth dongle • Speakers or headphones
  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 • Raspbian – Full operating system – Lots of useful software pre-installed
  17. Getting started • Insert SD card • Connect mouse &

    keyboard • Connect HDMI cable • Connect power supply
  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 Why? (hint: single core vs. quad core)
  19. Logging in username: pi password: raspberry Note: password not shown

    when typing
  20. Command line • The Pi is ready and awaiting your

    command!
  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
  22. The Terminal • A window with a command line prompt

    • Enter commands to run while you're using the Desktop
  23. raspi-config Open a Terminal window and enter sudo raspi-config sudo

    means “super user do” - runs the command with administrator privileges
  24. raspi-config • Enable boot to Desktop • Internationalisation – Locale

    – Timezone – Keyboard layout • Enable camera module
  25. Main Menu • Launch programming applications • Web browser •

    Preferences and settings • Shutdown & reboot
  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)
  27. Scratch • Drag & drop block interface to programming •

    Logic • Computational thinking • Easy to make games • Impossible to create a program that fails to run! • Recommended for young children
  28. Sonic Pi • Sound synthesiser for creating music • 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
  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 hardware • Recommended for education
  30. Minecraft: Pi Edition • Free version of Minecraft on Raspberry

    Pi • Python programming interface • Learn Python by building things and making games in Minecraft • Creative computing
  31. Mathematica • Expensive proprietary software – free on Raspberry Pi

    • Powerful scientific programming
  32. Physical computing • Flashy lights • Motors & robots •

    Photo & video • Sensors • Internet of Things • Engaging and empowering
  33. GPIO Pins – General Purpose Input/Output rasp.io

  34. Python library - RPi.GPIO • Included in Raspbian • Features:

    – 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)
  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!
  36. Flash an LED • “Hello world” program of physical computing

  37. 3V3 = always on

  38. GPIO = user controllable

  39. Flash LED with Python from RPi import GPIO from time

    import sleep GPIO.setmode(GPIO.BCM) led = 2 GPIO.setup(led, GPIO.OUT) while True: GPIO.output(led, True) sleep(1) GPIO.output(led, False) sleep(1)
  40. CamJam EduKit • £5 starter kit • £7 sensors kit

    • Free worksheets • Very reusable
  41. HATs

  42. Pi in the Sky

  43. The sky is the limit...

  44. ...or is it?

  45. Astro Pi

  46. Sense HAT • 8x8 RGB LED matrix • Mini joystick

    • Gyroscope • Accelerometer • Magnetometer • Temperature sensor • Barometric pressure sensor • Humidity sensor
  47. www.raspberrypi.org • Daily blog articles – news, projects and stories

    • Downloads • Help pages • Documentation • Community sites • Forums
  48. Raspberry Pi Learning Resources • Teach, Learn and Make •

    Free • Creative Commons • Created by Raspberry Pi Education Team
  49. piweekly.net • Free weekly email newsletter • Raspberry Pi news,

    projects and articles • 2 years of issues on the website
  50. The MagPi • Community magazine established in 2012 • Now

    the official Raspberry Pi magazine • Paper copies on sale in UK shops and online
  51. Teach, Learn and Make with Raspberry Pi Ben Nuttall Raspberry

    Pi Foundation UK Charity 1129409