The MagPi - Issue 68 (2018).pdf

(22864 KB) Pobierz
BUY
IN PRINT
WORLDWIDE!
magpi.cc/store
The official Raspberry Pi magazine
Issue 68
April 2018
raspberrypi.org/magpi
RASPBERRY PI 3B+
Fully Benchmarked
Engineering Team Interview
Perfect Project Ideas
Power Over
Ethernet
5GHz WiFi
1.4GHz CPU
Power Management
Gigabit Ethernet
Also inside:
>
CREATE A RASPBERRY PI SMART FAN
>
THE NINTENDO SWITCH-STYLE CONSOLE
>
MAKE YOUR OWN MIDI DRUM SEQUENCER
>
CODE A MINECRAFT HOUSE WITH PYTHON
BUILD AMAZING
BATTLE ROBOTS
How to win at Pi Wars 2018
magpi.cc/store
Welcome
WELCOME TO
THE OFFICIAL
MAGAZINE
a new model. The Raspberry Pi 3 Model B+
(or Pi 3B+ for short) sports a revised quad-core
system-on-chip which now runs faster, at 1.4GHz.
It’s a meaningful speed boost. Everything feels a little
snappier. Big programs like Mathematica load faster and
online videos play more smoothly.
Raw power is always a headline grabber, but we find
it’s the other tweaks that make the new Raspberry Pi
truly interesting.
Eagle-eyed readers will already have spotted the
chrome-plating around the wireless networking chip.
This now supports dual-band (2.4 GHz and 5 GHz)
wireless networking, enabling faster data transmission
speeds from wireless networks.
Even more exciting is the long-awaited inclusion of
Gigabit Ethernet (albeit limited via the USB channel).
There’s now also Power over Ethernet (PoE) via a new
official HAT accessory. PoE is something the community
has wanted for a long time; it enables the Raspberry
Pi 3B+ to be deployed on a network without requiring
a separate power supply.
Many readers are already thinking of quirky uses for
a networked Raspberry Pi that works independently
of a mains supply.
But let’s not forget the speed boost. The new speed
is impressive. Turn to page 16 to read all about the new
Raspberry Pi 3B+, including benchmarks, real-world
testing, and project ideas.
PAGE 2
8
I
t’s always exciting when Raspberry Pi releases
SEE PAGE 28 FOR DETAILS
THIS MONTH:
16
RASPBERRY PI 3B+
Learn more with speed tests and team interviews
40
MAKE A MIDI SEQUENCER
Create your own drum machine with Raspberry Pi
54
BUILD A MINECRAFT HOUSE
Build the virtual house of your dreams in Minecraft Pi
Lucy Hattersley
Editor
64
BUILD AMAZING BATTLE ROBOTS
Win Pi Wars 2018 with our guide to amateur robotics
FIND US ONLINE
raspberrypi.org/magpi
EDITORIAL
Editor:
Lucy Hattersley
lucy@raspberrypi.org
Features Editor:
Rob Zwetsloot
rob.zwetsloot@raspberrypi.org
Sub Editors:
Phil King and Jem Roberts
GET IN TOUCH
magpi@raspberrypi.org
PUBLISHING
For advertising & licensing:
Publishing Director:
Russell Barnes
russell@raspberrypi.org
|
+44 (0)7904 766523
Director of Communications:
Liz Upton
CEO:
Eben Upton
DESIGN
Critical Media:
criticalmedia.co.uk
Head of Design:
Dougal Matthews
Designers:
Mike Kay and Lee Allen
Illustrator:
Sam Alder
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
Raspberry Pi Press
Mann Enterprises, Unit E, Brocks
Business Centre, Haverhill, CB9 8QP
magpi.cc/subscribe
CONTRIBUTORS
Alex Bate, Brian Beuken, Mike Cook,David Crookes, Gareth
Halfacree, Magdalena Jadach, Steve Martin, Nicola King,
Jeroen Peters, Matt Richardson, Bartlomiej Rutkowskim,
Richard Smedley, Clive Webster
The MagPi magazine is published by Raspberry Pi (Trading) Ltd., 30 Station Road, Cambridge, CB1 2JH. 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
April 2016
2018
3
Contents
Issue 68 April 2018
raspberrypi.org/magpi
TUTORIALS
>
PI 101 – INSTALL UBUNTU
How to use Ubuntu on Raspberry Pi
COVER FEATURE
38
40
>
BUILD A DRUM SEQUENCER
Pi Bakery is back with another MIDI music project
>
SET UP A DOCKER CONTAINER
48
Install Plex and learn about Docker in the process
>
AUTOMATE A DESK FAN
The Pi Fan is a temperature-controlled USB fan
52
>
MAKE A HOUSE IN MINECRAFT
54
Create a house with the touch of a button
>
MAKE GAMES WITH C PART 4
This time we’re manipulating images
58
16
IN THE NEWS
CODE CLUB
WESTMINSTER
RASPBERRY PI 3B+
RASPBERRY
ROBO-CAT
FIELDS
MPs, Lords, and kids get their hands on Pi
06
Official two-day
festival announced!
10
Truly the cat’s meow
13
4
April 2018
raspberrypi.org/magpi
Contents
THE BIG
FEATURE
PI WARS
Everything you need to know about the robotic contest
64
IN ASSOCIATION WITH:
97
06
62
80
98
YOUR PROJECTS
REGULARS
>
NEWS
>
TECHNICAL FAQ
>
BOOK REVIEWS
>
FINAL WORD
COMMUNITY
30
>
RPI ZWEI INTERVIEW
Making a music album with the Pi as the instrument
84
AMBIENT TV
Creating an eye-catching visual effect on your TV
>
THE MONTH IN RASPBERRY PI
86
Birthday parties and new Pi models galore this month
>
COMMUNITY PROFILE
We talk to US teacher Amanda Haughs
90
92
PI SWITCH
 
32
>
EVENTS
>
YOUR LETTERS
You ask us things and we answer them
Jams, Dojos, and Clubs around the world next month
Create a retro console with Switch controllers
94
QROCODILE
Control your music with QR codes
34
REVIEWS
36
>
MATRIX VOICE
>
MAKE MARK APP
>
NES CASE
PIXEL
A 3D-printed, electromechanical display
74
76
79
April 2018
5
raspberrypi.org/magpi
Zgłoś jeśli naruszono regulamin