MagPi36.pdf

(14765 KB) Pobierz
NEW!
YOUR
OFFICIAL
RASPBERRY PI MAGAZINE
Win!
10
RASPI
2
s
ELEMENT14.CO
M
THANKS TO
100 pages of hacking & making
Issue 36
August 2015
raspberrypi.org/magpi
GET STARTED WITH
RASPBERRY PI
How to unbox your credit card-sized PC and start hacking today!
RETRO CLASSICS
The very best games of yesteryear
you can bring back to life…
SIMULATE PHYSICS
WITH PYTHON
Create a whole solar
system on your Raspberry Pi
3D PRINTING WITH
RASPBERRY PI
Control and view your
printer with OctoPrint
CREATE A START
SCREEN IN SCRATCH
How to put the finishing touches
to your latest creation
lso inside:
A
>
CONQUER THE COMMAND LINE
>
BUILD YOUR OWN MOOD LIGHT
>
MAKE A SIMON SAYS ELECTRONIC GAME
>
IQAUDIO: THE ULTIMATE AUDIO ADD-ONS
MINECRAFT SPLAT
Recreate Nintendo’s
brilliant Splatoon on
your Raspberry Pi
Issue 36
Aug 2015
£5.99
08
9 772051 998001
THE ONLY MAGAZINE WRITTEN BY THE COMMUNITY, FOR THE COMMUNITY
Welcome
PR
SUPPO
OUD
RTERS
OF:
WELCOME TO
YOUR OFFICIAL
PI MAGAZINE!
T
he Raspberry Pi is now officially the
second-best-selling computer ever to
come out of the UK. Despite its massive
audience, most people don’t realise the Raspberry
Pi Foundation is actually a charity, and all the
profits from Pi sales are channelled into realising
the Foundation’s goals. The aim is to make
affordable, programmable computers available
for everyone, all over the world. This £15/$20
device is designed to allow children and adults
from all walks of life access to the internet,
games and applications, and have the
opportunity to learn to code.
It’s hoped it will help jump-start another
paradigm shift in computer education, too, like
we enjoyed when the first affordable computers
of the 1980s arrived in our homes.
Just like the Raspberry Pi, the proceeds from
sales of the official Raspberry Pi magazine
also go towards achieving the Foundation’s
charitable aims. It’s also all about celebrating the
incredible community that’s sprung up in the
UK, America, and around the world. So if you’ve
done something cool with a Raspberry Pi, or know
someone who has, we’d love to hear from you.
I hope you enjoy our first print edition!
THIS MONTH:
16
GET STARTED WITH RASPBERRY PI
It’s easier to unbox and set up your Pi than you might think!
50
PRINT IN 3D WITH RASPBERRY PI
58
MAKE A TINY SOLAR SYSTEM
66
MINECRAFT SPLAT!
Use physics and forces to simulate the planets on your Pi
Introducing OctoPrint – the open-source way to make in 3D
Russell Barnes
We recreate Nintendo’s Wii U classic, Splatoon, in Minecraft!
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
Contributors:
Tim Anderson, Mike Cook,
David Crookes, Gareth Halfacree, Lucy Hattersley,
Gina Häussge, Richard Hayler, Phil King,
Ian McAlpine, Sean McManus, Simon Monk,
Martin O’Hanlon, Les Pounder, Matt Richardson,
Richard Smedley, Sean M Tracey
&
Robin Withers.
DISTRIBUTION
Seymour Distribution Ltd
2 East Poultry Ave,
London
EC1A 9PT |
+44 (0)207 429 4000
This magazine 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.
SUBSCRIPTIONS
Select Publisher Services Ltd
PO Box 6337
Bournemouth
BH1 9EH |
+44 (0)1202 586 848
The MagPi magazine 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
August 2015 2015
Magpi
March
THe
3
Contents
Issue 36 August 2015
raspberrypi.org/magpi
TUTORIALS
>
BUILD A MOOD LIGHT
Join Dr Simon Monk for more Everyday Engineering fun!
COVER FEATURE
44
>
MASTER THE COMMAND LINE
48
>
3D PRINT WITH OCTOPRINT
Learn more command prompt skills with Richard Smedley
Start and monitor your creations with your Raspberry Pi
50
>
MAKE A SCRATCH TITLE SCREEN
52
Author and MagPi regular Sean McManus shows us how
>
MIKE’S PI BAKERY: STRING PONG
54
Author and hacker Mike Cook creates another corker
16
UNBOX YOUR
RASPBERRY PI
QUIET PLEASE!
HISTORIANS
AT PLAY
The MagPi speaks to The British
Library Labs about a new project to
do exciting things with useful data
>
PYTHON PHYSICS AND FORCES
58
How to build a solar system inside your Raspberry Pi
>
BUILD A SIMON SAYS GAME
>
MINECRAFT SPLAT
Martin ‘Minecraft’ O’Hanlon recreates Splatoon!
Test your memory with this Explorer HAT-inspired creation
64
66
72
It’s easy to get started with the world’s favourite credit card-sized PC!
>
LIVE CODING WITH SONIC PI
The creator of Sonic Pi starts a new tutorial series
12
IN THE NEWS
6
THE CREATIVE
TECHNOLOGISTS
We get together with the young people exploring
and using tech in new ways, thanks to Raspberry Pi
INSIDE
LIVERPOOL
MAKEFEST
8
Daleks, textiles, Minecraft, robots,
and musical fruit and veg. The
first ever Liverpool Makefest was
anything but boring
4
August 2015
raspberrypi.org/magpi
Contents
THE BIG FEATURE
38
The Raspberry Pi is helping to revive some age-
old gaming classics. The MagPi investigates...
Don’t miss your chance to
win a Raspberry Pi 2 in this
month’s reader competition...
91
6
YOUR PROJECTS
REGULARS
>
NEWS
>
TECHNICAL FAQS
Got a problem? Our experts answer all your questions
Keep up to date with the biggest stories from the world of Pi
74
>
BOOK REVIEWS
34
THE JOYTONE
Learn all about this amazing and totally unique kind of musical instrument
The latest computer books reviewed and rated
84
96
>
THE FINAL WORD
Matt Richardson considers the creative uses of the Pi
COMMUNITY
>
EVENTS
Find a community gathering near you in the coming weeks
Pi Notebook
Adafruit’s Ruiz brothers do it again, this time
creating a tiny 3D-printed retro laptop
88
92
26
>
THE BIG QUESTION
Can the Raspberry Pi help primary school children?
Nin10do
PiScan
One project builder created this rather clever
Amazon Dash scanner. Here’s how…
28
>
LETTERS
Have your say on the magazine and the community
94
Retro games consoles don’t get much better than
this. Find out how it was made…
REVIEWS
>
IQAUDIO DIGIAMP+
>
SWANKY PAINT
>
THE FUZE
>
3D PRINTING PEN
>
ADAFRUIT HDMI BACKPACK
>
WITTY PI
August 2015
30
Kudu
Find out what Kudu can do that media centre
software like Kodi can’t
32
76
78
79
80
82
83
5
raspberrypi.org/magpi
Zgłoś jeśli naruszono regulamin