KEMBAR78
Coffee & Pi - Intro to Pi Workshop | PPTX
COFFEE & PI
INTRO TO PI WORKSHOP
BRAD DERSTINE
COFFEEANDPI.IO
MEETUP.COM/COFFEE-AND-PI
#COFFEEANDPI
WELCOME TO COFFEE & PI!
• Who has worked with a Raspberry Pi before?
• Has anyone never touched or seen a Raspberry Pi?
• Windows or OS X?
• Is anyone from the suburbs or outside Center City?
RULES FOR THE WORKSHOP
• This is a beginner friendly workshop. All skill levels are
welcome. We were all beginners at one time.
• There are no stupid questions, only stupid people.
If you have a silly question, someone else might too. Ask anyway.
• I do not know everything. About anything.
If I don’t know, I will say so. When we learn something new, please
share it with anyone willing to listen.
• Even the greatest works of art started with someone learning the
basics and using their knowledge to practice their craft.
BRAD DERSTINE
• 16+ years working in IT
• Started out doing 1st level tech support
• Currently DevOps Engineer for one of the oldest and
largest non-profits in the US
• My story begins with… 3Geeks
DEMO!
RASPBERRY PI HARDWARE
RASPBERRY PI 3
BASIC COMPONENTS OF
RASPBERRY PI 3
• A 1.2GHz 64-bit quad-core ARMv8 CPU
• 802.11n Wireless LAN
• Bluetooth 4.1
• Bluetooth Low Energy (BLE)
Like the Pi 2, it also has:
• 1GB RAM
• 4 USB ports
• 40 GPIO pins
• Full HDMI port
• Ethernet port
• Combined 3.5mm audio jack and composite video
• Camera interface (CSI)
• Display interface (DSI)
• Micro SD card slot (now push-pull rather than push-push)
• VideoCore IV 3D graphics core
• The Raspberry Pi 3 has an identical form factor to the previous Pi
2 (and Pi 1 Model B+) and has complete compatibility with
Raspberry Pi 1 and 2.
ADD-ON COMPONENTS FOR
RASPBERRY PI 3
• Cases, USB power cable, HDMI cable, USB Mouse/Keyboard
• Visible-light and infrared cameras based on the Sony IMX219 8-
megapixel sensor
• Barometric Pressure, Temperature and Altitude Sensor
• Raspberry Pi 7" Touchscreen Display
• GPS Modules
• PiDrive
• And more!
DREAM KILLER SWITCH
• aka memory card is locked
• Toggle the switch to lock/unlock
RASPBERRY PI ZERO
1GHZ, SINGLE-CORE CPU, 512MB RAM
MINI HDMI AND USB ON-THE-GO PORTS
MICRO USB POWER, HAT-COMPATIBLE 40-PIN HEADER
RASPBERRY PI OPERATING
SYSTEMS
RASPBERRY PI 3
NOOBS
• Bootable OS Installer
• Can connect to Wifi, can
install configured
Operating Systems
• Requires Java based tool
• Only ever got it to work
when it came pre-installed
on micro SD card
purchased
RASPBIAN
• Has new PIXEL desktop
• Pi Improved Xwindows
Environment, Lightweight
RASPBIAN
RASPBIAN
• Comes in PIXEL and LITE versions
• PIXEL is full desktop environment
• LITE is command line only, bare minimum Raspbian
UBUNTU MATE
• Ubuntu 16.04, uses apt-get
• Fully supports the built-in
Bluetooth and Wifi on the
Raspberry Pi 3
• You’ll need a microSD card
that is 6GB or greater.
SNAPPY UBUNTU CORE
• Official Ubuntu Support
• Ubuntu Core 16 for
Pi 2 & 3
• Uses the “snappy” tool for
installing software, instead
of apt-get
• Much smaller in size than
Ubuntu 16.04 Mate
WINDOWS 10 IOT CORE
• Windows 10 IoT Core is the operating system.
• Uses separate IoT Dashboard to manage devices.
WINDOWS 10 IOT DASHBOARD
OTHER 3RD PARTY
OPERATING SYSTEMS
• Other software can use one of these as a base
• Home Assistant (home automation) uses HASSbian
a Raspberry Pi image with Home Assistant built-in
• https://home-assistant.io/docs/hassbian/installation/
• RetroPi comes with a pre-configured image
• InfoSec/Kali comes with a pre-configured image
INSTALLING RASPBIAN
USING OS X
ETCHER ON MAC TO FLASH
MICRO SD CARD
• Download and Install Etcher - https://etcher.io
• Download OS image, Insert SD memory card, Flash!
ETCHER ON MAC TO FLASH
MICRO SD CARD
• Wait for the files to copy…
ETCHER ON MAC TO FLASH
MICRO SD CARD
• Wait for the Validating of the image…
ETCHER ON MAC TO FLASH
MICRO SD CARD
• When it’s finished, you can safely remove memory
card, and insert into Raspberry Pi and boot!
INSTALLING RASPBIAN
USING WINDOWS
ETCHER ON WINDOWS 7+ TO
FLASH MICRO SD CARD
• Download and Install Etcher - https://etcher.io
• Download OS image, Insert SD memory card, Flash!
ETCHER ON WINDOWS 7+ TO
FLASH MICRO SD CARD
• Wait for the files to copy…
ETCHER ON WINDOWS 7+ TO
FLASH MICRO SD CARD
• Wait for the Validating of the image…
ETCHER ON WINDOWS 7+ TO
FLASH MICRO SD CARD
• I actually saw the Unmounting step…
ETCHER ON WINDOWS 7+ TO
FLASH MICRO SD CARD
• When it’s finished, you can safely remove memory
card, and insert into Raspberry Pi and boot!
INSTALLING WINDOWS IOT
CORE
USING WINDOWS
WINDOWS IOT CORE
• Download the Windows 10 IoT Core Dashboard
• https://developer.microsoft.com/en-
us/windows/iot/Downloads.htm
• Can be used to download IoT Core and flash SD
memory cards
PROJECT IDEAS
RASPBERRY PI 3
RASPBERRYPI.ORG
RESOURCES
HTTPS://WWW.RASPBERRYPI.ORG/RESOURC
ES/
MICROSOFT IOT / HACKSTER.IO
HTTPS://MICROSOFT.HACKSTER.IO
RETROPI
• Popular emulators like Nintendo, Sega, Playstation, Atari
• pre-made image of RetroPie v4.1
released on the 5th November 2016.
• https://retropie.org.uk
ROBOT CAR/GOPIGO
• GoPiGo is a robot car!
• https://www.dexterindustries.com/gopigo/
MAGIC MIRROR
MAGIC MIRROR
• Intelligent mirror displaying dynamic content using
double sided mirror, monitor, & Raspberry Pi
• http://lifehacker.com/build-a-magic-mirror-with-a-
raspberry-pi-and-an-old-mon-1750468358
• https://magicmirror.builders/ - Community of Magic
Mirror makers and modules, start here!
HOME AUTOMATION
HOME AUTOMATION
• Open source Nest-like central home automation
• Uses “HASSbian”, Raspberry Pi image with Home
Assistant built-in
• https://home-assistant.io/docs/hassbian/installation/
LEGO/MINDSTORM/BRICKPI
• BrickPi is best for someone who already has LEGO
MINDSTORMS sensors and motors.
• https://www.dexterindustries.com/shop/brickpi-
starter-kit/
DIGITAL PHOTO FRAME
• Use a Raspberry Pi and monitor/display as a digital
photo frame
• http://www.instructables.com/id/How-to-Make-a-
Raspberry-Pi-Media-Panel-fka-Digita/
INFOSEC/KALI/TOR
• Kali Linux on Raspberry Pi — Pre-built Version
• Get a fast SD card with at least 8 GB capacity.
• http://docs.kali.org/kali-on-arm/install-kali-linux-arm-
raspberry-pi
• Raspberry Pi into a Anonymizing Tor Proxy!
https://learn.adafruit.com/onion-pi/overview
• Mr Robot!!!
WEATHER/ENVIRONMENT/FARMING
• Can setup Raspberry Pi to collect data from weather
station you build yourself!
• https://www.raspberrypi.org/learning/weather-
station-guide/
OTHER USEFUL RESOURCES
FOUND THESE WHILE DOING RESEARCH
BERRYBOOT
• bootloader / universal operating system installer
• run multiple OS install on single memory card
• http://www.berryterminal.com/doku.php/berryboot
ETCHER
• Burn images to SD cards & USB drives, safe & easy.
• Supports Windows, OS X, Linux
• https://etcher.io
PHILLY PUG MEETUP
• Philly Python User Group, very active!!!
• https://www.meetup.com/phillypug/
• Free demo and project nights to learn and share
• SOLD OUT - $30 Intro to Python Course
https://www.meetup.com/phillypug/events/232030203/
• Next Free Meetup:
How to Test and Deploy Python Web App - March 30, Thurs
https://www.meetup.com/phillypug/events/237877302/
THE HACKTORY MEETUP
• Active makerspace in Philly, 3645 Lancaster Ave
• https://www.meetup.com/The-Hacktory-Exploring-
Creativity-Technology-in-Philly/
• Free project nights, soldering courses on Saturdays,
sewing courses on Sundays
PHILLY MAKERS MEETUP
• Hosted at NextFab in Philly, 2025 Washington Ave
• https://www.meetup.com/Philly-Makers/
• Electro-Makers (Open Workshop) meets every 2
weeks on Wednesdays 6-8pm
• “If you're interested in making, hacking, designing,
programming, or simply learning more about
Electronics”
BEFORE WE CLOSE
• I am asking you to build a project or your own idea!
Use #CoffeeAndPi
• I am asking you to share your excitement and knowledge
with those around you!
• I am challenging you to inspire others and use technology
to change the world!
• You are never too old to learn, or too young to teach!
• If you are interested in hosting or starting a
Coffee & Pi meetup, let me know!
THANK YOU! QUESTIONS?
GRAB MORE COFFEE AND PIE!
COFFEEANDPI.IO
MEETUP.COM/COFFEE-AND-PI
#COFFEEANDPI

Coffee & Pi - Intro to Pi Workshop

  • 1.
    COFFEE & PI INTROTO PI WORKSHOP BRAD DERSTINE COFFEEANDPI.IO MEETUP.COM/COFFEE-AND-PI #COFFEEANDPI
  • 2.
    WELCOME TO COFFEE& PI! • Who has worked with a Raspberry Pi before? • Has anyone never touched or seen a Raspberry Pi? • Windows or OS X? • Is anyone from the suburbs or outside Center City?
  • 3.
    RULES FOR THEWORKSHOP • This is a beginner friendly workshop. All skill levels are welcome. We were all beginners at one time. • There are no stupid questions, only stupid people. If you have a silly question, someone else might too. Ask anyway. • I do not know everything. About anything. If I don’t know, I will say so. When we learn something new, please share it with anyone willing to listen. • Even the greatest works of art started with someone learning the basics and using their knowledge to practice their craft.
  • 4.
    BRAD DERSTINE • 16+years working in IT • Started out doing 1st level tech support • Currently DevOps Engineer for one of the oldest and largest non-profits in the US • My story begins with… 3Geeks
  • 5.
  • 6.
  • 7.
    BASIC COMPONENTS OF RASPBERRYPI 3 • A 1.2GHz 64-bit quad-core ARMv8 CPU • 802.11n Wireless LAN • Bluetooth 4.1 • Bluetooth Low Energy (BLE) Like the Pi 2, it also has: • 1GB RAM • 4 USB ports • 40 GPIO pins • Full HDMI port • Ethernet port • Combined 3.5mm audio jack and composite video • Camera interface (CSI) • Display interface (DSI) • Micro SD card slot (now push-pull rather than push-push) • VideoCore IV 3D graphics core • The Raspberry Pi 3 has an identical form factor to the previous Pi 2 (and Pi 1 Model B+) and has complete compatibility with Raspberry Pi 1 and 2.
  • 8.
    ADD-ON COMPONENTS FOR RASPBERRYPI 3 • Cases, USB power cable, HDMI cable, USB Mouse/Keyboard • Visible-light and infrared cameras based on the Sony IMX219 8- megapixel sensor • Barometric Pressure, Temperature and Altitude Sensor • Raspberry Pi 7" Touchscreen Display • GPS Modules • PiDrive • And more!
  • 9.
    DREAM KILLER SWITCH •aka memory card is locked • Toggle the switch to lock/unlock
  • 10.
    RASPBERRY PI ZERO 1GHZ,SINGLE-CORE CPU, 512MB RAM MINI HDMI AND USB ON-THE-GO PORTS MICRO USB POWER, HAT-COMPATIBLE 40-PIN HEADER
  • 11.
  • 12.
    NOOBS • Bootable OSInstaller • Can connect to Wifi, can install configured Operating Systems • Requires Java based tool • Only ever got it to work when it came pre-installed on micro SD card purchased
  • 18.
    RASPBIAN • Has newPIXEL desktop • Pi Improved Xwindows Environment, Lightweight
  • 20.
  • 22.
    RASPBIAN • Comes inPIXEL and LITE versions • PIXEL is full desktop environment • LITE is command line only, bare minimum Raspbian
  • 23.
    UBUNTU MATE • Ubuntu16.04, uses apt-get • Fully supports the built-in Bluetooth and Wifi on the Raspberry Pi 3 • You’ll need a microSD card that is 6GB or greater.
  • 25.
    SNAPPY UBUNTU CORE •Official Ubuntu Support • Ubuntu Core 16 for Pi 2 & 3 • Uses the “snappy” tool for installing software, instead of apt-get • Much smaller in size than Ubuntu 16.04 Mate
  • 26.
    WINDOWS 10 IOTCORE • Windows 10 IoT Core is the operating system. • Uses separate IoT Dashboard to manage devices.
  • 27.
    WINDOWS 10 IOTDASHBOARD
  • 28.
    OTHER 3RD PARTY OPERATINGSYSTEMS • Other software can use one of these as a base • Home Assistant (home automation) uses HASSbian a Raspberry Pi image with Home Assistant built-in • https://home-assistant.io/docs/hassbian/installation/ • RetroPi comes with a pre-configured image • InfoSec/Kali comes with a pre-configured image
  • 29.
  • 30.
    ETCHER ON MACTO FLASH MICRO SD CARD • Download and Install Etcher - https://etcher.io • Download OS image, Insert SD memory card, Flash!
  • 31.
    ETCHER ON MACTO FLASH MICRO SD CARD • Wait for the files to copy…
  • 32.
    ETCHER ON MACTO FLASH MICRO SD CARD • Wait for the Validating of the image…
  • 33.
    ETCHER ON MACTO FLASH MICRO SD CARD • When it’s finished, you can safely remove memory card, and insert into Raspberry Pi and boot!
  • 34.
  • 35.
    ETCHER ON WINDOWS7+ TO FLASH MICRO SD CARD • Download and Install Etcher - https://etcher.io • Download OS image, Insert SD memory card, Flash!
  • 36.
    ETCHER ON WINDOWS7+ TO FLASH MICRO SD CARD • Wait for the files to copy…
  • 37.
    ETCHER ON WINDOWS7+ TO FLASH MICRO SD CARD • Wait for the Validating of the image…
  • 38.
    ETCHER ON WINDOWS7+ TO FLASH MICRO SD CARD • I actually saw the Unmounting step…
  • 39.
    ETCHER ON WINDOWS7+ TO FLASH MICRO SD CARD • When it’s finished, you can safely remove memory card, and insert into Raspberry Pi and boot!
  • 40.
  • 41.
    WINDOWS IOT CORE •Download the Windows 10 IoT Core Dashboard • https://developer.microsoft.com/en- us/windows/iot/Downloads.htm • Can be used to download IoT Core and flash SD memory cards
  • 52.
  • 53.
  • 54.
    MICROSOFT IOT /HACKSTER.IO HTTPS://MICROSOFT.HACKSTER.IO
  • 55.
    RETROPI • Popular emulatorslike Nintendo, Sega, Playstation, Atari • pre-made image of RetroPie v4.1 released on the 5th November 2016. • https://retropie.org.uk
  • 56.
    ROBOT CAR/GOPIGO • GoPiGois a robot car! • https://www.dexterindustries.com/gopigo/
  • 57.
  • 58.
    MAGIC MIRROR • Intelligentmirror displaying dynamic content using double sided mirror, monitor, & Raspberry Pi • http://lifehacker.com/build-a-magic-mirror-with-a- raspberry-pi-and-an-old-mon-1750468358 • https://magicmirror.builders/ - Community of Magic Mirror makers and modules, start here!
  • 59.
  • 60.
    HOME AUTOMATION • Opensource Nest-like central home automation • Uses “HASSbian”, Raspberry Pi image with Home Assistant built-in • https://home-assistant.io/docs/hassbian/installation/
  • 61.
    LEGO/MINDSTORM/BRICKPI • BrickPi isbest for someone who already has LEGO MINDSTORMS sensors and motors. • https://www.dexterindustries.com/shop/brickpi- starter-kit/
  • 62.
    DIGITAL PHOTO FRAME •Use a Raspberry Pi and monitor/display as a digital photo frame • http://www.instructables.com/id/How-to-Make-a- Raspberry-Pi-Media-Panel-fka-Digita/
  • 63.
    INFOSEC/KALI/TOR • Kali Linuxon Raspberry Pi — Pre-built Version • Get a fast SD card with at least 8 GB capacity. • http://docs.kali.org/kali-on-arm/install-kali-linux-arm- raspberry-pi • Raspberry Pi into a Anonymizing Tor Proxy! https://learn.adafruit.com/onion-pi/overview • Mr Robot!!!
  • 64.
    WEATHER/ENVIRONMENT/FARMING • Can setupRaspberry Pi to collect data from weather station you build yourself! • https://www.raspberrypi.org/learning/weather- station-guide/
  • 65.
    OTHER USEFUL RESOURCES FOUNDTHESE WHILE DOING RESEARCH
  • 66.
    BERRYBOOT • bootloader /universal operating system installer • run multiple OS install on single memory card • http://www.berryterminal.com/doku.php/berryboot
  • 67.
    ETCHER • Burn imagesto SD cards & USB drives, safe & easy. • Supports Windows, OS X, Linux • https://etcher.io
  • 68.
    PHILLY PUG MEETUP •Philly Python User Group, very active!!! • https://www.meetup.com/phillypug/ • Free demo and project nights to learn and share • SOLD OUT - $30 Intro to Python Course https://www.meetup.com/phillypug/events/232030203/ • Next Free Meetup: How to Test and Deploy Python Web App - March 30, Thurs https://www.meetup.com/phillypug/events/237877302/
  • 69.
    THE HACKTORY MEETUP •Active makerspace in Philly, 3645 Lancaster Ave • https://www.meetup.com/The-Hacktory-Exploring- Creativity-Technology-in-Philly/ • Free project nights, soldering courses on Saturdays, sewing courses on Sundays
  • 70.
    PHILLY MAKERS MEETUP •Hosted at NextFab in Philly, 2025 Washington Ave • https://www.meetup.com/Philly-Makers/ • Electro-Makers (Open Workshop) meets every 2 weeks on Wednesdays 6-8pm • “If you're interested in making, hacking, designing, programming, or simply learning more about Electronics”
  • 72.
    BEFORE WE CLOSE •I am asking you to build a project or your own idea! Use #CoffeeAndPi • I am asking you to share your excitement and knowledge with those around you! • I am challenging you to inspire others and use technology to change the world! • You are never too old to learn, or too young to teach! • If you are interested in hosting or starting a Coffee & Pi meetup, let me know!
  • 73.
    THANK YOU! QUESTIONS? GRABMORE COFFEE AND PIE! COFFEEANDPI.IO MEETUP.COM/COFFEE-AND-PI #COFFEEANDPI