Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Raspberry Pi for Developers and Makers

208 views

Published on

Presented at All Things Open 2018
Presented by Ben Nuttall with the Raspberry Pi Foundation
10/23/18 - 4:00 PM - Hardware/IoT Track

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Raspberry Pi for Developers and Makers

  1. 1. Raspberry Pi for developers and makers Ben Nuttall Raspberry Pi Foundation UK Charity 1129409
  2. 2. @ben_nuttall#AllThingsOpen Ben Nuttall ● Raspberry Pi Community Manager ● Based in Cambridge, UK ● Creator of GPIO Zero and piwheels ● Columnist on opensource.com ● github.com/bennuttall ● twitter.com/ben_nuttall ● ben@raspberrypi.org
  3. 3. @ben_nuttall#AllThingsOpen Current Raspberry Pi models Raspberry Pi 3 Model B+ ● 64-bit quad-core Armv8 @ 1.4GHz ● 1GB RAM ● $35 Raspberry Pi Zero / Zero W ● 32-bit single-core Armv6 @ 1GHz ● 512MB RAM ● $5 / $10
  4. 4. @ben_nuttall#AllThingsOpen 20M+ Raspberry Pis sold
  5. 5. @ben_nuttall#AllThingsOpen Raspbian
  6. 6. @ben_nuttall#AllThingsOpen Raspberry Pi Desktop x86
  7. 7. @ben_nuttall#AllThingsOpen Programming options Raspbian ships with: ● Python ● Scratch ● Ruby / Sonic Pi ● C/C++ ● Java ● and more Install anything that runs on Arm
  8. 8. @ben_nuttall#AllThingsOpen Mu
  9. 9. @ben_nuttall#AllThingsOpen Mu ● Cross-platform ● Windows / Mac / Linux / Raspberry Pi ● Multi-mode ● Python 3 / Pygame Zero / MicroPython / CircuitPython ● Open source ● github.com/mu-editor/mu ● Developed by Nicholas Tollervey & 45+ contributors ● Pure Python ● PyQt5 ● Includes PyQtChart plotter
  10. 10. @ben_nuttall#AllThingsOpen Mu
  11. 11. @ben_nuttall#AllThingsOpen GPIO Pins – General Purpose Input/Output
  12. 12. @ben_nuttall#AllThingsOpen GPIO components
  13. 13. @ben_nuttall#AllThingsOpen Add-on boards / HATs
  14. 14. @ben_nuttall#AllThingsOpen GPIO Zero – a friendly API for GPIO devices from gpiozero import LED led = LED(2) led.blink()
  15. 15. @ben_nuttall#AllThingsOpen GPIO Zero – a friendly API for GPIO devices ● Zero-boilerplate Pythonic library ● Intended for use in education ● Simple, guessable API with commonly used names and sensible default values ● Simple introduction, smooth learning curve ● Multi-paradigm ● Extendable
  16. 16. @ben_nuttall#AllThingsOpen Multi-paradigm: procedural (polling) from gpiozero import LED, Button led = LED(17) button = Button(4) while True: if button.is_pressed: led.on() else: led.off()
  17. 17. @ben_nuttall#AllThingsOpen Multi-paradigm: procedural (blocking) from gpiozero import LED, Button led = LED(17) button = Button(4) while True: button.wait_for_press() led.on() button.wait_for_release() led.off()
  18. 18. @ben_nuttall#AllThingsOpen Multi-paradigm: event-driven (callbacks) from gpiozero import LED, Button led = LED(17) button = Button(4) button.when_pressed = led.on button.when_released = led.off
  19. 19. @ben_nuttall#AllThingsOpen Multi-paradigm: declarative from gpiozero import LED, Button led = LED(17) button = Button(4) led.source = button.values
  20. 20. @ben_nuttall#AllThingsOpen Picamera ● 8 megapixels ● Visible light & infra-red versions available ● 1080p30, 720p60 and VGA90 video ● Command line interface and Python library
  21. 21. @ben_nuttall#AllThingsOpen Sense HAT ● 8x8 RGB LED matrix ● Mini joystick ● Temperature sensor ● Humidity sensor ● Pressure sensor ● Accelerometer ● Gyroscope ● Magnetometer
  22. 22. @ben_nuttall#AllThingsOpen Astro Pi ● 2x Raspberry Pis on the International Space Station ● Space grade aluminium case ● Sense HAT ● RTC ● Camera (Vis / IR) ● Astro Pi competitions ● Mission Space Lab ● Mission Zero
  23. 23. @ben_nuttall#AllThingsOpen Astro Pi ● 2x Raspberry Pis on the International Space Station ● Space grade aluminium case ● Sense HAT ● RTC ● Camera (Vis / IR) ● Astro Pi competitions ● Mission Space Lab ● Mission Zero
  24. 24. @ben_nuttall#AllThingsOpen piwheels ● Python package repository providing Arm platform wheels for Raspberry Pi ● Builds automated from PyPI releases, plus manual builds e.g. opencv & tensorflow ● Raspbian is pre-configured to use piwheels.org as an additional index to PyPI ● Massively reduces pip install time for Raspberry Pi users (saved 30 years of build time in 11 months) ● Natively compiled on Raspberry Pi 3 hardware (Mythic Beasts Pi cloud) ● Repo hosted on single Raspberry Pi serving over 500k packages per month
  25. 25. @ben_nuttall#AllThingsOpen openCV
  26. 26. @ben_nuttall#AllThingsOpen Tensorflow
  27. 27. @ben_nuttall#AllThingsOpen Tensorflow
  28. 28. @ben_nuttall#AllThingsOpen Tensorflow
  29. 29. @ben_nuttall#AllThingsOpen Google AIY Voice kit
  30. 30. @ben_nuttall#AllThingsOpen Google AIY Vision kit
  31. 31. @ben_nuttall#AllThingsOpen Media centre
  32. 32. @ben_nuttall#AllThingsOpen RetroPiE
  33. 33. @ben_nuttall#AllThingsOpen SSH gateway
  34. 34. @ben_nuttall#AllThingsOpen Pet cam
  35. 35. @ben_nuttall#AllThingsOpen Onion-Pi
  36. 36. @ben_nuttall#AllThingsOpen pi-hole
  37. 37. @ben_nuttall#AllThingsOpen Pi in the sky
  38. 38. @ben_nuttall#AllThingsOpen The MagPi
  39. 39. @ben_nuttall#AllThingsOpen HackSpace
  40. 40. @ben_nuttall#AllThingsOpen Raspberry Jam ● Independently organised community events around the world ● Family-friendly ● Mix of meetup / conference / workshop styles ● Makers, hackers, programmers & beginners come together ● Find one near you – or start your own! ● raspberrypi.org/jam
  41. 41. @ben_nuttall#AllThingsOpen Raspberry Jam Big Birthday Weekend ● Celebrate Raspberry Pi’s 7th birthday ● Part of a global weekend event ● Great reason to start a new Jam in your area ● rpf.io/piparty
  42. 42. @ben_nuttall#AllThingsOpen CoderDojo ● Free coding clubs for young people ● Find one near you and volunteer as a mentor – or start a new Dojo in your area ● coderdojo.com
  43. 43. @ben_nuttall#AllThingsOpen Coolest Projects ● Technology fair for young people ● Manchester, UK – March 2019 ● California, USA - March 2019 ● Dublin, Ireland – May 2019 ● coolestprojects.org
  44. 44. Raspberry Pi for developers and makers Ben Nuttall Raspberry Pi Foundation UK Charity 1129409

×