MagPi70.pdf

(30390 KB) Pobierz
BUY
IN PRINT
WORLDWIDE!
magpi.cc/store
Also inside:
magpi.cc/store
Welcome
WELCOME TO
THE OFFICIAL
MAGAZINE
home thermostat in a competition,
along with free setup. Since then, I’ve
fitted smart lights, energy-measuring sockets,
built my own internet doorbell, and – of course
– set up a Raspberry Pi AIY Projects intelligent
home speaker.
I love DIY. The only thing better than DIY is
‘smart DIY’, where you get the double satisfaction
of a job-well-done that uses your tech skills.
Our Home Automation feature (page 16) has
more information about installing stuff around
the house than you’ll ever need. From smart
lighting and energy-monitored wall sockets, right
up to automatic garage doors and temperature-
controlled fish tanks.
Doing your own home automation isn’t just
more rewarding; it’s also the smarter move. When
you make your own home automation projects, you
control the data they acquire and you know exactly
what’s going on in your system. Plus, you get to fix
any faults without the expensive repair bills.
So don’t just buy smart kit for your home that
sucks up all your information; make it yourself and
keep your home secure. That’s what this issue is
all about!
PAGE 2
6
I
t all started with a Tado. I won this quirky
SEE PAGE 26 FOR DETAILS
THIS MONTH:
16
HOME AUTOMATION
Where DIY becomes D-I-Wooooah!
34
COCKTAIL MAKER
Time for some sophisticated boozing
38
MAGNETIC THEREMIN
Music and science in perfect harmony
Lucy Hattersley
Editor
60
UPCYCLING
Don’t throw that away – we have a plan…
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, Harry H. Cheng, Mike Cook,
Kylie Cooper, David Crookes, PJ Evans, Hailey R. Falk,
Nicola King, Lars Noodén, Ben Nuttall, Matt Richardson,
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
June 2016
April 2018
3
Contents
Issue 70 June 2018
raspberrypi.org/magpi
TUTORIALS
>
PI 101: REMOTE ACCESS VIA SSH
36
Connect to your Pi remotely using SSH
COVER FEATURE
>
MAKE A MAGNETIC THEREMIN
38
Use a magnetic bounce controller to make eerie music
>
BUILD A TWEETING BABBAGE
The Raspberry Pi bear can become a tweeting machine
44
>
REMOTE CONTROL MINECRAFT
50
Use tmux to access and maintain a Minecraft server
>
CREATE ANALYSIS GRAPHS
Analyse robot performance data the easy way
52
54
>
MAKE GAMES IN C PART 6
Speed up the game you’ve built so far
16
IN THE NEWS
DIY SMART HOME
PIMECHA
NSYNTH
RASPBERRY FIELDS
Join the digital making party this summer!
06
Kickstart this robot
08
Google makes a synth
10
Some of the tools and techniques shown in The MagPi magazine are dangerous unless used with skill, experience, and appropriate personal protection equipment. While we
attempt to guide the reader, ultimately you are responsible for your own safety and understanding the limits of yourself and your equipment. Children should be supervised.
Raspberry Pi (Trading) Ltd does not accept responsibility for any injuries, damage to equipment, or costs incurred from projects, tutorials or suggestions in The MagPi
magazine. Laws and regulations covering many of the topics in The MagPi magazine are different between countries, and are always subject to change. You are responsible
for understanding the requirements in your jurisdiction and ensuring that you comply with them. Some manufacturers place limits on the use of their hardware which some
projects or suggestions in The MagPi magazine may go beyond. It is your responsibility to understand the manufacturer’s limits.
4
June 2018
raspberrypi.org/magpi
Contents
THE BIG
FEATURE
UPCYCLE WITH PI
60
Bring new life to old tech
We’ve got seven NanoSound DAC Pro
& Amp kits up for grabs
97
06
58
80
98
YOUR PROJECTS
REGULARS
>
NEWS
>
TECHNICAL FAQ
>
BOOK REVIEWS
>
FINAL WORD
COMMUNITY
28
>
BRAZILIAN ART INTERVIEW
Felipe uses the Pi to make art, and more, in Brazil
84
TESLONDA
Half Honda, half Tesla, all Pi-powered
>
THE MONTH IN RASPBERRY PI
86
Big events galore this month in Pi!
>
CHRIS AVILES PROFILE
We talk to the teched-up teacher
90
92
94
>
EVENTS
What events are happening this month
THERMAL POLAROID
Turn an old film camera into a digital one
30
>
YOUR LETTERS
Excellent answers to wonderful questions
 
REVIEWS
ENZO’S ACTIVITY BOARD
A toddler-friendly Pi project
32
>
WEATHER STATION KIT
>
SUPER TINYTENDO CASE
>
DIDDYBORG V2
>
HACKABLE PI SWITCH CAP
>
ASTROBOX TOUCH
COCKTAIL MACHINE
Care for a drink?
34
70
72
74
76
78
5
raspberrypi.org/magpi
June 2018
Zgłoś jeśli naruszono regulamin