SlideShare a Scribd company logo
1 of 29
Workshop
Raspberry pi
Talk by : May Mohamed Ali
Part 1
The Raspberry Pi
2
”
The Raspberry Pi is a credit-card
sized computer designed for kids to
experiment with and learn to
program and learn about
embedded Linux systems.
3
What is a Raspberry Pi?
It's tempting to think of the Raspberry Pi as a microcontroller development
board like Arduino, or as a laptop replacement. In fact it is more like the
exposed innards of a mobile device, with lots of maker-friendly headers for
the various ports and functions.
4
What’s on the board
▹(A) Processor: a 32 bit 700 MHz SoC
▹(B) SD Card slot: Hard drive
▹(C) USB ports: USB 2.0
▹(D) Ethernet port
▹(E) HDMI Connector
▹(F) Status LEDs
▹(G) Analog Audio Out: high impedance loads
▹(H) Composite Video: NTSC or PAL
▹(I) Power input
5
What’s on the board
▹(A) General Purpose Input Output (GPIO)
▹(B) Display Serial Interface (DSI) connector
▹(C) Camera Serial Interface (CSI) connector
▹(D) JTAG testing header for the Broadcom chip
and the LAN9512 networking chip
6
What is needed to get it up and running
▹A power supply: microUSB adapter which provides 5 V (5,2 V) at 1 A
▹An SD Card: at least 4 GB Class 4
▹An HDMI cable
▹Ethernet Cable: alternative is a USB WiFi adapter
7
Operating System
▹Runs Linux as an operating system (Kernel)
▹A variety of avors or distributions of the OS Linux have evolved over the years like
Ubuntu, Debian, Fedora, etc.
▹Special distributions for Raspberry Pi
-Raspbian (Ocially Recommended)
-Adafruit Raspberry Pi Educational Linux
-Arch Linux
-Xbian (XMBC media center)
-QtonPi, etc …
▹A disk image is required to install the OS onto the Pi
▹Since June 2013, the NOOBS (New Out Of the Box Software) utility was developed to
simplify the OS installation and recovery process
8
Lets get started !
▹ Format SD card (4GB+)
▹ Download Win32DiskImager
▹ Copy extracted files onto formated SD card
▹ Insert SD card into Pi
▹Connect keyboard, mouse and HDMI cable
▹ Plug in the power supply
▹The Pi will take about 5 mins to boot up
9
BOOT UP
10
Start the desktop behavior
▹Log in: Pi
▹Password: raspberry
▹Raspbian comes with the Lightweight X11
Desktop Environment (LXDE) graphical
desktop environment installed.
▹Now a new version of Desktop « Pixel »
11
WANT BIG
IMPACT?
USE BIG
IMAGE.
12
Part 2
Linux
13
Introduction
▹If you're going to get the most out of your RPi, you'll need to learn a little
Linux
▹It's quite difficult to determine which commands we should learn you,
because there are so much commands in the Linux world.
▹In what follows we try to give you the basics.
14
Opening a terminal
▹There are 2 possibilities:
-Using the GUI: The desktop icon
-By command: Alt + F2 -> type “rxvt” -> press Enter
▹You can leave the command prompt by typing exit or crtl-d
15
Important!
▹Once booted, be carefull. There is no button for powering off the system.
▹Do not eliminate the power when the system is running. You can damage
the le system on the SD-card.
▹You can shutdown the system from the command prompt by typing :
sudo shutdown -h now
▹Sudo stands for 'superuser do'. You have to be root for executing
▹some Linux commands. For instance for:
▹update the system: sudo apt-get update
▹upgrade the system: sudo apt-get upgrade
▹installing software: sudo apt-get install mysoftware
▹removing les/software: sudo apt-get remove myfile/software
16
Part 3
Remote login over SSH
17
Remote login over SSH
▹Sometimes it isn’t necessary or possible to connect the RPi with a
display/screen.
▹Then you can login on your RPi by means of SSH: ssh pi@IpAdres
▹That’s a manner to work by commandprompt
▹Suppose that the Graphical environment crashes, you still have a possibilty
to shutdown the RPi, from another pc, whitout damaging the file system
18
Part 4
Copying Files: Local  Remote
19
Introduction WinSCP
▹For Windows users
▹WinSCP is a free open-soure SFTP, FTP and SCP client for Microsoft
Windows
▹FTP : File Transfer Protocol
▹SFTP : Secure File Transfer Protocol
▹SCP : Secure CoPy
▹It’s main function is secure file transfer between a local and remote
computer
20
Installation WinSCP
▹Take care that the SSH server is installed on your RPi:
▹sudo apt-get install openssh-server
▹Search a WinSCP download file on the web and install it
▹Open WinSCP
▹Enter your:
▹IP-address: Which you have noticed previously
▹Username: pi
▹Password: raspberry
▹Portnumber: 22
21
Introduction SCP
▹For Linux users
▹For copying files over SSH it’s neccessary installing an SSH server on the
RPi: sudo apt-get install openssh-server
▹SSH is a cryptographic network protocol for secure data communication,
remote command-line login, remote command execution, and other secure
network services between two networked computers that connects, via a
secure channel over an insecure network, a server and a client.
22
Introduction SCP
▹Please do note that some linux OS may come with SCP pre-installed, but the
Raspbian that we were using, didn't have it. The general command to send a
single file is:
scp (path of file on local device) pi@192.168.3.215 (path of remote
location)
▹Example :
scp /pi/example.cpi@192.168.3.215 /pi/project
For Many files :
scp -r /pi/project pi@192.168.3.216 /pi/project
23
Part 5
VNCServer - VNCViewer
24
Introduction
▹The RPi is an very interesting system, but there is a lot of extra hardware
required. Like a keyboard, mouse, screen, UTP cable, power cable, etc.
▹You can eliminate a lot of hardware after you’re RPi is configured the first
time
▹There is a possibility to login on your RPi from another computer. Therefore
you must install a VNCserver on your Pi and a VNCviewer on your computer.
25
Introduction
▹VNC → Virtual Network Computing
▹It’s a graphical desktop sharing system
▹Another computer can be managed remotely
▹It transmits keyboard and mouse events from an computer to another
▹The graphical screen updates back in the other direction, over a
computernetwork
26
Installation VNCserver
▹Install the VNCserver on your RPi, type following command:
sudo apt-get install tightvncserver
▹Once installed, take care that the VNCserver will automatically startup
everytime the RPi will be booted.
▹Start the VNCserver a first time: sudo tightvncserver
▹VNC will ask once only after a password: raspberry
▹On the question
▹’would you like to enter a view-only password (y/n)?’
Answer no (n)
27
Installation VNCviewer
▹Install VNCviewer on your Windows computer
▹Search a download file on the web and install it
▹Install VNCviewer on your Linux computer
▹sudo apt-get install xtightvncviewer
▹Open xtightvncviewer: xtightvncviewer
▹A popup window will appear
▹Enter the IP-address of your RPi followed by the portnumber (5901),
ex.: 12.123.12.12:5901
▹A new popup window will emerg for entering your password
▹Test it.
28
29
THANKS!
Any questions?
You can find me at
▹ @DaliMay28
▹ May.mohamedali28@gmail.
com
▹ Nodeit.azurewebsites.net

More Related Content

What's hot

SEMINAR REPORT OF RASPBERRY PI
SEMINAR REPORT OF RASPBERRY PI SEMINAR REPORT OF RASPBERRY PI
SEMINAR REPORT OF RASPBERRY PI GANESH GOVIND BHOR
 
Raspberry pi on seminar documentation
Raspberry pi on seminar documentationRaspberry pi on seminar documentation
Raspberry pi on seminar documentationGeorgekutty Francis
 
Simple Presentation On Raspberry pi
Simple Presentation On Raspberry piSimple Presentation On Raspberry pi
Simple Presentation On Raspberry piSakkar Chowdhury
 
Raspberry pi intro workshop
Raspberry pi intro workshopRaspberry pi intro workshop
Raspberry pi intro workshoprasen58
 
Presentation on Raspberry pi
Presentation on Raspberry piPresentation on Raspberry pi
Presentation on Raspberry piOpenDev
 
Raspberry Pi presentation for Computer Architecture class
Raspberry Pi presentation for Computer Architecture classRaspberry Pi presentation for Computer Architecture class
Raspberry Pi presentation for Computer Architecture classMichael Gordon
 
Raspberry pi and its some uses
Raspberry pi and its some usesRaspberry pi and its some uses
Raspberry pi and its some usesFahim Hossain
 
Raspberry-history, timeline, preparing it for use
Raspberry-history, timeline, preparing it for useRaspberry-history, timeline, preparing it for use
Raspberry-history, timeline, preparing it for useSarwan Singh
 
Seminar Presentation on raspberry pi
Seminar Presentation on raspberry piSeminar Presentation on raspberry pi
Seminar Presentation on raspberry piGeorgekutty Francis
 
Raspberry Pi Technology
Raspberry Pi TechnologyRaspberry Pi Technology
Raspberry Pi TechnologyRavi Basil
 
Raspberrypi best ppt
Raspberrypi best ppt Raspberrypi best ppt
Raspberrypi best ppt SOMRAJ GAUTAM
 
Introduction to Arduino & Raspberry Pi
Introduction to Arduino & Raspberry PiIntroduction to Arduino & Raspberry Pi
Introduction to Arduino & Raspberry PiAhmad Hafeezi
 

What's hot (20)

SEMINAR REPORT OF RASPBERRY PI
SEMINAR REPORT OF RASPBERRY PI SEMINAR REPORT OF RASPBERRY PI
SEMINAR REPORT OF RASPBERRY PI
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberry pi on seminar documentation
Raspberry pi on seminar documentationRaspberry pi on seminar documentation
Raspberry pi on seminar documentation
 
Simple Presentation On Raspberry pi
Simple Presentation On Raspberry piSimple Presentation On Raspberry pi
Simple Presentation On Raspberry pi
 
Raspberry pi intro workshop
Raspberry pi intro workshopRaspberry pi intro workshop
Raspberry pi intro workshop
 
fras.pptx
fras.pptxfras.pptx
fras.pptx
 
Presentation on Raspberry pi
Presentation on Raspberry piPresentation on Raspberry pi
Presentation on Raspberry pi
 
Rasp berry Pi
Rasp berry PiRasp berry Pi
Rasp berry Pi
 
Raspberry PI
Raspberry PIRaspberry PI
Raspberry PI
 
Raspberry Pi presentation for Computer Architecture class
Raspberry Pi presentation for Computer Architecture classRaspberry Pi presentation for Computer Architecture class
Raspberry Pi presentation for Computer Architecture class
 
Raspberry pi and its some uses
Raspberry pi and its some usesRaspberry pi and its some uses
Raspberry pi and its some uses
 
Raspberry-history, timeline, preparing it for use
Raspberry-history, timeline, preparing it for useRaspberry-history, timeline, preparing it for use
Raspberry-history, timeline, preparing it for use
 
RASPBERRY PI
RASPBERRY PIRASPBERRY PI
RASPBERRY PI
 
Seminar Presentation on raspberry pi
Seminar Presentation on raspberry piSeminar Presentation on raspberry pi
Seminar Presentation on raspberry pi
 
Raspberry Pi Technology
Raspberry Pi TechnologyRaspberry Pi Technology
Raspberry Pi Technology
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Rasberry pi
 Rasberry pi Rasberry pi
Rasberry pi
 
Raspberrypi best ppt
Raspberrypi best ppt Raspberrypi best ppt
Raspberrypi best ppt
 
Introduction to Arduino & Raspberry Pi
Introduction to Arduino & Raspberry PiIntroduction to Arduino & Raspberry Pi
Introduction to Arduino & Raspberry Pi
 
Raspberry pi complete setup
Raspberry pi complete setupRaspberry pi complete setup
Raspberry pi complete setup
 

Viewers also liked

Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Mandeesh Singh
 
Internet of things using Raspberry Pi
Internet of things using Raspberry PiInternet of things using Raspberry Pi
Internet of things using Raspberry PiYash Gajera
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheLeslie Samuel
 
Coffee & Pi - Intro to Pi Workshop
Coffee & Pi - Intro to Pi WorkshopCoffee & Pi - Intro to Pi Workshop
Coffee & Pi - Intro to Pi WorkshopBrad ☼ Derstine
 
Prototype Summer School: How to make an interactive light display
Prototype Summer School: How to make an interactive light displayPrototype Summer School: How to make an interactive light display
Prototype Summer School: How to make an interactive light displayNeil Winterburn
 
Embedding Intelligence in Everyday Objects with TJBot
Embedding Intelligence in Everyday Objects with TJBotEmbedding Intelligence in Everyday Objects with TJBot
Embedding Intelligence in Everyday Objects with TJBotVictor Dibia
 
Project-make a public website server using raspberry pi
Project-make a public website server using raspberry piProject-make a public website server using raspberry pi
Project-make a public website server using raspberry piFahim Hossain
 
Motorola microprocessor
Motorola microprocessorMotorola microprocessor
Motorola microprocessorIffat Anjum
 
Reactive robotics io_t_2017
Reactive robotics io_t_2017Reactive robotics io_t_2017
Reactive robotics io_t_2017Trayan Iliev
 
Presentation on Raspberry Pi by Sazzad H. IIUC
Presentation on Raspberry Pi by Sazzad H. IIUCPresentation on Raspberry Pi by Sazzad H. IIUC
Presentation on Raspberry Pi by Sazzad H. IIUCshssn7
 
Introduction to Raspberry Pi and GPIO
Introduction to Raspberry Pi and GPIOIntroduction to Raspberry Pi and GPIO
Introduction to Raspberry Pi and GPIOKris Findlay
 
Projection Mapping with the Raspberry Pi
Projection Mapping with the Raspberry PiProjection Mapping with the Raspberry Pi
Projection Mapping with the Raspberry PiFITC
 
IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3Mohammad Qasim Malik
 
The microprocessor and it's architecture
The microprocessor and it's architectureThe microprocessor and it's architecture
The microprocessor and it's architecturesamaa ali
 
Introduction to Windows IoT via Raspberry Pi 3
Introduction to Windows IoT via Raspberry Pi 3Introduction to Windows IoT via Raspberry Pi 3
Introduction to Windows IoT via Raspberry Pi 3Lee Richardson
 

Viewers also liked (19)

Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)
 
Internet of things using Raspberry Pi
Internet of things using Raspberry PiInternet of things using Raspberry Pi
Internet of things using Raspberry Pi
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Node red workshop
Node red workshopNode red workshop
Node red workshop
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 
Coffee & Pi - Intro to Pi Workshop
Coffee & Pi - Intro to Pi WorkshopCoffee & Pi - Intro to Pi Workshop
Coffee & Pi - Intro to Pi Workshop
 
Prototype Summer School: How to make an interactive light display
Prototype Summer School: How to make an interactive light displayPrototype Summer School: How to make an interactive light display
Prototype Summer School: How to make an interactive light display
 
Embedding Intelligence in Everyday Objects with TJBot
Embedding Intelligence in Everyday Objects with TJBotEmbedding Intelligence in Everyday Objects with TJBot
Embedding Intelligence in Everyday Objects with TJBot
 
Project-make a public website server using raspberry pi
Project-make a public website server using raspberry piProject-make a public website server using raspberry pi
Project-make a public website server using raspberry pi
 
Motorola microprocessor
Motorola microprocessorMotorola microprocessor
Motorola microprocessor
 
Reactive robotics io_t_2017
Reactive robotics io_t_2017Reactive robotics io_t_2017
Reactive robotics io_t_2017
 
Presentation on Raspberry Pi by Sazzad H. IIUC
Presentation on Raspberry Pi by Sazzad H. IIUCPresentation on Raspberry Pi by Sazzad H. IIUC
Presentation on Raspberry Pi by Sazzad H. IIUC
 
SwiftyGPIO
SwiftyGPIOSwiftyGPIO
SwiftyGPIO
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Introduction to Raspberry Pi and GPIO
Introduction to Raspberry Pi and GPIOIntroduction to Raspberry Pi and GPIO
Introduction to Raspberry Pi and GPIO
 
Projection Mapping with the Raspberry Pi
Projection Mapping with the Raspberry PiProjection Mapping with the Raspberry Pi
Projection Mapping with the Raspberry Pi
 
IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3
 
The microprocessor and it's architecture
The microprocessor and it's architectureThe microprocessor and it's architecture
The microprocessor and it's architecture
 
Introduction to Windows IoT via Raspberry Pi 3
Introduction to Windows IoT via Raspberry Pi 3Introduction to Windows IoT via Raspberry Pi 3
Introduction to Windows IoT via Raspberry Pi 3
 

Similar to introduction to Raspberry pi

Introduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin ControlIntroduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin ControlPradip Bhandari
 
Up and running with Raspberry Pi
Up and running with Raspberry PiUp and running with Raspberry Pi
Up and running with Raspberry PiShahed Mehbub
 
Raspi_TOR_Access_Point_BenMoore
Raspi_TOR_Access_Point_BenMooreRaspi_TOR_Access_Point_BenMoore
Raspi_TOR_Access_Point_BenMooreBenjamin Moore
 
introduction to Raspberry pi
introduction to Raspberry piintroduction to Raspberry pi
introduction to Raspberry piluckyanks1992
 
Raspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your LibraryRaspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your LibraryBrian Pichman
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PICliff Samuels Jr.
 
Starting Raspberry Pi
Starting Raspberry PiStarting Raspberry Pi
Starting Raspberry PiLloydMoore
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introductionLotfi Messaoudi
 
Raspberry pi technical documentation
Raspberry pi technical documentationRaspberry pi technical documentation
Raspberry pi technical documentationGR Techno Solutions
 
IoT for data science Module 5 - Raspberry Pi.pptx
IoT for data science Module 5 - Raspberry Pi.pptxIoT for data science Module 5 - Raspberry Pi.pptx
IoT for data science Module 5 - Raspberry Pi.pptxMadhurimaDas52
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry PiLentin Joseph
 
Raspberry with laptop
Raspberry with laptopRaspberry with laptop
Raspberry with laptopProf Kingstan
 
Introduction to Raspberrypi
Introduction to  RaspberrypiIntroduction to  Raspberrypi
Introduction to RaspberrypiIheb Ben Salem
 
Raspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRaspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRANAALIMAJEEDRAJPUT
 
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIDevelop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIEnablex io
 
Raspberry pi intro.
Raspberry pi intro.Raspberry pi intro.
Raspberry pi intro.Saiko Saiko
 
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshRaspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshTE4P
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry piHusainBhaldar21
 
Docker for the Internet of Things (IoT): An Introduction
Docker for the Internet of Things (IoT): An IntroductionDocker for the Internet of Things (IoT): An Introduction
Docker for the Internet of Things (IoT): An Introductionmsyukor
 

Similar to introduction to Raspberry pi (20)

Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Introduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin ControlIntroduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin Control
 
Up and running with Raspberry Pi
Up and running with Raspberry PiUp and running with Raspberry Pi
Up and running with Raspberry Pi
 
Raspi_TOR_Access_Point_BenMoore
Raspi_TOR_Access_Point_BenMooreRaspi_TOR_Access_Point_BenMoore
Raspi_TOR_Access_Point_BenMoore
 
introduction to Raspberry pi
introduction to Raspberry piintroduction to Raspberry pi
introduction to Raspberry pi
 
Raspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your LibraryRaspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your Library
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 
Starting Raspberry Pi
Starting Raspberry PiStarting Raspberry Pi
Starting Raspberry Pi
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introduction
 
Raspberry pi technical documentation
Raspberry pi technical documentationRaspberry pi technical documentation
Raspberry pi technical documentation
 
IoT for data science Module 5 - Raspberry Pi.pptx
IoT for data science Module 5 - Raspberry Pi.pptxIoT for data science Module 5 - Raspberry Pi.pptx
IoT for data science Module 5 - Raspberry Pi.pptx
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry Pi
 
Raspberry with laptop
Raspberry with laptopRaspberry with laptop
Raspberry with laptop
 
Introduction to Raspberrypi
Introduction to  RaspberrypiIntroduction to  Raspberrypi
Introduction to Raspberrypi
 
Raspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRaspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software Setup
 
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIDevelop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
 
Raspberry pi intro.
Raspberry pi intro.Raspberry pi intro.
Raspberry pi intro.
 
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshRaspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry pi
 
Docker for the Internet of Things (IoT): An Introduction
Docker for the Internet of Things (IoT): An IntroductionDocker for the Internet of Things (IoT): An Introduction
Docker for the Internet of Things (IoT): An Introduction
 

Recently uploaded

Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 

introduction to Raspberry pi

  • 1. Workshop Raspberry pi Talk by : May Mohamed Ali
  • 3. ” The Raspberry Pi is a credit-card sized computer designed for kids to experiment with and learn to program and learn about embedded Linux systems. 3
  • 4. What is a Raspberry Pi? It's tempting to think of the Raspberry Pi as a microcontroller development board like Arduino, or as a laptop replacement. In fact it is more like the exposed innards of a mobile device, with lots of maker-friendly headers for the various ports and functions. 4
  • 5. What’s on the board ▹(A) Processor: a 32 bit 700 MHz SoC ▹(B) SD Card slot: Hard drive ▹(C) USB ports: USB 2.0 ▹(D) Ethernet port ▹(E) HDMI Connector ▹(F) Status LEDs ▹(G) Analog Audio Out: high impedance loads ▹(H) Composite Video: NTSC or PAL ▹(I) Power input 5
  • 6. What’s on the board ▹(A) General Purpose Input Output (GPIO) ▹(B) Display Serial Interface (DSI) connector ▹(C) Camera Serial Interface (CSI) connector ▹(D) JTAG testing header for the Broadcom chip and the LAN9512 networking chip 6
  • 7. What is needed to get it up and running ▹A power supply: microUSB adapter which provides 5 V (5,2 V) at 1 A ▹An SD Card: at least 4 GB Class 4 ▹An HDMI cable ▹Ethernet Cable: alternative is a USB WiFi adapter 7
  • 8. Operating System ▹Runs Linux as an operating system (Kernel) ▹A variety of avors or distributions of the OS Linux have evolved over the years like Ubuntu, Debian, Fedora, etc. ▹Special distributions for Raspberry Pi -Raspbian (Ocially Recommended) -Adafruit Raspberry Pi Educational Linux -Arch Linux -Xbian (XMBC media center) -QtonPi, etc … ▹A disk image is required to install the OS onto the Pi ▹Since June 2013, the NOOBS (New Out Of the Box Software) utility was developed to simplify the OS installation and recovery process 8
  • 9. Lets get started ! ▹ Format SD card (4GB+) ▹ Download Win32DiskImager ▹ Copy extracted files onto formated SD card ▹ Insert SD card into Pi ▹Connect keyboard, mouse and HDMI cable ▹ Plug in the power supply ▹The Pi will take about 5 mins to boot up 9
  • 11. Start the desktop behavior ▹Log in: Pi ▹Password: raspberry ▹Raspbian comes with the Lightweight X11 Desktop Environment (LXDE) graphical desktop environment installed. ▹Now a new version of Desktop « Pixel » 11
  • 14. Introduction ▹If you're going to get the most out of your RPi, you'll need to learn a little Linux ▹It's quite difficult to determine which commands we should learn you, because there are so much commands in the Linux world. ▹In what follows we try to give you the basics. 14
  • 15. Opening a terminal ▹There are 2 possibilities: -Using the GUI: The desktop icon -By command: Alt + F2 -> type “rxvt” -> press Enter ▹You can leave the command prompt by typing exit or crtl-d 15
  • 16. Important! ▹Once booted, be carefull. There is no button for powering off the system. ▹Do not eliminate the power when the system is running. You can damage the le system on the SD-card. ▹You can shutdown the system from the command prompt by typing : sudo shutdown -h now ▹Sudo stands for 'superuser do'. You have to be root for executing ▹some Linux commands. For instance for: ▹update the system: sudo apt-get update ▹upgrade the system: sudo apt-get upgrade ▹installing software: sudo apt-get install mysoftware ▹removing les/software: sudo apt-get remove myfile/software 16
  • 17. Part 3 Remote login over SSH 17
  • 18. Remote login over SSH ▹Sometimes it isn’t necessary or possible to connect the RPi with a display/screen. ▹Then you can login on your RPi by means of SSH: ssh pi@IpAdres ▹That’s a manner to work by commandprompt ▹Suppose that the Graphical environment crashes, you still have a possibilty to shutdown the RPi, from another pc, whitout damaging the file system 18
  • 19. Part 4 Copying Files: Local  Remote 19
  • 20. Introduction WinSCP ▹For Windows users ▹WinSCP is a free open-soure SFTP, FTP and SCP client for Microsoft Windows ▹FTP : File Transfer Protocol ▹SFTP : Secure File Transfer Protocol ▹SCP : Secure CoPy ▹It’s main function is secure file transfer between a local and remote computer 20
  • 21. Installation WinSCP ▹Take care that the SSH server is installed on your RPi: ▹sudo apt-get install openssh-server ▹Search a WinSCP download file on the web and install it ▹Open WinSCP ▹Enter your: ▹IP-address: Which you have noticed previously ▹Username: pi ▹Password: raspberry ▹Portnumber: 22 21
  • 22. Introduction SCP ▹For Linux users ▹For copying files over SSH it’s neccessary installing an SSH server on the RPi: sudo apt-get install openssh-server ▹SSH is a cryptographic network protocol for secure data communication, remote command-line login, remote command execution, and other secure network services between two networked computers that connects, via a secure channel over an insecure network, a server and a client. 22
  • 23. Introduction SCP ▹Please do note that some linux OS may come with SCP pre-installed, but the Raspbian that we were using, didn't have it. The general command to send a single file is: scp (path of file on local device) pi@192.168.3.215 (path of remote location) ▹Example : scp /pi/example.cpi@192.168.3.215 /pi/project For Many files : scp -r /pi/project pi@192.168.3.216 /pi/project 23
  • 24. Part 5 VNCServer - VNCViewer 24
  • 25. Introduction ▹The RPi is an very interesting system, but there is a lot of extra hardware required. Like a keyboard, mouse, screen, UTP cable, power cable, etc. ▹You can eliminate a lot of hardware after you’re RPi is configured the first time ▹There is a possibility to login on your RPi from another computer. Therefore you must install a VNCserver on your Pi and a VNCviewer on your computer. 25
  • 26. Introduction ▹VNC → Virtual Network Computing ▹It’s a graphical desktop sharing system ▹Another computer can be managed remotely ▹It transmits keyboard and mouse events from an computer to another ▹The graphical screen updates back in the other direction, over a computernetwork 26
  • 27. Installation VNCserver ▹Install the VNCserver on your RPi, type following command: sudo apt-get install tightvncserver ▹Once installed, take care that the VNCserver will automatically startup everytime the RPi will be booted. ▹Start the VNCserver a first time: sudo tightvncserver ▹VNC will ask once only after a password: raspberry ▹On the question ▹’would you like to enter a view-only password (y/n)?’ Answer no (n) 27
  • 28. Installation VNCviewer ▹Install VNCviewer on your Windows computer ▹Search a download file on the web and install it ▹Install VNCviewer on your Linux computer ▹sudo apt-get install xtightvncviewer ▹Open xtightvncviewer: xtightvncviewer ▹A popup window will appear ▹Enter the IP-address of your RPi followed by the portnumber (5901), ex.: 12.123.12.12:5901 ▹A new popup window will emerg for entering your password ▹Test it. 28
  • 29. 29 THANKS! Any questions? You can find me at ▹ @DaliMay28 ▹ May.mohamedali28@gmail. com ▹ Nodeit.azurewebsites.net