Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation
Dec 21, 2015
Introduction to the
Raspberry Pi ®Saman Amighi
10/2013
® Raspberry Pi Foundation
Raspberry PiRaspberry Pi
Created by the Raspberry Pi Foundation
Built to be an educational tool
Credit Card size computer
Linux Based
Can be powered up with existing power supplies or batteries
Raspberry Pi Function
It canBe used as programming tool
Drive electronic components
Be a 24x7 Linux system
Be networked with most any device (and to each other)
It can’tRun windows as is
With some handy work, it can run Windows 95!
Raspberry Pi
Key PartsPorts
• USB (1/2)• Keyboard• Mouse
• Power (microUSB)
• SD Card• HDMI or TV
Video • Network/LAN
(100)• Other
• GPIO pins• Audio Jack• Status
LEDs
Raspberry PiGeneral Purpose Input
Output (GPIO)Key Pins
1 – 3.3 V2 – 5 V6 – Ground7 – GPIO4*13 – GPIO21/27
Raspberry PiFirst steps
Purchase Raspberry Pi
Purchase Components
Create SD card
Boot up initial Image
Login
Configurationbootup
Quick-start-guide informationCreate SD card image
AssembleDo not power up yet!!!
Insert SD Card
Connect HDMI or TV OUT
Connect Keyboard/Mouse
Connect Ethernet/Network
Ensure Monitor and Network are powered up
Connect power to the Raspberry
Login – pi/raspberry
Initial Screen
Next StepsDecide on a
projectWhich project do you want to work on?Electronics – 3 hours - $50
Media Center – 3-5 hours - $30
Linux box with 100% up time – 1 hours - $0
Printer Server (CUPS) – 1 hours - $0
NAS – 3 hours - $100
Laptop (Atrix Lapdock) – 3 hours - $100
Rasberry PIInitial steps as a native Linux box
Raspi-configSet date, time, timezone
change local settings for keyboard and OS
Set SSH on (9/25 version has it on)
Change pi password
apt-get update
apt-get upgrade
apt-get install xrdp
Next StepsLinux Box
Initial tasks (cont’d)Enable wireless if using a dongle (see next slide)
Ifconfig –a (ensure you have network IP Address)
Ex: 10.1.1.2
SSH from a windows or mac system Windows – download and use putty 10.1.1.2
Mac – open terminal – ssh [email protected]
If rdpx was installed – use RDP and IP Address
Windows – enable windows Remote Desktop
Mac – install Microsoft Remote Desktop
Class Activity – Session 1
(30 minutes)Track I – Raspberry Pi IntroUse one of the Raspi laptops or your own machine to build the initial SD card
See instruction sheet next to Raspi laptops
Identify the ports on the Raspberry Pi and plug in the components
Power up and observe
Track II – Linux Login to the console
Or login remotely
Track III – GPIO IntroLCD display power up and review
Class Activity Session 2 (30
minutes)Track I – Raspberry Pi
Raspi-config to set the local time
Identify components using Linux commands
Track II – LinuxClone SD card and test
Track III – GPIOConnect two Pis via Console cable
Wire the LCD and get it operational
Next Steps At home
Pick a projectSamba (network file servers); Media Server; simple GPIO LED project (see sister Arduino)
Purchase the Raspberry Pi; Purchase necessary components
Do research and bookmark specific parts
Packages (software) needed
Components, wiring diagrams
Review posts
Complete the project
Take pictures so you remember how it worked !!!
Recommendations
Have multiple components handy and if possible multiple Pis
Test an image and save it often (rpi-clone)
Read the forums before purchasing new boards, components
Email me with questions or pictures of completed projects
Contact me with interest in new projects
Using meetupl.com for this event
Q&A
Raspberry Pi general question?
Linux or Raspbian questions?
GPIO questions?
Electronics questions?