RaspberryPi Outline Introduction to Raspberry Pi Python - - PowerPoint PPT Presentation

raspberrypi outline
SMART_READER_LITE
LIVE PREVIEW

RaspberryPi Outline Introduction to Raspberry Pi Python - - PowerPoint PPT Presentation

RaspberryPi Outline Introduction to Raspberry Pi Python Electronics Linux What is a Raspberry Pi? University of Cambridges Computer Laboratory Decline in skill level Designed for education A credit card sized PC


slide-1
SLIDE 1

RaspberryPi

slide-2
SLIDE 2

Outline

  • Introduction to Raspberry Pi
  • Python
  • Electronics
  • Linux
slide-3
SLIDE 3

What is a Raspberry Pi?

  • University of Cambridge’s Computer Laboratory

– Decline in skill level – Designed for education

  • A credit card sized PC
  • Plugs into a TV or monitor
  • Inexpensive(ish) ~$35 each
  • Capability:

– Programming – Electronic Projects – Office – Play HD Videos

slide-4
SLIDE 4

Variations of Raspberry Pi

  • Hardware platform

– Raspberry Pi Zero ($5) – Raspberry Pi – Raspberry Pi 2 – Raspberry Pi 3 (with Wifi + Bluetooth)

  • Software platform

– Noobs – Raspbian – 3rd OS – https://www.raspberrypi.org/downloads/

slide-5
SLIDE 5

Kit Components

  • Essential:

– Raspberry Pi board – Prepared Operating System SD Card – USB keyboard – Display (with HDMI, DVI, or Composite input) – Power Supply

  • Highly suggested extras include:

– USB mouse – Internet connectivity - LAN cable – Powered USB Hub – Case

slide-6
SLIDE 6

Programming Languages

  • The Raspberry Pi Foundation recommends Python
  • Any language which will compile for ARMv6 can be

used

  • Installed by default on the Raspberry Pi:

– C – C++ – Java – Scratch – Ruby

slide-7
SLIDE 7

Challenges and Opportunities

  • New operating system: linux
  • Open-source, all almost tools/software

are free

  • Rich resources on the web due to its

popularity

  • Resources link: www.raspberrypicamp.org
  • Pi Educational Document (resources

above link)

  • Pinet: Centralised user accounts and file

storage system for a Raspberry Pi

  • classroom. http://pinet.org.uk/
slide-8
SLIDE 8

Linux

  • Interesting, powerful
  • Variations (Ubuntu, debian, feroda,

redhat)

  • Command line
  • Raspberry Pi: Raspian (Debian-based)
  • Pinet: Ubuntu server + Raspberry Pis
  • Linux: robust, secure, easy to use,

powerful

slide-9
SLIDE 9

Raspberry Pis in Primary Ed.

http://www.youtube.com/watch?v=KdTwQXre1DU

slide-10
SLIDE 10

SETUP

slide-11
SLIDE 11
slide-12
SLIDE 12

Power

5v micro USB connector (Similar to the one on a lot of mobile phones!)

slide-13
SLIDE 13

3.5mm Audio Standard headphone socket RCA Video (works with most

  • lder TVs)

HDMI Audio & Video (works with modern TVs and DVI monitors)

A/V (Audio/Video)

slide-14
SLIDE 14

GPIO (General Purpose Input & Output) 10/100Mb Ethernet 2 x USB 2.0 ports

Connectivity

slide-15
SLIDE 15

DSI (display interface) SOC (System On a Chip) Broadcom BCM2835 700Mhz

Internals

LAN Controller CSI (camera interface)

slide-16
SLIDE 16

SD Card Slot (supports SD cards up to 32GB)

Storage

slide-17
SLIDE 17

10 USES FOR A RASPBERRY PI

slide-18
SLIDE 18

Challenges and Opportunities

  • New operating system: linux
  • Open-source, all almost tools/software

are free

  • Rich resources on the web due to its

popularity

  • Resources link: www.raspberrypicamp.org
  • Pi Educational Document (resources

above link)

  • Pinet: Centralised user accounts and file

storage system for a Raspberry Pi

  • classroom. http://pinet.org.uk/
slide-19
SLIDE 19

10 Office

1 2 3 4 5 6 7 8 9

slide-20
SLIDE 20

1 2 3 4 5 6 7 8 9 10

Office

slide-21
SLIDE 21

9 Programming

1 2 3 4 5 6 7 8 10

slide-22
SLIDE 22

1 2 3 4 5 6 7 8 9 10

Programming

slide-23
SLIDE 23

Operating System

  • Linux on a bootable SD card

–Fedora –Debian –ArchLinux

slide-24
SLIDE 24

Programming

  • By default, supporting Python as

the educational language.

  • Any language which will compile

for ARMv6 can be used with the Raspberry Pi, though; so you’re not limited to using Python.

  • For primary age SCRATCH game

maker is bundled

slide-25
SLIDE 25

Scratch

scratch is free from MIT .. thanks MIT !

slide-26
SLIDE 26

Scratch

slide-27
SLIDE 27

Python Code

http://teampython.wordpress.com/category/pi

slide-28
SLIDE 28

What kind of projects ?

  • Video DJ Mixer integrated Media player

for your TV to fight the rampant Lego Robot Monster who is detected by your Home monitoring webcam network which reports also from the Weather Station that uses the Car Super Bramble Computer to tell the School Notice-board that the Solar powered Wireless Rocket Widget should be sent back to earth ...

slide-29
SLIDE 29

Tinkering

  • GPIO pins if you’re after an

interesting electronics project.

  • Gertboard - A GPIO expansion board

from the foundation for electronics projects

  • USB Devices / Ethernet / Hubs / AV out
  • Can be powered by 4 x AA batteries ...
slide-30
SLIDE 30

8 Game Console

1 2 3 4 5 6 7 9 10

slide-31
SLIDE 31

1 2 3 4 5 6 7 8 9 10

Game Console

slide-32
SLIDE 32

7 Web Server

1 2 3 4 5 6 8 9 10

slide-33
SLIDE 33

1 2 3 4 5 6 7 8 9 10

Web Server

slide-34
SLIDE 34

6 Tor Router

1 2 3 4 5 7 8 9 10

slide-35
SLIDE 35

Tor Router

1 2 3 4 5 6 7 8 9 10

slide-36
SLIDE 36

5 HTPC

1 2 3 4 6 7 8 9 10

slide-37
SLIDE 37

1 2 3 4 5 6 7 8 9 10

HTPC

slide-38
SLIDE 38

4 Bird House

1 2 3 5 6 7 8 9 10

slide-39
SLIDE 39

Bird House

1 2 3 4 5 6 7 8 9 10

slide-40
SLIDE 40

3 Super Computer

1 2 4 5 6 7 8 9 10

slide-41
SLIDE 41

1 2 3 4 5 6 7 8 9 10

Supercomputer

slide-42
SLIDE 42

2

1 3 4 5 6 7 8 9 10

Clock

slide-43
SLIDE 43

1 2 3 4 5 6 7 8 9 10

Clock

slide-44
SLIDE 44

1

2 3 4 5 6 7 8 9 10

PiBot!

slide-45
SLIDE 45

PiBot!

1 2 3 4 5 6 7 8 9 10

slide-46
SLIDE 46

Credits: Many of the slides were borrowed from the RaspberryPi Foundation, Ethan Sprissler @ UAlbany and from http://damnfineraspberrypi.com/