SlideShare a Scribd company logo
1
Raspberry Pi -
How to get started
Dong Ho Son
POSTECH
Pohang, Korea
donghoson@postech.ac.kr
2
 What you will need
Before We Start …
source: https://www.raspberrypi.org/learning/hardware-guide
3
Install an OS
 Raspberry Pi is a fully blown computer
 Operating Systems
• Raspbian (Optimized for RPi)
• How to install Raspbian
1. Use NOOBS
2. Use NOOBS Lite
3. Download only Raspbian image file
 NOOBS
• An easy operating system installer which contains Raspbian
 OS & NOOBS download site
• https://www.raspberrypi.org/downloads/
4
Install the OS
 Raspbian will be stored in a Micro SD card
 Connect Micro SD card to SD card reader
• Micro SD card can not be connected to the PC without SD card reader
5
Install the OS
 Using NOOBS vs Downloading Raspbian Image
NOOBS
Raspbian
image
Unzip & Copy Boot the RPi
No installation
Need to set up
the partition
Source: pixabay.com/photo-773215
Unzip & Copy Install the RPi
using NOOBS
Source: pixabay.com/photo-1295373
Source: www.raspberrypi.org/learning/hardware-guide/components
6
Install the OS - Raspbian
 Download the NOOBS or the Raspbian image file
• https://www.raspberrypi.org/downloads/noobs/
• https://www.raspberrypi.org/downloads/raspbian/
7
Install the OS - Raspbian
 Unzip the file
• It includes Raspbian image file
8
Install the OS – Writing image to Micro SD card
 Need software to write the Raspbian image on to the MicroSD card
 You can download and use Win32 Disk Imager for this.
• https://sourceforge.net/projects/win32diskimager/
9
Install the OS – Writing image to SD card
 Set up Win32 Disk Imager
10
Install the OS - Writing image to SD card
 Write an image file to Micro USB
11
Plug in your Raspberry Pi
Micro SD
card
Keyboard
Mouse
HDMI
Micro USB
Power supply
source: raspberrypi.org
12
Boot your Raspberry Pi
 Booting into GUI
13
Connect your Raspberry Pi to the Internet
 Connecting via Wi-Fi
• A Raspberry Pi 3
− Built-in Wi-Fi
• An earlier version of the Raspberry Pi
− Need a Wi-Fi Dongle
• Some Wi-Fi dongles are simple plug and play devices
− Others require specific drivers, and may not be compatible
− Read the device manufacturer’s documentation
14
Connect your Raspberry Pi to the Internet
 Connecting via Ethernet
• RPi has an Ethernet port beside the USB ports
• You can connect to a network using an Ethernet cable
− A router, access point, or switch
source: raspberrypi.org
15
Korean Language setup
 In order to input commands to Raspbian, start LXTerminal application
 Make sure your device is connected to the Internet
 Download & Install Korean (Hangul) Fonts if you wish to use Korean
fonts in addition to English
• Download a package by updating and upgrading the system
• Install Korean (Hangul) fonts
$ sudo apt-get install ibus
$ sudo apt-get install ibus-hangul
$ sudo apt-get install ttf-unfonts-core
$ sudo apt-get update
$ sudo apt-get upgrade
16
Korean Language setup
 Raspberry Pi Configuration
• [Menu]  [Preference]  [Raspberry Pi Configuration]
17
Korean Language setup
 Language and country setting
• [Localisation]  [Set Locale]
18
Korean Language setup
 Timezone setting
• [Localisation]  [Set Timezone]
19
Korean Language setup
 Keyboard setting
• [Localisation]  [Set Keyboard]
20
Korean Language setup
 Let’s reboot!
• After finishing all setting up, then reboot the RPi
• Notice that the menu in English has changed to Korean
 Check the keyboard
• Toggle the language [US  Hangul]
• Click the Hangul
• Now you can toggle the language [Shift + Spacebar]
21
Headless setup
 It could be very inconvenient
• If you need to connect monitor every time you use the RPi
• Often, you may not have an extra HDMI cable or keyboard
 It would be very convenient
• If you can access the RPi without its own monitor or keyboard
 Headless Raspberry Pi
• Use VNC (Virtual Network Computing) software for remote (headless) login
• VNC server/client software needed
22
Headless setup – Working PC
 Download VNC (Working PC)
• http://www.realvnc.com/download/
23
Headless setup – Working PC
 Install VNC
• Select VNC viewer, not VNC server
24
Headless setup – Raspberry Pi
 Check IP address (Ethernet)
$ ifconfig
25
Headless setup – Raspberry Pi
 Accessing the Raspberry Pi remotely
1. Creating a new screen every time
2. Sharing one screen
 When creating a new screen every time for each user
 Run VNC server on the Raspberry Pi
$ sudo apt-get install tightvncserver Install VNC (Raspberry Pi)
$ vncserver :1
26
Headless setup – Working PC
 Access the Raspberry Pi via VNC viewer
27
Headless setup – Working PC
28
Headless setup – Raspberry Pi
 Install VNC server
1. Creating a new screen every time
2. Sharing one screen
 When sharing the one screen
 Run VNC server on the Raspberry Pi
$ sudo apt-get install x11vnc Install VNC (Raspberry Pi)
$ x11vnc
29
Headless setup – Working PC
 Access the Raspberry Pi via VNC viewer
30
Headless setup
 Now you can access the RPi without an extra monitor and keyboard
31
Summary
 Explained the hardware requirements for getting started
 Explained major parts of Raspberry Pi 3 Model B
 Explained two methods for installing Raspbian operating system on the
Raspberry Pi
 Explain the concept of “headless setup” and how to achieve it using
VNC server and client
 In the following lecture, I will explain how to program Raspberry Pi

More Related Content

PPTX
Introduction to raspberry pi
PPTX
Up and running with Raspberry Pi
PPTX
Exploring the ABC's of Raspberry Pi with Python
PPTX
Exploring the abc's of raspberry pi and python(day 2)
ODP
Raspberry Pi and Amateur Radio
ODP
Introduction to Raspberry Pi and GPIO
PDF
Rapidly developing IoT (Internet of Things) applications - Part 2: Arduino, B...
PDF
Exploring Raspberry Pi
Introduction to raspberry pi
Up and running with Raspberry Pi
Exploring the ABC's of Raspberry Pi with Python
Exploring the abc's of raspberry pi and python(day 2)
Raspberry Pi and Amateur Radio
Introduction to Raspberry Pi and GPIO
Rapidly developing IoT (Internet of Things) applications - Part 2: Arduino, B...
Exploring Raspberry Pi

What's hot (20)

PDF
My presentation raspberry pi
PDF
Polstra 44con2012
ODP
DigiPinguïns: demo Raspberry Pi (Koen De Smet)
PDF
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
PPTX
Raspberry Pi (Introduction)
PPTX
Getting Started with Raspberry Pi and Arduino
PPTX
Pi Is For Python
PPTX
Introduction To Raspberry Pi with Simple GPIO pin Control
PDF
Taking the BeagleBone Cookbook recipes beyond BeagleBone Black
PPTX
Java Device I/O at Raspberry PI to Build a Candy Vending Machine
ODP
The Deck by Phil Polstra GrrCON2012
PDF
Cyberhijacking Airplanes Truth or Fiction
PDF
02 Raspberry Pi GPIO Interface on Node-RED (Some correction)
PPTX
IoT Aquarium 2
PPTX
IoT Aquarium
ODP
Thotcon2013
PDF
Embedded Erlang, Nerves, and SumoBots
PPTX
Build the internet of things with Raspberry Pi!
PDF
Raspberry Pi and Amateur Radio - 2020 update
PDF
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
My presentation raspberry pi
Polstra 44con2012
DigiPinguïns: demo Raspberry Pi (Koen De Smet)
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry Pi (Introduction)
Getting Started with Raspberry Pi and Arduino
Pi Is For Python
Introduction To Raspberry Pi with Simple GPIO pin Control
Taking the BeagleBone Cookbook recipes beyond BeagleBone Black
Java Device I/O at Raspberry PI to Build a Candy Vending Machine
The Deck by Phil Polstra GrrCON2012
Cyberhijacking Airplanes Truth or Fiction
02 Raspberry Pi GPIO Interface on Node-RED (Some correction)
IoT Aquarium 2
IoT Aquarium
Thotcon2013
Embedded Erlang, Nerves, and SumoBots
Build the internet of things with Raspberry Pi!
Raspberry Pi and Amateur Radio - 2020 update
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Ad

Similar to Raspberry pi : how to get started (20)

PPTX
introduction to Raspberry pi
PPTX
Configuring Raspberry Pi as a Dev Environment
PDF
Raspberry Pi - Lecture 6 Working on Raspberry Pi
DOCX
Raspberry with laptop
PPTX
IoT for data science Module 5 - Raspberry Pi.pptx
PPTX
Raspberry Pi ppt.pptx
PPTX
Raspberry Pi ppt.pptx
PPTX
Raspberry Pi Free Session - 20_09_2014
PDF
Raspberry pi Board Hardware & Software Setup
PPTX
Getting Started with Raspberry Pi
PDF
Introduction to the rapid prototyping with python and linux for embedded systems
PPTX
IOT notes ....,.........
PDF
Virtual networking computing via raspberry pi and nexus installation and conf...
PPTX
Raspberry Pi Session - 22_11_2014
PPTX
Starting Raspberry Pi
PPTX
Raspberry pi complete setup
PPTX
introduction to Raspberry pi
PDF
Amity Raspberry Jam
PPTX
Raspberry pi
PDF
Raspi_TOR_Access_Point_BenMoore
introduction to Raspberry pi
Configuring Raspberry Pi as a Dev Environment
Raspberry Pi - Lecture 6 Working on Raspberry Pi
Raspberry with laptop
IoT for data science Module 5 - Raspberry Pi.pptx
Raspberry Pi ppt.pptx
Raspberry Pi ppt.pptx
Raspberry Pi Free Session - 20_09_2014
Raspberry pi Board Hardware & Software Setup
Getting Started with Raspberry Pi
Introduction to the rapid prototyping with python and linux for embedded systems
IOT notes ....,.........
Virtual networking computing via raspberry pi and nexus installation and conf...
Raspberry Pi Session - 22_11_2014
Starting Raspberry Pi
Raspberry pi complete setup
introduction to Raspberry pi
Amity Raspberry Jam
Raspberry pi
Raspi_TOR_Access_Point_BenMoore
Ad

More from 동호 손 (10)

PPTX
Raspberry pi tutorial #3
PPTX
Raspberry pi tutorial #2
PPTX
Raspberry pi tutorial #1
PPTX
Arduino tutorial #4
PPTX
Arduino tutorial #2
PPTX
Arduino tutorial #1
PPTX
Arduino tutorial #3
PPTX
Arduino : how to get started
PPTX
Introduction to Arduino
PPTX
OpenVirtex (OVX) Tutorial
Raspberry pi tutorial #3
Raspberry pi tutorial #2
Raspberry pi tutorial #1
Arduino tutorial #4
Arduino tutorial #2
Arduino tutorial #1
Arduino tutorial #3
Arduino : how to get started
Introduction to Arduino
OpenVirtex (OVX) Tutorial

Recently uploaded (20)

PPTX
OOP with Java - Java Introduction (Basics)
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
ETO & MEO Certificate of Competency Questions and Answers
PPTX
“Next-Gen AI: Trends Reshaping Our World”
PPTX
ANIMAL INTERVENTION WARNING SYSTEM (4).pptx
PDF
composite construction of structures.pdf
PPTX
Practice Questions on recent development part 1.pptx
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
MET 305 MODULE 1 KTU 2019 SCHEME 25.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Internship_Presentation_Final engineering.pptx
PPTX
Road Safety tips for School Kids by a k maurya.pptx
PPTX
The-Looming-Shadow-How-AI-Poses-Dangers-to-Humanity.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
OOP with Java - Java Introduction (Basics)
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
ETO & MEO Certificate of Competency Questions and Answers
“Next-Gen AI: Trends Reshaping Our World”
ANIMAL INTERVENTION WARNING SYSTEM (4).pptx
composite construction of structures.pdf
Practice Questions on recent development part 1.pptx
Strings in CPP - Strings in C++ are sequences of characters used to store and...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
MET 305 MODULE 1 KTU 2019 SCHEME 25.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Operating System & Kernel Study Guide-1 - converted.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
Internship_Presentation_Final engineering.pptx
Road Safety tips for School Kids by a k maurya.pptx
The-Looming-Shadow-How-AI-Poses-Dangers-to-Humanity.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx

Raspberry pi : how to get started

  • 1. 1 Raspberry Pi - How to get started Dong Ho Son POSTECH Pohang, Korea [email protected]
  • 2. 2  What you will need Before We Start … source: https://www.raspberrypi.org/learning/hardware-guide
  • 3. 3 Install an OS  Raspberry Pi is a fully blown computer  Operating Systems • Raspbian (Optimized for RPi) • How to install Raspbian 1. Use NOOBS 2. Use NOOBS Lite 3. Download only Raspbian image file  NOOBS • An easy operating system installer which contains Raspbian  OS & NOOBS download site • https://www.raspberrypi.org/downloads/
  • 4. 4 Install the OS  Raspbian will be stored in a Micro SD card  Connect Micro SD card to SD card reader • Micro SD card can not be connected to the PC without SD card reader
  • 5. 5 Install the OS  Using NOOBS vs Downloading Raspbian Image NOOBS Raspbian image Unzip & Copy Boot the RPi No installation Need to set up the partition Source: pixabay.com/photo-773215 Unzip & Copy Install the RPi using NOOBS Source: pixabay.com/photo-1295373 Source: www.raspberrypi.org/learning/hardware-guide/components
  • 6. 6 Install the OS - Raspbian  Download the NOOBS or the Raspbian image file • https://www.raspberrypi.org/downloads/noobs/ • https://www.raspberrypi.org/downloads/raspbian/
  • 7. 7 Install the OS - Raspbian  Unzip the file • It includes Raspbian image file
  • 8. 8 Install the OS – Writing image to Micro SD card  Need software to write the Raspbian image on to the MicroSD card  You can download and use Win32 Disk Imager for this. • https://sourceforge.net/projects/win32diskimager/
  • 9. 9 Install the OS – Writing image to SD card  Set up Win32 Disk Imager
  • 10. 10 Install the OS - Writing image to SD card  Write an image file to Micro USB
  • 11. 11 Plug in your Raspberry Pi Micro SD card Keyboard Mouse HDMI Micro USB Power supply source: raspberrypi.org
  • 12. 12 Boot your Raspberry Pi  Booting into GUI
  • 13. 13 Connect your Raspberry Pi to the Internet  Connecting via Wi-Fi • A Raspberry Pi 3 − Built-in Wi-Fi • An earlier version of the Raspberry Pi − Need a Wi-Fi Dongle • Some Wi-Fi dongles are simple plug and play devices − Others require specific drivers, and may not be compatible − Read the device manufacturer’s documentation
  • 14. 14 Connect your Raspberry Pi to the Internet  Connecting via Ethernet • RPi has an Ethernet port beside the USB ports • You can connect to a network using an Ethernet cable − A router, access point, or switch source: raspberrypi.org
  • 15. 15 Korean Language setup  In order to input commands to Raspbian, start LXTerminal application  Make sure your device is connected to the Internet  Download & Install Korean (Hangul) Fonts if you wish to use Korean fonts in addition to English • Download a package by updating and upgrading the system • Install Korean (Hangul) fonts $ sudo apt-get install ibus $ sudo apt-get install ibus-hangul $ sudo apt-get install ttf-unfonts-core $ sudo apt-get update $ sudo apt-get upgrade
  • 16. 16 Korean Language setup  Raspberry Pi Configuration • [Menu]  [Preference]  [Raspberry Pi Configuration]
  • 17. 17 Korean Language setup  Language and country setting • [Localisation]  [Set Locale]
  • 18. 18 Korean Language setup  Timezone setting • [Localisation]  [Set Timezone]
  • 19. 19 Korean Language setup  Keyboard setting • [Localisation]  [Set Keyboard]
  • 20. 20 Korean Language setup  Let’s reboot! • After finishing all setting up, then reboot the RPi • Notice that the menu in English has changed to Korean  Check the keyboard • Toggle the language [US  Hangul] • Click the Hangul • Now you can toggle the language [Shift + Spacebar]
  • 21. 21 Headless setup  It could be very inconvenient • If you need to connect monitor every time you use the RPi • Often, you may not have an extra HDMI cable or keyboard  It would be very convenient • If you can access the RPi without its own monitor or keyboard  Headless Raspberry Pi • Use VNC (Virtual Network Computing) software for remote (headless) login • VNC server/client software needed
  • 22. 22 Headless setup – Working PC  Download VNC (Working PC) • http://www.realvnc.com/download/
  • 23. 23 Headless setup – Working PC  Install VNC • Select VNC viewer, not VNC server
  • 24. 24 Headless setup – Raspberry Pi  Check IP address (Ethernet) $ ifconfig
  • 25. 25 Headless setup – Raspberry Pi  Accessing the Raspberry Pi remotely 1. Creating a new screen every time 2. Sharing one screen  When creating a new screen every time for each user  Run VNC server on the Raspberry Pi $ sudo apt-get install tightvncserver Install VNC (Raspberry Pi) $ vncserver :1
  • 26. 26 Headless setup – Working PC  Access the Raspberry Pi via VNC viewer
  • 27. 27 Headless setup – Working PC
  • 28. 28 Headless setup – Raspberry Pi  Install VNC server 1. Creating a new screen every time 2. Sharing one screen  When sharing the one screen  Run VNC server on the Raspberry Pi $ sudo apt-get install x11vnc Install VNC (Raspberry Pi) $ x11vnc
  • 29. 29 Headless setup – Working PC  Access the Raspberry Pi via VNC viewer
  • 30. 30 Headless setup  Now you can access the RPi without an extra monitor and keyboard
  • 31. 31 Summary  Explained the hardware requirements for getting started  Explained major parts of Raspberry Pi 3 Model B  Explained two methods for installing Raspbian operating system on the Raspberry Pi  Explain the concept of “headless setup” and how to achieve it using VNC server and client  In the following lecture, I will explain how to program Raspberry Pi