Projects_Book_v1.pdf

(36546 KB) Pobierz
THE
PROJECTS BOOK
200
PAGES
RASPBERRY PI
Official
of
ideas
&
inspiration
FROM THE MAKERS OF
THE OFFICIAL RASPBERRY PI MAGAZINE
Welcom
WELCOME
That makes this credit card-sized PC
one of the most successful computers the
UK has ever made. It’s quite amazing really,
that a tiny UK charity, dedicated to making
computing and computer science affordable
and available to people from all walks of life,
should end up with such an incredible success
story on their hands.
You can learn more about the Raspberry Pi
Foundation’s charitable and educational aims
at
raspberrypi.org,
but regardless of what you
want to do with your Raspberry Pi – be it for
fun, for education, or as a proof of concept for
a multimillion-dollar invention – The Official
Raspberry Pi Project Book has something to
inspire, help, and guide you on your journey.
Whatever you decide to do with your Pi, I hope
you have fun doing it.
J
ust over seven million Raspberry Pis
have been sold around the world.
Russell Barnes
FIND US ONLINE
raspberrypi.org/magpi
EDITORIAL
DESIGN
GET IN TOUCH
magpi@raspberrypi.org
PUBLISHING
Managing Editor:
Russell Barnes
russell@raspberrypi.org +44 (0)7904 766523
Technical Editor:
David Whale
Sub Editors:
Laura Clay, Phil King, Lorna Lynch
Critical Media:
criticalmedia.co.uk
Head of Design:
Dougal Matthews
Designers:
Lee Allen, Mike Kay
Illustrator:
Sam Alder
For advertising & licensing:
russell@raspberrypi.org +44 (0)7904 766523
Publisher:
Liz Upton
CEO:
Eben Upton
DISTRIBUTION
Seymour Distribution Ltd
2 East Poultry Ave
London
EC1A 9PT |
+44 (0)207 429 4000
MAGAZINE SUBSCRIPTIONS
Select Publisher Services Ltd
PO Box 6337
Bournemouth
BH1 9EH |
+44 (0)1202 586 848
CONTRIBUTORS
Alex Eames, Sam Aaron, Gareth Halfacree,
Lucy Hattersley, Richard Hayler & Son, Phil King,
Simon Long, Martin O’Hanlon, Les Pounder,
Richard Saville, Richard Smedley, Sean Tracey,
Rob Zwetsloot & many more Pi-loving people!
This bookazine is printed on paper sourced from
sustainable forests and the printer operates an
environmental management system which has
been assessed as conforming to ISO 14001.
This official product is published by Raspberry Pi (Trading) Ltd., Mount Pleasant House, Cambridge, CB3 0RN. The publisher,
editor and contributors accept no responsibility in respect of any omissions or errors relating to goods, products or services
referred to or advertised in the magazine. Except where otherwise noted, content in this magazine is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0). ISSN: 2051-9982.
raspberrypi.org/magpi
March 2015
The Official
Raspberry Pi
Projects Book
3
Content
Project
16
MEET THE MAKERS
The Raspberry Pi is inspiring a new
generation to learn how to hack
The history of the Pi in the form
of a Lego diorama
GET STARTED
WITH
RASPBERRY PI
Learn everything you need
to know to become a pro
with your Raspberry Pi
PAGE 06
60
64
20
LEGO-LUTION OF PI
22
RASPBERRY PI CLUSTER
A computer cluster built from
40 Raspberry Pis
The Pi-powered lorry that tweets
back to base
Raspberry Pi disguised as a Super
Nintendo console
Duelling pianos battle it out in
Street Fighter Alpha
Pi digital media centre in a 1980s
portable video player
This Pi-powered panel
is no ordinary mirror
Get nostalgic with this wooden
arcade cabinet
Retro art installation built from
antique televisions
Fully functioning homage
to 2001: A Space Odyssey
Nintendo’s notorious Power Glove
is reinvented
Use Wolfram’s Mathematica language
for stargazing
Retro-style Twitter-powered internet radio
Portable retro gaming in a compact
Game Boy case
We speak to the Raspberry Pi’s own
near-space expert, Dave Akerman
24
IDATA TRUCK
54
MCMASTER FORMULA HYBRID
57
PROJECT AQUARIUS
64
PIPLATEBOT
Raspberry Pi provides the telemetry
for this smart racing car
A Pi paludarium to recreate the Amazon
rainforest in the home
Retro gaming console-cum-arcade
controller in one box
A modern take on the classic
animation  device
Unique mini-robot built in an off-the-
shelf Pi case
An arcade cocktail table for authentic
retro gaming
Unique musical instrument made from
joysticks and lights
66
COFFEE TABLE PI
68
JOYTONE
72
74
76
78
26
SNES PI CASE
58
ONE CONTROLLER TO RULE THEM ALL
59
DIGITAL ZOETROPE
60
IOT CHESSBOARD
61
FLAPPY BRAIN
28
SOUND FIGHTER
RASPBERRY PI NOTEBOOK
NIN10DO
PISCAN
30
RASPBERRY PI VCR
32
LED MIRROR
Beautiful retro-styled mini-laptop
computer based on Pi
This 3D-printed NES homage can
also play Sega games
A home-made Amazon Dash product
scanner for rapid restocking
A smart physical board for playing
internet chess
Control a Flappy Bird-style game
with just your brainwaves
Two species battle it out on this
ingenious LED box
34
RASPBERRY PI ARCADE
36
#OZWALL
62
LIFEBOX
CROWDFUNDING’S GREATEST HITS
The Raspberry Pi plays a pivotal role in
some of the best crowdfunding stories
38
H.A.L. 9000
40
PWNGLOVE
Tutorial
88
WATCH IPLAYER
Download BBC TV shows
as high-definition MP4 files
Shoot slow-motion videos with the
Camera Module
Detect faces in photos using the
OpenCV library
100
HACKING THE RASPBIAN DESKTOP –
PART 1
Explore Raspbian’s LXDE desktop
environment
42
MATHEMATICA TELESCOPE
44
#HIUTMUSIC
90
SHOOT IN SLOW-MOTION
102
HACKING THE RASPBIAN DESKTOP –
PART 2
Change the desktop appearance
using LXPanel
92
FACE DETECTION WITH OPENCV
94
WATER DROPLET PHOTOGRAPHY
96
MAKE A PWM CANDLE LANTERN
Simulate a flickering candle with
pulse-width modulation
46
POCKET PIGRRL
48
SPACED OUT
52
CANDYPI
104
HACKING THE RASPBIAN DESKTOP –
PART 3
Customise Raspbian’s Openbox
window manager
Capture split-second photos of water
droplets colliding
106
HACKING THE RASPBIAN DESKTOP –
PART 4
Alter the appearance of desktop
applications in Raspbian
Sam Aaron shares top tips
for his marvellous music box
raspberrypi.org/magpi
Trigger this classic candy dispenser
from your phone
98
BUILD A STROBE LIGHT
Control multiple LEDs with a transistor
for a strobe effect
108
SONIC PI: TIPS & TRICKS
4
The Official
Raspberry Pi
Projects Book
The Official Raspberry Pi Projects Book
Content
178
Review
148
PI DESKTOP SUPER-TEST
154
SKYWRITER HAT
155
ANONYMEBOX
156
PIPSTA
Which operating system should power
your Raspberry Pi?
Gesture-based control with a wave
of your hand
Stay anonymous online while using
any connected computer
Turn your Raspberry Pi into a portable
printer with this clever case
Beginners’ board for physical computing
Stylishly decorated mini LCD display
for your Pi
An easy way to wire up your Pi to an
Arduino microcontroller board
Package designed to take the fuss out
of port forwarding
A handy HAT to help you rapidly
prototype projects
Combined ultrasonic sensor and servo
driving board
Explore the world of sensors with this
affordable kit
172
174
PI-DIGIAMP+ WITH PI-CASE+
164
RASPBERRY PI CASE SUPER-TEST
Four third-party Pi cases are tested
to the max
Hi-res audio DAC and amplifier in one
small board
Retro-style paint program for pixel artists
Raspberry Pi workstation comprising
a case and keyboard
Is this pen an affordable alternative
to a 3D printer?
Portable touchscreen available in 5”
and 7” models
Set your Pi to routinely switch itself
on and off
Three of the best emulator packages
for the Pi
The Raspberry Pi is helping to revive
some age-old gaming classics
A stack of computer books reviewed
and rated
176
SWANKY PAINT
177
THE FUZE
157
4TRONIX PLAYHAT
166
4TRONIX AGOBO
158
DISPLAY-O-TRON 3000
159
RASPIO DUINO
A no-solder, low-cost robot to build
and play with
Learn computing concepts via games
and challenges
Affordable open-source robot arm
for beginners
Lightweight version of Ubuntu for the Pi
Try out the classic BASIC language
on your Pi
Build an e-reader with this low-power
E Ink display HAT
The official 7˝ touchscreen has
impressive capabilities
167
KANO OS BETA 2.0.0
178
VELLEMAN 3D PRINTING PEN
180
ADAFRUIT HDMI BACKPACK
181
WITTY PI
168
MEARM
160
WEAVED IOT KIT
161
PROPELLER HAT
169
UBUNTU MATE 15.04
170
FUZE BASIC V3
182
RETRO GAMING GROUP TEST
186
EXTRA LIVES
162
PIBORG ULTRABORG
163
CAMJAM EDUKIT 2
171
PI SUPPLY PAPIRUS
172
RASPBERRY PI TOUCHSCREEN
192
BOOK REVIEWS
112
128
130
110
SCRATCH MULTIPLE-CHOICE QUIZ
Amaze your friends with your own
Scratch quiz game
120
PRINTING WITH RASPBERRY PI
122
3D PRINTING WITH OCTOPRINT
128
MOVE A SERVO BY WAVING
YOUR HAND
112
ADD A SCRATCH GAME TITLE SCREEN
Make your Scratch game look more
professional with a title screen
Learn how to install and configure
a printer on the Pi
Control your 3D printer from any browser
Learn how to control your Raspberry Pi
from afar
Use the 8×8 matrix of RGB LEDs
to display messages
Control a servo with a flick of the wrist
using UltraBorg
Play PC games remotely from your
Raspberry Pi
130
STREAM STEAM GAMES TO PI
132
MINECRAFT PI CODING TIPS
140
MINECRAFT SPLAT
114
ADD A SCRATCH HIGH-SCORE TABLE
Keep a record of players’ best scores
in your Scratch game
124
CONTROL YOUR PI REMOTELY WITH VNC
126
SCROLL TEXT ON THE UNICORN HAT
116
BUILD A SPACE SHOOTER
IN SCRATCH
Pro coding tips and mini programs
for Minecraft Pi
Create an exciting two-player paintball
game in Minecraft Pi
5
Create an impressive 3D space shooter
using Scratch
raspberrypi.org/magpi
The Official
Raspberry Pi
Projects Book
Zgłoś jeśli naruszono regulamin