1
Introduction to Raspberry Pi
Dong Ho Son
POSTECH
Pohang, Korea
donghoson@postech.ac.kr
2
Table of
Contents
• What is Raspberry Pi?
• Hardware Components
• Raspberry Pi Software
• Raspberry Pi Projects
• References
3
What is Raspberry Pi?
4
What is Raspberry Pi?
 A series of small single-board computers developed by the Raspberry
Pi Foundation
 A credit-card sized computer that plugs into your TV (or monitor) and
a keyboard
 It’s a capable little PC which can be used for many of the things that
your desktop PC does
source : raspberry.org
Source: pixabay.com/photo-2202618/
5
Raspberry Pi Foundation
 A charity organization founded in 2009 in UK
 Responsible for developing the Raspberry Pi
 Supported by the U. of Cambridge Computer Laboratory & Broadcom
 Promotes the study of computer programming in schools (K-12), and
in developing countries
 More information
• https://www.raspberrypi.org/about
6
Why was Raspberry Pi Made?
 Originally designed for education
 Create a low-cost device that would improve programming skills and
hardware understanding at the pre-university level
 Thanks to its small size and accessible price, now it is used in
thousands of different ways
Source: opensource.com/resources/what-raspberry-pi
7
Terminology (1/2)
 Raspberry Pie? or Raspberry Pi?
Raspberry Pie ? Raspberry Pi !
Source: pixabay.com/photo-611321/ Source: pixabay.com/photo-2270/
8
Terminology (2/2)
 Where does the name Raspberry Pi come from?
• Many computer companies were named after fruit.
− Apple, Blackberry
− Tangerine Computer Systems
− Apricot Computers
− Acorn Computers
• Raspberry Pi
− Pi  Python Interpreter
− Learn programming using easy programming language, Python
– Easier than C/C++
9
Models (1/2)
1st version
Model B
1st version
Model A
1st version
Model B+
1st version
Model A+
Feb. 2012
$35
2 USB ports
SD card slot
Feb. 2013
$25
1 USB port
SD card slot
Jul. 2014
$35
4 USB ports
Micro SD card slot
Nov. 2014
$20
1 USB port
Micro SD card slot
 1st Generation of Models
10
Models (2/2)
 Other Generation of Models
 Detailed info on all models and accessories
can be found at https://www.raspberrypi.org/products/
2nd version
Model B Model zero
3rd version
Model B
Feb. 2015
$35
4 USB ports
Micro SD card slot
Nov. 2015
$5
1 Micro USB port
Micro SD card slot
Feb. 2016
$35
4 USB ports
Micro SD card slot
Wi-Fi & Bluetooth
11
Hardware Components
12
Hardware
Power supply
(USB-microB)
microSD card
USB Keyboard, Mouse
Monitor
LAN cable
GPIO
SoC
13
Hardware
 Setting Up Raspberry Pi
Source: www.raspberrypi.org/learning/hardware-guide/
14
Hardware
 Hardware Specifications
Source : hackaday.com
15
Raspberry Pi Software
16
Operating System
 Raspberry Pi is a full blown computer
 Operating System (The Raspberry Pi Foundation recommends)
• Raspbian (Optimized for RPi)
 Other Operating systems
• Ubuntu MATE
• Snappy Ubuntu Core
• Windows 10 IoT Core
• OSMC
• RISC OS
• Pidora – Fedora remix
• Cent OS
• Kali Linux
17
Applications for Raspbian
 Epiphany - A standard web browser for Raspbian
 File Manager - GUI-based file manager
 LXTerminal - A Terminal application
 Mathematica - A specialized mathematical application that deals with
calculations, graphs, and so on
 Sonic Pi - An educational application designed to make music and learn
programming
 Minecraft Pi - A very popular 3D graphics game
18
Programming - SCRATCH
 SCRATCH
• A free visual programming language
• A drag-and-drop interface
• One of the best ways to introduce young people into the joys of programming
• Also users can create computer games, interactive stories, and animations
using some programming techniques without actually having to write code
• https://scratch.mit.edu
19
Programming - Python
 Python
• A wonderful and powerful programming language
− easy to use and learn
• Python syntax is very clean, with an emphasis on readability and uses standard
English keywords
20
Raspberry Pi Projects
21
Projects Using Raspberry Pi
 Raspberry Pi Supercomputer
• http://www.southampton.ac.uk/~sjc/raspberrypi/
• http://www.youtube.com/watch?v=Jq5nrHz9I94
22
Projects Using Raspberry Pi
 Raspberry Pi powered Quadcopter
• http://www2.warwick.ac.uk/fac/sci/eng/meng/wmr/projects/autonomousuav/poster_design_final.pdf
23
Projects Using Raspberry Pi
 Raspberry Pi in the Sky
• Sending images from near space
• https://www.raspberrypi.org/blog/pi-in-the-sky/
24
References
 Raspberry Pi
• https://www.raspberrypi.org
• https://opensource.com/resources/what-raspberry-pi
• https://en.wikipedia.org/wiki/Raspberry_Pi
• https://www.raspberrypi.org/resources/learn/
 Scratch
• https://scratch.mit.edu
• https://www.youtube.com/watch?v=jXUZaf5D12A
 Python
• https://www.raspberrypi.org/documentation/usage/python/
• https://wikidocs.net/3168
 Raspberry Pi Supercomputer
• http://www.southampton.ac.uk/~sjc/raspberrypi/pi_supercomputer_southampton.htm
• http://www.youtube.com/watch?v=Jq5nrHz9I94
 Raspberry Pi powered Quadcopter
• http://www2.warwick.ac.uk/fac/sci/eng/meng/wmr/projects/autonomousuav/poster_design_final.pdf
 Raspberry Pi in the Sky
• https://www.raspberrypi.org/blog/pi-in-the-sky/

Introduction to raspberry pi

  • 1.
    1 Introduction to RaspberryPi Dong Ho Son POSTECH Pohang, Korea donghoson@postech.ac.kr
  • 2.
    2 Table of Contents • Whatis Raspberry Pi? • Hardware Components • Raspberry Pi Software • Raspberry Pi Projects • References
  • 3.
  • 4.
    4 What is RaspberryPi?  A series of small single-board computers developed by the Raspberry Pi Foundation  A credit-card sized computer that plugs into your TV (or monitor) and a keyboard  It’s a capable little PC which can be used for many of the things that your desktop PC does source : raspberry.org Source: pixabay.com/photo-2202618/
  • 5.
    5 Raspberry Pi Foundation A charity organization founded in 2009 in UK  Responsible for developing the Raspberry Pi  Supported by the U. of Cambridge Computer Laboratory & Broadcom  Promotes the study of computer programming in schools (K-12), and in developing countries  More information • https://www.raspberrypi.org/about
  • 6.
    6 Why was RaspberryPi Made?  Originally designed for education  Create a low-cost device that would improve programming skills and hardware understanding at the pre-university level  Thanks to its small size and accessible price, now it is used in thousands of different ways Source: opensource.com/resources/what-raspberry-pi
  • 7.
    7 Terminology (1/2)  RaspberryPie? or Raspberry Pi? Raspberry Pie ? Raspberry Pi ! Source: pixabay.com/photo-611321/ Source: pixabay.com/photo-2270/
  • 8.
    8 Terminology (2/2)  Wheredoes the name Raspberry Pi come from? • Many computer companies were named after fruit. − Apple, Blackberry − Tangerine Computer Systems − Apricot Computers − Acorn Computers • Raspberry Pi − Pi  Python Interpreter − Learn programming using easy programming language, Python – Easier than C/C++
  • 9.
    9 Models (1/2) 1st version ModelB 1st version Model A 1st version Model B+ 1st version Model A+ Feb. 2012 $35 2 USB ports SD card slot Feb. 2013 $25 1 USB port SD card slot Jul. 2014 $35 4 USB ports Micro SD card slot Nov. 2014 $20 1 USB port Micro SD card slot  1st Generation of Models
  • 10.
    10 Models (2/2)  OtherGeneration of Models  Detailed info on all models and accessories can be found at https://www.raspberrypi.org/products/ 2nd version Model B Model zero 3rd version Model B Feb. 2015 $35 4 USB ports Micro SD card slot Nov. 2015 $5 1 Micro USB port Micro SD card slot Feb. 2016 $35 4 USB ports Micro SD card slot Wi-Fi & Bluetooth
  • 11.
  • 12.
    12 Hardware Power supply (USB-microB) microSD card USBKeyboard, Mouse Monitor LAN cable GPIO SoC
  • 13.
    13 Hardware  Setting UpRaspberry Pi Source: www.raspberrypi.org/learning/hardware-guide/
  • 14.
  • 15.
  • 16.
    16 Operating System  RaspberryPi is a full blown computer  Operating System (The Raspberry Pi Foundation recommends) • Raspbian (Optimized for RPi)  Other Operating systems • Ubuntu MATE • Snappy Ubuntu Core • Windows 10 IoT Core • OSMC • RISC OS • Pidora – Fedora remix • Cent OS • Kali Linux
  • 17.
    17 Applications for Raspbian Epiphany - A standard web browser for Raspbian  File Manager - GUI-based file manager  LXTerminal - A Terminal application  Mathematica - A specialized mathematical application that deals with calculations, graphs, and so on  Sonic Pi - An educational application designed to make music and learn programming  Minecraft Pi - A very popular 3D graphics game
  • 18.
    18 Programming - SCRATCH SCRATCH • A free visual programming language • A drag-and-drop interface • One of the best ways to introduce young people into the joys of programming • Also users can create computer games, interactive stories, and animations using some programming techniques without actually having to write code • https://scratch.mit.edu
  • 19.
    19 Programming - Python Python • A wonderful and powerful programming language − easy to use and learn • Python syntax is very clean, with an emphasis on readability and uses standard English keywords
  • 20.
  • 21.
    21 Projects Using RaspberryPi  Raspberry Pi Supercomputer • http://www.southampton.ac.uk/~sjc/raspberrypi/ • http://www.youtube.com/watch?v=Jq5nrHz9I94
  • 22.
    22 Projects Using RaspberryPi  Raspberry Pi powered Quadcopter • http://www2.warwick.ac.uk/fac/sci/eng/meng/wmr/projects/autonomousuav/poster_design_final.pdf
  • 23.
    23 Projects Using RaspberryPi  Raspberry Pi in the Sky • Sending images from near space • https://www.raspberrypi.org/blog/pi-in-the-sky/
  • 24.
    24 References  Raspberry Pi •https://www.raspberrypi.org • https://opensource.com/resources/what-raspberry-pi • https://en.wikipedia.org/wiki/Raspberry_Pi • https://www.raspberrypi.org/resources/learn/  Scratch • https://scratch.mit.edu • https://www.youtube.com/watch?v=jXUZaf5D12A  Python • https://www.raspberrypi.org/documentation/usage/python/ • https://wikidocs.net/3168  Raspberry Pi Supercomputer • http://www.southampton.ac.uk/~sjc/raspberrypi/pi_supercomputer_southampton.htm • http://www.youtube.com/watch?v=Jq5nrHz9I94  Raspberry Pi powered Quadcopter • http://www2.warwick.ac.uk/fac/sci/eng/meng/wmr/projects/autonomousuav/poster_design_final.pdf  Raspberry Pi in the Sky • https://www.raspberrypi.org/blog/pi-in-the-sky/