Hs 62 Digital
Hs 62 Digital
20 2
hsmag.cc January 2023 Issue #62
RASPBERRY PI
PROJECTS DIY builds with the world’s
favourite TINY computer
RADIO CIRCUIT
CONTROL PYTHON
YOUR WITH
BUILDS PICO W
3D-
PRINT
2
DIY PROJECT
BOXES
MUSICAL
LIGHT
Issue #62 £6
Jan. 2023
SHOW
ARDUINO SPAGHETTI ROBOTS CUTLERY
WELCOME EDITORIAL
Editor
Ben Everard
[email protected]
DESIGN
Raspberry Pi computers have changed the landscape of Critical Media
making in many ways. They were the first widely available, criticalmedia.co.uk
cheap, small computers with accessible GPIO pins. This Head of Design
Lee Allen
meant that for a relatively small amount of money, you Designers
could embed a Linux computer in your builds, and get it to Sam Ribbits, Olivia Mitchell
SUBSCRIPTIONS
BEN EVERARD Unit 6, The Enterprise Centre,
Editor [email protected] Kelvin Lane, Manor Royal,
Crawley, West Sussex, RH10 9PE
Got a comment,
question, or thought To subscribe
36
about HackSpace PAGE 01293 312189
magazine? hsmag.cc/subscribe
3
Contents
94
06 SPARK 25 LENS
06 Top Projects 26 20 Amazing Raspberry Pi Projects
Special things made to delight and entertain Spectacular ideas to borrow/steal for your next build
20
Cover Feature Tutorial
Control many LEDs
Amazing RASPBERRY PI
PROJECTS 60 More light-emitting diodes than a
single microprocessor can handle
Awesome builds
for the world’s best 52
TINY computer
26
4
CONTENTS
96
Meet the Maker
Joseph Herscher
56
Tutorial
Custom cases
88
5
Top Projects
REGULAR
Rota
By Architeuthis Flux hsmag.cc/Rota
T
his thing is unbelievably beautiful. What does it
do? The best answer is that we don’t care; truth is
beauty, beauty truth, nothing else matters. But if
you must insist on more information, it’s a device for
counting. The maker built the first one as a gift for a
duck hunting lodge, but since then, he’s had interest
from many more people, and has improved the design up to the
current iteration, version 3.
The device uses a few esoteric parts: at its heart is an
AVR64DD28 microcontroller; it also uses three IN-12B Nixie tubes,
an NCH8200HV Nixie power supply, and an Automatic Electric
Type 24 rotary dial. There are a range of kits with varying amounts
of components included, and they’re selling like hot cakes.
Right
Counting things
never looked
so lovely
6
SPARK
7
Top Projects
REGULAR
I
f, like us, you have a box of Soviet-era VFD tubes that
you bought on a whim from a man in Zaporizhzhia
Oblast, you could spend ages deciphering the pinouts,
assemble the right power supply, and work out the
logic of making data appear on the gorgeous glowing
seven-segment displays. Or, you could buy a kit such as
this one by Bolt Industries. It’s sold as a kit, and looks to us like it’s
not for beginners. Which is fine, because we’re not.
The display technology may be of the Cold War era, but you
get a choice of control options: the kit comes in a TTL (Transistor–
transistor logic) edition that uses only 7400 and 4000 series
integrated circuits, or a Raspberry Pi Pico-based version that runs
on software. That means if you’ve ever doodled around with
MicroPython on a Pico, there’s a good chance you’ll be able to get
one of these clocks running exactly how you want it.
Right
Modern brains in an
old-school display.
Marvellous stuff!
8
SPARK
9
Top Projects
REGULAR
Bulbasaur
Mini Mod
By Neil Hengist hsmag.cc/BulbasaurMiniMod
T
here are many benefits to using open-source
hardware: one is the knowledge that even if the
company you bought it from ceases production,
there will always (as long as someone is willing)
be repairs available. You can take your open-source
hardware to bits and learn how it works without
voiding the warranty, you’ll never have interoperability issues, you
know you’re buying quality rather than a branding ‘experience’…
and, if you want, you can always modify your device to look like a
Pokémon character.
That’s what Neil Hengist has done with his Prusa MINI. The
modifications are entirely aesthetic, so the operation of the
printer is unchanged. There’s no need to move switches or any
electronics, but Neil does recommend having a couple of spools of
Pistachio Green PETG on hand.
Right
Open-source
hardware is
wonderful!
10
SPARK
11
Top Projects
REGULAR
T
his word clock is different to others. Where the
traditional approach is to light up the words in order
to spell out a phrase that tells the time, this version
has all the letters lit at the same time – but not in
focus. Each letter is lit from behind by an RGB LED
mounted onto a linear actuator. To display the letter,
the actuator brings that letter into focus; to stop displaying it, it
moves the LED so that it’s not in focus.
So it’s simple in theory, but in practice,
it uses 114 servos, 320 3D-printed parts,
a custom PCB for the main electronics, a
laser-cut acrylic case, and a whole lot of
engineering precision.
Right
We now want to
see a version of this
word clock in Welsh
12
SPARK
13
Top Projects
REGULAR
LEGO
pneumatic
engine
By Nico71 hsmag.cc/PneumaticEngine
A
s countless dads around the world will tell you
on Christmas morning, LEGO Technic™ is not
just for kids. This device is a seriously grown-up
pneumatic engine, which converts a two-bar air
supply into rotation motion via a single pneumatic
cylinder and some ingenious switching techniques.
Rather than spark plugs or valves, the maker has chosen to control
the flow of air within the engine by using adjustable cams that
press on flexible rubber pipes, closing and opening the air supply
to affect the engine’s air supply and timing.
The video by Nico71 is a mesmerising watch, and he’s made full
build instructions available for a very reasonable €10.
Right
If you feel like
building your own
pneumatic engine,
you’ll need your
own compressed
air supply
14
SPARK
15
Objet 3d’art
REGULAR
Objet 3d’art
3D-printed artwork to bring more beauty into your life
I
f you’ve ever dropped and
smashed a phone that had a train
ticket on it, forcing you to pay for a
new ticket, as well as the price of a
phone repair, you’ll be well aware
of how broken tech isn’t as good as
working tech. For a standard-sized bit of kit,
you can mitigate your risk by buying a case;
if you’re working with a more unusual
shape, the best thing to do is print your own
protection, as the Ruiz brothers have done
with this 3D-printed number for the Adafruit
NeoTrellis M4.
It’s designed for flexible filaments, and
adds a bit of protection and a grip to the
NeoTrellis’s acrylic case. Like it? Get the
design files here hsmag.cc/
FlexibleFilamentBumper, and see if you
can work out how to modify proportions to
fit your fragile technology.
16
SPARK
17
Letters
REGULAR
Letters ATTENTION
ALL MAKERS!
If you have something you’d
like to get off your chest (or
even throw a word of praise
in our direction), let us know at
hsmag.cc/hello
3D DESIGN
IT’S ALIVE! Your interviewee last issue was spot on
Coding: it genuinely is a superpower. trigger something happening on with his diagnosis of 3D printing: the
I’m working on a very small project another pin. For example, when a physical product is amazing, but the
that lights up a blue LED if it’s too cold, temperature sensor reports a value in software leaves a bit to be desired.
a red LED if it’s too hot, and a white a certain range, which then triggers Downloading someone else’s design and
LED if it’s about right. As an object, it’s an animation of (for example) money printing it is great when you want to use,
useless, because everyone in the house going up in smoke. It’s a brilliant say, a Bosch battery in a Makita drill, but
has a different idea of what constitutes feeling, and one that we want to share it’s so hard for new users to design
‘too cold’ and ‘too hot’. All it does is with everyone. anything for themselves. It’s not a
give me heart palpitations as I problem that’s unique to 3D printing
visualise the money I’m spending on – every new technology is the preserve
heating. Despite that, it works, and I of an elite few at first – but it is a problem
made it, and it gives me great pleasure that is getting better.
when I think of the light bulb moment I
had when I stopped getting the Barry
programming wrong and started to get Dublin
it right.
Ben says: I remember using Photoshop 4,
Robert painstakingly repairing images scanned
Basingstoke from scratched bits of film, and being
amazed when my company upgraded to
Ben says: I agree in the strongest Photoshop 7 with its magic healing tool.
possible terms. When you unhook the That was a few years ago; nowadays a
Raspberry Pi Pico, or Arduino, or similar technology is available on every
Adafruit board from the computer and smartphone, and it’s incredibly intuitive
set it free into the world with only to use. That’s the sort of breakthrough
your code to tell it what to do, it feels that’s needed in 3D design, and it will
like you’ve created life. Controlling happen. Until then, I’m incredibly
devices from a code editor is all very thankful to everyone who puts designs
well, but the real magic comes when on to Thingiverse, Printables.com
you use the input from one pin to et al., so that I can make use of their
good work.
18
SPARK
CHRISTMAS PCBs
Mince pies, like sausage rolls, are always best when they’re
homemade. I’d never thought of homemade PCBs in quite
the same way, but I suppose, having seen your tutorial last
issue, that if I want something unique for the tree this year,
I’d better get a move on and make my own tree decoration.
And, if I don’t manage to get one put together in time, I’ll
have all the skills I need to make something decent in time
for Burns Night.
Graham
Oxford
REGULAR
D
epending on which side of the HackSpace: Your first YouTube video is of a
Atlantic Ocean you live, you’re machine that squashes a Creme Egg. How did that
probably familiar with the work of come about?
either Rube Goldberg or Heath Joseph Herscher: Yeah, I made that. Gosh. It was
Robinson. These two cartoonists 2008. So, 14 years ago. And I was just inspired by
drew elaborate machines for doing these Japanese kids showing contraptions I found on
everyday tasks. Although these artists probably never YouTube in the early days of YouTube. I thought they
thought that their machines would be – or could be – were really cool, so I had to make my own.
built, there are people who have dedicated countless I’d always been making contraptions and machines
hours to building machines inspired by them. growing up – it was like a little hobby of mine as a kid,
Joseph Herscher has spent the past 14 years of his but I’d never really done it as an adult. But I felt
life building and videoing some of the most elaborate inspired, and I just started building this elaborate
machines around. The results are on YouTube contraption around my thing and it took over my life.
(hsmag.cc/JosephsMachinesYT). We caught up Every day after work, I would come home and build
Below with Joseph to find out what he’s been up to, and on it for about seven months. I, initially, just wanted
Save on heating in
this cold weather how to make our own elaborate machines. to do it to entertain my friends, but that wasn’t really
realistic because it never worked – it didn’t work the
way I thought it would. And the tea would be cold by
the time I finished it – originally it made a cup of tea
– then I just changed the ending. I filmed it 300 times
so I got one perfect run-through, and then I posted it
online and I got a million views! So I started doing
more of it, basically.
20
SPARK
21
Meet The Maker
REGULAR
22
SPARK
”
few times? Oh, that’s great. That’ll always happen. It
Below
never does what you want it to do on the day you’re Machines can
The biggest challenge is filming. So, I spend the whole week just testing a be built out of
any components
machine before I film.
making it translate to an
that you can find
”
get it
23
LENS
HACK MAKE BUILD
Uncover the technology that’s powering the future
CREATE
PG
38 PG
26
20
HOW I MADE:
WARMTH
FOR MAKERS
Amazing
Add heated seating to your
workbench and pretend
you’re in a Mercedes
PG RASPBERRY PI
44
INTERVIEW:
PROJECTS
The best builds based on the
MIKE CARROLL world’s favourite computer
On switches, inventiveness, and the
importance of making electronics
cheap enough to play with
PG
52 PG
56
IMPROVISER’S
TOOLBOX IN THE
Cutlery – small bits of WORKSHOP
metal, ripe for hammering, The challenge of making
bending, and welding addressable LEDs waterproof
20 amazing Raspberry Pi projects
20
FEATURE
Amazing RASPBERRY PI
PROJECTS
Armed with a
Raspberry Pi and
a few electronic
w hile a Raspberry Pi is a capable
computer, and can even be used
as a desktop PC replacement,
its GPIO (general-purpose input/
output) header is what makes it
different and truly powerful. This enables you to
components, a world hook up electronic circuits and components such as
LEDs, sensors, motors, and servos.
of adventure awaits To help inspire you to get creative when connecting
electronics to your Raspberry Pi, we’ve compiled a list
the intrepid maker of 20 of the most impressive and ingenious projects
around. Dazzling light-up devices include an interactive
model Stargate, LED cube, London Underground map,
and spinning POV (persistence of vision) display.
Moving into robotics with motors and servos, you
could make a piano-playing, metal-detecting, chess-
playing, or air hockey-playing robot. Or maybe a LEGO
Phil King submarine or even a ceiling planetarium. If you fancy
A long-time Raspberry Pi something musical, how about a synth guitar or
user and tinkerer, Phil is a glockenspiel player? Or get arty with a CNC drawing
freelance writer and editor
machine or even a social media jacket. The only limit
with a focus on technology
with a Raspberry Pi project is your own imagination.
26
LENS
LEGO
Submarine GIANT
T
he Finnish maker behind the
Brick Experiment Channel on
YouTube loves using LEGO to 4.0 Battleships
M
create working models that
address complex physical
and mathematical challenges. One of his most impressive creations yet is aker Dan Aldred has taken the concept of the classic
this working radio-controlled LEGO submarine (his fourth attempt). Battleships game and blown it right up. After previously
With the processing power of a Raspberry Pi Zero 2 W on board, recreating the board game on Raspberry Pi with a Sense
it uses a servo motor and LEGO rack and pinion system to operate HAT, he opted to go bigger by using a giant 10×10 LED
a syringe as a piston ballast; this draws in or expels water to raise matrix that he’d already created for light shows and
and lower the sub’s buoyancy level to make it rise or fall in the water. discos. Cleverly, the NeoPixel LEDs in the grid have their light diffused by
Tungsten pellets are used for ballast. An absolute pressure sensor glass jars spray-painted white.
obtains accurate depth readings, while a micro laser sensor measures An innovative method was also employed for the user to choose the
the distance to the ‘sea bed’. Positioning is aided by a PID (proportional coordinates to target torpedoes at the hidden ships in this solo version of
integral derivative) controller loop in the Python software. the game: a 1960s Bakelite telephone fitted with a Raspberry Pi. As you turn
Naturally, protecting the electronics from water damage was a key its dial to select digits, a circuit with a GPIO pin is interrupted by the relevant
consideration in the build. To this end, a fair amount of time and effort number of clicks. Each coordinate is sent in turn (using Python sockets) to
went into creating the submarine’s transparent acrylic case with tight- the LED board’s Raspberry Pi.
fitting end caps with rubber seals. The project even makes use of the telephone’s handset speaker to give
voice instructions to the user and play sound effects such as explosions.
hsmag.cc/LegoSub
hsmag.cc/Battleships
27
20 amazing Raspberry Pi projects
FEATURE
PACKAGE
Thief DETERRENT
L
ike many people, Canadian maker Ryder (of the Ryder Calm
Down YouTube channel) has experienced the problem
of packages delivered to his home being stolen by porch
pirates while he was out. Armed with a Raspberry Pi 4, a
security camera, and a few deterrent devices, he set about
solving the problem.
First of all, images from the camera connected to his Raspberry
Pi are processed by a custom machine learning model (trained using
Google Cloud AutoML) to detect if there is or isn’t a package. If one
has been taken unexpectedly, the Raspberry Pi sends signals to a relay
switch board to activate a variety of alarms to entice the thief to drop
the package. Those surprises for thieves include a sprinkler, a loud truck
horn, and a flour shower.
Naturally, since he didn’t want to trigger the alarm himself, he has
trained the system to deactivate when it recognises him in the frame.
hsmag.cc/PackageAlarm One slight issue is that the AI sometimes thinks his cats are packages!
ROBOT
ARM
E
ven a stopped clock is
right twice a day, but
maker Hendrik Ohrens
wasn’t content with
that when his timepiece
Clock
broke. Instead, he opted to build a robotic arm to physically move the
clock hands to the correct time every minute!
Having explored inverse kinematics and computer vision, Hendrik
came up with a far simpler solution. Using Python code running on
a Raspberry Pi 3B+, he trained the robot arm manually for each tiny
movement of the minute hand required for a complete rotation.
Once trained, the Raspberry Pi relays the precise positional
instructions to a connected Arduino MKR board equipped with a shield to
control the arm’s four servos.
Instructions, code, and files for the arm’s 3D-printed parts can be
found in his GitHub repo: hsmag.cc/RobotArmGit. hsmag.cc/RobotArmClock
28
LENS
LONDON
Underground
MAP DASHBOARD
W
hile many makers create Raspberry Pi projects for use in the home or
just for fun, Richard Kirby built this one to help with his work. As a test
manager for a company working on automating parts of the London
Underground (aka Tube), he needed a way to monitor the real-time status
of the train lines to instantly alert him to any problems.
Made from 5 mm plywood and printed network map, this large dashboard is ideal,
featuring 284 individually drilled holes to house multicolour NeoPixels. A Raspberry Pi Zero
2 W gathers data from the Transport for London (TfL) Open Data site to get the statuses
of the various lines, which it then converts into animations: ‘Good Service’ is represented
by fully lit LEDs for that line; ‘Minor Delays’ is rapid flashing from 50% to 100% brightness;
while ‘Severe Delays’ has slower flashing.
The map is also connected to a Bluetooth speaker for service announcements, with
hsmag.cc/TubeDashboard text-to-speech used to turn the data into spoken words.
DeMOOR
Orrery
A
fter seeing a 240-year-old orrery – a mechanical model
of the solar system – on the ceiling at the Eise Eisinga
Planetarium, Chris DeMoor was inspired to build one of
his own. Rather than copying the pendulum clock-driven
system of the original, however, he opted to use six
Raspberry Pi Zero boards.
Each controlled by a Raspberry Pi Zero, the six inner planets of the solar
system move in orbits around his ceiling in real time. Two different methods
were employed for their movement. Mars, Jupiter, and Saturn are attached
to front-wheel drive, 3D-printed cars which run on tracks on the upper,
non-visible side of the project. As their orbits would be too small for tracks,
Mercury, Venus, and Earth are mounted to dishes connected to rotating
stepper motors.
To obtain its correct position, each planet’s Raspberry Pi connects
wirelessly to a web server which plots their orbits using the jsOrrery
demoor-orrery.com
JavaScript library. The orrery planets are then moved accordingly.
29
20 amazing Raspberry Pi projects
FEATURE
PIANO-PLAYING
Robot
R
egretful that the piano in his living room was played all
too rarely, Étienne Allaire came up with the idea of a robot
that could play music. To do so, he mounted a wooden
frame with 15 solenoid switches to an electric keyboard.
Controlled by a GPIO pin on a Raspberry Pi 3B, connected
via a 16-channel relay module, each solenoid pushes down on a key to
play a note.
The system can read a MIDI file, convert it into on and off signals for
each note, and play the tune, although there is a limitation as to how fast
it can play due to the speed of the solenoid actions. A basic UI allows the
user to choose between scales, arpeggios, or melodies.
The most impressive feature, however, is the robot’s ability to read
previously unseen sheet music – using a Raspberry Pi Camera Module
– and play it. The open-source tool Audiveris uses optical character hsmag.cc/PianoRobot
recognition (OCR) to read the notes on the sheet music.
STARGATE
A
s a fan of the
Stargate‑SG1 series,
Kristian Tysse was
inspired to create his very
Model
own Raspberry Pi-based
scale model of a Stargate, complete with animated spinning wormhole. To
achieve the latter effect, he created an infinity mirror with the light from 122
LEDs reflected back and forth. The model itself was painstakingly created in
great detail, built from 3D-printed parts.
Most importantly, it includes a DHD (Dial Home Device) to dial any Milky
Way address featured in the show. Acting as a USB keyboard, its key presses
are sent to a Python program running on
Raspberry Pi, causing the Stargate’s symbol
ring to rotate accordingly and each of the
seven chevrons to light up and move inward
– done using stepper motors.
If a correct set of symbols is dialled, the
wormhole is established and audio clips
from the TV show are also played. The
Stargate can even dial other Stargates
over the internet, and receive incoming
wormholes from them. Find instructions for
making one on the website.
thestargateproject.com
30
LENS
AIR
Hockey CNC
ROBOT Drawing
W
hen students Ondřej Sláma and Dominik Jašek needed
MACHINE
M
to write their course thesis, they chose the Air Hockey
Robot they had built from scratch. Taking about a year,
the project involved creating robot movement control ade by Yannik Dolde, this seriously impressive
algorithms, computer vision, game strategy algorithms, Raspberry Pi project repurposes old CD drives as
and a user interface. motors for the X and Y axes of a CNC machine that
The game table itself was designed in Fusion 360 and built from can draw a picture. The pen is mounted in a 3D-printed
plywood, with a mesh of 920 holes creating an air cushion. The holder that moves up and down using a servo with
processing power for the robot’s optical puck recognition and AI strategy a spring-loaded metal rod to regulate the pressure on the paper.
is provided by a Raspberry Pi 4 connected to a Camera Module mounted A Raspberry Pi 3B+ with custom Python software runs a user interface
in the overhead part of the frame. and reads a standard G-code file, line by line, to send commands to an
For the mechanical aspect, the pair opted for an ‘H-bot’ design to Arduino Mega to move the motors.
move the robot’s paddle. Held in a 3D-printed housing, the paddle is
moved from side to side using a pulley and belt system with two stepper hsmag.cc/CNCDrawing
LED
motors. You can find the code used for various parts of project in their
Cube
GitHub repos (linked from the YouTube video).
hsmag.cc/AirHockeyRobot
A
n LED cube is a popular maker project, using LED matrix
panels for its sides. Inspired by other cube creators,
Sebastian Staacks originally envisaged crafting a
stationary mood light for his living room. However, his wife’s
disapproval led to him turning it into something more useful:
a parametric animation reflecting the status of his PC’s Ryzen 5 CPU.
As it’s only intended to be viewed from one angle, his ‘cube’ comprises
three 64×64 RGB LED matrix panels. These are held by a 3D-printed frame
which also contains a Raspberry Pi 2 with an Adafruit LED Matrix Bonnet. It
cost Sebastian less than €150 to make.
Making use of an OpenGL shader, the cube displays impressive glowing
effects in real time based on the CPU’s temperature and its core loads.
hsmag.cc/LEDCube
31
20 amazing Raspberry Pi projects
FEATURE
MONOME
J
oon Guillen’s unusual music box
features old and new technology
working in perfect harmony. For
input, a Monome Grid controller
Pi
is connected to a Raspberry
Pi 3 running a step sequencer program which registers the user’s
button presses on the Monome, lights them up, and sends serial
commands to an Arduino Uno.
The Arduino is connected via a ProtoShield Kit to eight servo
motors, which move hammers to play the correct glockenspiel
notes to match the pattern shown on the Monome. The
makeshift hammers are made from coffee sticks, sticky tape,
and LEGO blocks borrowed from Joon’s daughter – which shows
that you don’t need to be a master craftsperson to build an
interesting project.
Joon says that you could substitute the Arduino with
a Raspberry Pi servo/motor driver board, and the Monome
with a touchscreen or web UI.
PIXEL hsmag.cc/MonomePi
Electromechanical
DISPLAY
W
hen considering how to make a decorative display
for an office party, Gavan Fantom thought a standard
LED matrix would be too obvious and simple.
Instead, he designed and built Pixel, an ingenious
electromechanical matrix display controlled
by a Raspberry Pi and comprising no fewer than 448 3D-printed
parts. Each of the display’s 64 ‘pixels’ is turned on and off by a servo
rotating a 3D propeller-like shape to reveal its bright yellow blades
from a black casing.
While it was inspired by traditional flip-disc electromechanical
displays, its unique pixels can also be rotated to intermediate positions
to achieve greyscale-style shading and ripple effects. Each pixel
comprises seven 3D-printed parts, one servo motor, and two nails to
transmit the latter’s rotation to reveal the vanes from the casing. To
drive 64 servos from a single Raspberry Pi, three Pololu Mini Maestro 24
boards are used.
The end result is an amazing display that just has to be seen in action
hsmag.cc/PixelDisplay – check the YouTube videos in the linked blog piece.
32
LENS
DIGITAL
Zoetrope
PUITAR O
ne of the oldest animation
methods, a zoetrope is a
F
spinning drum with a set of
static images that, when seen
inding his brother’s old electric in rapid succession from a slit
guitar difficult to play, Behruz Farshi in the side, appear to be moving.
opted to transform it into a digital Fascinated by the concept since he was
instrument using a Raspberry Pi a child, maker Brian Corteil decided to make
Zero. His Puitar (pronounced ‘pit-tar’) his own zoetrope using 15 e-ink displays –
features a keypad matrix of 22 frets and six Pimoroni Badger 2040s. Brian designed the
strings. When the player presses a string onto zoetrope drum using the SolidWorks CAD
a fret, it forms an electrical connection that is program, creating outlines to be laser-cut from 3 mm and 5 mm plywood,
detected by one of Raspberry Pi’s GPIO pins and while some other parts were 3D-printed.
the appropriate note is played – which could be a A Raspberry Pi 4 is used to send screen updates to the e-ink displays
piano or any MIDI sound you like. To expand the via USB connections, while a Pico in the base controls the drum rotation
number of pins, an IO Pi Plus board is used. via a motor controller and monitors the emergency stop buttons. All the
To create the electrical matrix, Behruz drilled electronics spin around with the drum – to avoid the main central power
holes into the fretboard and soldered wires to the cable twisting, there’s a split ring in the base.
frets from below. While his prototype Puitar can’t A second Raspberry Pi 4 connected to a flatbed scanner also enables
handle polyphony, and accidentally touching animations created on a cell sheet to be scanned and uploaded to
strings together can cause it to malfunction, the zoetrope.
it’s a clever concept that could be adapted and
possibly modified into a full-on synth axe. hsmag.cc/Puitar hsmag.cc/DigitalZoetrope
DISCOVERER
Metal-Detecting ROBOT
B
uilding a robot vehicle is one of the most popular
Raspberry Pi projects, but this one is rather special and
could be useful. Maker Ingmar Stapel came up with the
idea after watching a TV show about people trying to find
gold with a sophisticated metal detector.
For the chassis, he used a plastic storage box to contain all the
electronics, adding PVC piping around the exterior to hold a dual-servo
pan-and-tilt camera – which enables the streaming of live video to a web
dashboard – along with a Gary’s Pulse-AV metal detector. A step-down
converter is used to change the detector’s 12 V output to 3.3 V for a GPIO
pin on the Raspberry Pi.
Discoverer’s four motors are driven via L298N H-bridges. As well
being remote-controlled with a range of 350 metres, the robot can be
programmed to move autonomously from one waypoint to another thanks
to the addition of a GPS receiver and a Sense HAT for the compass. hsmag.cc/Discoverer
33
20 amazing Raspberry Pi projects
FEATURE
SOCIAL MEDIA
without the
INTERNET
I
magine what a physical, real-world version of interacting
on social media might look like. That's just what interactive
artist Tuang Thongborisute (Tuang T) wanted to explore,
leading her to create this very special jacket as a
performance art project.
The blazer features numerous electronic elements – controlled by
a Raspberry Pi, aided by an Arduino – which enable people the wearer
meets to engage in six social interactions. For instance, a follow is
made by tapping a pressure-conductive resistant sheet on the right
shoulder, while unfriending involves a push of a button located on the
left side, near the heart. Adding a new friend is achieved by shaking
hands, connecting two conductive rings on the wearer’s fingers.
The jacket also has a 7-inch touchscreen for further interaction and
to show status information. In addition, three tiny cameras broadcast
the real-time interactions on a local network for performing in a closed
environment like an indoor gallery.
hsmag.cc/SocialMediaJacket
RASPBERRY
Turk
T
his amazing chess-playing robot was inspired by the
18th‑century ‘Mechanical Turk’. While the latter had a
human player concealed inside to play its moves, the
Raspberry Turk has a Raspberry Pi 3 for its brains.
Created by Joey Meyer, this open-source project is
built into a small 3×3 ft (91×91 cm) table. A box on one side houses all
the electronics, while the robotic arm is mounted on its top. The arm
is built with Actobotics components, Dynamixel servos, and some
3D-printed parts.
The arm’s motion is controlled by the rotation of two servos attached
to gears at the base of each link. Another servo controls the gripper
mechanism which uses an electromagnet to pick up pieces. Naturally,
great precision is required to move pieces on the board, so Joey built up
a dataset of the arm’s movements to aid his mathematical model.
To evaluate the positions of the pieces, a high-mounted Raspberry Pi
Camera Module captures a view of the board which is then perspective-
raspberryturk.com transformed using OpenCV. The Stockfish chess engine is used for its AI.
34
LENS
Pico
AUTOMATIC Projects
hsmag.cc/DogBallLauncher
POV
Display
'P
OV’ stands for persistence of vision, the optical
phenomenon that makes moving pictures possible in
cinema and TV, and on which this whizzy Pico project
relies to depict an image from spinning LED strips.
Created by Japan-based family team of makers
HomeMadeGarbage, it makes use of two
of the Pico’s PIO (Programmable IO) state
machines to control, in parallel, a pair of
super-bright 24-LED DotStar strips on its
rotating arm. The arm, which also holds the
Pico board, is spun at high speed by a motor
while the LED strips are blinked in carefully
controlled sync with the rotation speed to
display a static or animated image.
A wireless charging module is employed
to power the spinning arm, using a coil on
the underside of the latter and another on
top of the motor.
hsmag.cc/PicoPOVDisplay
35
SUBSCRIBE
TODAY
FOR JUST £10
Get three issues plus a
FREE Raspberry Pi Pico W
delivered to your door
(UK only)
hsmag.cc/FreePico
20
FREE Raspberry Pi
£40 Rest of the world
2
Pico W for just…
RASPBERRY PI
PROJECTS
SAVE
hsmag.cc December 2022 Issue #61 hsmag.cc November 2022 Issue #60
2
R
ULTIMATE BUILD THE
A
L E 44%
MINCE
PIES
TO C O D E
DIY builds with the world’s
favourite TINY computer
RADIO CIRCUIT
Homemade projects to connect your life
KERS
CONTROL PYTHON
R MA
Dec. 2022
Issue #61 £6
F OYOUR WITH
BUILDS PICO W
PINHOLE
CAMERA
Issue #60 £6
3D-
Nov. 2022
SHOW
ARDUINO SPAGHETTI ROBOTS CUTLERY
How I Made: Winter is coming
FEATURE
HOW W
inter is coming. It’s
cold, it’s wet, and it can
be the most difficult
season to find the
literal and figurative
energy to keep making things. The cost
I
of heating is getting higher for everyone,
and a dedicated workshop can quickly turn
into a money-eating monster in the winter
months. For all of the advantages of having
a workshop, there are some pretty big
disadvantages, too. A permanent workspace
By Andrew Lewis is exactly that. It continues to exist in space
even when you’re not using it. Some tools,
consumables, and machinery can be ruined
by cold temperatures, and in winter, a
workshop becomes an extra place to heat.
MADE
In this article, you’ll find out how to heat a
workshop more effectively, and how to stay
warm yourself without relying on power-
hungry heaters.
A maker’s haven for the summer will
become a burden without proper winter
planning. It isn’t just about feeling the
cold, it’s about how the cold effects your
equipment. Inaction through ignorance
or simple failure to prepare for the winter
WINTER IS COMING
Fighting the effects of winter in your workshop
with heated chairs and insulation
38
LENS
“HEATED SEATS
Heating the person, not
When you’re working on larger projects, the space is a common
way to increase comfort
you’re generally moving around and doing levels cost-effectively.
ARE POPULAR IN
things that will help keep you warm. Making While it won’t solve all
equipment problems,
sure that you’re wearing appropriately warm strategically placed
low-power heaters like
clothing means that you’ll be happy in your
MODERN CARS”
the one installed in
work. However, if you’re doing fine work, this chair can make a
big difference
sitting still at your workbench, you’ll start
to feel the cold very quickly. So how do
you solve this problem? You can borrow a
solution from the automotive industry and
create your own heated seat. Heated seats
are popular in modern cars, and it’s not STAYING SAFE
uncommon for people to want to retrofit When powering the heating elements from an 18 V power tool battery, you
them into older vehicles. There are plenty of will need to use a DC power converter to reduce the voltage down to 12 V. A
kits available online that feature heating pads minimum of a 5 A DC converter is recommended, given the power requirements
and controllers designed to fit into car seats. of the heating elements. The first item in your circuit after the battery should be
With a little bit of fiddling, it’s possible to add an appropriate fuse. In this case, a 5 A fuse should be plenty. Adding a thermal
fuse to each heating element is advised. A 76°C 3 A fuse like the SETFuse X0 can
one of these kits to most office chairs, and
be used to cut power if the heating element ever malfunctions and overheats.
you can power it with an electric tool battery Position the fuse in-line on the positive wire, and fix it somewhere on the
that will last between two and five hours heating. You can keep it in place with Kapton tape. If the temperature of the
(depending on how warm you want to be). element gets above 76°C, the fuse will blow, preventing a possible accident.
39
How I Made: Winter is coming
FEATURE
“REMOVE AS
MANY STAPLES AS
YOU NEED”
Right
You can see all of
the components that
come with the seat
heater here, along with
a DC power converter
that regulates the
power from a tool
battery to 12 V
40
LENS
41
How I Made: Winter is coming
FEATURE
Right
Pulling plugs and wires
through fabric and
foam can be tricky if
you’ve never done any
upholstery work. Push
pliers through from the
outside of the foam first
to open up the hole, then
grip the plug and pull it
through to the outside.
Don’t use too much
force, as you’re likely to
bend or break the plug
Below
Screw the project box
in place under the chair
so that you can access
the switch and the
battery easily. The base
of most office chairs has
surprisingly thick wood,
but take care not to use
over-long screws
QUICK TIP
You can fix one of
the remaining seat
heating elements to
stubborn heating element flat against
the underside of a
particularly grippy upholstery foam. Worse, self-healing cutting
you need to hold the heating element in mat, and use it to
place with double-sided tape, removing the warm the mat up.
backing while it’s in position inside the chair, This will help keep
and then finally restaple the outer cover your hands (and
back into place while remembering to keep tools) warm while
you’re working.
the wires for the heating element hanging
outside the fabric.
COOL CUTTERS
One of the most temperature-sensitive machines in the workshop is a laser
cutter. The laser tube is fragile. The coolant used in lasers can freeze in
the winter, cracking the laser tube, bursting coolant pipes, and damaging
pump diaphragms. On top of this, bearing grease will stiffen in cold weather,
increasing the chance of a stepper motor stalling, and contraction and
expansion from temperature changes can throw off the alignment of lenses
and rails. Running the laser when it’s too cold can cause the tube to crack from
thermal shock.
42
LENS
PRINTER PROBLEMS
3D printers are sensitive to cold, but not necessarily in the same way
that other precision machines are. Issues with thickened bearing grease
and frame warping do exist for 3D printers, but for machines without an
enclosed chamber, the temperature of the environment can be critical for
a successful print. If the room is too cold, prints can warp and fail, and bed
adhesion might also be affected. For resin printers, the temperature of the
resin affects the cure time, and a cold resin tank can cause unexpected
failures on previously successful prints. A good solution for 3D printers
is to (if possible) build an enclosed area just large enough to house the
printers and their accessories, and then heat that area using the printer’s
bed heater or an incandescent bulb for some time before you start printing.
“COVER SHED
WINDOWS WITH
BUBBLE WRAP”
layers of cardboard will help reduce heat loss
through walls, ceilings, and floors. However,
cardboard will absorb moisture and will lose
it’s effectiveness when wet. Foil, bubble
wrap, or foam insulation is a much better
option if you can afford the extra expense.
Draught excluders and neoprene foam
tape can be very useful if your workshop is
in an outbuilding or shed where doors and
windows don’t necessarily fit as closely
into their frames as they do inside a regular
house. Plugging up those leaky seams can
go a long way towards reducing heat loss.
43
i
Mrk
Mike Carroll
INTERVIEW
Mike Carroll
Inventing for pennies
M
ike Carroll is an author,
teacher, and co-creator
of a whole system of
building electronic
circuits using commonly
found items.
He’s bringing up the next generation of
engineers in his school district just north
of Philadelphia, and if you have some
pocket change and a bit of cardboard, you
too can put together the building blocks
of an electronic engineering system.
Check out scrappycircuits.com, buy the
book, Scrappy Circuits, and be amazed by
how much you can do with some paper
clips, aluminium foil, and cardboard,
and rethink that expensive Christmas
present you were going to get your nieces
and nephews.
44
e
k ol
LENS
rr Above
Michael Carroll:
teacher, author,
wearer of jaunty
T-shirts
45
i
Mrk
Mike Carroll
INTERVIEW
Below
Roll, kick or hit the ball into the V-shape made by
Below the bent clips, complete the circuit
Run the paperclip
around the wire,
avoiding metal-on-
metal contact to
make a circuit
46
e
k ol
LENS
rr
Right
A battery, clips
and a bit of
cardboard and
you’ve got a
power supply
you should be able to just grab it and and help them to get it. Also my district MC It is a lot of details. You just do the
walk through the woods and look at just launched a sixth grade class called best you can. I was a third grade teacher
everything. I learned a lot less because Intervention Lab, which are really based in this district for a long time. Fourth
they were nice, expensive ones than I on a lot of the work I’ve been doing with grade teacher, first grade teacher. So I
probably would have with a $20 pair of Scrappy Circuits and other things. So I have a lot of great relationships with
binoculars that I could throw in a bag and was a big part in putting that curriculum teachers here.
just take with me on hikes. together with the team, a big part of it. As crazy as it sounds, it works.
After that time at Cornell, my
”
friend Chris Connors is really the HS Can you talk us through
one who realised that Scrappy the Scrappy Circuits system?
Circuits is something that could I am a teacher. I work What is it?
live on its own, well beyond this in a district that has
project. He’s a co-creator. He knew 650 teachers, and I MC So when my friend Chris and
I like to write and he really I, we were at Cornell, they gave us
championed me to build it up, and
support them… I kind their credit card, and we filled up
blow it out, and write about it and of call myself ‘the two shopping carts worth of stuff
”
kind of get it out there to more details guy’ from the dollar store. For a few
teachers and beyond. days, we were in a room and we
just took everything apart, and
HS Your bio says that you’re an figured out what parts we can use.
instructional coach; that sounds like you And in launching them, a lot of my days It was a wild mess, and there wasn’t
do a lot of teaching, but you’re not a are just running around supporting those really a roadmap through it.
teacher. Is that right? classes, supporting all the teachers, We came up with the idea of starting
supporting any initiative that the district with an LED tea light, taking that apart,
MC I am a teacher. I’m a union member, is doing… I kind of call myself the and then building what we call five core
contracted as a teacher, but I don’t have a ‘details guy. bricks from that. So, the first would be
class of students. I work in a district that your battery brick: you use the three-volt
has 650 teachers, and I support them. So HS For 650 teachers, that’s a lot battery inside of the LED tea light to build
I go around, find out what people need, of details. your brick and add the binder clips to it,
47
i
Mrk
Mike Carroll
INTERVIEW
Above
This brick completes a circuit when an aluminium
foil ball lands in the tube
48
e
k ol was just something I was really into and
enjoyed using. And then, as I got older, I
refined this interest in using common
LENS
r
items in uncommon ways. I think I was
always kind of living in the maker world
and living in the teacher world. The
maker world is really resourceful and
r
scrappy. And the teacher world kind of
needs that. And they don’t have the
funding for the $300 item, they
need to find the $3 alternative, or the
$2 alternative.
And that’s when I just devoured all of
his books, and tried to see anything that
was applicable at this elementary level
that could work in Scrappy Circuits.
49
i
Mrk
Mike Carroll
INTERVIEW
Above
Scrappy Circuits
the book owes a lot
to Sylvia Martinez,
who wrote the book
Invent to Learn with
Dr Gary Stager. Mike
wanted to keep a lot
of the book’s content
free on the internet
at scrappycircuits.
com, an idea that
Martinez supported
from day one.
50
e
k ol Left
We can’t imagine a
LENS
r
circuit that uses a
balloon as a switch,
but we bet we know a
10-year-old who can
r
basketball outside. And I noticed that our grew up with a bunch of car friends who that white, it knows you hit the duck.
vacuum cleaner was sitting next to the would be happy spending the weekend And if it sees the black, it thinks you
trash can. And I asked my mom what taking their car engines, or whatever, didn’t hit the duck, if I remember
happened, she’s like, ‘Oh, the vacuum apart and putting them back together. I correctly. Don’t quote me on that!
cleaner broke.’ So here I am, like, looking never trusted myself to that level of
at my dad’s workshop looking at the taking things apart. HS That’s brilliant. Simple and brilliant.
vacuum cleaner, and I’m bored. I just
grabbed a Phillips head screwdriver, [and] HS What you said about switches MC It really is. Nintendo was better than
started taking it apart. reminds me of the NES game, Duck a lot of the others because they had
And I realised, very simply, that a belt Hunt. The one where you shoot the TV games like Duck Hunt. But it really is just
had just slipped. So I immediately take it with a little gun, and somehow it knows that simple, [a] genius idea that I’m sure
apart, immediately realise the belt if you’ve hit the target. some guy whose history is forgotten
slipped, immediately put the belt back came up with that really launched
on, put everything back together, really MC I read about how that works. I’m Nintendo in the US.
not using any high-level skills. And I just always curious about that stuff.
walked back in and I was like, ‘Oh, Mom, I And I’m trying to remember it, but I HS You know, there’s some kids now in
fixed the vacuum cleaner.’ She gave me think what it is is the gun itself has like a your school district who are going to
one of those ‘Sure Mike, go play little light sensor. And when you pull the come up with the next big, cool thing.
basketball’ looks, so I plug it in and I trigger, the screen actually goes black for
show her. That was kind of like having a a quick second. And there’s just white MC That’s my goal. It’s a long-term goal,
superpower of taking things apart and where the duck is. If the light sensor sees but I hope one day to fulfil it.
putting them back together and fixing
them a little bit.
And I’ve always been curious [about]
how things work. So that was kind of the
beginning of it. And then I kind of didn’t
stop taking things apart and putting
them back together in different ways.
51
Improviser’s Toolbox: Cutlery
FEATURE
CUTLERY Fine metal, cut and bent into new shapes and then polished
up, shows off the intricate detail of the original design, making
upcycling cutlery a worthwhile pastime, finds Rosie Hattersley
U
sing the right knife, fork, and spoon resulted from the skilled shaping of prized sterling
when dining acknowledges social silver and steel when upcycling or repurposing
mores and demonstrates both unwanted items. Sterling silver is the favoured
knowledge of and adherence to material due to its non-corrosive, non-reactive
such rules. Some of us cringe when properties, with Sheffield the most famous cutlery
faced with unfamiliar place settings manufacturing centre, employing thousands until the
Rosie Hattersley and cutlery arrangements but that, of course, is sort industry was undercut by China and other overseas
of the point, putting the oiks in their place with a production centres.
@RosieHattersley visible demonstration of their struggle to understand
52
LENS
ANTIQUE SPOON
PLANT MARKER
U
nusual markers and stakes lend Project Maker
themselves to all sorts of uses, and the Shrimp Salad
straightforward concept of flattening Circus
spoons in a vice, or with a metal
Project Link
press, before stamping out a message hsmag.cc/
or label is pretty sound. Since stainless steel is SpoonPlantMarker
ULTIMATE
SURVIVAL TOOL
T
Project Maker
his survival tool, pounded from the
Funtogether dead remains of an old spoon, is a
Project Link very useful object, but its usefulness
hsmag.cc/ depends on the imagination of the
UltimateSurvivalTool
user”, explains maker funtogether, as
he elaborates on how it’s up to the user rather
than the tool to prove the upcycled spoon’s
worth. He begins by chopping off all but the bowl
end and the first inch of the stem using a hacksaw.
The stem is then bent back on itself to form an
enclosed hook. Next, the bowl is hammered flat
between two cloths, any blemishes polished out,
and its edges filed down to become sharp. String Morse code messages, as a knife or carving tool, a
the whole thing up with a shoelace or thick cord, and tool for digging up treasure, and a condenser/reflector
Right
Multi-tool or wear it around your neck, advises the maker, where it for helping start a camp-fire, while one commenter
dangerous can be pressed into service when needed. Suggested declared he could find multiple uses for such an item
necklace?
You decide uses include a sun reflector with which to send in his job as a flat roofer.
53
Improviser’s Toolbox: Cutlery
FEATURE
UPCYCLED RAM’S
HEAD SCULPTURE
E
verything that David Mcauley makes Project Maker
had its origins in another form, most David
of it intended for the cutlery drawer. Mcauley aka
The Alberta, Canada-based artist has a TheEUpcycler
fantastic gallery of sculptures, wearables,
Project Link
and vehicles which Facebook users can most hsmag.cc/TheeUpCycler
easily browse at hsmag.cc/DaveMcauley, since
his WordPress website (theeupcycler.com) is a
little shaky. TheeUpCycler’s inventive designs first
caught our eye on Instagram, particularly this ram’s
head fashioned from a combination of “heavy truck
“TheeUpCycler’s inventive
designs first caught our
eye on Instagram”
differential horns, a natural gas engine crank-shaft,
and upcycled cutlery.” While his work features plenty
of spoons, David often makes creative and playful use
of various kinds of old knives too, with owls, eagles, a Left
You just need an
peacock, and polar bear sculptures on public display, old cutlery drawer
backgrounded by stunning mountain lakeside scenery. and a welder
54
LENS
JEWELLERY
U
pcycled jewellery is perhaps an obvious Project Maker
use for unwanted sterling silver, given Gitane
the material’s popularity when making Jewellery
rings, necklaces, and more. While
Project Link
cute elephant designs created by taking hsmag.cc/Gitane
off the head and part of a tine from a fork are fairly
common online, Australian jeweller Jen, aka Gitane,
seeks out especially beautiful cutlery designs, such as
Japanese knives with intricately carved handles, and
uses her jewellery designs to showcase the original
maker’s handiwork. Examples include a brooch made
by flattening and spread-eagling the tines of a fork
which then cradles a delicate dragonfly. Attention to
detail, and an eye for how the repurposed items can
Left
enhance whatever they are paired with, ensure her Giving silver cutlery
in-person makers’ market stall quickly sells out. a new life
RECLAIMED
CUTLERY CHAIR
T
Project Maker he Reclaimed Cutlery Chair was
Osian created from more than 150 knives,
Batyka- forks, and spoons and presented
Williams as Osian’s final year product and
furniture design degree at university.
Project Link
hsmag.cc/CutleryChair Having been aghast to learn that restaurants often
discard their cutlery after less than two years of use,
Osian set about collecting their unwanted items, as
well as trawling charity shops. His aim was to get
restaurants to use unwanted cutlery sets again, albeit
in a different form. Once assembled, Osian prepared
everything for welding, first bending the fork prongs
or covering them with a spoon head so they wouldn’t
prang an unsuspecting user. He used only fairly blunt
knives, laid flat, and kept their sharp edges hidden
Right
Knives and forks away. Osian spot-welded every item over a three-
don’t sound comfy, week period, ending up with a chair sturdy enough to
but it looks like
they are take the weight of a 16-stone adult.
55
In the workshop: Bike Lights
FEATURE
IN THE
WORKSHOP:
Bike Lights
By Ben Everard Stay seen, stay safe
T
here’s a project that’s been rattling
around my brain for quite a few
years now – mount a load of LEDs
inside a bike wheel so that, as it
spins, the wheel lights up. With a bit
of mathematics, it should be possible
to turn them on and off at the right time to display an
image. This is by no means my idea. In fact, there
used to be a commercial product that did it, though, as
far as I can see, this is no longer available.
The basic idea of a persistence of vision (POV)
display is relatively simple. You just need some LEDs
that you can control, a microcontroller to control them,
and something to sense the current position of the
wheel. All of this is eminently doable. The maths to
calculate the current position of the wheel might prove
to test my rusty high school-level trigonometry, but
with enough head-scratching, I think I can do it. The
hard part of this project – and the thing that’s been
putting me off all these years – is building something
that is both safe and tough enough to survive a winter
of cycling around Bristol.
This year, I’ve bitten the bullet and decided to go for
it. The electronics is simple enough. A Pico has plenty
of processing power to do this. A Hall effect sensor
mounted on the Pico, and a magnet on the forks of the
bicycle, should let it know each time it’s performed a
rotation (which should let me calculate the speed and,
from there, extrapolate the current position).
I’ve got APA102 LEDs which are, in some ways,
similar to the classic WS2812Bs that are almost
ubiquitous with maker projects, but the APA102s have
56
LENS
57
Join us as we lift the lid
on video games
PG
66
ANVIL PG
60
WEB APP
Control Pico W from
SCHOOL OF
MAKING
your computer
PG
PG
PG
74 80
PICO W RADIO
WITH COMMUNICATION
CIRCUITPYTHON Wireless communication
Join a social network made easy
Light up the room
SCHOOL OF MAKING
W
ho doesn’t like a wildly and easy to use. The only difference between
unnecessary number of WS2812Bs and WS2811s is that the former have
LEDs? Actually, it turned the control IC and LED in the same package, while
out that one person in the latter have an external chip to control the
Bristol Hackspace – where LED. They both use the same protocol and can be
we’ve been testing out this used interchangeably.
Ben Everard technology – doesn’t. Matt Glasspole, we send our You can control these LEDs (which are commonly
apologies. For the rest of us, let’s dive in to how to known as NeoPixels) from almost any programming
@ben_everard
control a mind-bending quantity of dots of light in language on almost any microcontroller. If you’re
near-perfect synchronisation. looking to control a single string of LEDs that’s a
Ben's house is slowly
being taken over by 3D
When it comes to hacker-friendly colourful LEDs, smallish size (less than 100 or so), then this is a
printers. He plans to it’s almost always WS2812Bs and their cousins great choice. However, if you want more LEDs, it
solve this by printing an WS2811s. These are cheap, widely available, gets hard to manage with just one microcontroller.
extension, once he gets
enough printers. If you have lots of LEDs on a string, the refresh
rate slows down, and it’s hard to spread your
LEDs out. Sooner or later, you’ll probably reach
the inevitable conclusion – you need more than
one microcontroller.
You can just run more than one independent
microcontroller running different effects on
different LED strips. However, thanks to a few
bits of open-source software, we can also get our
microcontrollers talking to each other to create
effects that span multiple separate controllers.
BRINGING IT TOGETHER
WLED is the first piece of the puzzle. This is a
firmware for ESP32 and ESP8266 devices that is,
frankly, fantastic. You can get up and running quickly
and easily without having to compile anything or edit
strange config files.
Right First, you need an ESP device with at least one
We’re big fans of chains exposed GPIO pin, as well as power and ground.
of WS2811 LEDs.
They’re easy to use, Almost any should work. Our setup uses the ones
moderately waterproof, we had to hand, including a SparkFun smôl and
widely available, and
fairly cheap D1 mini.
60
FORGE
Left
One of our controllers
is a SparkFun smôl
ESP32. We soldered
on a connector
and wrapped it in
heat-shrink
”
Plug your ESP device into your computer’s USB
port, and head to install.wled.me. Here, you can Sooner or later, you’ll probably reach the
press Install to install WLED on your device. If your
inevitable conclusion – you need more than
”
board doesn’t show up in the Connect box (which
should pop up in your browser after you press one microcontroller
Install), you might need to unplug it and plug it back
in. If it still doesn’t show up, then you may need to
install a drive for it. Click on the No Device Found
link for more information. UNIVERSES
Each WLED instance will automatically create
The underlying protocol we’re using – DMX512 –
its own Wi-Fi hotspot to which you can connect to
comes from the days before it was common to add
manage the device. However, it’s usually easier to huge numbers of LEDs to things. Way back in 1986
connect WLED to an existing network if there is when the protocol was first used, it was for controlling
one available (this will also let you manage multiple big expensive lights. It would probably have seemed
devices at the same time). Once the web app laughable that anyone would have wanted to control
has finished installing, it’ll give you the option to more than 512 of them, so a hard limit of 512 lights per
configure Wi-Fi, so you can set this up (if you don’t universe is encoded in the protocol.
However, fast-forward to 2022 and LEDs are cheap,
do it now, you can still do it later by connecting to
widely available, and easy to use. Not only that, but it’s
the device's access point, and then configuring common to pack three of them into a single package
external Wi-Fi in there). (one each of red, green, and blue), so a single universe
Once you have all your WLED instances flashed, can contain 170 RGB LEDs. Fortunately, you can have
make sure you can connect to them all. The easiest multiple universes – each one just has its own number.
way of doing this is via the WLED mobile phone app This historical anachronism doesn’t need to
constrain us too much, since it’s mostly hidden behind
(by Aircoookie on Android and Christian Schwinne
the scenes. If you add more than 170 LEDs to a WLED
on iOS). instance, it will simply roll over to the next universe. By
Power up all your devices and now they should starting each strip at the start of a universe, it’s an easy
all appear if you scan for them in the app. This way of addressing each strip.
will give you the IP address of each of the strips.
61
Light up the room
SCHOOL OF MAKING
62
FORGE
Left
You don’t need to fill
in all the controller
fields. Here are the
key ones from ours
On some it has to be ‘bit-banged’, which may There are three parts to the setup: the controllers,
give worse performance. However, we’ve been the layout, and the sequencer. First, we’ll set up the
using a bit-banged strip of 50 LEDs without controllers, and as we do so, we’ll set the universe
noticeable problems. numbers in WLED.
At this point, you can power on your ESP board, For each WLED instance, you’ll need to do
and if you’ve used GPIO2, the LEDs will come on. the following:
If not, you’ll need to set the GPIO pin. Open the IP
address of the board either in a web browser or the • Set the universe number in WLED > config > sync.
WLED app, and in config > LED Settings, change The first WLED controller should be 1, the second
the GPIO number and the number of LEDs that should be 2 (or higher if you have more than 170
you have. LEDs on controller 1 – see ‘Universes’ box).
• In xLights, go to the controller, then tap or click
”
Ethernet to add a new networked controller. The
If you don’t want to use key things you need to add are Name, Description,
IP Address, and Start Universe.
the app, you need to find
out the IP address for
”
each strip
63
Light up the room
SCHOOL OF MAKING
Right
If you click ‘…’ in Start
Channel, you should
see this box that lets
you select the IP
and universe number
Once you’ve added each controller, it’s time to Once you’ve drawn a line on, you can fill in the
organise the layout in the Layout tab. The window details in the bottom-left box. You’ll need to enter
will be split in half with a big black rectangle on the the name and nodes per string (this is the number of
right-hand side. This is where you can draw your LEDs); in Controller, select ‘Use Start Channel’, and
LED strips. If you want, you can take a photo of then click ‘…’ in the Start Channel box. Here, select
where they are and include it here, then draw them the universe number and enter the IP address and
in place, but we preferred to leave it black and do it universe number for the controller.
as a top-down plan. Once you’ve done this for all your strips, it’s
almost time to start designing the sequence.
BUILDING A PLAN However, before we do that, you’ll need to create
You can draw each strip in place using the tools a group that they can be part of. Right-click in the
directly above the black preview window. We used
”
the line tool as we were using LED strips, but if
you’re using some pre-built shapes, then you can Once you’ve added each
use other tools.
controller, it’s time to
organise the layout in the
”
Layout tab
64
FORGE
AND E1.31
Once everything’s set
If you’ve selected a musical sequence, you’ll now up, just drag-and-
need to select the track you want to play, then you drop your way to a
light sequence
can click through to create the blank sequence. You may see the protocol for sending LED data referred
The key difference between musical sequences to as DMX, DMX512, sACN, or E1.31. While these have
subtly different meanings, they’re usually referring to
and regular ones is that with musical ones you
the same thing. DMX512 is a system for controlling
probably want the lights to flash in time with the lighting systems such as those used on stages. The
beat, and that means working out where the beat standard specifies both the format of the data sent and
is. To do this, you’ll need to have installed the QM the physical network for wiring everything together.
Vamp plugins. You can control LEDs like this and DMX512 lighting
Go to File > Sequence Settings > Timings. Click controllers are available, as are USB to DMX adapters.
However, this is professional-level gear and usually
New and select an option from the list. We found
priced as such. As hobbyists, it’s usually easier and
that ‘Tempo And Beat Tracker: Beats’ worked quite
cheaper to send everything over a general IP network,
well here, though bear in mind that these probably such as Wi-Fi.
won’t be perfect. Architecture for Control Networks (ACN) is a
At this point, you have an empty sequence with range of protocols that run on top of IP networks for
timing blocks. You can start to add effects. These are controlling things like lighting or sound. Streaming-ACN
the colourful squares along the top. Drag and drop (sACN) is an extension to this to transport DMX512 data;
sACN is also known as e1.31.
these into your sequence wherever you like.
ArtNet is similar to sACN in that it’s a way of
You can change how an effect looks by opening transporting DMX data over an IP network (such as
the Effect Settings box – click on the cog wheel icon. Wi-Fi). There are a few differences in how it handles
Once you’ve got a few effects in place, it’s time network discovery and how data is routed to the right
to see what it looks like. Click on the light bulb to place, but for small networks, the difference is minimal.
connect to the LEDs (it will have an arrow in it when
it’s connected), then hit the play arrow and you
should see your LEDs flickering on and off. Don’t expect this to be a particularly quick process
We’ve gone through quite a lot of setup to get – especially if you’ve got a lot of LEDs – but you
here, but it’s now that the real fun begins. There’s can see what’s happening as you do it, and it’s fun.
still quite a bit of work to get a good-looking light All that’s left after you’ve done this is to drive your
show, but it’s just a case of finding the effects you friends and neighbours potty with Christmassy
like and putting them in the order you like. jingles with accompanying flashing lights.
65
Pico W IoT with Anvil: Mood lamp
TUTORIAL
W
ith built-in wireless connectivity, As usual, hold Pico W’s BOOTSEL button while
Pico W is ideal for creating Internet of connecting it to a computer via USB, then drag
Things (IoT) projects. To make it even the UF2 file to the mounted ‘RPI-RP2’ volume.
simpler, Anvil has released a Pico W IoT toolkit to Once it’s copied across, Pico W will automatically
enable you to connect easily, and securely, to web reboot and reappear as a volume called ‘Pico W’.
Phil King apps you create on the Anvil platform. There’s a
MAKER
(free tier)
framework, you’ll need to use a special firmware Now when Pico W reboots, it’ll automatically
anvil.works
file. Go to magpi.cc/anviluf2 and download the connect to your wireless network.
> RGB LED latest ‘complete’ UF2 file. (If you want to avoid
> 3 × 330 Ω resistors overwriting any existing files on Pico W, use the
‘firmware-only’ version.)
> 4 × male-male
Wire up the circuit
jumper wires 03 Place your Pico W on one end of a
breadboard, as in Figure 1. Add your RGB LED at
the other end with each leg placed in a different
row. It has four legs, the longest of which should
be the ground connection – use a jumper wire to
connect that to a GND pin on Pico W.
As usual with LEDs, you should use resistors to
limit the maximum current to avoid possible LED
burnout. We’ve used three 330 Ω resistors placed
over the central dip of the breadboard to connect
Figure 1: The wiring the LED’s R (red), G (green), and B (blue) legs to
diagram for the mood jumper wires connected to GPIO pins 13, 14, and 15
lamp circuit using an
RGB LED respectively on Pico W.
66
FORGE
THE MAGPI
The Pico W
runs standard
MicroPython code
that links up to
the Anvil web app
The web app created on
Anvil features sliders to
control the colour of the This tutorial
RGB LED mood lamp is from in The
MagPi, the official
An RGB LED is wired to Raspberry Pi
Pico’s pins and its colour magazine. Each
is set by the web app issue includes a
huge variety of
projects, tutorials,
tips and tricks to
help you get the
most out of your
Raspberry Pi.
Find out more at
magpi.cc
Note: Our RGB LED’s legs were in the order R, PWM classes from the machine library so we can
GND, B, and G, but yours may differ. control our RGB LED from the GPIO pins.
Further down is a line starting UPLINK_KEY =.
This is where you will later need to paste the
uplink key for the web app you create on Anvil so
Test the circuit
04 To make sure everything is connected
your Pico W program can link to it. At the bottom
of the program is a line to connect using it.
correctly, we’ll run a simple program on Pico W.
In the Thonny IDE on your computer, make sure
the Python interpreter (shown at the bottom right) onnect easily, and securely,
C
is set to ‘MicroPython (Raspberry Pi Pico)’.
Open a new file and add the code from the to web apps you create on
RGB_test.py listing (overleaf). Run it and the RGB
the Anvil platform
LED should turn red, green, and blue in turn. If the
colours are in the wrong order, you will need to
Top Tip
swap over the relevant jumper wires. Next, we create three variables to set the levels
of the red, green, and blue parts of the RGB LED. Autorun code
We then set up the PWM pins as in our test code.
To make your
Pico W code run
Write the code
05 Now let’s write the MicroPython code
automatically
upon bootup, save
Call the decorator
06
for our RGB LED ‘mood lamp’, as seen in the it as main.py. If
mood_lamp_sliders.py listing. The top line, In our code, we have three functions: one you already have
a main.py file, you
import anvil.pico, enables Pico W to connect to each for controlling the red, green, and blue parts
may want to save
Anvil’s servers. The second, import uasyncio as a, of the RGB LED. Before each, we add a ‘decorator’ that under another
sets up an asynchronous scheduler for running and also add async at the start of the line defining name first.
concurrent functions. We also import the Pin and the function; for instance:
67
Pico W IoT with Anvil: Mood lamp
TUTORIAL
RGB_test.py DOWNLOAD CMD + C to copy it, and paste it under the new
THE FULL CODE: slider with CTRL/CMD + V. Copy and paste a ‘1’
component to the right of it.
> Language: MicroPython magpi.cc/github Click on each ‘Value:’ element in turn and
change the text for it (in the right-hand Properties
001. from machine import Pin, PWM panel) to ‘Red:’, ‘Green:’, and ‘Blue:’ respectively.
002. from utime import sleep Set each ‘1’ text element to ‘0’. Also, set the ‘Blue:’
003. element name to ‘label_6, and the accompanying
004. # Set PWM pins to control R, G, and B LEDs ‘0’ element name to ‘label_7’. For each slider, set
005. pwm13 = machine.PWM(machine.Pin(13)) the ‘slider_max’ value to 255.
006. pwm14 = machine.PWM(machine.Pin(14))
007. pwm15 = machine.PWM(machine.Pin(15))
008. pwm13.freq(1000)
009. pwm14.freq(1000) Enable server uplink
010. pwm15.freq(1000)
08 Click the ‘+’ button at the bottom left and
011. select Uplink, then click Enable next to Server
012. # Loop to light R, G, B LEDs in turn Uplink. This will generate a Server Uplink Key
013. while True: (ignore the client key) for the app which you
014. # Red
015. pwm13.duty_u16(65535)
016. sleep(1)
017. pwm13.duty_u16(0)
018. sleep(1)
019. # Green
020. pwm14.duty_u16(65535)
021. sleep(1)
022. pwm14.duty_u16(0)
023. sleep(1)
024. # Blue
025. pwm15.duty_u16(65535)
026. sleep(1)
027. pwm15.duty_u16(0)
028. sleep(1)
The cover from a PIR sensor makes a decent
diffuser for the light from the RGB LED
68
FORGE
69
Cases and covers with a 3D printer
TUTORIAL
I
t is a truth universally acknowledged that thicker materials is hard work. And it involves sharp
someone in possession of a bit of tech will pointy needles. But the author is quite at home with
want some cases and covers for it. If only nuts and bolts and 3D printing, so he prefers to use
to hide what you’ve bought from the rest of those skills instead of spending ages trying to thread
the household. But some things don’t come a needle.
with cases or covers, especially if they are
Rob Miles things you have made from scratch. In this article, CUSTOM COVERS
we’ll explore how we can use 3D-printed components Nothing keeps sunlight and dust off your precious
@robmiles
as stiffening and connecting elements for cases devices like a cover. But they can be expensive to buy
and covers. – even assuming you can find one that fits. So, why
Rob Miles has been
playing with hardware not make your own? You can buy leatherette material
and software since NON-SEW SEWING in a variety of colours at pleasingly low prices. And it
almost before there was
Sewing is great. It is one of the many things that can be bought in a width of 1.5 metres (just under 5
hardware and software.
You can find out more the author can’t do very well. Although he is the feet), so you can make covers for large as well as
about his so-called life only person in the household who can operate the small devices. First, you cut to size, then cut out the
at robmiles.com and
follow him on Twitter at buttonhole maker on the sewing machine. But sewing corners, and with four seams down each corner, you
@robmiles
YOU’LL NEED
Leatherette (PU
leather) or cloth
for the outer covers
Spray adhesive
A hole punch
A sharp knife
M3 bolts 4 mm
long – dome or
countersunk Figure 1
You can use dome bolts
3D printer and for a rounder finish
filament
70
FORGE
Figure 2
The red and blue
elements were given
colours to make it
easier to see which is
which when creating
the design
Below
You can also use
felt as a liner for the
inside of the case, but
the author rather liked
the bulb material
corner(depth=50,holeSpacing=15);
Figure 3
The holes in the plates have a larger ‘countersink’ hole at one
side. Make sure you screw the bolt into this larger hole so that
the head is slightly recessed
71
Cases and covers with a 3D printer
TUTORIAL
Figure 5
You can use a 1/8-
inch drill bit to cut
holes in the outer for
the corner fixing bolts.
Alternatively, you can
cut the outer cover
material to shape first
and punch holes in it
before sticking it onto
the stiffener
72
FORGE
Figure 6
The ‘holeSpacing’
variable at the top of
the program lets you
set the spacing of
the bolt fittings. The
default value is 10 mm.
The default margin
around each panel is
1 mm. The ‘margin’
variable at the top of
the program lets you
change this
”
had dried. The rectangular panel should have bolt
hole for the USB fittings in them. The first
connector was cut with a
It would take a very long two elements in the array
sharp knife, and the inner time to create panels control the sides along the
lining cloth was folded Y axis.
of similar strength just by
”
back to cover the hole
edges. The hole for the printing them TAKING IT FURTHER
camera tripod was made The author was very
with a hole punch and then impressed by the strength
opened up with a pen. The original plan was to print and flexibility of the material that was produced by
and fit covers over the two holes in the bottom of the gluing thin 3D-printed layers between an inner lining
case, but it turned out that with the corners fitted, it and an outer covering. The use of single-layer
was not possible to add the covers. However, the thickness ‘margins’ to provide folds when assembling
case material leaves a clean edge when cut, and so a structure also worked very well. It would take a very
the finished result was deemed tidy enough. long time to create panels of similar strength just by
The case works well. It took a few attempts to get printing them, and they would not have the flexibility
the sizes of all the components right. The outer cover of the ones that were produced here. It would be
and the inner lining added to the thickness of the interesting to alternate strips of thin and thick
edges so that the correct size of the corners could only stiffening elements to create panels that could be
be determined by printing a new iteration of the corner bent to form part of a curved case. By creating joining
and testing it. The template took around an hour to strips to link panels together, you could also create
print, with each corner taking around 20 minutes. really large cases.
73
Pico W with CircuitPython
TUTORIAL
T
he Raspberry Pi Pico W It should disappear and a new CircuitPython drive
microcontroller has just got support should pop up.
for CircuitPython. Let’s take a really If you have not used CircuitPython before,
quick look around. then there is a good ‘getting started’ guide at
For the most part, using Pico W is hsmag.cc/AdafruitCircuitP.
exactly the same as using Pico. The For our first experiment, let’s try interacting with
Ben Everard pinout is the same, and you’ll have exactly the same the social media network du jour, Mastodon. You’ll
features available. However, you also have added need a Mastodon account for this. It can be a personal
@ben_everard
network connectivity. account, or you can set one up just for your bot. In
First, you need to get the software. You can fact, there’s a Mastodon instance set up specifically for
Ben's house is slowly
being taken over by 3D download a UF2 file of CircuitPython for Pico W from bots – botsin.space. Be sure to read the rules so you
printers. He plans to hsmag.cc/PicoWCircuitP. At the time of writing, the can properly write your request if you want an account
solve this by printing an
latest version was 8.0.0-beta.4. There wasn’t yet a on that instance. If you’re looking to set up a personal
extension, once he gets
enough printers. stable version for Pico W. This should be fine for most account, you’ll need to pick an instance to join. Head to
cases, but obviously, a beta version might have bugs in joinmastodon.org to look at the options. Don’t worry
it. The stable version should be available shortly. too much, as you will be able to move your account
In order to get that onto Pico W, you need to to a different instance later if you want, and you can
Above hold down the BOOTSEL button, then plug Pico W interact with people on any instance.
The Mastodon social
network has an API into your computer (unplug it first, then plug it Once you’ve got an account, you can get an API
that’s easy to connect in). You should see a new removable drive appear, key. In your edit profile page, go to Development,
to and use from
embedded devices and you can drag and drop the UF2 file onto this. then click on New Application and give it a name, then
74
FORGE
Left
You can build an HTTP
server in under 30
lines of CircuitPython,
so it’s an easy way of
adding an interface to
your project
75
Pico W with CircuitPython
TUTORIAL
AT YOUR SERVICE
ESPHOME The second thing that we’re going to look at is setting
up a simple HTTP server. This will let you connect to
ESPHome is a platform for building and
interconnecting DIY Internet of Things devices. As
Pico W and read information about what’s going on.
the name suggests, it was originally built for ESP8266-
and ESP32-based devices. However, there’s now import microcontroller
support for Pico W. This gives you a really easy low- import socketpool
code way of linking up sensors, actuators, and other import wifi
‘thing’ devices. You can create configurations in the from temperature_html import temperature_html
YAML markup-language and deploy these to devices.
from adafruit_httpserver import HTTPServer,
Using this, you can very quickly make a network of
interconnected things using commonly available HTTPResponse
maker components and control them from the Home from secrets import secrets
Assistant smart home software.
ssid = secrets["WIFI_SSID"]
print("Connecting to", ssid)
The format should be: wifi.radio.connect(ssid, secrets["WIFI_
PASSWORD"])
secrets = {"WIFI_SSID" : "<your ssid>", print("Connected to", ssid)
"WIFI_PASSWORD" : "<your password>", print(wifi.radio.ipv4_address)
"mastodon_api_key" : "Bearer <your token>"
} pool = socketpool.SocketPool(wifi.radio)
server = HTTPServer(pool)
In most of these cases, you just need to slot in the
appropriate bit of secret information. The Mastodon @server.route("/temperature")
token is a bit different just because you need to include def base(request):
the word ‘Bearer’ before the token. return HTTPResponse(content_type="html",
Once you’ve set this up, you can save the above body=temperature_html.
code as code.py on your Pico W, and it will connect to format(temperature=microcontroller.cpu.
your Wi-Fi network, post the message to Mastodon, temperature))
Below
OK, this isn’t the and then finish. This is probably a little dull by itself, but
best-looking website,
but it gets the
you can use it to log information, send messages, or while True:
information across just generally to scream into the void. try:
server.serve_forever(str(wifi.radio.
ipv4_address))
except:
pass
76
FORGE
Left
The new support for
Pico W in ESPHome
gives access to
a huge range of
IoT hardware with
minimal coding
”
body of the response should be a formatted version
of temperature_html. You can use it to build up complex interfaces and
When working with web pages, we’re going to
easily get data out of your build without having
”
need to manipulate quite a bit of text. This isn’t a
huge problem from a processing point of view, but to physically plug in a cable
we want to be a bit careful of how we manage our
files to ensure that they’re not too messy. There are
a few ways of doing this, but we’ve stored the HTML main text of the page (and not to be confused with the
in a string in another file and so are importing that body of the HTTP request which includes the whole of
string from the file. We’re using Python’s built-in string the HTML).
formatting tools to insert data into this HTML string. <h1> is heading level 1 (i.e. the largest heading); <p>
In its simplest form, this lets us put {0} in the string is a paragraph.
somewhere, and then the format method will replace With all that in place, we just need to kick off our
this with the first parameter to format. If you want to server with server.serve_forever(str(wifi.radio.
insert more bits of text, you can add {1}, {2}, etc. to ipv4_address)). We’ve wrapped this up in a try-except
the string and use extra parameters to format to inset block in an infinite loop. This is in case there are any
these into the text. The temperature_html.py file is: problems while it’s running. HTTP servers don’t have
to be particularly complex, but there’s a lot of things
temperature_html = """ that can behave strangely in there. The network could
<html><head><title>Temperature</title></head> lose packets. The client requesting the data might send
<body><h1>Temperature</h1> a poorly formed request, or there could be a bug in our
<p>The temperature is: {0} degrees C</p> code. This will just attempt to restart the server should
</body> anything go awry. It might not last forever, but it will
</html> make it a bit more resilient.
""" There we have it. A simple HTTP server for
interacting with a Pico W. You can use it to build up
HTML is a markup language for creating web pages. complex interfaces and easily get data out of your build
We’re not going to go into it too deeply here, but very without having to physically plug in a cable – which can
simply, text is encased in tags with angled brackets. make the physical setup much easier. We’ve looked
A / tag closes the brackets. There’s a <head> section at the most basic use case here, but it can get as
with things like the title, and the body which is the complex as you like.
77
ADVERTISING FEATURE
YOUR
GIFT GUIDE
FOR 2023 THE BEST NEW PRODUCTS YOU CAN BUY
FOR CHRISTMAS AND INTO 2023
£420
G-MASTER
GB3467WQSU-B1 FLIRC SKIP 1S
Immerse yourself in the game with the curved The Skip 1s Universal Remote Control makes controlling
GB3467WQSU Red Eagle with FreeSync Premium. your entertainment center a breeze. With support for
Inspired by the curve of the human eye, the 1500R curved 3 different activities that can be activated with the click
VA panel with 165Hz refresh rate, 0.4ms MPRT, and 3440×1440 of a button, a universe of device combinations is at your
resolution guarantees superb image quality and a comfortable fingertips. Leave the simplicity to us, and we’ll leave the
and very realistic viewing experience. creativity to you.
The height-adjustable stand ensures total flexibility for your
magpi.cc/skip1s
perfect screen position. Customise the screen settings using
the predefined and custom gaming modes along with the Black
Tuner function to give you total control over the dark scenes and
make sure details are always clearly visible.
magpi.cc/gmaster
ADVERTISING FEATURE
AOC Q27G2E/BK
The AOC Q27G2E/BK offers a 27-inch VA panel with
QHD resolution, ShadowControl and super contrast ratio
of 3000:1. Enjoy the most responsive gameplay and fastest
battles with its stutter-free Adaptive Sync, 155Hz refresh rate,
1ms MPRT, and low input lag to decrease motion blur and
input-output delay. Gaming has never been so fun and intense.
CYBERPOWER PC magpi.cc/Q27G2E
cyberpowersystem.co.uk £219
MINI PUPPER
£229 Mini Pupper is an AI-powered, smart, quadruped robot
designed for education. Mini Pupper makes robotics easier for
schools, home-school families, enthusiasts, and more.
Utilising ROS (Robot Operating System) and with support for
OpenCV and OpenCV’s official OAK-D-Lite 3D camera module,
mangdang.store
magpi.cc/C27G2ZU
TUTORIAL
Radio communication
Sending messages through the air using
magic (and electromagnetism)
W
ith streaming services control in your projects, and achieve a greater range
gradually replacing broadcast than you’d manage with infrared. Here, we introduce
radio and TV, it might seem radio technology, explain how you can use it legally,
that radio is yesterday’s and suggest a couple of practical ways you can learn
technology, but the reality is about the technology using a low-cost transmitter
quite different. Although the and receiver. You’ll then be perfectly placed to use
Mike Bedford word radio isn’t usually used in the same breath, so these devices together with a Raspberry Pi or Arduino
many of the technologies on which today’s world single-board computer, as we’ll go on to explain.
Despite loving all things relies depend on radio communication. Included here
digital, Mike admits to
being a bit of a Luddite,
are mobile/cellular phones, WiFi access points and INTRODUCING RADIO
vinyl records and all. the numerous devices that connect to them, cordless Radio is a form of electromagnetic energy, as
home phones, car keys, and remote control units for are infrared, visible light, ultraviolet, X-rays, and
garage doors, central heating and more. What’s more, gamma rays. What sets these different areas of the
it’s quite feasible for you to incorporate radio remote electromagnetic spectrum apart is their frequency.
80
FORGE
Of all these, radio waves have the lowest frequency, radio transmitter and, as a result, very few people
ranging from just a few Hertz through to 300 GHz. used radio transmitters. Figure 1
The radio spectrum
Because this is quite a large range, radio is split Today, we all use devices that transmit radio covers twelve orders of
into several regions, each spanning an order of waves, for example, mobile phones and WiFi- magnitude. Here, we’re
looking particularly at
magnitude. Of particular interest are the following: enabled equipment. This is allowed because 433 MHz radio, which is
LF (low frequency) includes the long-wave band, they operate in parts of the radio spectrum that in the UHF region
”
Left
analogue broadcast for licence-free use, Radio might conjure
radio; MF (medium We all use devices that but that still doesn’t
up nostalgic images,
especially if we use
the word ‘wireless’,
frequency) includes transmit radio waves, mean there are no but while its use for
the medium-wave regulations. Specifically, broadcasting is in
band, which is also for example, mobile phones the equipment should
decline, it remains
”
key to many of today’s
used for analogue and WiFi-enabled equipment be low-powered, and it most important
technologies
broadcast radio; HF must have been certified
(high frequency) by its manufacturer,
includes various short-wave bands, which are used as adhering to the relevant standard. This means
for long-range, international broadcast radio; VHF that you can’t build your own transmitter for use in
(very high frequency) includes FM and DAB (digital a licence-free band, but there are ways of getting
audio broadcasting) radio; UHF (ultra high frequency) around that. Transmitter modules can be certified,
carries terrestrial TV broadcasts, mobile phones, and allowing them to be incorporated into equipment,
WiFi, and is also where the transmitter and receiver and we’ll be taking advantage of this proviso later
modules we’re investigating here operate; and SHF when we see how you can build radio control into
(super high frequency) also carries mobile phones your own projects.
and WiFi. Higher-powered equipment, as used by
We show each of these areas of the radio businesses, for example taxi companies, can only
spectrum in Figure 1, plus those regions which be used with a licence, but the equipment still has
are used for more specialist applications. As well to be appropriately certified. Of particular interest
Figure 2
as frequencies, we also show wavelengths which to electronics enthusiasts, though, is the amateur Using 433 MHz
run in the opposite direction, so as the frequency radio licence. They’re only granted to people who transmitter and
receiving modules
increases, the wavelength decreases. Although we have passed a test about radio theory, but there are with on-board
now refer to radio waves by their frequency, at one several benefits. Radio amateurs can use high power encoders and
decoders couldn’t
time the wavelength was used instead. Knowing on a wide range of frequencies, allowing them to be much simpler
about the wavelength is still important, though, since
it dictates the size of the antenna.
LEGAL CONSIDERATIONS
From the very early days of radio, governments
realised that allowing a free-for-all would result in
chaos, so legislation was introduced, regulating how
radio could be used. Until just a couple of decades
ago, therefore, a licence was required to operate any
81
Radio communication
TUTORIAL
communicate worldwide. And of particular interest, to differentiate between a radio signal (a digital 1)
Above they can experiment by building their own equipment. and no radio signal (a digital 0), so long as the signal
To get a feel for
transmitter and is flipping between 1s and 0s sufficiently frequently.
receiver modules 433 MHZ MODULES To do that, the data has to be transmitted at a
with built-in encoders
and decoders, we One of the most common licence-free bands for speed that’s faster than the AGC’s delay, but that
suggest you add four remote control applications is the 433 MHz band, alone wouldn’t be enough because long strings of
push-buttons to the
transmitter and four which is available in many countries, and is our 1s or 0s would still cause problems. So the data is
LEDs to the receiver
main theme here. Transmitter and receiver modules Manchester encoded, which means that 1s and 0s
are widely available and very cheap. 433.92 MHz are represented either by a high-level signal followed
modules are by far the most common, but other by a low-level or vice versa. As a result, there’ll be
frequencies within the 433 MHz band are available, a transition in the transmitted signal for every bit.
so ideally, buy the transmitter and receiver modules Commonly, this is achieved using an HT12E encoder
as a pair, but if not, make sure they operate on the chip on the transmitter and an HT12D decoder chip
same frequency. The transmitter has a data-in pin, on the receiver. You can buy these and add them
and applying a positive signal to that pin causes it to the transmitter and receiver modules, although
to transmit. Conversely, the receiver has a data-out an alternative solution is to buy transmitter and
pin, which provides a positive signal when a radio receiver modules with the encoding and decoding
signal is detected. This might suggest that you could chips already on-board. They’re not as common
add a push-button to the transmitter and an LED to as dumb modules, but you should be able to find
the receiver and you’d be able to illuminate the LED modules called something like PT2262 Wireless
remotely. In practice, it’s not that simple. The snag is Modules (transmitter) and PT2272 Wireless Modules
that, like most radio receivers, the receiver module (receiver) for less than £10 for the pair, for example,
has an automatic gain control (AGC) that increases from hobbycomponents.com. This company offers
the amplification as the received radio signal gets both 315 MHz and 433 MHz variants but, for use in
weaker. The upshot of this is that pretty much any the UK, get 433 MHZ modules, because the 315 MHz
signal, however weak, even including noise, will versions can’t be used legally. These modules
get amplified so much that the module generates a actually use the PT2262 encoder chip and the
signal on its data-out pin. However, the AGC doesn’t PT2272 decoder chip, which appear to be identical
act immediately, but is delayed, so it’s still possible to the HT12E and HT12D, respectively, except that
82
FORGE
Left
433 MHz modules
will work over a
few metres without
antennas, but
you need external
antennas – and
straight ones work
better than coiled
ones – to achieve a
good range
”
the HT12D has latched outputs, while the PT2272
is available with either latched or momentary acting With just a 6 V supply on
outputs, the version in these modules being the
the transmitter … we only
latter. A useful feature of all these chips is that the
encoder has four data inputs, and the decoder has managed to communicate
”
four data outputs, so you can control four different
over four metres
devices. To start, to get a feel for these modules,
you’ll probably use four push-buttons on the
transmitter and four LEDs on the receiver. Here, we
show how the modules should be wired up to do 6 V to 12 V will produce four times the transmitted
that, and you can also see how simple it is to patch power, which should double the range. The range
them up using a pair of breadboards. Note that, if could also be improved by changing the original
the modules we used are typical, the data inputs helical antennas with straight antennas made from
on the transmitter are labelled with the bit numbers stiff insulated wire. They should be a quarter of a
(D0, D1, D2, and D3), while the data outputs on the wavelength long, which is 167 mm at 433.93 MHz.
receiver are labelled with the pin numbers on the The other thing to try is using a superheterodyne
PT2272 chip (10, 11, 12, and 13), but D0 is on pin 10, receiver instead of the inferior super-regenerative
D1 is on pin 11, D2 is on pin 12, and D3 is on pin 13. design. The latter is the more common, and if the
Having patched up the modules, you can see type isn’t mentioned, it’s probably super-regenerative.
what sort of range you can achieve. With just a 6 V In the main, you’ll find that the superheterodyne
supply on the transmitter, and the helical antennas modules are shipped directly from China and have
that are fitted to the modules when you buy them, long delivery times, but we did discover
we only managed to communicate over four metres. 247geek.co.uk, which ships modules from the UK.
However – unlike the receiver module which should
not be used with more than a 5 V supply, so you ENCODING AND DECODING
should use a diode, as shown in our schematic Using the PT2262 and PT2272 modules is very
(Figure 2), to reduce the voltage if you use four convenient, but you’ll probably not learn a lot
AA cells as your supply – the transmitter can be about the encoding and decoding process, as you
used with up to 12 V. Increasing the supply from would if you were to use unencoded 433 MHz
83
Radio communication
TUTORIAL
Right
Superheterodyne
receivers (bottom
right – top right is
the paired transmitter),
aren’t as common as
the super-regenerative
receiver (bottom
left – top left is the
paired transmitter),
but they offer superior
performance
transmitter and receiver modules with separate transmit continuously. However, by keeping that pin
encoder and decoder chips. So, if you’re interested at +5 V, and only applying 0 V when it’s necessary
in the behind-the-scenes details, take a look at the to transmit, power consumption will be reduced,
schematic shown in Figure 3, which is a commonly which is important for battery-powered equipment.
shown circuit. This uses the HT12E and HT12D You could do that, for example, by generating a
chips, which are more commonly available than the low-level signal whenever one of the four push-
PT2262 and PT2272. buttons is pressed. Moving to the HT12D decoder,
Most of it should make sense with little in the you’ll notice that there’s a pin labelled VT which
way of explanation, but the chips have various is unconnected. This produces a signal whenever
features that aren’t used in the PT2262 and PT2272 a valid transmission is received and could be
modules we looked at earlier, so let’s take a look connected to an LED, for example.
at those chips. First of all, the HT12E and HT12D If your project requires 433 MHz modules to
both have inputs labelled A0 to A7, which are all be connected to a Raspberry Pi or an Arduino,
shown as connected to 0 V. These are actually the simplest solution would be to use modules
address inputs, and if facilities are provided on with on-board encoders and decoders. However,
Figure 3
This standard circuit
the transmitter to change the address, it would if you want to reduce the chip count, there’s an
shows how 433 MHz be possible to selectively transmit to up to 256 alternative to using encoder and decoder chips, that
transmitter and receiver
modules can be used different receivers, each of which would need to becomes available if your project uses a single-
with the HT12E encoder have a different 8-bit address. We also show a pin board computer. That solution is to implement the
and HT12D decoder
chips. With an SBC, labelled TE connected to 0 V on the HT12E encoder. functionality of the encoder and decoder chips in
though, the encoding This means that the chip will generate a continuous software. And the good news is that the necessary
and decoding could
be done in software stream of data so the transmitter module will functionality is available in various libraries and open-
source software projects, and guidance on using
these resources appears to be widely available.
And finally, and if you get bored with 433 MHz
modules, and have a project that needs greater data
throughput, you might be interested to know that
there are also 2.4 GHz transceiver modules – that
is a transmitter and receiver combined – which
are intended exclusively for use with single-
board computers.
84
Together we can
make a difference
Give young people the opportunity
to learn about technology
OUT
NOW
T H AT M A D E
SUBSCRIBE
FOR JUST
£10!
> T
HREE!issues
of The MagPi
> F
REE!
Raspberry Pi
Pico W
> F
REE!
delivery
to your door
NEW
+ FREE
MO
DEL!
RASPBERRY PI
*W
PICO W*
hil
es
toc
ks
las
t
Three issues and free Pico W for £10 is a UK-only offer. Free Pico W is included with a
12-month subscription in USA, Europe and Rest of World. Not included with renewals.
Offer subject to change or withdrawal at any time.
magpi.cc/subscribe
FIELD TEST
HACK MAKE BUILD CREATE
Hacker gear poked, prodded, taken apart, and investigated
PG
94
MAKE
YOUR OWN
PG
88
UNO BEST OF
BREED
Learn to solder with Arduino
96
CROWDFUNDING
FISHES
Paper lanterns to make at home
Arcade controllers, parts, and accessories
BEST OF BREED
ONLYTHE
BEST
Arcade controllers,
parts, and accessories
Build your own arcade
C
ustom arcade builds have been a
popular project for many DIY
electronic enthusiasts. Personally, I
have built over 15 different arcade
machines over the years. Yes, I
counted! From full-size cabinets to
tabletop versions, and even a few that can fit in your
pocket. It’s a fun project for beginners and advanced
builders alike. You can easily build one that does not
require any soldering from a complete kit, or you can
go all out and design a 100% custom build, including
designing your own PCBs. It’s one of those topics
that has a robust marketplace and community, making
it easy to jump in, no matter what your skill level.
In this round-up, I’ll be looking at a wide variety of
kits and components, all focused on building your
own arcade system. To make your build easier, some
are complete kits – one even includes the elusive
Raspberry Pi 4 – while there are also some basic
components and break-out boards. Something for
everyone! And, just like the custom keyboard-building
scene that has taken over the DIY community lately,
there are almost limitless accessories that allow you
to get a truly unique build.
88
FIELD TEST
Picade vs
Adafruit LED Arcade Button 1×4
PIMORONI $191 - $324 pimoroni.com ADAFRUIT $9.95 adafruit.com
I
f you want to get into retro gaming and
the idea of putting everything together and
having a polished and complete system
seems daunting, then the Picade from
Pimoroni might be a good place to start. If
you opt for the basic kit, you’ll have to source
a few parts like a Raspberry Pi, power supply, and
SD card. But, you won’t have to design, cut, and
figure out how to build the enclosure. And, in most
instances when building a retro arcade, the enclosure
is the hardest part! If you go for the new 10” deluxe Left
kit, you’ll get everything needed to build the complete Arcade machines
don’t have to be huge
desktop arcade machine, even the difficult-to-
source Raspberry Pi! And as you all know, finding a Below
Lots of buttons with
Raspberry Pi is not easy nowadays! only a few GPIO pins
S
ave pins and time with the Adafruit
LED Arcade Button 1×4. This handy
little board may look simple at first, but
it has a few interesting surprises hidden
on the back of the PCB. This board
VERDICT
allows you to add multiple illuminated Picade
arcade buttons to your next microcontroller project
A kit that includes
thanks to the on-board microcontroller programmed a Raspberry Pi 4!
10/ 10
with seesaw firmware.
Simply connect the buttons via the JST XH sockets,
and the board will not only supply 5 V power to the
button LEDs, but it will also do all the controlling via
I2C. This will save you from having to use a dedicated Adafruit LED
pin for each button or dealing with stepping up 3.3- Arcade Button
volt power. You can also connect several of these 1×4
boards together, 16 boards in total, and you won’t A simple way
need any more pins on your microcontroller. This to connect
board really does simplify adding multiple buttons to a arcade buttons.
9/ 10
custom microcontroller-based project. Head over to
the website for additional technical details about how
to use the Adafruit LED Arcade Button 1×4.
89
Arcade Controllers, Parts & Accessories
BEST OF BREED
T
he folks over at SparkFun love
gaming. So much so, that they even Left
From microcontroller
came up with a kit for the micro:bit. to games machine
The kit features a custom-designed
carrier board that includes a classic
D-pad style layout of buttons and two VERDICT
additional A/B buttons. The kit also includes four SparkFun
classic arcade buttons, a joystick, battery pack, and a micro:arcade kit
wiring harness to hook it all up. for micro:bit v2.0
You might think this is a bit overkill for a micro:bit, There is even a
but they have done a good job of giving examples of kit for micro:bit.
8/ 10
simple games that can be made on the LED matrix of
the micro:bit. The kit does not require any soldering,
but you do have to supply your own micro:bit.
T
Left
Add buttons to the
he Raspberry Pi is a great system for tiniest Raspberry Pi
both large and small arcade builds.
The Adafruit Arcade Bonnet for
Raspberry Pi is the perfect match for VERDICT
those smaller form factor builds. The reducing the required number of pins. It also allows for Adafruit Arcade
board is the same size as a Raspberry Pi old-school gated joysticks or analogue joystick input. Bonnet for
Zero and makes your build easy. You will have to solder And, although you do have to do a little soldering at Raspberry Pi
on the header pins and speaker connector, but once first, when it comes to assembling your arcade system Great for
you’ve done that, it’s all plug and play. in the final enclosure, having all these components small builds.
9/ 10
The Bonnet has a few extra features too. There is an plug and play via the JST connectors makes that step a
on-board 3 W digital speaker output and some circuitry lot easier. Just don’t forget to pick up some compatible
that includes an I2C-GPIO converter for all the buttons, wires that are also available at Adafruit.
90
FIELD TEST
Picade X HAT
PIMORONI $15.64 pimoroni.com
W
ant to scratch-build a no- The soft power switch allows you turn your
solder Raspberry Pi arcade Raspberry Pi on and off without the risk of
system? Then check out the corrupting the SD card. Simply tap the
Picade X from Pimoroni. With power button to start up your Raspberry
this HAT, you can easily add Pi, and when you’re done, press
buttons and joysticks to a and hold it for three
Raspberry Pi board. It features a 3 W amplifier, soft seconds to fully
power switch, and lots of female DuPont connectors shut down and
for a no-solder arcade build. Just keep in mind, you’ll power it off.
also want to pick up the matching Picade wiring loom Nice!
to make all those connections.
VERDICT
Picade X HAT
Above
A great option for Connect your arcade
Raspberry Pi- controllers to your
Raspberry Pi
based gaming.
10/ 10
HDMI 10” LCD SCREEN KIT
PIMORONI $118 pimoroni.com
91
Arcade Controllers, Parts & Accessories
BEST OF BREED
Picade Console
PIMORONI $88.50 pimoroni.com
T
he Picade Console from Pimoroni
takes all the great features of the
popular Picade X HAT, and couples Below
them with all the required buttons Arcade machine
and controller all
and joystick to make a complete in one
arcade system housed in a beautiful
and compact retro-style case. You can pick up all
the components separately, but the real value here is
in the case to house everything. It features black
powder-coated MDF panels and an acrylic top, giving
it a truly authentic look and feel.
”
authentic look and feel
VERDICT
And for an added special touch, the instructions are Picade Console
printed on the back of a fun retro-style poster that Fun and
would make a great addition to your game room. Just compact
keep in mind that you do have to supply your own TV retro gaming.
9/ 10
and Raspberry Pi. And as of right now, Raspberry Pis
are tough to source. If you already have one,
however, this will make for a fun build!
92
SUBSCRIPTION
REVIEW
ARDUINO € 55 arduino.cc
W
e’ve tested out a lot of difficult (the USB-to-serial adaptor) comes as a pre-
soldering kits over the years, soldered module. However, there is quite a lot of it.
and there’s a very diverse An experienced solderer can probably do everything
range available. Some are in an hour or so, but it could take considerably longer
simple and fun, to give people if you’re not familiar with components or the process
their first taste of soldering. of soldering.
Some are complex and designed to push your skills. For beginners, this does come with a couple of
Some are a way of getting short-run hardware without practice PCBs that you can try soldering. They’re much
the added expense of someone assembling it for you. smaller and not really needed, so it’s not a problem if
Where does the Arduino Make Your UNO Kit fit into you mess them up. If you’re a complete beginner,
all this? going through everything in this kit will build you up to
Below There’s no particularly complex soldering – it’s all a reasonable skill level. You’ll have plenty of practice
The final UNO can
be used just as any
through-hole, with no small components or parts with standard components, and probably be ready to
other Arduino UNO too close to each other. The one bit that could be try some more challenging soldering.
It is really well-documented – there’s a 3D
guide that shows how everything fits together.
However, despite all this, we did make an error,
and we’re not convinced it’s our fault! Let us
explain. The kit contains two practice PCBs, a
DIY UNO, and a synth shield. The synth shield
also has a speaker holder. All these are
contained in separate PCBs that are on two
panels. Each PCB is designed to snap out,
and that’s exactly what we did at the start
– and this matches the ‘finished’ photo on
the DIY UNO guide. However, if you snap
them all out, you can’t then fit it all together
in the cardboard case that comes with the
kit. This doesn’t stop it all working, but
means you can’t get the tidy look of the
finished product that’s shown on the
website. It’s not the end of the world, but a
bit more guidance on this at the start would
be appreciated.
The synth shield is basically six
potentiometers and an amplifier. Five of
these potentiometers connect to the
analogue inputs on the Arduino UNO, and
94
FIELD TEST
Left
You can make some
noise using the
Mozzi library
Below
All the surface-
mount components
come pre-soldered
the sixth is a volume control that also has quite a big guide is really easy to follow and shows exactly what
impact on the tone of the sound. The amplifier is goes where.
connected to a PWM-enabled pin (D9), and filtered This is also – and this is an important point – a really
through a capacitor, so you can create simple sounds good-looking PCB. The silkscreen shows the outline of
using the tone library, or more complex ones using the component combined with the schematic in a way
Mozzi (a library for creating sound on microcontrollers, we’ve not seen before (yes, we know they use the
see hsmag.cc/Mozzi for American symbol for
”
details). At the moment, resistor rather than the
there’s still a relatively If you have a bit of Arduino EU one, but we’re not
limited set of sketches experience already, you going to hold that against
available to play that are them). The result is
should find it reasonably
”
specifically designed for informative, helpful for
this shield, but you can of straightforward to get started people getting started
course program your with electronics and, to
own. Mozzi is well- our eyes, beautiful. It
documented and, if you have a bit of Arduino helps that it’s done in Arduino’s teal solder mask rather
experience already, you should find it reasonably than the traditional green.
straightforward to get started. At 55 euros, this is an expensive kit. However, it’s
The synth shield is great fun to play with. We’d the most excited we’ve been about an Arduino release
appreciate a bit more hackability – particularly adding for a while. It’s a great introduction for new people
connectors, so you can add additional hardware to coming to soldering, it’s a fun kit to play with, and
unused GPIOs. For example, buttons to trigger the you’ve got perhaps the most common microcontroller
sound generation. Arduino shields can be stackable, board available to continue your adventure however
but this shield doesn’t have stackable headers. You you wish. For your 55 euros, which is approximately
could add a proto shield underneath this to add the same in pounds and dollars at the moment, you
additional connections, or you could solder onto the can get a lot of enjoyment.
joints for the headers. Even without this, though,
there’s plenty of fun to be had with the synth shield.
You don’t have to use the synth shield. Your UNO
will act just like any other UNO, and you can use it
for almost any microcontroller project you like. By
modern standards, it’s not particularly small, powerful,
or connected, but that’s often not a problem for VERDICT
a microcontroller. A fun kit to help
There’s a lot of attention to detail in this kit that you learn to
makes it good to use. For example, the through- solder and make
holes only have copper exposed on one side of the some noise.
10/ 10
PCB, which means you can’t solder components on
the wrong side – something this author has done
on multiple other soldering kits. The 3D soldering
95
Crowdfunding now
REGULAR
CROWDFUNDING
NOW
Koi Lanterns
A new way to show off LEDs
P
aper is a fun material to work with. It’s
cheap, ubiquitous, and easy to shape. Yet it’s
something we often don’t think about for
fabrication. However, there’s a long history of
making things with paper – most notably
origami, but there are others. The Koi Lanterns by Yuumei
Art will come as laser-cut shapes that fit together without
glue or tape, to create poseable fish models.
Paper and LEDs work really well together. Here at
HackSpace mag, we’re big fans of using thin paper as
diffusion material, but these Koi will use thicker card and
let the light shine through the gaps. The texture on the
surface of paper makes for a very soft light that illuminates
gently. These kits come with LEDs, but it looks like a great
place to flex your maker muscles with some colour-
changing options. A gentle flow through the spectrum of
colours could look wonderful.
The build looks quite involved. There are a lot of small
parts that need to slot together gently, and it would be
Right
easy to accidentally crumple and fold. Although we’ve not We absolutely love
had a chance to try this out, it looks like assembling it could the effect of
LEDs shining
be quite a meditative process. through paper
96
BUYER
BEWARE !
When backing a crowdfunding
campaign, you are not purchasing
a finished product, but supporting
a project working on something
new. There is a very real chance
that the product will never ship
and you’ll lose your money. It’s
a great way to support projects
you like and get some cheap
hardware in the process, but if
you use it purely as a chance to
snag cheap stuff, you may find
that you get burned.
97
#63 ON SALE
19 JANUARY
ALSO
LEDS
SOLDERING
3D PRINTING
CIRCUITPYTHON
AND MUCH MORE
hsmag.cc/subscribe
PiKVM Manage your servers or
workstations remotely
PiKVM HAT
for DIY and custom projects Pre-Assembled version
Real-time clock with rechargeable super capacitor OLED Display Bootable virtual CD-ROM
& flash drive Serial console Open-source API & integration Open-source software