57
Take a look at the Raspberry Pi Ruth Suehle @suehle Presented by Pi On Your Face

Pi On Your Face - SCALE...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

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Pi On Your Face - SCALE...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

Take a look at the Raspberry Pi

Ruth Suehle@suehle

Presented by

Pi On Your Face

Page 2: Pi On Your Face - SCALE...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

Meet the Pi

Page 3: Pi On Your Face - SCALE...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

The history of the RasPiEarly 2006 concept based on Atmel ATmega644

Designed for educational use

Intended for Python (but of course is friendly to all)

Page 4: Pi On Your Face - SCALE...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

Pop quiz!

Page 5: Pi On Your Face - SCALE...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
Page 6: Pi On Your Face - SCALE...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

Mmmm. Pi.

Page 7: Pi On Your Face - SCALE...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

Slicing up the Pi

by Paul Beech

Page 8: Pi On Your Face - SCALE...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

Getting it all togetherRaspberry Pi $35

SD card $10

Display $100

Power $5

Keyboard $20

Mouse $10__________

$180+

Page 9: Pi On Your Face - SCALE...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

Where's my camera?

Page 10: Pi On Your Face - SCALE...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

Let's go to the mall!Element14 (newark.com)

Adafruit.com

MakerShed.com

Sparkfun.com (for parts)

Amazon

And in a pinch... Radio Shack

Page 11: Pi On Your Face - SCALE...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

Getting started1. Get the right SD card

2. Get the right distro

3. Don't break off C6

4. ???

5. Profit!

Page 12: Pi On Your Face - SCALE...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

1. Get the right SD cardMost quality cards are OK

Micro with adapter?

elinux.org/RPi_SD_cards

Page 13: Pi On Your Face - SCALE...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

Display optionsHDMI 1.3 and 1.4 supported; audio and video output, 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

Page 14: Pi On Your Face - SCALE...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

TouchscreensOoh, 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

Page 15: Pi On Your Face - SCALE...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

Couture kernelrpi-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

Page 16: Pi On Your Face - SCALE...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
Page 17: Pi On Your Face - SCALE...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

2. Get the right distroFedora (of course)

Raspbian

Moebius

RaspBMC

Occidentalis

Page 18: Pi On Your Face - SCALE...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

2.14 Or get braveAndroid 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

Page 19: Pi On Your Face - SCALE...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

Bootloader! BerryBoot

Page 20: Pi On Your Face - SCALE...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

Installing itFedora ARM installer

fedoraproject.org/wiki/Fedora_ARM_Installer

yum install fedora-arm-installer

Page 21: Pi On Your Face - SCALE...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

Installing itFedora 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

Page 22: Pi On Your Face - SCALE...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

1 + 2 – worrying =Buy pre-loaded

Page 23: Pi On Your Face - SCALE...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

Power5V. 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?

Page 24: Pi On Your Face - SCALE...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

Write down these words

●220 uF 16v electrolytic capacitor

Page 25: Pi On Your Face - SCALE...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

Decode the LEDsD5 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

Page 26: Pi On Your Face - SCALE...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

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

Page 27: Pi On Your Face - SCALE...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

GPIOhttp://elinux.org/RPi_Low-level_peripherals

Page 28: Pi On Your Face - SCALE...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

Raspberry Leaf

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

Page 29: Pi On Your Face - SCALE...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

Building a cross-compilerYou could use an existing one... or you could DIY with crosstool-ng (crosstool-ng.org)

Get kernel source: github.com/raspberrypi/linux

Page 30: Pi On Your Face - SCALE...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

Blah blah blah.Stop saying words andshow us pretty pictures

of cool thingspeople made.

Page 31: Pi On Your Face - SCALE...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

Flickr: ferret boy

Not bigger on the inside.

Page 32: Pi On Your Face - SCALE...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

Case closed.Buy one

3D print one

Make one

Page 33: Pi On Your Face - SCALE...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

Lego my Pi-go...?

Page 34: Pi On Your Face - SCALE...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

Or just buy it.

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

Page 35: Pi On Your Face - SCALE...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

PiBoy

Page 36: Pi On Your Face - SCALE...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

PIP-Boy 3000

Page 37: Pi On Your Face - SCALE...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

RIP Pi-PIP-Boy

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

Page 38: Pi On Your Face - SCALE...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

Emulating your childhood

Page 39: Pi On Your Face - SCALE...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

Scratch an itch

Page 40: Pi On Your Face - SCALE...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

store.raspberrypi.com

Page 41: Pi On Your Face - SCALE...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

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 

Page 42: Pi On Your Face - SCALE...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
Page 43: Pi On Your Face - SCALE...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

PiGate

stargateproject.wordpress.com

Page 44: Pi On Your Face - SCALE...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

PiFMGo 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

Page 45: Pi On Your Face - SCALE...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

PiFMSystem Clock = 500Mhz

Divider Register = 5.000

FM radio clock frequency = 500/5 = 100Mhz

Page 46: Pi On Your Face - SCALE...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

Tux Photobooth

http://fedoraproject.org/wiki/Raspberry_Pi_photobooth

Page 47: Pi On Your Face - SCALE...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

Tux Photobooth

Page 48: Pi On Your Face - SCALE...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

Aren't you a little small for an HTPC?

RaspBMC/XBMC

1080p

Share over NFS, SMB, FTP, HTTP, USB, XYZ, and other acronyms

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

Page 49: Pi On Your Face - SCALE...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

Can you do it?

Page 50: Pi On Your Face - SCALE...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

Android on your Pi

+

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

Page 51: Pi On Your Face - SCALE...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

Ice cream with your Pi

Page 52: Pi On Your Face - SCALE...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

Ice cream with your Pi

Page 53: Pi On Your Face - SCALE...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

Best Valentine EVER

Page 54: Pi On Your Face - SCALE...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

SpritesMods.com

Page 55: Pi On Your Face - SCALE...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

FishPi.org

Page 56: Pi On Your Face - SCALE...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

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

Page 57: Pi On Your Face - SCALE...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

Resourceslearn.adafruit.com

elinux.org

instructables.com

Beginner's Guide to Raspberry Pi

Raspberry Pi Hacks

Contact:

@suehle | [email protected]

@spotrh | [email protected]