SlideShare a Scribd company logo
1 of 14
Download to read offline
Intro	
  to	
  Raspberry	
  Pi	
  
A	
  Southwest	
  Florida	
  Hackerspace	
  
Workshop	
  
Presented	
  by:	
  
Russell	
  Benzing	
  &	
  Eric	
  Schiffli	
  
Raspberry Pi Course for Beginners
Step-by-Step to your first Raspberry Pi Project - compatible with
Raspberry Pi 4, 3, 2 and Zero models
Click here----
WHY ARE YOU HERE?
§  Enjoy	
  “Enkering”	
  with	
  technology.	
  
	
  
§  Do	
  not	
  mind	
  wriEng	
  a	
  liJle	
  bit	
  of	
  code.	
  
	
  
§  Have	
  experience	
  in	
  Linux,	
  Robots,	
  Sensors,	
  etc.	
  
	
  
§  Recently	
  announced	
  you	
  have	
  an	
  addicEon	
  to	
  
raspberry	
  pie.	
  
YOU:	
  
WHAT WILL I LEARN?
§  What	
  a	
  Raspberry	
  Pi	
  is	
  and	
  does.	
  
	
  
§  How	
  to	
  setup	
  the	
  Pi	
  for	
  the	
  first	
  Eme.	
  
	
  
§  Basic	
  Commands	
  and	
  FamiliarizaEon.	
  
	
  
§  Setup	
  your	
  first	
  sensor	
  and	
  LED.	
  
	
  
§  Pi	
  Resources	
  &	
  Tutorials	
  
WHAT IS A RASPBERRY PI?
A	
  low	
  cost,	
  credit-­‐card	
  sized	
  computer	
  
GPIO	
  40	
  Pin	
  
4	
  USB	
  Ports	
  
RJ45	
  Ethernet	
  
3.5mm	
  Audio	
  
Pi	
  camera	
  
LCD	
  Display	
  
HDMI	
  
Power	
  
THE HISTORY OF PI
§  Early	
  concepts	
  started	
  in	
  2006.	
  
	
  
§  Based	
  on	
  Atmel	
  ATmega644.	
  
	
  
§  Officially	
  launched	
  in	
  2012.	
  
	
  
§  Inspired	
  by	
  Acorn’s	
  BBC	
  Micro	
  from	
  1981.	
  
	
  
§  Original	
  concept	
  was	
  to	
  inspire	
  and	
  educate	
  
children	
  in	
  computers.	
  
GETTING STARTED - 
 REQUIREMENTS	
  
1. Raspberry	
  Pi	
  B+	
  or	
  newer.	
  
	
  
2. USB	
  wifi	
  adapter.	
  
	
  
3. Keyboard	
  and/or	
  mouse.	
  
	
  
4. Laptop	
  or	
  HDMI	
  display	
  monitor.	
  
	
  
5. SD	
  Card	
  (8	
  GB+	
  recommended).	
  
	
  
6. SD	
  Card	
  Reader.	
  
1.	
  Download	
  NOOBS	
  –	
  visit	
  “www.raspberrypi.org”	
  clicking	
  on	
  downloads.	
  
	
  
2.	
  Download	
  SD	
  FormaJer	
  –	
  visit	
  “www.sdcard.org”	
  clicking	
  on	
  downloads.	
  
GETTING STARTED - 
 DOWNLOAD	
  
GETTING STARTED - 
 EXTRACT	
  &	
  COPY	
  
1.  Format	
  your	
  SD	
  Card	
  using	
  the	
  SD	
  FormaJer	
  –	
  More	
  instrucEons	
  found	
  online.	
  
	
  
2.  Extract	
  NOOBS	
  to	
  a	
  folder	
  and	
  drag	
  and	
  drop	
  onto	
  your	
  newly	
  formaJed	
  SD	
  
Card.	
  
GETTING STARTED - 
 BOOTUP	
  &	
  INSTALL	
  
1.  Once	
  your	
  Raspberry	
  Pi	
  is	
  powered	
  and	
  booEng	
  up	
  it	
  will	
  ask	
  you	
  to	
  install	
  an	
  
OperaEng	
  System.	
  
	
  
2.  Check	
  the	
  box	
  for	
  Raspbian	
  and	
  click	
  Install.	
  This	
  can	
  take	
  quite	
  a	
  bit	
  of	
  Eme.	
  
GETTING STARTED - 
 CONFIGURATION	
  
1.  When	
  booEng	
  up	
  for	
  the	
  first	
  Eme	
  you	
  will	
  get	
  the	
  blue	
  “raspi-­‐config”	
  screen.	
  
Here	
  you	
  can	
  configure	
  your	
  Pi	
  with	
  language	
  and	
  keyboard	
  seongs	
  for	
  your	
  
desired	
  region	
  of	
  the	
  world.	
  Use	
  tab	
  and	
  arrow	
  keys	
  to	
  browse.	
  
	
  	
  
2.  Once	
  configured	
  to	
  your	
  liking	
  go	
  to	
  <Finish>	
  and	
  hit	
  enter.	
  This	
  will	
  take	
  you	
  to	
  
the	
  command	
  prompt	
  where	
  you	
  will	
  need	
  to	
  type	
  in	
  “startx”	
  to	
  start	
  up	
  the	
  
GUI	
  (Graphical	
  User	
  Interface)	
  
BASIC PI COMMAND LINE - 1 
rasp-­‐config	
  	
  	
  
Change	
  your	
  pi	
  configuraEon	
  seongs.	
  	
  
	
  
startx	
  	
  
Start	
  the	
  GUI	
  (Graphical	
  User	
  Interface)	
  
	
  
ifconfig	
  
Get	
  the	
  details	
  of	
  your	
  Ethernet	
  or	
  
wireless	
  network	
  adapter.	
  
	
  
rpi-­‐update	
  
Updates	
  your	
  Raspberry	
  Pi	
  firmware.	
  
	
  
lsusb	
  
Shows	
  a	
  list	
  of	
  usb	
  devices.	
  
	
  
apt-­‐get	
  update	
  &	
  apt-­‐get	
  upgrade	
  
Update	
  or	
  upgrade	
  your	
  pi	
  sorware	
  
Useful	
  commands	
  to	
  run	
  from	
  a	
  terminal	
  or	
  command	
  line.	
  
ssh	
  
Connect	
  your	
  pi	
  to	
  other	
  computers.	
  
	
  
sudo	
  	
  
Run	
  commands	
  as	
  super	
  user.	
  	
  
	
  
shutdown	
  
This	
  will	
  shutdown	
  your	
  pi.	
  
	
  
nano	
  
This	
  is	
  your	
  text	
  editor	
  for	
  changing	
  or	
  
adding	
  files.	
  Save,	
  edit,	
  create.	
  
	
  
cat	
  
Read	
  out	
  files	
  at	
  the	
  command	
  line.	
  
	
  
passwd	
  
Change	
  your	
  user	
  password.	
  
BASIC PI COMMAND LINE - 2 
ls	
  
List	
  out	
  the	
  current	
  directory	
  files.	
  
	
  
cd	
  
Go	
  to	
  directory	
  or	
  folder.	
  
	
  
find	
  
Searches	
  whole	
  system	
  for	
  files	
  or	
  
directories.	
  
	
  
clear	
  
Clears	
  the	
  terminal	
  screen.	
  
	
  
mv	
  
Move	
  files	
  or	
  folders.	
  
	
  
rm	
  &	
  rmdir	
  
Remove	
  files	
  and	
  remove	
  directories.	
  
Useful	
  commands	
  to	
  run	
  from	
  a	
  terminal	
  or	
  command	
  line.	
  
touch	
  
Create	
  a	
  blank	
  file.	
  
	
  
mkdir	
  
Create	
  a	
  directory.	
  
	
  
ping	
  
Test	
  connecEvity	
  between	
  two	
  devices.	
  
	
  
df	
  -­‐h	
  
Shows	
  disk	
  space.	
  
	
  
iwconfig	
  
Wireless	
  configuraEon	
  tool.	
  
	
  
cp	
  
Copy	
  files	
  and	
  folders.	
  
ADDING OTHER FEATURES
WIFI	
  ConfiguraEon	
  (GUI)	
  
1.	
  Launch	
  “Wifi	
  Config”	
  from	
  the	
  desktop.	
  
2.	
  Click	
  “Scan”	
  
3.	
  Double	
  click	
  your	
  desired	
  network.	
  
4.	
  In	
  “PSK”	
  field	
  enter	
  your	
  wifi	
  password.	
  
5.	
  When	
  done	
  click	
  “Add”	
  and	
  it	
  will	
  connect.	
  
SSH	
  ConfiguraEon	
  (command	
  line)	
  
1.	
  Run	
  “sudo	
  apt-­‐get	
  install	
  ssh”	
  in	
  command	
  line.	
  
2.	
  Run	
  “sudo	
  /etc/init.d/ssh/	
  start”	
  to	
  start	
  ssh.	
  
3.	
  To	
  have	
  SSH	
  start	
  always	
  at	
  boot,	
  run:	
  
	
  	
  	
  	
  “sudo	
  update-­‐rc.d	
  ssh	
  defaults”	
  
4.	
  Now	
  reboot:	
  “sudo	
  reboot”	
  
5.	
  You	
  should	
  now	
  be	
  able	
  to	
  connect	
  SSH	
  to	
  your	
  
	
  	
  	
  	
  pi	
  via	
  the	
  IP	
  Address	
  using	
  PuTTy	
  or	
  similar	
  SSH	
  client.	
  
CONGRATULATIONS!
Take	
  this	
  Eme	
  to	
  celebrate	
  and	
  enjoy	
  some	
  Pi	
  before	
  we	
  go	
  to	
  the	
  next	
  level.	
  	
  
Your	
  on	
  your	
  way	
  to	
  being	
  a	
  Pi	
  guru.	
  
What’s	
  Next?	
  

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Introduction to Raspberry Pi.pdf

  • 1. Intro  to  Raspberry  Pi   A  Southwest  Florida  Hackerspace   Workshop   Presented  by:   Russell  Benzing  &  Eric  Schiffli   Raspberry Pi Course for Beginners Step-by-Step to your first Raspberry Pi Project - compatible with Raspberry Pi 4, 3, 2 and Zero models Click here----
  • 2. WHY ARE YOU HERE? §  Enjoy  “Enkering”  with  technology.     §  Do  not  mind  wriEng  a  liJle  bit  of  code.     §  Have  experience  in  Linux,  Robots,  Sensors,  etc.     §  Recently  announced  you  have  an  addicEon  to   raspberry  pie.   YOU:  
  • 3. WHAT WILL I LEARN? §  What  a  Raspberry  Pi  is  and  does.     §  How  to  setup  the  Pi  for  the  first  Eme.     §  Basic  Commands  and  FamiliarizaEon.     §  Setup  your  first  sensor  and  LED.     §  Pi  Resources  &  Tutorials  
  • 4. WHAT IS A RASPBERRY PI? A  low  cost,  credit-­‐card  sized  computer   GPIO  40  Pin   4  USB  Ports   RJ45  Ethernet   3.5mm  Audio   Pi  camera   LCD  Display   HDMI   Power  
  • 5. THE HISTORY OF PI §  Early  concepts  started  in  2006.     §  Based  on  Atmel  ATmega644.     §  Officially  launched  in  2012.     §  Inspired  by  Acorn’s  BBC  Micro  from  1981.     §  Original  concept  was  to  inspire  and  educate   children  in  computers.  
  • 6. GETTING STARTED - REQUIREMENTS   1. Raspberry  Pi  B+  or  newer.     2. USB  wifi  adapter.     3. Keyboard  and/or  mouse.     4. Laptop  or  HDMI  display  monitor.     5. SD  Card  (8  GB+  recommended).     6. SD  Card  Reader.  
  • 7. 1.  Download  NOOBS  –  visit  “www.raspberrypi.org”  clicking  on  downloads.     2.  Download  SD  FormaJer  –  visit  “www.sdcard.org”  clicking  on  downloads.   GETTING STARTED - DOWNLOAD  
  • 8. GETTING STARTED - EXTRACT  &  COPY   1.  Format  your  SD  Card  using  the  SD  FormaJer  –  More  instrucEons  found  online.     2.  Extract  NOOBS  to  a  folder  and  drag  and  drop  onto  your  newly  formaJed  SD   Card.  
  • 9. GETTING STARTED - BOOTUP  &  INSTALL   1.  Once  your  Raspberry  Pi  is  powered  and  booEng  up  it  will  ask  you  to  install  an   OperaEng  System.     2.  Check  the  box  for  Raspbian  and  click  Install.  This  can  take  quite  a  bit  of  Eme.  
  • 10. GETTING STARTED - CONFIGURATION   1.  When  booEng  up  for  the  first  Eme  you  will  get  the  blue  “raspi-­‐config”  screen.   Here  you  can  configure  your  Pi  with  language  and  keyboard  seongs  for  your   desired  region  of  the  world.  Use  tab  and  arrow  keys  to  browse.       2.  Once  configured  to  your  liking  go  to  <Finish>  and  hit  enter.  This  will  take  you  to   the  command  prompt  where  you  will  need  to  type  in  “startx”  to  start  up  the   GUI  (Graphical  User  Interface)  
  • 11. BASIC PI COMMAND LINE - 1 rasp-­‐config       Change  your  pi  configuraEon  seongs.       startx     Start  the  GUI  (Graphical  User  Interface)     ifconfig   Get  the  details  of  your  Ethernet  or   wireless  network  adapter.     rpi-­‐update   Updates  your  Raspberry  Pi  firmware.     lsusb   Shows  a  list  of  usb  devices.     apt-­‐get  update  &  apt-­‐get  upgrade   Update  or  upgrade  your  pi  sorware   Useful  commands  to  run  from  a  terminal  or  command  line.   ssh   Connect  your  pi  to  other  computers.     sudo     Run  commands  as  super  user.       shutdown   This  will  shutdown  your  pi.     nano   This  is  your  text  editor  for  changing  or   adding  files.  Save,  edit,  create.     cat   Read  out  files  at  the  command  line.     passwd   Change  your  user  password.  
  • 12. BASIC PI COMMAND LINE - 2 ls   List  out  the  current  directory  files.     cd   Go  to  directory  or  folder.     find   Searches  whole  system  for  files  or   directories.     clear   Clears  the  terminal  screen.     mv   Move  files  or  folders.     rm  &  rmdir   Remove  files  and  remove  directories.   Useful  commands  to  run  from  a  terminal  or  command  line.   touch   Create  a  blank  file.     mkdir   Create  a  directory.     ping   Test  connecEvity  between  two  devices.     df  -­‐h   Shows  disk  space.     iwconfig   Wireless  configuraEon  tool.     cp   Copy  files  and  folders.  
  • 13. ADDING OTHER FEATURES WIFI  ConfiguraEon  (GUI)   1.  Launch  “Wifi  Config”  from  the  desktop.   2.  Click  “Scan”   3.  Double  click  your  desired  network.   4.  In  “PSK”  field  enter  your  wifi  password.   5.  When  done  click  “Add”  and  it  will  connect.   SSH  ConfiguraEon  (command  line)   1.  Run  “sudo  apt-­‐get  install  ssh”  in  command  line.   2.  Run  “sudo  /etc/init.d/ssh/  start”  to  start  ssh.   3.  To  have  SSH  start  always  at  boot,  run:          “sudo  update-­‐rc.d  ssh  defaults”   4.  Now  reboot:  “sudo  reboot”   5.  You  should  now  be  able  to  connect  SSH  to  your          pi  via  the  IP  Address  using  PuTTy  or  similar  SSH  client.  
  • 14. CONGRATULATIONS! Take  this  Eme  to  celebrate  and  enjoy  some  Pi  before  we  go  to  the  next  level.     Your  on  your  way  to  being  a  Pi  guru.   What’s  Next?