MagPi34.pdf

(11604 KB) Pobierz
70 PAGES
OF EXPERT ADVICE IN THE OFFICIAL RASPBERRY PI MAGAZINE
ePaper HATs
FROM PI-SUPPLY.COM
£
3
00
of PaPiRus
The official Raspberry Pi magazine
Issue 34
June 2015
raspberrypi.org/magpi
BUILD A MULTIPLE-CHOICE
QUIZ USING SCRATCH
The local pub quiz will never be the same
USE YOUR RASPBERRY PI
REMOTELY
Raspberry Pi
VNC
WITH
desktop
Access your
on your tablet or smartphone
PUT YOUR CODE
IN
Astro Pi project.
SPACE!
The latest on the
There’s still time to enter
WINDOWS 10
ON RASPBERRY PI
How Microsoft plans to help you
build Internet of Things devices
MAKE A PLATFORM
GAME WITH PYTHON
Put all your game-making skills
ls insid :
A
>
HACK A CLOCK WITH YOUR RASPBERRY PI
>
GET CREATIVE WITH CONDUCTIVE PAINT
>
MORE AMAZING PROJECTS REVEALED
>
4TRONIX AGOBO ROBOT REVIEWED
to work on your first full game
Put your text up in lights with our expert step-by-step guide
SCROLL TEXT
OVER THE
UNICORN HAT
Plu
HOW TO CONNECT A PRINTER TO YOUR RASPBERRY PI
Welcom
WELCOME
TO ISSUE 34!
A
round the time of its launch, I was lucky
enough to visit Pi Towers to interview
Eben Upton about the release of the
Raspberry Pi 2. It was immediately clear to me
that the Broadcom BCM2836 at the heart of Pi 2
would change the way we use the Raspberry
Pi forever. That’s not just because the extra
processing power and memory would transform
it from a credit-card-sized PC into a fully fledged
personal computer, capable of all the day-to-day
tasks we otherwise spend hundreds of pounds to
carry out. From the outset, it was clear that the
change in architecture would open many new
doors in terms of all-important software support.
Upon learning about the new architecture, like
many I realised that Ubuntu, the Linux world’s
most popular distribution (and said to be installed
on some 20 million computers), would almost
certainly find its way onto the Raspberry Pi and it
has subsequently done just that. You can find our
review of Ubuntu MATE 15.04 on page 59. While
it currently lacks several key Pi-specific features
(like GPIO and Camera Module support), it’s
already proving its worth.
What I didn’t bank on, though, was the arrival
of Windows 10. Whether it was short-sightedness
or downright shyness, I didn’t mention it to
Eben at the time. Of course, it’s not the same
Windows 10 some of you will be using on your
laptops or smartphones; Windows 10 IoT Core is a
very different offering, and you can learn all about
it in our cover feature starting on page 14.
Enjoy the issue!
THIS MONTH:
08
THE ROBOTS INVADE!
See how Raspberry Pi robots are being used in the classroom
14
WINDOWS 10 COMES TO PI 2
Find out how Microsoft wants to help you make IoT devices
26
GO FROM 0-100 IN THREE SECONDS
In part 4 of our game-making series we build our first full game!
McMaster University turns to the Pi for some speedy calculations
Russell Barnes
50
MAKE A PYTHON PLATFORM GAME
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
+44 (0)1202 399824
Head of Design:
Dougal Matthews
Designers:
Lee Allen, Mike Kay
For advertising & licensing:
russell@raspberrypi.org +44 (0)7904 766523
Publisher:
Liz Upton
CEO:
Eben Upton
With thanks to this month’s contributors:
Dave Bower, Mike Cook, Gareth Halfacree, Lucy Hattersley, Phil King, Simon Long, Sean McManus,
Simon Monk, Les Pounder, Matt Richardson, Richard Smedley, Sean M Tracey
and
Robin Withers.
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-9990.
raspberrypi.org/magpi
June 2015 2015
Ma
March
3
Content
Issue 34 June 2015
raspberrypi.org/magpi
TUTORIALS
>
EVERYDAY ENGINEERING (PT 4)
30
Hack an analogue clock with Dr Simon Monk
COVER FEATURE
34
36
38
>
COMMAND LINE PI (PT 4)
Richard Smedley continues his essential series
>
MAKE A QUIZ IN SCRATCH
Dazzle your friends with this multiple-choice game
>
HACK RASPBIAN (PT 3)
This month Simon shows us how to customise Openbox
>
REMOTE CONTROL WITH VNC
40
Access your Pi’s desktop from your tablet in easy steps!
>
TEXT ON THE UNICORN HAT
>
PRINT WITH THE PI
>
MIKE’S PI BAKERY (PT 2)
>
MAKE A PLATFORM GAME
Find out how Sean McManus can put your text up in lights
42
It’s a dark art, but it’s not impossible! Get started here…
44
46
50
14
Windows 10 for Raspberry Pi
Gareth Halfacree talks us through Microsoft’s plans to help you build Internet of
Things devices, and how a Pi 2 robot was the star of its recent HoloLens reveal
This month Mike Cook builds a Safari Adventure game
In part 4 Sean puts all the skills you’ve learnt to the test
NEWS FEATURE
First Astro Pi
winners announced!
While two primary school winners will
already be getting their projects sent to
space, it’s not too late for you to enter
10
Robot invasion!
We speak to associate professor George Dimitoglou
about how a Raspberry Pi robot is helping him teach
4
June 2015
8
raspberrypi.org/magpi
Content
SAVE
Subscribe now
with a Newsstand
subscription
(limited time offer)
45%
on your phone or tablet
66
REGULARS
>
NEWS
>
BOOK REVIEWS
The latest computer books reviewed and rated
Keep up-to-date with the biggest stories in the Pi community
YOUR PROJECTS
6
62
64
20
#HIUTMUSIC JUKEBOX
Find out how a creative agency helped customers reach out to their
favourite jeans brand with a Twitter-powered Raspberry Pi music player
>
COMMUNITY EVENTS
>
THE FINAL WORD
Matt Richardson tells us of his experiences at Build
Find a community gathering near you in the coming weeks
68
Pocket PiGRRL
22
REVIEWS
>
4TRONIX AGOBO
The affordable Model A+ exclusive robot goes on test
Adafruit’s Ruiz brothers refresh their Nintendo
Game Boy homage with a Model A+ twist
56
57
58
59
CandyPi
Get a fix of tasty candy with the aid of this
Raspberry Pi-powered sweet dispenser
24
>
KANO OS 2.0.0
How does the latest release of this free OS stack up?
>
MEARM
>
UBUNTU MATE 15.04
raspberrypi.org/magpi
An affordable and open-source robot arm from Phenoptix
McMaster EcoCAR
It’s quarter the size of an F1 car, but
still reaches speeds of 150km/h!
26
Les Pounder test-drives a brilliant new distro for the Pi 2
June 2015
5
Zgłoś jeśli naruszono regulamin