Raspberry Pi: Getting Started and Creative Applications Presented - - PowerPoint PPT Presentation

raspberry pi
SMART_READER_LITE
LIVE PREVIEW

Raspberry Pi: Getting Started and Creative Applications Presented - - PowerPoint PPT Presentation

Raspberry Pi: Getting Started and Creative Applications Presented by Ruth Suehle Tom Callaway @suehle @spotrh Meet the Pi The history of the RasPi Early 2006 concept based on Atmel ATmega644 Designed for educational use Intended for


slide-1
SLIDE 1

Getting Started and Creative Applications

Ruth Suehle Tom Callaway

@suehle @spotrh Presented by

Raspberry Pi:

slide-2
SLIDE 2

Meet the Pi

slide-3
SLIDE 3

The history of the RasPi

Early 2006 concept based on Atmel ATmega644 Designed for educational use Intended for Python (but of course is friendly to all)

slide-4
SLIDE 4

Pop quiz!

slide-5
SLIDE 5
slide-6
SLIDE 6
  • Mmmm. Pi.
slide-7
SLIDE 7

Slicing up the Pi

by Paul Beech

slide-8
SLIDE 8

Getting it all together

Raspberry Pi $35 SD card $10 Display $100 Power $5 Keyboard $20 Mouse $10 __________

$180+

slide-9
SLIDE 9

Let's go shopping!

Element14 (newark.com) Adafruit.com MakerShed.com Sparkfun.com (for parts) Amazon And in a pinch... Radio Shack

slide-10
SLIDE 10

Where's my camera?

slide-11
SLIDE 11

Getting started

  • 1. Get the right SD card
  • 2. Get the right distro
  • 3. Don't break off C6
  • 4. ???
  • 5. Profit!
slide-12
SLIDE 12
  • 1. Get the right SD card

Most quality cards are OK Micro with adapter? elinux.org/RPi_SD_cards

slide-13
SLIDE 13

Display options

HDMI 1.3 and 1.4 supported; audio and video

  • utput, does not support HDMI input

PAL and NTSC supported through RCA with audio through 3.5 mm to red/white RCA connector DSI No VGA

slide-14
SLIDE 14

Touchscreens

Ooh, look! DSI connector! Mimo 720 USB DisplayLink Framebuffer Driver CONFIG_FB_UDL/udlfb.ko USB DisplayLink Kernel Mode Setting (KMS) driver CONFIG_DRM_UDL/udl.ko Won't work with OpenELEC without rebuilding the kernel

slide-15
SLIDE 15

Couture kernel

rpi-3.2.27 rpi-3.6.y

$ git clone git://github.com/raspberrypi/linux.git $ tar xvfz rpi-3.6.y .tar.gz $ make mrproper

slide-16
SLIDE 16
slide-17
SLIDE 17
  • 2. Get the right distro

Pidora (of course) Raspbian

Moebius

RaspBMC Occidentalis

slide-18
SLIDE 18

2.14 Or get brave

Android Arch ARM AROS Chromium OS Debian Squeeze Firefox OS FreeBSD Gentoo Haiku IPFire NetBSD PiBang Plan 9 from Bell Labs QtonPi RISC Slackware ARM Squeezed ARM Puppy WebOS

slide-19
SLIDE 19

Pidora

Graphical firstboot configuration (with additional modules specifically made for the Raspberry Pi) Compact initial image size (for fast downloads) and auto-resize (for max storage afterwards) Auto swap creation available to allow for larger memory usage C, Python, & Perl included in the SD card image Includes libraries capable of supporting external hardware such as motors and robotics (via GPIO, I2C, SPI) For graphical operation, Gedit text editor can be used with plugins (python console, file manager, syntax highlighting) to serve as a mini-graphical IDE

slide-20
SLIDE 20

Bootloader! BerryBoot

slide-21
SLIDE 21

Installing it

Fedora ARM installer

fedoraproject.org/wiki/Fedora_ARM_Installer yum install fedora-arm-installer

slide-22
SLIDE 22

Installing it

Fedora ARM installer

fedoraproject.org/wiki/Fedora_ARM_Installer yum install fedora-arm-installer

On a Mac, Rpi-sd card builder or RasPiWrite

Google “Rpi-sd builder” github.com/exaviorn/RasPiWrite

BerryBoot

slide-23
SLIDE 23

1 + 2 – worrying = Buy pre-loaded

slide-24
SLIDE 24

Power

  • 5V. 5V. 5V.

Why you shouldn't use iPhones Your laptop's USB port is not the droid you're looking for Put a power brick on your shopping list Did I mention C6?

slide-25
SLIDE 25

Write down these words

  • 220 uF 16v electrolytic capacitor
slide-26
SLIDE 26

Decode the LEDs

D5 OK (Rev 1.0) ACT (Rev 2.0) Green SD card access, connected to GPIO 16 D6 PWR Red 3.3 V Power, connected to 3V3 D7 FDX Green Full Duplex LAN D8 LNK Green Link/Activity LAN D9 10M (Rev 1.0) 100 (Rev 2.0) Yellow 10/100Mbit LAN

slide-27
SLIDE 27

Why didn't it start?

Red light off = No power Red light on, green light off = The Pi can't read the image on the card. The voltage is below 5V. Green light blinks 3 times = start.elf was not found Green light blinks 4 times = start.elf did not launch Green light blinks 7 times = kernel.img was not found

slide-28
SLIDE 28

GPIO

http://elinux.org/RPi_Low-level_peripherals

slide-29
SLIDE 29

Raspberry Leaf

http://www.doctormonk.com/2013/02/raspberry-pi-and-breadboard- raspberry.html

slide-30
SLIDE 30

Building a cross-compiler

You could use an existing one... or you could DIY with crosstool-ng (crosstool-ng.org) Get kernel source: github.com/raspberrypi/linux

slide-31
SLIDE 31

Blah blah blah. Stop saying words and show us pretty pictures

  • f cool things

people made.

slide-32
SLIDE 32

Flickr: ferret boy

Not bigger on the inside.

slide-33
SLIDE 33

Case closed.

Buy one 3D print one Make one

slide-34
SLIDE 34

Lego my Pi-go...?

slide-35
SLIDE 35

Or just buy it.

http://www.thedailybrick.co.uk/lego-sets/custom/lego-custom-raspberry-pi-case.html

slide-36
SLIDE 36

PiBoy

slide-37
SLIDE 37

PIP-Boy 3000

slide-38
SLIDE 38

RIP Pi-PIP-Boy

http://thegrieve.co.uk/blog/2012/11/the-raspberry-pipboy/

slide-39
SLIDE 39

Emulating your childhood

slide-40
SLIDE 40

Scratch an itch

slide-41
SLIDE 41

store.raspberrypi.com

slide-42
SLIDE 42

Pi, meet ET. ET, meet Pi.

SETI@home

Not the screensaver of your (my) college years Berkeley Open Infrastructure for Network Computing (BOINC) $ su -c 'yum install boinc-manager boinc- client' $ systemctl enable boinc-client.service

slide-43
SLIDE 43
slide-44
SLIDE 44

PiGate

stargateproject.wordpress.com

slide-45
SLIDE 45

PiFM

Go to bit.ly/TMgytl from the Pi (and download to home folder) sudo python >> import PiFM >> PiFm.play_sound(“sound.wav”) Tune a nearby radio to 103.3

slide-46
SLIDE 46

PiFM

System Clock = 500Mhz Divider Register = 5.000 FM radio clock frequency = 500/5 = 100Mhz

slide-47
SLIDE 47

Tux Photobooth

slide-48
SLIDE 48

Tux Photobooth

slide-49
SLIDE 49

Aren't you a little small for an HTPC?

RaspBMC/XBMC

1080p Share over NFS, SMB, FTP, HTTP, USB, XYZ, and

  • ther acronyms

Install to SD, USB, or run off NFS Embedded Samba TVHeadend FTP SSH

slide-50
SLIDE 50

Can you do it?

slide-51
SLIDE 51

Android on your Pi

+

http://androidpi.wikia.com/wiki/Android_Pi_Wiki

slide-52
SLIDE 52

Ice cream with your Pi

slide-53
SLIDE 53

Ice cream with your Pi

slide-54
SLIDE 54

Best Valentine EVER

slide-55
SLIDE 55

SpritesMods.com

slide-56
SLIDE 56

FishPi.org

slide-57
SLIDE 57

www.instructables.com/id/Coffee-Table-Pi

slide-58
SLIDE 58

Resources

learn.adafruit.com elinux.org instructables.com Beginner's Guide to Raspberry Pi Raspberry Pi Hacks Contact:

@suehle | ruth@redhat.com @spotrh | spot@fedoraproject.org