Upload
tranthuan
View
251
Download
0
Embed Size (px)
Citation preview
Raspberry Pi Einführung
Pi and More 6
Nico Maas
Zur Person
Nico Maas
IT Systemelektroniker (RZ UNI SB)
Bachelor of Science (HTW SB)
www.nico-maas.de
@nmaas87
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 2
Agenda
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 3
- I. Einführung
- Beispielprojekte
- Geschichte
- Hardware
- Software
- II. Erste Schritte
- Gut zu wissen
- IV. Mehr Raspberry Pi
- Blogs
- Zeitschriften
- Bücher
- Pi Jams
- V. Ende
I. Einführung
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 4
Programmieren lernen
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 5
htt
p:/
/ww
w.v
3.c
o.u
k/v
3-u
k/v
3-c
o-u
k-l
ab
s-b
log
/22
025
87/r
asp
berr
y-p
i-w
he
ezy-h
an
dso
n-r
evie
w
Mediaplayer
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 6
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
p:/
/ne
ws.h
itb
.org
/con
ten
t/ra
sp
be
rry-p
i-re
ache
s-c
ritical-
mass-x
bm
c-h
ard
wa
re
Spielekonsole
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 7
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
p:/
/ma
ke
zin
e.c
om
/20
12/1
1/2
7/m
ini-
rpi-m
am
e-c
ab
ine
t/
Supercluster
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 8
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
p:/
/ke
ep
ing
itcla
ssle
ss.n
et/2
01
3/0
7/h
p-m
oon
sho
t/
Ozean Kamera
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 9
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
p:/
/ww
w.r
asp
be
rryp
i.o
rg/a
rch
ive
s/4
01
5
Drone
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 10
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
p:/
/ww
w.m
yzip
hiu
s.c
om
/
Garagentor Öffner (Siri)
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 11
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
p:/
/ma
ke
zin
e.c
om
/20
13/0
1/2
7/te
ll-sir
i-to
-op
en-y
ou
r-g
ara
ge
-do
or-
with
-ra
sp
be
rry-p
i/
Zutrittskontrolle (Open Access)
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 12
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
p:/
/ww
w.a
ccxp
rod
ucts
.co
m/c
on
ten
t/?p
age
d=
2
Fütterungsautomat
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 13
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
p:/
/ww
w.itc
lips.n
et/
20
13
/08
/20/r
asp
berr
y-p
i-a
nd
-gm
ail-
co
ntr
olle
d-d
og
-fee
der/
Rootserver
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 14
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
p:/
/blo
g.r
asp
be
rryco
locatie.n
l/ra
spb
err
y-p
i-co
location
/
Kunstprojekte
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 15
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
ps:/
/site
s.g
oo
gle
.co
m/s
ite
/me
cha
tron
icsgu
y/lig
hts
cyth
e-v
2
Dartboard
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 16
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
ps:/
/ww
w.d
an
ielfe
tt.d
e/p
riva
t,blo
g,e
lectr
on
ic-d
art
-bo
ard
Gameboy
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 17
Beispielprojekte
- Programmieren
- Mediaplayer
- Spielekonsole
- Supercluster
- Ozean Kamera
- Drone
- Toröffner
- Zutrittskontrolle
- Fütterungsauto.
- Rootserver
- Kunstprojekte
- Dartboard
- Gameboy
Geschichte
Hardware
Software
htt
ps:/
/le
arn
.ad
afr
uit.c
om
/pig
rrl-
raspb
err
y-p
i-ga
me
boy/o
ve
rvie
w
Raspberry Pi Foundation
Beispielprojekte
Geschichte
- RPi Foundation
- 2006 ATMega
- 2011 ARM11
- 2012 Ebay
- 2012 Launch
- 2012 Model A
- Bis heute
Hardware
Software
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 18
Eben Upton Liz Upton
2006 – RPi Prototyp (ATMega)
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 19
Atmel ATMega 644 (22.1 MHz, 512 K RAM)
Beispielprojekte
Geschichte
- RPi Foundation
- 2006 ATMega
- 2011 ARM11
- 2012 Ebay
- 2012 Launch
- 2012 Model A
- Bis heute
Hardware
Software
2011 – RPi Prototyp (ARM11)
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 20
Broadcom BCM2835 (700 MHz, 256 MB RAM)
Beispielprojekte
Geschichte
- RPi Foundation
- 2006 ATMega
- 2011 ARM11
- 2012 Ebay
- 2012 Launch
- 2012 Model A
- Bis heute
Hardware
Software
Anfang 2012 – Ebay Auktion
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 21
Beispielprojekte
Geschichte
- RPi Foundation
- 2006 ATMega
- 2011 ARM11
- 2012 Ebay
- 2012 Launch
- 2012 Model A
- Bis heute
Hardware
Software
29.02.2012 – Launch
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 22
10.000 Stück – Model B Ver 1.0
> 100.000 Vorbestellungen allein bei RS
Beispielprojekte
Geschichte
- RPi Foundation
- 2006 ATMega
- 2011 ARM11
- 2012 Ebay
- 2012 Launch
- 2012 Model A
- Bis heute
Hardware
Software
2012 - Model A
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 23
- 16.07.2012 „1 Pi pro Kauf“ Beschränkung gelöst
- 05.09.2012 Model B Rev 2.0
- 06.09.2012 Fertigung wird zu Sony UK umgelenkt
- 15.10.2012 Model B Rev 2.0 erhält 512 MB RAM
- 30.11.2012 Model A verfügbar
Beispielprojekte
Geschichte
- RPi Foundation
- 2006 ATMega
- 2011 ARM11
- 2012 Ebay
- 2012 Launch
- 2012 Model A
- Bis heute
Hardware
Software
Geschichte bis heute
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 24
- 03.06.2013 NOOBS Software
- 17.10.2013 Pi NoIR angekündigt
- 21.11.2013 Wolfram / Mathematica
- 28.02.2014 Freigabe VideoCore IV Doku Broadcom
- 31.03.2014 Freier Treiber zu VCIV veröffentlicht
- 07.04.2014 Ankündigung RPi Compute Module
Beispielprojekte
Geschichte
- RPi Foundation
- 2006 ATMega
- 2011 ARM11
- 2012 Ebay
- 2012 Launch
- 2012 Model A
- Bis heute
Hardware
Software
Geschichte bis heute
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 25
- 23.06.2014 Compute Module verfügbar
- 14.07.2014 Model B+ verfügbar
- 31.07.2014 Pi Hats angekündigt
- 01.08.2014 Mathematica 10 veröffentlicht
- 10.11.2014 Model A+ verfügbar
Beispielprojekte
Geschichte
- RPi Foundation
- 2006 ATMega
- 2011 ARM11
- 2012 Ebay
- 2012 Launch
- 2012 Model A
- Bis heute
Hardware
Software
Hardware
Beispielprojekte
Geschichte
Hardware
- Model B+
- Model A+
- Andere
- Kamera
- NoIR Kamera
- Besonderheiten
Software
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 26
Hardware – Pinout RPi Model A/B Rev.2
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 27
Beispielprojekte
Geschichte
Hardware
- Model B+
- Model A+
- Andere
- Kamera
- NoIR Kamera
- Besonderheiten
Software
htt
p:/
/ww
w.e
lekto
r.d
e/ja
hrg
an
g/2
013
/ma
rz/e
lekto
r-w
orl
d/ja
hrg
ang
/201
3/m
arz
/ele
kto
r-
wo
rld
.24
16
14
2.lyn
kx
Hardware – Pinout RPi Model A+/B+
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 28
Beispielprojekte
Geschichte
Hardware
- Model B+
- Model A+
- Andere
- Kamera
- NoIR Kamera
- Besonderheiten
Software
htt
p:/
/ww
w.r
asp
be
rryp
i-sp
y.c
o.u
k
Model B+
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 29
• 700 MHz ARM
• 512 MB RAM
• 4 x USB
• 1 x Fast Ethernet
• HDMI
• 3,5 mm Audio / Video Klinke
• Micro USB Power
• Micro SD Card
• 32,90 €
Beispielprojekte
Geschichte
Hardware
- Model B +
- Model A +
- Andere
- Kamera
- NoIR Kamera
- Besonderheiten
Software
Model A+
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 30
• 700 MHz ARM
• 256 MB RAM
• 1 x USB
• 0 x Fast Ethernet
• HDMI
• 3,5 mm Audio / Video Klinke
• Micro USB Power
• Micro SD Card
• 23,75 €
Beispielprojekte
Geschichte
Hardware
- Model B +
- Model A +
- Andere
- Kamera
- NoIR Kamera
- Besonderheiten
Software
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 31
RPi Kamera Modul
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 32
• 5 MP
• 2592 x 1944 Fotos
• 1080p @ 30 fps
• 720p @ 60 fps
• CSI Interface
• 23 €
Beispielprojekte
Geschichte
Hardware
- Model B+
- Model A+
- Andere
- Kamera
- NoIR Kamera
- Besonderheiten
Software
htt
p:/
/ww
w.r
asp
be
rryp
i-sp
y.c
o.u
k/2
013
/05/t
he
-off
icia
l-ra
sp
be
rry-p
i-ca
me
ra-m
od
ule
/
RPi NoIR Kamera Modul
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 33
• Kein IR Filter
• 5 MP
• 2592 x 1944 Fotos
• 1080p @ 30 fps
• 720p @ 60 fps
• CSI Interface
• 23 €
Beispielprojekte
Geschichte
Hardware
- Model B+
- Model A+
- Andere
- Kamera
- NoIR Kamera
- Besonderheiten
Software
htt
ps:/
/ww
w.m
od
myp
i.co
m/r
asp
be
rry-p
i-n
oir
-ca
mera
-boa
rd
Besonderheiten
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 34
• RPi kommt im Normalfall ohne Zubehör und Gehäuse
• RPi hat keinen Ein- / Ausschalter
• Netzteil ziehen / stecken
• RPi hat keine Realtime Clock / RTC
• Stromverlust bedeutet den Verlust der Zeit
• Zeitinformationen über NTP (Netzwerk)
• RTC Clock über GPIO nachrüsten
• Besonders Leistungshungrige USB Endgeräte ohne
eigenes Netzteil müssen durch einen powered USB
Hub versorgt werden (externe Festplatte etc)
Beispielprojekte
Geschichte
Hardware
- Model B+
- Model A+
- Andere
- Kamera
- NoIR Kamera
- Besonderheiten
Software
Desktop (Linux)
Beispielprojekte
Geschichte
Hardware
Software
- Desktop
- Entertainment
- ARM
- Sonstige
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 35
Raspbian
Debian Derivat
Pidora
Fedora Derivat
Arch
Arch Linux Derivat
Entertainment (XBMC)
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 36
OpenELEC RaspBMC
Beispielprojekte
Geschichte
Hardware
Software
- Desktop
- Entertainment
- ARM
- Sonstige
htt
p:/
/ww
w.g
ole
m.d
e/n
ew
s/m
ed
iap
laye
r-o
pen
ele
c-3
-0-b
eta
-
en
tha
elt-x
bm
c-1
2-1
21
1-9
59
54
.htm
l
ARM
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 37
RISC OS
Beispielprojekte
Geschichte
Hardware
Software
- Desktop
- Entertainment
- ARM
- Sonstige
htt
p:/
/le
hw
ald
er.
wo
rdp
ress.c
om
/20
13
/05/3
1/r
isco
s-5
-als
-rc8
-
fue
r-d
en
-ra
sp
berr
y-p
i-a
ng
ete
ste
t/
Sonstige
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 38
Firefox OS
OpenWRT
Debian Derivat
Android
ChibiOS
Realtime OS
Beispielprojekte
Geschichte
Hardware
Software
- Desktop
- Entertainment
- ARM
- Sonstige
Kali Linux
Security / Pentest
II. Erste Schritte
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 39
Informationen
Gut zu wissen
- Informationen
- Zubehör
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 40
Hauptseite:
www.raspberrypi.org
Forum:
www.raspberrypi.org/forums
Downloads:
www.raspberrypi.org/downloads
Wiki:
http://elinux.org/RPi_Hub
Zubehör
Gut zu wissen
- Informationen
- Zubehör
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 41
Micro SD
>= 8 GB, Markenhersteller, Class 10
Micro USB Netzteil
2 A (kein altes Handyladegerät)
Je nach Situation und Einsatzzweck:
HDMI\Cinch\Audio\Ethernet Kabel, HDMI->DVI Adapter,
Fernseher oder Monitor mit DVI Digital oder HDMI
Eingang, USB Tastatur \ Maus, powered USB Hub
Gehäuse
http
://ww
w.v
esa
lia.d
e/d
_ra
sp
iplu
sca
se
sm
c.h
tm
http
://sw
ag
.rasp
berry
pi.o
rg/
IV. Mehr Raspberry Pi
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 42
http://coen.boisestate.edu/ece/raspberry-pi/
Blogs
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 43
Mehr RPi
- Blogs
- Zeitschriften
- Bücher
- RPi Jams www.raspberrypi.org
www.piweekly.net
Zeitschriften
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 44
Mehr RPi
- Blogs
- Zeitschriften
- Bücher
- RPi Jams www.themagpi.com
monatlich, kostenlos
www.elektor.de
Bücher
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 45
Mehr RPi
- Blogs
- Zeitschriften
- Bücher
- RPi Jams
Bert van Dam - Raspberry Pi 45 Experimente mit Hard- und Software für
Elektroniker
SD Karte mit Raspbian und Beispielen
Hardware Starterkit
… erhältlich im elektor Shop
RPi Jams
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 46
Mehr RPi
- Blogs
- Zeitschriften
- Bücher
- RPi Jams
PiAndMore an der Universität Trier
www.piandmore.de
V. Fragen?
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 47
Vielen Dank für Ihre Aufmerksamkeit!
Quellenangaben
28.01.2015 Nico Maas / www.nico-maas.de / [email protected] 48
• Foto der Frontfolie von www.sotechdesign.com.au
• Produkt Fotos, Logos und Schemata • Texas Instruments
• Microchip
• Raspberry Pi Foundation
• Arduino
• RS
• Farnell
• element 14
• Elektor
• Wikipedia
• eLinux.org
• Mozilla.net
• Kali.org
• MCP3008 Informationen und Prozedur • http://jeremyblythe.blogspot.co.uk/2012/09/raspberry-pi-hardware-spi-analog-
inputs.html
• Zeichnungen erstellt mit www.circuits.io