MagPi67.pdf

(29334 KB) Pobierz
YOUR OFFICIAL
RASPBERRY PI
MAGAZINE
The official Raspberry Pi magazine
Issue 67
(revised)
March 2018
raspberrypi.org/magpi
HARDWARE EMULATION & CLASSIC CODING WITH RASPBERRY PI
Building better audio aids with Raspberry Pi
SMART HEARING AID
MAKE A GEIGER COUNTER
WATCHDOG ROBOT
Prep for fallout with a smart radiation tool
The security guard bot on patrol
Also inside:
>
AN ARCADE MACHINE IN A LUNCHBOX
>
USE WII NUNCHUKS TO CONTROL YOUR PI
>
CONNECT A PI TO A PC WITH GPIO EXPANDER
>
RASPBERRY PI ON DISPLAY AT THE V&A MUSEUM
PI
SECURITY
Browse safely and stay private
online with Tor and Pi-hole
Issue 67
Mar 2018
£5.99
99
9 772051 998001
Welcome
WELCOME TO
THE OFFICIAL
MAGAZINE
W
e all had to start somewhere. I started with
a lovely ZX Spectrum, then an adorable C64,
and finally an amazing Amiga.
These computers weren’t retro when I got
them. They were cutting-edge, well-engineered
masterpieces packing state-of-the-art technology.
Just like the Raspberry Pi today.
But a Raspberry Pi can become a ZX Spectrum, or
a C64, or an Amiga, or an Acorn BBC Micro or Apple II.
But why bother when you’ve got all that processing
power at your fingertips? After all, a Spectrum
couldn’t run a modern masterpiece like Minecraft.
Nostalgia plays a part. But there’s still a lot to
learn from classic computers. The nascent computer
hardware of the 1980s is, in many ways, easier to
understand that the modern technology stack.
There’s something wonderfully glorious about
revisiting classic computers with a Raspberry Pi. It’s
the best of the old and the new working together
in perfect harmony.
This is the second edition of this magazine. We
heard from readers who had electrical safety concerns
about a tutorial called ‘Make a WiFi Desk Lamp’. It
didn’t meet our standards and, because of the nature
of the guide, we decided to remove it from circulation.
We would like to thank the readers who brought
this to our attention. We are a community magazine
and could not do this without the support and help of
the Raspberry Pi community. Thank you!
PAGE 3
0
SEE PAGE 30 FOR DETAILS
THIS MONTH:
16
RETRO COMPUTING
34
PI HEARING AID
Emulation and classic coding with Raspberry Pi
Using Raspberry Pi to help the hard-of-hearing
52
BUILD A GEIGER COUNTER
62
PI SECURITY
Measure radiation levels with your Raspberry Pi
Lucy Hattersley
Editor
Get serious about security with Pi-hole and Tor
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
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
Colin Attenborough, Bill Ballard, Brian Beuken,
Mike Cook,David Crookes, Gareth Halfacree,
Sean McManus, Ben Nuttall, KG Orphanides,
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
March 2016
April 2018
3
Contents
Issue 67 March 2018
raspberrypi.org/magpi
TUTORIALS
>
101 WOLFRAM MATHEMATICA
40
Learn to use this powerful maths program
COVER FEATURE
42
50
52
>
THE SECRET LABYRINTH
Use Wii Nunchuks with your Raspberry Pi
>
TALKING WEB BROWSER
Build this screen-free browser that speaks for itself
>
BUILD A GEIGER COUNTER
Real-time radiation counts with Raspberry Pi
IN THE NEWS
MOZILLA PROJECT THINGS
16
RETRO COMPUTING
PI MADE MUSIC
New ‘web of things’ standard revealed
06
MATRIX
VOICE BOARD
COOLEST PROJECTS
International show comes to the UK
08
Complete album
played using Pi chip
10
Test digital voice assistants
12
4
March 2018
raspberrypi.org/magpi
Contents
THE BIG
FEATURE
PI SECURITY
Use Tor and Pi-hole to stay safe online
62
REGULARS
>
NEWS
>
TECHNICAL FAQ
>
BOOK REVIEWS
>
FINAL WORD
97
06
60
82
98
YOUR PROJECTS
32
COMMUNITY
>
DOUBLE INTERVIEW
Environmental engineers and Virtual Jams
WATCHDOG
SECURITY ROBOT
A Raspberry Pi-powered robotics guard dog
86
>
THIS MONTH IN RASPBERRY PI
88
More information on our Big Birthday Weekend
>
EVENTS
The latest Raspberry Jams and Pi events
92
94
>
YOUR LETTERS
We answer your emails, letters and more
HEARING AID RESEARCH
34
Using Raspberry Pi to build better hearing aids
REVIEWS
>
HOLOGRAM NOVA
>
SCORE:ZERO
>
FULL PHAT
>
DIGIONE PLAYER
>
PICUBE
>
WITTY PI MINI
 
THE NEXT VERSE
Bringing art to life at the V&A Museum
36
LUNCHBOX ARCADE
Mini retro arcade in a box
38
72
74
76
77
79
80
March 2018
5
raspberrypi.org/magpi
Zgłoś jeśli naruszono regulamin