The_MagPi_41.pdf

(23415 KB) Pobierz
YOUR
OFFICIAL
RASPBERRY PI MAGAZINE
The official Raspberry Pi magazine
Issue 41 January 2016
raspberrypi.org/magpi
Amazing Pi projects that bring Minecraft’s virtual world to life
Make music
Control electronics
Simulate natural disasters
and much more
#PIZERO
PROJECTS
More amazing creations
with the $5 Raspberry Pi!
10 pages of awesome
games & guides
SENSE HAT
SPECIAL
It’s a giant leap for
Raspberry Pi kind…
MAKE MUSIC
WITH SONIC PI
...with its creator, Sam Aaron
PI IN SPACE!
Also inside:
>
>
>
>
MORE OF YOUR AMAZING PI PROJECTS
ALL YOUR #PIZERO QUESTIONS ANSWERED
BUILD A RETRO CONSOLE IN A CONTROLLER
GET STARTED WITH THE CAMJAM ROBOT KIT
NEW YEAR, NEW YOU!
New Year’s
resolutions made
possible with your
Raspberry Pi
Issue 41
Jan 2016
£5.99
01
9 772051 998001
THE ONLY MAGAZINE WRITTEN BY THE COMMUNITY, FOR THE COMMUNITY
Expand your
for the Raspberry Pi
Pi
Stackable expansion boards
Serial Pi Plus
RS232 serial communication board.
Control your Raspberry Pi over RS232
or connect to external serial
accessories.
Breakout Pi Plus
The Breakout Pi Plus is a useful
and versatile prototyping expansion
board for the Raspberry Pi
ADC Differential Pi
8 channel 18 bit analogue to digital
converter. I
2
C address selection
allows you to add up to 32 analogue
inputs to your Raspberry Pi.
IO Pi Plus
32 digital 5V inputs or outputs. I
2
C
address selection allows you to stack
up to 4 IO Pi Plus boards on your
Raspberry Pi giving you 128 digital
inputs or outputs.
RTC Pi Plus
Real-time clock with battery backup
and 5V I
2
C level converter for adding
external 5V I
2
C devices to your
Raspberry Pi.
1 Wire Pi Plus
1-Wire
®
to I
2
C host interface with ESD
protection diode and I
2
C address
selection.
We also stock a wide range of expansion boards
for the original Raspberry Pi models A and B
www.abelectronics.co.uk
S
15%
“MagPi15”
discount code
SAVE
BrickPi
$89 / £59
Build a LEGO robot with
your Raspberry Pi!
GoPiGo
Everything you need to
build a Raspberry Pi robot!
$89 / £59
GrovePi
$89 / £59
Connect hundreds of sensors
to your Raspberry Pi!
www.dexterindustries.com
Welcome
WELCOME TO
THE OFFICIAL
PI MAGAZINE!
PR
SUPPO
OUD
RTERS
OF:
W
e’re still reeling. We had an inkling last issue
was going to be popular, but nothing prepared
us for the overwhelming response it received.
#40 stock was snapped up in minutes online and was
sold out in most stores around the UK within hours.
We had such a massive influx of subscribers, we even
had to reprint the magazine just to keep up. At the time
of writing, we’ve still got a few subscription copies left,
so if you’re yet to grab one, see pages 26-27 for details.
You can elect to receive #40 as your first issue, but only
while stocks last.
Which now brings us to this issue. The difficult
second album. How do you top the first magazine issue
in history to give away a free computer on its cover?
It turns out you can’t. So we’re just going to carry on
where we left off. On #40’s cover we said you could use
#PiZero to learn to code while playing
Minecraft,
and
this month we’re proving it.
In our Minecraft Mashups cover feature (starting on
page 16) we’ve cherry-picked some of our favourite
recent ideas and experiments, some of which cross the
divide between
Minecraft’s
virtual world and our own.
Make Steve move with a wave of your hand, create
amazing music and visual effects, and even have your
virtual avatar take control of your electronic devices.
To celebrate the successful arrival of ESA astronaut
Tim Peake to the International Space Station, we’ve also
got another ten pages of amazing projects and games
you can make with the Sense HAT, the same hardware
in the Astro Pi flight units Tim will be using over his
next six months on the ISS. You can keep up with
everything happening in orbit at
astro-pi.org.
SEE PAGE 40 FOR DETAILS
THIS MONTH:
14
TIM PEAKE & ASTRO PI BLAST OFF!
We’re in space! 10 pages of Astro Pi fun start on page 60
16
MINECRAFT MASHUPS
Bring Minecraft’s virtual world to life with these projects
28
YOUR #PIZERO PROJECTS
72
NEW YEAR, NEW YOU!
We’ve hand-picked some of your best mini-PC projects
Russell Barnes
10 New Year’s resolutions made possible with Raspberry Pi
FIND US ONLINE
raspberrypi.org/magpi
EDITORIAL
DESIGN
GET IN TOUCH
magpi@raspberrypi.org
PUBLISHING
Managing Editor:
Russell Barnes
russell@raspberrypi.org
Features Editor:
Rob Zwetsloot
Sub Editors:
Laura Clay, Phil King, Lorna Lynch
Critical Media:
criticalmedia.co.uk
Head of Design:
Dougal Matthews
Designers:
Lee Allen, Mike Kay
Font used & inspired by:
PurePixel
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
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
CONTRIBUTORS
Sam Aaron, Boris Adryan, Mike Cook, CrazySqueak,
Tony Goodhew, Gareth Halfacree, Lucy Hattersley,
Dave Honess, Jasper, Phil King, Simon Monk,
Matt Richardson, Lucy Rogers & Richard Smedley
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
January 2016
March 2015
3
Zgłoś jeśli naruszono regulamin