Teach, Learn and Make with Raspberry Pi - Estonia webinar

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. 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)
  2. 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
  3. 4.

    Raspberry Pi • Credit card sized computer • $35 /

    €32 • Made in the UK • Used – in education – in industry – by hobbyists
  4. 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
  5. 7.

    29 February 2012 • Raspberry Pi Model B on general

    sale • 10, 000 in stock • 100, 000 sold on first day
  6. 11.

    6 Million Raspberry Pis sold • Minor revisions • Model

    A • Model B+ • Model A+ • Raspberry Pi 2
  7. 12.

    Education • Hired education team • £1m Education Fund •

    Picademy - free teacher training course • Free learning resources • Improvements to software
  8. 14.

    What do I need? • USB mouse • USB keyboard

    • USB power supply • Monitor or TV • HDMI cable • Micro SD card
  9. 15.

    Optional extras • Case • Ethernet cable • USB WiFi

    dongle • Camera module • USB Bluetooth dongle • Speakers or headphones
  10. 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
  11. 17.

    Getting started • Insert SD card • Connect mouse &

    keyboard • Connect HDMI cable • Connect power supply
  12. 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)
  13. 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
  14. 22.

    The Terminal • A window with a command line prompt

    • Enter commands to run while you're using the Desktop
  15. 23.

    raspi-config Open a Terminal window and enter sudo raspi-config sudo

    means “super user do” - runs the command with administrator privileges
  16. 24.

    raspi-config • Enable boot to Desktop • Internationalisation – Locale

    – Timezone – Keyboard layout • Enable camera module
  17. 25.

    Main Menu • Launch programming applications • Web browser •

    Preferences and settings • Shutdown & reboot
  18. 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)
  19. 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
  20. 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
  21. 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
  22. 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
  23. 32.

    Physical computing • Flashy lights • Motors & robots •

    Photo & video • Sensors • Internet of Things • Engaging and empowering
  24. 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)
  25. 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!
  26. 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)
  27. 40.

    CamJam EduKit • £5 starter kit • £7 sensors kit

    • Free worksheets • Very reusable
  28. 41.
  29. 45.
  30. 46.

    Sense HAT • 8x8 RGB LED matrix • Mini joystick

    • Gyroscope • Accelerometer • Magnetometer • Temperature sensor • Barometric pressure sensor • Humidity sensor
  31. 47.

    www.raspberrypi.org • Daily blog articles – news, projects and stories

    • Downloads • Help pages • Documentation • Community sites • Forums
  32. 48.

    Raspberry Pi Learning Resources • Teach, Learn and Make •

    Free • Creative Commons • Created by Raspberry Pi Education Team
  33. 49.

    piweekly.net • Free weekly email newsletter • Raspberry Pi news,

    projects and articles • 2 years of issues on the website
  34. 50.

    The MagPi • Community magazine established in 2012 • Now

    the official Raspberry Pi magazine • Paper copies on sale in UK shops and online