SlideShare a Scribd company logo
Introduction To Raspberry Pi
A Presentation For The Bainbridge BARN
May 15, 2016
About Me
Tech enthusiast; hardware and software
hacker; particular interest in machine learning
Pros:
This presentation is free of charge!
Cons:
No training in computer science, embedded
systems design, electrical engineering,
software development
What Is A Raspberry Pi?
A cheap, tiny, open-source
computer
What Is A Raspberry Pi?
Most of us think of
computers as this:
Or this:
What Is A Raspberry Pi?
But computers can be much
more!
...wait...I mean less!
What Is A Raspberry Pi?
What Is A Raspberry Pi?
• Costs about $35
• Runs linux as its operating system
• Basic ports for USB, monitor, and internet
• Wifi and BlueTooth
• GPIO pins you can use to connect to other
devices
Why Are People So Excited About
The Raspberry Pi?
• Cheap and Simple – Enables you to easily add a
brain to your project
• Powerful – You can run surprisingly demanding
applications on a Pi
• Open Source – Get all source code, schematics, and
data sheets for free
• Learning Tool – Learn hardware, linux, and
programming all at once
What Can You Make With A Pi?
FishPi: An Autonomous Boat
What Can You Make With A Pi?
Pandora's Box: An Internet
Radio Player
What Can You Make With A Pi?
RasPiLapse: A Time-Lapse
Photo Dolly
What Can You Make With A Pi?
WeatherPi: A Solar-Powered
Weather Station
What Can You Make With A Pi?
Dumb Wired Printer → Wifi
Printer
What Can You Make With A Pi?
Smart Garage Door Manager
What Can You Make With A Pi?
A Minecraft Server
What Can You Make With A Pi?
A Weather Balloon
What Can You Make With A Pi?
An Automated Pet Feeder
Communicating With Your Pi
Communicating With Your Pi
Two basic methods:
• Directly plug in a keyboard and monitor
• Good for initial setup, but inconvenient
• Over the network via ssh
• Much better, but...
• You need to know how to use ssh
Communicating With Your Pi
Don't fear the command line!
• Fast
• Powerful
• Robust (minimal system
resources or bandwidth)
• Impress your geek friends
Connecting Your Pi To The
Outside World
Connecting Your Pi To The
Outside World
• The simplest way is
using wifi, BlueTooth or
USB – your Pi already
has these built in
• But for devices that
can't communicate this
way, use the GPIO
(General Purpose Input
and Output) pins
Connecting Your Pi To The
Outside World
Connect a LED light...
<yawn>...
Connecting Your Pi To The
Outside World
Connect a button...
Connecting Your Pi To The
Outside World
Switch other hardware on or off...
Connecting Your Pi To The
Outside World
Control motors, servos, and steppers...
Connecting Your Pi To The
Outside World
Yeah, that’s right – now we’re talking
robotics!!!
* Important Disclaimer: Raspberry Pis were probably not used to make these robots...
Connecting Your Pi To The
Outside World
Best of all, control other hardware through the I2C or
SPI interfaces
Connecting Your Pi To The
Outside World
• Thermometers
• Pressure sensors
• Ultrasonic sensors
• Accelerometers
• RFID Readers
• Gyroscopes
• Photocells
• Magnetometers
• Altimeters
• Etc, etc...
Stuff you can control via I2C and SPI:
I Have My Pi Working...Now
What?
• The hardest part: learning linux
• But once you know the basics, you'll discover
how insanely powerful it is
• Start here and here!
• You can always get help from your friends at
the BARN
I Have My Pi Working...Now
What?
• To make your Pi do useful stuff, you'll probably
want to know some programming
• Python is an excellent place to start, since it is
widely used, easy to learn, and powerful
• Start here!
I Have My Pi Working...Now
What?
• If you want to use the GPIO pins, you'll need to
know a little about hardware
• Start here!
I Have My Pi Working...Now
What?
• Finally, for some neat tutorials on how to use
your Raspberry Pi
• Get these here!
OK Let's Get It Working!
1. Boot your Pi and get logged in
a. Plug in your keyboard, mouse, and monitor - we’ll use the GUI for now...
b. Your default credentials are username: pi password: raspberry
c. Open the terminal and enter `passwd` to change the password!!
1. Connect to the internet
a. Connect to the BARN wifi.
b. In the terminal enter `ping google.com` to configm we’re on the net
c. Hit CTRL-C when confirmed
1. Update your entire system
a. In the shell, execute `sudo aptitude update` to get the list of the latest software
b. `sudo aptitude full-upgrade` to actually perform the update
1. Americanize your Pi
a. Run `sudo raspi-config`
b. In Internationalization Options, change Locale to en_US.UTF-8,, Keyboard-Layout,
Timezone, and Wi-Fi country to the US
1. Set up SSH so you can log in without hooking up a keyboard and monitor
a. Get your IP address with `hostname -I` and make a note of this
b. From another computer, try to log in to your pi with `ssh pi@<your-pi’s-IP-address>`
1. When ready, shutdown your pi with `sudo shutdown -h now`
1. [Note to self - fill in Step 7 when time permits.]
1. Massive profit!!!!

More Related Content

PPTX
Getting Started with Raspberry Pi and Arduino
PPT
Raspberry Pi Technology
PPTX
Raspberry pi intro workshop
PPTX
PPT
Raspberrypi best ppt
PPTX
Raspberry pi
PPTX
Raspberry Pi Session - 22_11_2014
PPTX
RaspberryPi + IoT - Lab to switch on and off a light bulb
Getting Started with Raspberry Pi and Arduino
Raspberry Pi Technology
Raspberry pi intro workshop
Raspberrypi best ppt
Raspberry pi
Raspberry Pi Session - 22_11_2014
RaspberryPi + IoT - Lab to switch on and off a light bulb

What's hot (20)

PPTX
Raspberry Pi in Education (English)
PDF
Introduction to Raspberrypi
PPTX
Arduino vs Raspberry Pi
PPT
Raspberry-Pi
PDF
Automation using RaspberryPi and Arduino
PDF
Introduction to Raspberry PI
PPTX
Raspberry pi technology
PPTX
Raspberry pi
PPTX
Raspberry pi ppt
PDF
Getting Started with Raspberry Pi v1.2
PPTX
Raspberry pi complete setup
PPT
Rasberry pi
PPT
Introduction to Arduino & Raspberry Pi
PPTX
Getting Started with Raspberry Pi
PPTX
Raspberry
PPTX
Simple Presentation On Raspberry pi
ODP
Raspberry Pi Zero
PPTX
Raspberry Pi Free Session - 20_09_2014
PDF
[Forward4 Webinar 2016] Building IoT Prototypes w/ Raspberry Pi
PDF
Raspberry Pi - Lecture 6 Working on Raspberry Pi
Raspberry Pi in Education (English)
Introduction to Raspberrypi
Arduino vs Raspberry Pi
Raspberry-Pi
Automation using RaspberryPi and Arduino
Introduction to Raspberry PI
Raspberry pi technology
Raspberry pi
Raspberry pi ppt
Getting Started with Raspberry Pi v1.2
Raspberry pi complete setup
Rasberry pi
Introduction to Arduino & Raspberry Pi
Getting Started with Raspberry Pi
Raspberry
Simple Presentation On Raspberry pi
Raspberry Pi Zero
Raspberry Pi Free Session - 20_09_2014
[Forward4 Webinar 2016] Building IoT Prototypes w/ Raspberry Pi
Raspberry Pi - Lecture 6 Working on Raspberry Pi
Ad

Viewers also liked (18)

PPTX
Spam spyware
PDF
Modern theory of magnetism in metals and alloys
PDF
SPIE 2009 - "Efficient Parameter Estimation Techniques for Hysteresis Models"...
PDF
PSpice
PPTX
Hysterisis Motor
PPT
Earth’s Magnetism
PPTX
Earths magnetic field
PPT
Magnetism and Magnetic Circuits
PPTX
Introduction to Arduino
PPTX
Micro processor, micro controller, raspberry pi3
PPT
Introduction to WiMAX
PPTX
Earth's magnetism
PPT
PDF
Simple Model of DC Motor using LTspice
PDF
Simple Model of DC Motor using PSpice
PPTX
3-Phase AC Motor Model (LTspice)
PPT
DC/AC 3-Phase Inverter (LTspice Model)
Spam spyware
Modern theory of magnetism in metals and alloys
SPIE 2009 - "Efficient Parameter Estimation Techniques for Hysteresis Models"...
PSpice
Hysterisis Motor
Earth’s Magnetism
Earths magnetic field
Magnetism and Magnetic Circuits
Introduction to Arduino
Micro processor, micro controller, raspberry pi3
Introduction to WiMAX
Earth's magnetism
Simple Model of DC Motor using LTspice
Simple Model of DC Motor using PSpice
3-Phase AC Motor Model (LTspice)
DC/AC 3-Phase Inverter (LTspice Model)
Ad

Similar to Introduction to Raspberry Pi (20)

PPTX
Raspberry Pi Introductory Lecture
PPTX
Raspberry pi
PPTX
Up and running with Raspberry Pi
PPTX
Introduction To Raspberry Pi with Simple GPIO pin Control
PDF
RaspberryPi_Workshop and Programming with python.
PPTX
Unit 6 - PART2.pptx
PPTX
IOT notes ....,.........
PPTX
Raspberry Pi ppt.pptx
PPTX
Raspberry Pi ppt.pptx
PDF
Raspberry pi overview
PPTX
Raspberry Pi - Unlocking New Ideas for Your Library
PPTX
Raspberry pi. mini computer networks science ppt
PPT
Raspberrypi
PPTX
IoT for data science Module 5 - Raspberry Pi.pptx
PDF
My presentation raspberry pi
PPTX
Building Raspberry Pi nodebots
PPTX
Raspbeery Pi : An Introduction
PPTX
Raaaaassspberry pi
PDF
Amity Raspberry Jam
PDF
Getting started with Raspberry Pi - By Ibrahim
Raspberry Pi Introductory Lecture
Raspberry pi
Up and running with Raspberry Pi
Introduction To Raspberry Pi with Simple GPIO pin Control
RaspberryPi_Workshop and Programming with python.
Unit 6 - PART2.pptx
IOT notes ....,.........
Raspberry Pi ppt.pptx
Raspberry Pi ppt.pptx
Raspberry pi overview
Raspberry Pi - Unlocking New Ideas for Your Library
Raspberry pi. mini computer networks science ppt
Raspberrypi
IoT for data science Module 5 - Raspberry Pi.pptx
My presentation raspberry pi
Building Raspberry Pi nodebots
Raspbeery Pi : An Introduction
Raaaaassspberry pi
Amity Raspberry Jam
Getting started with Raspberry Pi - By Ibrahim

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Cloud computing and distributed systems.
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Approach and Philosophy of On baking technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
The AUB Centre for AI in Media Proposal.docx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Understanding_Digital_Forensics_Presentation.pptx
Cloud computing and distributed systems.
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Review of recent advances in non-invasive hemoglobin estimation
Approach and Philosophy of On baking technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
NewMind AI Weekly Chronicles - August'25 Week I
MIND Revenue Release Quarter 2 2025 Press Release
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Mobile App Security Testing_ A Comprehensive Guide.pdf
MYSQL Presentation for SQL database connectivity
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Spectral efficient network and resource selection model in 5G networks
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx

Introduction to Raspberry Pi

  • 1. Introduction To Raspberry Pi A Presentation For The Bainbridge BARN May 15, 2016
  • 2. About Me Tech enthusiast; hardware and software hacker; particular interest in machine learning Pros: This presentation is free of charge! Cons: No training in computer science, embedded systems design, electrical engineering, software development
  • 3. What Is A Raspberry Pi? A cheap, tiny, open-source computer
  • 4. What Is A Raspberry Pi? Most of us think of computers as this: Or this:
  • 5. What Is A Raspberry Pi? But computers can be much more! ...wait...I mean less!
  • 6. What Is A Raspberry Pi?
  • 7. What Is A Raspberry Pi? • Costs about $35 • Runs linux as its operating system • Basic ports for USB, monitor, and internet • Wifi and BlueTooth • GPIO pins you can use to connect to other devices
  • 8. Why Are People So Excited About The Raspberry Pi? • Cheap and Simple – Enables you to easily add a brain to your project • Powerful – You can run surprisingly demanding applications on a Pi • Open Source – Get all source code, schematics, and data sheets for free • Learning Tool – Learn hardware, linux, and programming all at once
  • 9. What Can You Make With A Pi? FishPi: An Autonomous Boat
  • 10. What Can You Make With A Pi? Pandora's Box: An Internet Radio Player
  • 11. What Can You Make With A Pi? RasPiLapse: A Time-Lapse Photo Dolly
  • 12. What Can You Make With A Pi? WeatherPi: A Solar-Powered Weather Station
  • 13. What Can You Make With A Pi? Dumb Wired Printer → Wifi Printer
  • 14. What Can You Make With A Pi? Smart Garage Door Manager
  • 15. What Can You Make With A Pi? A Minecraft Server
  • 16. What Can You Make With A Pi? A Weather Balloon
  • 17. What Can You Make With A Pi? An Automated Pet Feeder
  • 19. Communicating With Your Pi Two basic methods: • Directly plug in a keyboard and monitor • Good for initial setup, but inconvenient • Over the network via ssh • Much better, but... • You need to know how to use ssh
  • 20. Communicating With Your Pi Don't fear the command line! • Fast • Powerful • Robust (minimal system resources or bandwidth) • Impress your geek friends
  • 21. Connecting Your Pi To The Outside World
  • 22. Connecting Your Pi To The Outside World • The simplest way is using wifi, BlueTooth or USB – your Pi already has these built in • But for devices that can't communicate this way, use the GPIO (General Purpose Input and Output) pins
  • 23. Connecting Your Pi To The Outside World Connect a LED light... <yawn>...
  • 24. Connecting Your Pi To The Outside World Connect a button...
  • 25. Connecting Your Pi To The Outside World Switch other hardware on or off...
  • 26. Connecting Your Pi To The Outside World Control motors, servos, and steppers...
  • 27. Connecting Your Pi To The Outside World Yeah, that’s right – now we’re talking robotics!!! * Important Disclaimer: Raspberry Pis were probably not used to make these robots...
  • 28. Connecting Your Pi To The Outside World Best of all, control other hardware through the I2C or SPI interfaces
  • 29. Connecting Your Pi To The Outside World • Thermometers • Pressure sensors • Ultrasonic sensors • Accelerometers • RFID Readers • Gyroscopes • Photocells • Magnetometers • Altimeters • Etc, etc... Stuff you can control via I2C and SPI:
  • 30. I Have My Pi Working...Now What? • The hardest part: learning linux • But once you know the basics, you'll discover how insanely powerful it is • Start here and here! • You can always get help from your friends at the BARN
  • 31. I Have My Pi Working...Now What? • To make your Pi do useful stuff, you'll probably want to know some programming • Python is an excellent place to start, since it is widely used, easy to learn, and powerful • Start here!
  • 32. I Have My Pi Working...Now What? • If you want to use the GPIO pins, you'll need to know a little about hardware • Start here!
  • 33. I Have My Pi Working...Now What? • Finally, for some neat tutorials on how to use your Raspberry Pi • Get these here!
  • 34. OK Let's Get It Working! 1. Boot your Pi and get logged in a. Plug in your keyboard, mouse, and monitor - we’ll use the GUI for now... b. Your default credentials are username: pi password: raspberry c. Open the terminal and enter `passwd` to change the password!! 1. Connect to the internet a. Connect to the BARN wifi. b. In the terminal enter `ping google.com` to configm we’re on the net c. Hit CTRL-C when confirmed 1. Update your entire system a. In the shell, execute `sudo aptitude update` to get the list of the latest software b. `sudo aptitude full-upgrade` to actually perform the update 1. Americanize your Pi a. Run `sudo raspi-config` b. In Internationalization Options, change Locale to en_US.UTF-8,, Keyboard-Layout, Timezone, and Wi-Fi country to the US 1. Set up SSH so you can log in without hooking up a keyboard and monitor a. Get your IP address with `hostname -I` and make a note of this b. From another computer, try to log in to your pi with `ssh pi@<your-pi’s-IP-address>` 1. When ready, shutdown your pi with `sudo shutdown -h now` 1. [Note to self - fill in Step 7 when time permits.] 1. Massive profit!!!!