introduction to the raspberry pi ® saman amighi 10/2013 ® raspberry pi foundation

16
Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

Upload: josephine-page

Post on 21-Dec-2015

255 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

Introduction to the

Raspberry Pi ®Saman Amighi

10/2013

® Raspberry Pi Foundation

Page 2: 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

Page 3: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

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!

Page 4: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

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

Page 5: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

Raspberry PiGeneral Purpose Input

Output (GPIO)Key Pins

1 – 3.3 V2 – 5 V6 – Ground7 – GPIO4*13 – GPIO21/27

Page 6: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

Raspberry PiFirst steps

Purchase Raspberry Pi

Purchase Components

Create SD card

Boot up initial Image

Login

Page 7: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

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

Page 8: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

Initial Screen

Page 9: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

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

Page 10: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

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

Page 11: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

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

Page 12: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

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

Page 13: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

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

Page 14: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

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 !!!

Page 15: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

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

Page 16: Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation

Q&A

Raspberry Pi general question?

Linux or Raspbian questions?

GPIO questions?

Electronics questions?