Raspberry Pi Official Magazine #151
Raspberry Pi Official Magazine #151
PROBLEM
SOLVING
TROUBLESHOOT RASPBERRY PI LIKE A PRO!
03 £7.99
ISSN
2977-4403
(Print)
9 772977 440004
Industrial Raspberry Pi
ComfilePi
Welcome
Welcome to
Raspberry Pi
Official Magazine
Editor
Lucy Hattersley
T his is an incredibly important edition of the magazine
formerly known as The MagPi. We’ve now got full official
status and are now known as Raspberry Pi Official Magazine.
I love change, but it’s important to remember where you are from. So
we’re keeping everything else familiar to those of you who see this as the
Lucy is trying to make
151st edition of The MagPi. If you appreciated our old magazine, you’ll
RPOM a thing! If we
say it enough; it will love Raspberry Pi Official Magazine. It looks different but is packed with the
happen. RPOM! same amazing Raspberry Pi projects, tutorials, and features.
We’ve got a huge troubleshooting guide updated for Raspberry Pi
[Link]
OS with Debian Bookworm. Armed with this guide, you’ll be a better
Raspberry Pi maker and builder. We tapped into the Raspberry Pi
engineering team for advice and feedback so you can be sure everything
works as intended.
Rob has written a complete guide to building your own maker space.
So if you want a cave for all your tools, this is the way to do it. And
Andrew has been chatting to the maker of an amazing synth with
hexagonal keys.
I hope you enjoy the new-look magazine and find it both refreshing
and familiar at the same time. We really can’t do this without our
readers and subscribers. Thank you for spending time with us.
Contents
World of Raspberry Pi 10
Project Showcase
022 HexBoard
26
Raspberry Pi Official Magazine is published monthly by Raspberry Pi Ltd., 194 Cambridge Science Park, Milton Road, Cambridge, England, CB4 0AB. Publishers Service Associates, 2406 Reach Road, Williamsport, PA 17701
is the mailing agent for copies distributed in the US. Periodicals Postage paid at Williamsport PA. Send address changes to Raspberry Pi c/o Publishers Service Associates, 2406 Reach Road, Williamsport, PA 17701.
Tutorials
Feature
068 Get started with Sense HAT V2
54
076 Build a private cloud server –
part 5: Getting social
Feature
96
054
Problem Solving: troubleshoot your
Raspberry Pi errors with our expert guide
096
Maker Tools: fill your maker space with
the right stuff
6 Contents
7
112
116
Reviews
104
Only the best: Mini displays
112
Top 10: Raspberry Pi 5
accessories
116
Interview: NetworkChuck
Competition
Disclaimer: Some of the tools and techniques shown in Raspberry Pi Official Magazine are dangerous unless used with skill, experience, and appropriate personal protection equipment. While we attempt to guide the reader,
ultimately you are responsible for your own safety and understanding the limits of yourself and your equipment. Children should be supervised. Raspberry Pi Ltd does not accept responsibility for any injuries, damage to
equipment, or costs incurred from projects, tutorials or suggestions in Raspberry Pi Official Magazine. Laws and regulations covering many of the topics in Raspberry Pi Official Magazine are different between countries,
and are always subject to change. You are responsible for understanding the requirements in your jurisdiction and ensuring that you comply with them. Some manufacturers place limits on the use of their hardware which
some projects or suggestions in Raspberry Pi Official Magazine may go beyond. It is your responsibility to understand the manufacturer’s limits.
8 Contents
Raspberry Pi finds a new home
Versatile enclosure for Raspberry Pi B+
The new UCS Universal Case System is now available with ready made cut-outs for
the 7” touch display and standard connections of the Raspberry Pi B+ single board
computers. The 237 x 195 x 47mm housings are available in black or grey and are
suitable for wall or desktop mounting
If the power is unstable, the guard word check should fail. However, the
OTP remembers the last successful read. If the attacker cuts power at
the right time – just after a guard read has occurred – the chip reads
0x333333 instead of the real setting, which allows an attacker to disable
security protections.
Unlike other attacks, which glitch the system into revealing its secrets, this
attack physically examines the system to recover hidden data.
The attack has limits. It currently recovers the bitwise OR of two physically
adjacent memory cells. “With some per-bit effort it may be possible for an
attacker to separate the even/odd cell values,” speculates Eben.
S
S VirtualHere detecting devices
in Raspberry Pi OS
team Link, the popular video gaming streaming
software, has had a series of updates for Raspberry
Pi. The latest 1.3.5 BETA version was released on
8 February and introduces support for VirtualHere in Raspberry
Pi OS Bookworm.
With Steam Link software installed on a Raspberry Pi, you
can stream video games from any computer on your local
Stream video games network or over the internet running Steam software. In effect,
this extends your PC video games to stream at any location in
from any computer the house. It’s especially useful for streaming video games
from a PC (located in the house) to a console-style Raspberry Pi
on your local network connected to your home television.
We tested it out with a Steam Deck handheld device and a
Raspberry Pi 5 running Steam Link software.
VirtualHere is a Steam Link device upgrade that enables
you to use the Xbox One Wireless Controller alongside
“steering wheels, microphone, headphones, flight sticks, PS3
controllers, Bluetooth adapters, and many other USB devices
directly on your Steam Link device.”
Installing Steam
It improves the compatibility of gaming controllers because S VirtualHere Link
it transmits the actual USB signal between Steam Link and activated in
the remote computer. The remote computer (in this case our Steam Deck on
To install Steam Link yourself, grab yourself an
Raspberry Pi) thinks the gaming controller is local to it. Raspberry Pi
up-to-date Raspberry Pi OS image and type:
In our test, it detected an 8BitDo Retro Keyboard and the
Raspberry Pi Official Mouse.
sudo apt update
sudo apt upgrade
A difficult challenge sudo apt install steamlink
Writing on the Raspberry Pi blog in December, Raspberry Pi
CTO (Software) Gordon Hollingworth explained how Steam
Double-click the Steam Link icon on the
Link was integrated into his household. “With Steam Link, our
desktop to start the software. Click the ‘?’
kids can – OK, we can – play PC games on any computer in the
icon and choose ‘Switch to beta build’ to view
house, without having to lug the PC around. And now, you can
the latest features. Switch back to the ‘public
run Steam Link on your Raspberry Pi 5!
build’ to use the latest safe version.
“Steam Link is tackling some quite difficult challenges to
enable us to play graphics-heavy games remotely,” explains
Mounting MixPilot
Canadian Raspberry Pi customer Giatec
([Link]) recently launched
a unique and very clever product called
MixPilot ([Link]/mixpilot). MixPilot
gets mounted to concrete delivery
trucks and, through the use of sensors
and algorithms, can monitor various
aspects of concrete being delivered,
including a property known as
its ‘slump’. This is measured
X Two sensors
send data to a
gateway. Image via
[Link]
MixPilot gets
mounted a form or mould, as otherwise it might
S One of MixPilot’s
benefits is its
not flow correctly to fill the volume,
to concrete leaving voids – bad news if you want a
‘set and forget’
aspect. Here it is
+
Get it fast and for free
Exclusive offers
Great gifts, offers, and discounts
Great savings
Save up to 23% compared to stores
Subscribe for £10 is a UK-only offer. The subscription will renew at £15 every three months unless
cancelled. A free Pico W is included with a six-month subscription in USA, Europe and Rest of World.
20 Subscriptions
Subscriptions
WORTH
$6
A brand new RP2040-based Raspberry Pi
Pico W development board
SUBSCRIBE
on app stores
£2.29
Raspberry Pi Official Magazine 21
HexBoard 01
M
02
usical instruments are
dependent on physics and
maths for their sounds.
A guitar string changes pitch when its
physical properties change, be that
string thickness, tension or length. A
note from a saxophone, or any wind
Maker instrument, changes according to the
Jared DeCook length of the instrument that the air
Stay-at-home dad of is vibrating through. Any physical
two wonderful (and instrument needs to have some physical
very small) kids. I property that the player must interact
primarily work on my with in order to play music, and this
projects during nap naturally limits who can play, and what
time, but I love finding can be played.
parts we can work At least, that’s how it always was.
on together. With MIDI and computers, this no longer
has to be true. The instrument that
[Link] you play is nothing more than an input
device, like a keyboard and a mouse, and
as such, it can be any shape or size that
the maker wants. In this case, the maker
Jared DeCook, maker of the HexBoard, connecting to hardware MIDI devices. It
has chosen to make a grid of hexagonal has a very basic built-in sound generator
keys and RGB LEDs, all controlled by a that can play over headphones or built-
Raspberry Pi RP2040 chip. in speaker, which is nice for when
you want a quick and simple setup. All
Custom controller the unused pins from the RP2040 are
“The HexBoard is primarily a MIDI exposed as headers on the board for ease
instrument, which means that it of hackability for those interested in
sends note information to software or taking the hardware farther.”
hardware sound generators that play On a piano, each key has two notes on
the sounds based on the notes you play,” either side of it; on the HexBoard, each
Jared tells us. “It has a USB-C connector key is touching six further keys, so you
for connecting to MIDI software on can physically reach more notes with
a computer and a TRS MIDI jack for one hand – which is useful if you don’t
22 HexBoard
Project Showcase
That, plus it was very available during different ideas on the HexBoard than I do
the big chip shortage that occurred in on a standard musical keyboard.
the early stages of this project.” “With the latest update, it’s now a
While big companies may relentlessly useful tool for those experimenting in
focus group products to make sure microtonal music. The compact size
they find an audience, Jared originally and wide range make it very useful for
made the HexBoard for a pretty small musicians who want access to a large
audience: himself. We reckon argue this number of keys while still being able
might have enabled him to focus on to easily carry it around in a backpack.
making the HexBoard awesome. Beyond this, the colourful lights and
“Originally, I made it for me and my animations make it plain fun for anyone
brother,” he recalls. “I wanted a fun, to play around with.”
hackable instrument that looked cool
and was relatively easy to learn. I’m
quite happy with where I am on that, so Quick FACTS
I’d say the maker/hacker/musician is
my primary target. Jared built a similar device in 2013,
“As the project has advanced, it’s inspired by the Axis 49 instrument…
become useful to a variety of people. A
beginner musician can use it to start …when this started to fail in 2021, he began
learning basic chords and melodies. Any work on the HexBoard
given melody or chord has the same
shape/movement no matter what key It originally used a Teensy LC board as the
you are in, so in many ways it has a source of the processing power…
simpler learning curve.
“A music producer can use the various …but this was replaced with an RP2040-
layouts to spark inspiration as each based module designed by Jared
different layout gives a unique way
to consider the relationships between HexBoard is still under development, with
notes. I know for me, I come up with new features being added all the time
24 HexBoard
Project Showcase
1. Design a custom PCB with all the ports you need, breakouts to the
RP2040 module, and room for 140 mechanical switches.
2. Solder the switches in place, then fire up the 3D printer and get to
work creating a grid of tessellating hexagons.
S The screen enables users to navigate 3. Meanwhile, create your own custom RP2040-based board – add
through the many layout options offered
this to the PCB to handle all the ins, outs, and programming.
by the HexBoard
02
01
02
01
How It Works
2. When the power button is pressed, the device calls upon the
MQ135 highly sensitive sensor, which can be easily connected
to Raspberry Pi. It measures gas concentration from 100 to
10,000 ppm and outputs an analogue value.
02. The stepper motor glides along a rail, moving chess pieces smoothly
along the X and Y axes and deftly mimicking the knight’s move
01
02
Calculated moves
with significantly lower standby power
consumption.”
Using magnets moved by a stepper
motor rather than a robot arm allowed
Tamerlan to make the chess board as
compact as possible. He wrote Python
code to control each piece, translating
the coordinates for each of the board’s
64 squares into steps the stepper motor
could execute. Raspberry Pi calculates
the best moves according to player input
and translates text such as ‘b3b5’ into 1. The project can be made with a Raspberry Pi 4 or 5 and uses a
moves. “Castling is straightforward and standard chess board and pieces with a sturdy wooden base to
can be handled by writing two different which the electronics will be attached.
functions to cover the four possible
cases and executing them accordingly.”
Peer approval
Players can specify difficulty levels and
whether to play as black or white pieces
against the computer chess engine, and
there is a web option for remote play
against other chess fans. The project
quickly garnered interest and plaudits
online. Buoyed up by the success of
his Raspberry Pi Chess Board which
“gained remarkable attention” and,
after being featured by a number of tech 3. Tamerlan’s website provides details of how to overcome the issue
hobbyist sites, led to 40,000 visits to of overheating electromagnets and inaccurate grabbing of chess
his own website ([Link]/piboard), pieces by mapping magnets fixed to individual pieces and moving
Tamerlan has set his sights on a them with the stepper motor.
computing or engineering career.
02
fit what I was looking for,” he says. “I for,” Jeremy explains. “Once I got it up
then happened to think about seeing and running, it was pretty easy to figure
if there were any Raspberry Pi jukebox out, although I had some initial problems
projects I could work with and came getting it up and running with the latest
across Fruitbox.” Excited, he went to his version of Raspberry Pi OS Bookworm. It
local Micro Center to pick up a Raspberry was missing a library dependency that I
Pi 4 Model B 1GB computer. “I didn’t have had to install separately and I thought it
plans to buy any other hardware until I was all running smoothly until I tried to
was sure the software was going to work get it to autostart at boot.
like I wanted it to,” he says. “Then I found the Fruitbox4dummies
Luckily, it fit his needs. “It had the site which had a big notice saying there
vintage look and feel that I was looking were issues between the latest version
How it works
1. Flick a single power switch and the jukebox springs into action.
Everything is turned on, from the display to the amp and lights,
and the Raspberry Pi 4 computer automatically boots to the MP3
player Fruitbox.
2. There are two ways of playing tunes. You can insert a quarter for
three songs or hit the secret button on the back of the jukebox to
get five ‘free’ credits. You’re then able to start picking some songs
to enjoy.
3. There are 80 songs on each page and there are currently six
pages. When a song is selected using the panel buttons, an
S Jeremy says he would use a smaller monitor if animation shows the record being picked and played. Up to 20
he was replicating this build, so he could keep songs can be queued.
the cabinet under 24 inches wide
[Link]/StealthMacintoshPortable
44 Top Projects
Top Projects
[Link]/WhisperingWires
46 Top Projects
Top Projects
[Link]/PomodoroBot
T he Pomodoro technique is a
method of time management
named after a kitchen timer
in the shape of a tomato. Its adherents
break up the day into 25-minute chunks,
useful, then a Pomodoro timer would be
a brilliant place to start.
This example from CodersCafeTech
takes the concept of a simple timer and
takes it several steps further. For one
separated by five-minute breaks. After thing, it’s cuter than your average timer:
four of these 25-minute chunks of time the anthropomorphic little face, the 3D
have elapsed, you can then take a longer printed body, and the little feet make it
break, typically 25–30 minutes. Fans of the something that we’d quite like to have
Pomodoro technique say that it helps them in the office. On the technical side, the
to concentrate, as rather than having to makers have added an air quality sensor
negotiate emails, messages, meetings, and an ambient light sensor, to monitor
and whatever else goes on during the your working conditions and make you
day, the comforting ring of the pomodoro even more productive. And since it’s built
timer means that it’s time to actually get around a Raspberry Pi 5, it has internet
things done. connectivity, meaning you can sync it
Pomodoro timers are also a brilliant with your work calendar to get reminders
subject for physical computing projects. of upcoming meetings.
They need a way of counting time, an
input method, an audio output of some
kind, power management, and a way of
tying all the functionality together with
a bit of coding. If you’ve recently got your
hands on a Raspberry Pi Pico or something
similar and you want to build something
48 Top Projects
Top Projects
[Link]/VerticalRunner
50 Top Projects
Top Projects
[Link]/Bezicron
52 Bezicron
3D Print
You’ll become
a smarter tech
troubleshooter
X Raspberry Pi’s
Official USB Power
Supply provides
enough wattage
to comfortably run
the latest models
Recommended power
Model Raspberry Pi power supply
supply (voltage/current)
• a display
• a cable to connect your Raspberry
Pi to your display
• a keyboard
• a mouse
Installing your OS
Raspberry Pi computers check for an
operating system on the SD card first,
followed by the NVMe/USB boot drive
and network drive (depending on the
order set in raspi-config).
Raspberry Pi OS should be your first
port of call for an operating system.
Based upon Debian Linux, it is fast and
efficient. Raspberry Pi OS features an
effective collection of programming,
internet, and desktop applications. And S Use Raspberry Pi Imager to install an
it has links to documentation, reference operating system
Use OS customisation?
Before writing your OS to disk, a pop-
up appears asking you if you would like
to apply OS customisation settings. We
can’t recommend highly enough that you
click the EDIT SETTINGS button.
Here you will see three tabs:
W Check for
updates using DIG DEEPER!
the Raspberry Pi
OS GUI interface Click Show Updates to see a list of packages and versions. You can
look these up online if you want to get an understanding for what
different elements of Raspberry Pi OS and Linux are.
[Link]
Raspberry Pi OS uses a configuration file
called [Link]. Raspberry Pi looks for
this special file in the /boot/firmware/
directory of the file system.
While it is still possible to edit
the [Link] file directly from your
Raspberry Pi OS installation, Raspberry
Pi does not recommend this any more. OLDER VERSION
Instead, we would direct you to the GUI
configuration tools or raspi-config. Prior to Raspberry Pi OS Bookworm, Command-Line
You can view the current active
settings by opening a terminal window
Raspberry Pi OS stored the boot partition
at /boot/.
Networking
and using the following commands:
It is possible to connect to a wireless
$ vcgencmd get_config <config> Adjust HDMI and display network via the command line with nmcli
Raspberry Pi uses the EDID of the HDMI- (command-line tool for NetworkManager).
… displays a specific config value, e.g. connected monitor to automatically pick Open a terminal and enter:
vcgencmd get_config arm_freq the best resolution. You can manually
choose a different resolution with $ nmcli dev wifi list
$ vcgencmd get_config int the Screen Configuration tool found
under Preferences in the menu. Click …to scan for networks, and:
…lists all non-zero integer config on Screens and select your connected
options (non-zero) display (HDMI-A-1 or HDMI-A-2). $ sudo nmcli --ask dev
wifi connect <example_ssid>
$ vcgencmd get_config str
SCREEN BLANKING …to connect. Enter your network password
…lists all non-null string config when prompted. For more commands and
options. If the screen periodically goes blank, it may information, take a look at the Networking
Take a look at the [Link] section of be that screen blanking is enabled. Check section of Raspberry Pi’s documentation.
Raspberry Pi’s documentation to become the Display setting in Configurations and
familiar with the commands you’ll find ensure Screen Blanking is set to Off. [Link]/networkingdocs
in [Link].
menu and choose your boot drive from Third-party makers provide their own
Copy From Device. Select your target documentation which you can consult to
backup device from Copy To Device and troubleshoot the device.
click Start.
The backup device will be a perfect Getting physical COMPOSITE
copy of your boot drive and you can boot Raspberry Pi is hardware and you should VIDEO
your Raspberry Pi from it. take steps to protect it physically as well PHYSICAL
as on the software layer. LOCATION
BUILD A RASPBERRY PI
MEDIA PLAYER
Power up your TV and music system
[Link]/mediaplayer
Get started with
Sense HAT V2
Part 01
y Raspberry Pi computer (any 40-pin model) Full documentation for the sense-hat Python module can be found on
[Link]. It’s a good website to bookmark.
y Raspberry Pi Sense HAT V2 [Link]/sensehatmodule
[Link]/sensehat
W Sense HAT V2
is an add-on for
Raspberry Pi that
provides an 8×8
RGB LED matrix
display and
multiple sensors
For our first trick, we’ll display text on the Sense HAT’s LED
matrix. This program contains two crucial lines of code, which
import the Sense HAT software and create a sense object which
represents the Sense HAT:
The next line makes the Sense HAT display some scrolling
text (Figure 3):
S Figure 4. The Sense HAT displaying text with using the text_colour and
back_colour settings
You can make the message repeat by using a while loop: S Figure 5. Sense HAT’s LED matrix displaying a single character
Displaying images
Of course, the LED matrix can display more than just text. We
The sense_show function can control each LED individually to create our own images,
When you first boot up the using the colours of the rainbow:
DOWNLOAD
[Link] THE FULL CODE:
sense.set_pixels(image)
DOWNLOAD sense.set_rotation(180)
spinning_j.py THE FULL CODE:
Click File > Save As, give your program a name, such as
> Language: Python [Link]/github
rainbow_flip.py, then press F5 to run it.
You could also create spinning text using a for loop:
001. from sense_hat import SenseHat
002. import time from sense_hat import SenseHat
003. import time
004. sense = SenseHat()
005. sense = SenseHat()
006. sense.show_letter("J")
007. sense.show_letter("J")
008. angles = [0, 90, 180, 270, 0, 90, 180, 270]
009. for r in angles: angles = [0, 90, 180, 270, 0, 90, 180, 270]
010. sense.set_rotation(r) for r in angles:
011. [Link](0.5) sense.set_rotation(r)
[Link](0.5)
This program displays the letter ‘J’ and then sets the
rotation to each value in the angles list with a 0.5 second
pause. Click File > Save As, give your program a name, such as
spinning_j.py, then press F5 to run it.
You can also flip the image on the screen, either horizontally
or vertically, using these lines:
sense.flip_h()
or…
sense.flip_v()
S How the Fediverse links different services; each service can be made
up of many instances. Credit: Imke Senst & Mike Kuketz CC-BY-SA
06. Testing (Change the TZ value to suit your locale). Finally, click
We’re not quite done yet, but your ActivityPub server should ‘Save’ and GoToSocial will restart.
now be live! Click the cute sloth icon on CasaOS (or just visit
your new domain name) and you should see an ‘About this 08. Create the first user
instance’ page. If not, go back and check your Nginx Proxy Time to get a first user on our server and promote them to
settings are OK and you have used the correct port numbers. administrator. Not all functions are available in the web
Congratulations, you are now a part of the Fediverse. However, interface, although the makers are working hard on this. In
nobody knows about you yet, so you will not be exchanging this instance, we need to create the user on the command line.
messages (or ‘federating’) with other servers. Before we get to Go back into GoToSocial’s settings and click the ‘Terminal and
that, we need to do a little more configuration. logs’ icon in the top-right. When you have the prompt, enter
the following command:
07. Final configuration
Now we know we have a working server, we can add in a few $ ./gotosocial --config-path ./[Link]
features to help it run smoother. First we want a dedicated admin account create --username pj --email
config file that persists if the Docker container is restarted. pj@[Link] --password
'mysupersecretpassword'
Now you have a Mastodon service running, don’t forget that the
$ ./gotosocial --config-path ./[Link]
Fediverse has many more aspects. Have a look at Pixelfed for an
admin account promote --username pj
Instagram alternative, or Loops for your own TikTok.
Glossary
The decentralised world can be confusing at
first. Here are the terms you need to know.
ActivityPub
An open protocol for federated
communication between servers.
Mastodon
A decentralised microblogging service built
S The Mastodon around ActivityPub.
Now restart the server (three dots > circle with arrow) and
platform provides
the user is ready.
a rich experience Fediverse
to rival commercial The collective term for ActivityPub services that
09. Personalise your server and profile alternatives can federate with each other.
We can now log in! Browse to your server’s URL with ‘/settings’
at the end (e.g. [Link]/settings) to get
to your profile page. Accept the instance, enter your username
and password then authorise the app to access your account.
If you can see three different sections on the left-hand side,
you’re an admin! GoToSocial has many settings, far too many
to cover here. It is well worth your time browsing through them
and deciding what features you want to enable or disable. At
a bare minimum, set your name, profile pic and bio so that
people can recognise you when you start posting. S Your first post on your very own personal Fediverse instance
10. My first toot then follow them. Your server will now be federating with their
GoToSocial does not come with a user client, it is a server only server. The more people you follow, the more servers you will
with some user controls. Luckily, the Fediverse is such that be able to exchange messages with. With a bit of work and
there are many clients available, most of them open source. patience, your timeline will soon fill up with messages from all
The easiest one with which to get started is the browser-based over the world.
Elk ([Link]). Go to the site and add your account. Enter your
server URL when prompted and you’ll be redirected to your 12. That’s all folks
own server to log in (this is a secure method of authorisation This brings our series on running your own private cloud server
called OAuth). When you come back, you’ll be ready to post! to a close. We could go on for months about the other things
Try it. Just post ‘Hello world!’ or something. You should see you could do, but it’s time to let your own curiosity take over.
your own post appear in your timeline (and yes, posts on CasaOS provides an excellent platform for experimentation,
Mastodon are known as ‘toots’). using Docker’s capabilities to avoid bricking your server
as every new service is isolated, so don’t be afraid to try
11. To the Fediverse! something new! One final note: a server that isn’t backed up
So, you now have a working microblogging platform but no- should not be considered to exist. Try to back up at least the
one to talk to. It’s time to federate. The easiest way to do this is /DATA directory in CasaOS, which contains all the config and
to follow someone you already know on the Fediverse. Search data files for your services, ideally somewhere in the cloud.
for them in Elk (using the full @username@domain format) Enjoy your private cloud server!
Raspberry Pi 500
Here’s what you need to know to equip your
new studio, from micro to medium budgets
and can record two live inputs at once. You can save money by designed for use as a DAW controller. MIDI instruments can
getting an older model, and even those with software controls be connected via integrated USB, Wireless USB, or traditional
are supported thanks to a Linux driver project. Other good MIDI ports assuming your audio interface has them – our
entry-level audio production interfaces are made by Behringer, Focusrite Scarlett 2i2 doesn’t, so we used USB.
Presonus, Steinberg, and Roland. Make sure that you have enough space for any instruments
you need, add floor- or wall-mounted instrument stands as
Instruments required, and ensure that your audio interface is equipped to
Assuming you already have the instruments you play, you’ll handle them.
mostly either need to consider mic’ing up acoustic instruments
and making sure you have an interface with the right Microphones
connectors for your electric instruments. Dynamic microphones use a magnetic coil to pick up sound,
If you primarily compose using MIDI step entry and plan on while condenser mics use a lighter, thus more sensitive,
mostly working with loops or in your DAW’s notation or piano electrostatically charged diaphragm. Dynamic mics are
roll interface, you don’t necessarily need any instruments, robust, highly directional, and well suited to the rigours
although a MIDI keyboard can come in handy. We opted for a of a stage environment. They’re not favoured for studio
lightly weighted, 49-key Novation Launchkey 49 Mk4 (£222), use, as they’re less sensitive to sound than condenser
Studio monitors
Eventually you’ll also want studio
monitors: speakers with a neutral audio
profile designed to make the job of
mixing music easier – no bass boosts or
hi-fi EQ tweaking.
We’re using Adam Audio TV5 (£135 per
powered speaker – £270 for two), which
mics and have a narrower frequency response. But if you are about as big as our desk will comfortably hold, measuring
frequently have background noise in your environment, 290 × 180 × 270 mm. These are near-field monitors, designed
the reduced sensitivity of a good-quality dynamic mic to accurately reproduce the full frequency spectrum of your
could result in a better-sounding overall recording. We use music at a low volume, close to your head, so you don’t need to
a Shure SM-58 for vocals and SM-57 for mic’ing amps and blast your ears apart.
instruments, as these live workhorses sound great and border We’ve also run with larger monitors: Behringer’s Truth
on indestructible. B2030A monitors (£281 for a pair) are much larger powered
For vocal work in a sound-treated room, we strongly loudspeakers, measuring 317 × 214 × 211 mm. Their sound is
recommend a more responsive large-diaphragm condenser a little less precise than the Adams, but is still appropriately
mic, connected via either USB or XLR. Entry-level favourites neutral at low volumes and is a solid choice if you’re working
include the Audio Technica AT2020 XLR mic (£75), Logitech’s in a larger space.
Blue Yeti USB/XLR mic (£120), and the Rode NT-1 XLR mic
(£135 including shock mount).
Headphones
Headphones allow you to monitor – i.e. listen to – whatever
you’re recording and let you listen to previously recorded
parts that you’re trying to accompany. Closed-back studio
headphones won’t leak sound for live mics to accidentally
pick up their sound.
We used Adam Audio H200 headphones (£135) for this.
Shure’s SRH440s are a little cheaper, and also good for the
job. However, you can use whatever you happen to have, as
long as they don’t leak noise and have a fairly neutral sound
profile. So if you have a favourite pair of sound-isolating
earbuds, they’ll do perfectly well if you don’t want to shell out S If you just need to connect a single guitar or bass, generic USB
for new cans straight away. interfaces are conspicuously cheap and work well
encoding and decoding of human hearing. High-resolution audio formats use sample rates
of up to 192 kHz, but higher sample rates are most often used during
production. 48 kHz is sufficient to capture all audible frequencies in
DAC – digital-to-analogue converter: converts data into sound that you principle, but if you have sensitive recording equipment and an interest
can listen to via speakers or headphones. in psychoacoustic theory, you may have a reason to record at higher
frequencies. Note, though, that high-frequency recording results in
ADC – analogue-to-digital converter: captures an analogue sound and rapidly ballooning file sizes.
digitises it at a specified sample frequency and bit depth.
Bit depth – the number of bits used to encode each sample. CD bit depth
CODEC – a single-chip audio coder and decoder including the features of is 16-bit, but lossless digital formats such as FLAC are typically 24-bit.
both a DAC and an ADC. Higher bit depths can capture a broader dynamic range.
W Figure 6. The
final assembly of
the angle head
and prototype
filament delivery
components
Belt drive
One final job was to add the belt drive we bought a few metres of 6 mm wide
system to the long cross slide. The belting. We designed some small loops
driven end of the system has a NEMA 17 on the edges of the sliding bed plate
mounted with a 40-tooth GT2 pulley in and had originally planned to double the
place. At the far end of the cross slide belt through the loop and clamp it back
we have a 3D-printed matching idler to itself for tension. A happy realisation
pulley. I designed the idler pulley again was that it would be pretty easy to create
using the FC Gears workbench that has a couple of clamp blocks and simply
T Figure 8. Simple blocks with a small groove a built-in tool for creating GT2 and other pass the GT2 belt over the top of the
on the underside snugly clamp the tensioned pulley/timing gear wheels. GT2 belting 15 mm rails each side and clamp it under
GT2 belts can be bought pretty readily online and tension. This worked pretty flawlessly,
Figure 8. After some testing, I realised it
was unnecessary to have the idler pulley
with teeth as this made it more likely for
movement along the long X axis slide to
cause skipping. A quick redesign and the
idler is now a blank smooth pulley for
the GT2 belt to roll over.
This marked the point where I could
mount all the NEMA 17 stepper motors
and wire them back to a controller. A
while ago, in issue 147, you may recall
we converted a small lathe to CNC and
used a cheap GRBL Woodpecker control
board for control and explored creating
custom settings and custom G-code to
control the machine. For this carbon
winder project, it’s a similar process.
Remembering this is a prototype GRBL
can certainly get the machine moving to to regulate the angle of the two arriving
Improvisation as
begin to work out how to create wound at the roller. I’m not sure the roller is design!
patterns. One slight hack is that it is actually needed; it may be better to have
using the Z axis as the rotation of the some form of slotted part the tow travels
You may have realised at this point
mandrel; this would probably be better through on the angled head, and indeed,
that indeed this is all being made up as
served with the mandrel being driven this might also be used as a ‘squeegee’ to
I go along. It’s certainly true that I am
by a non-stepper motor and using remove excess epoxy.
approaching the pattern-winding aspects
an encoder to then synchronise the It’s been a fun project so far and all
of the project ‘empirically’. This is a posh
rotations with the rest of the machine through the process I am reminded of
way of saying I am writing some G-codes,
motion. However, for now, we simply set how awesome it is that we can undertake
sending them to the machine, and seeing
the number of steps per millimetre for these types of builds using relatively
what happens. It’s certainly possible to
this axis as the number of steps for one affordable 3D printing and using free
approach the pattern creation from a more
complete rotation; this means that we and open-source CAD, CAM, and G-code
mathematical standpoint, but getting a feel
can issue simple G01 20 type commands tools. Speaking of open source, there are
for what works at different scales is a valid
and the Z axis will rotate 20 times. a lot of parts in this project and some
approach. I can imagine with some extended
To the angle head and roller, simple still need revision; keep your eye out as
tinkering I can find acceptable approaches
experiments are undertaken with GRBL at some point in the future I’ll release
and then perhaps create a spreadsheet
and the Universal GRBL sender to work the ‘FilaWinda’ source online. I can
or script that creates G-codes for given
out travel and desirable angles. definitely recommend trying to create
dimensions and given patterns of tube, but
With any CNC machine I always your own CNC machine, though: it’s
for now, playful tinkering it is.
suggest performing some ‘air cuts’. On excellent fun!
our CNC lathe this looked like running
the machine with no stock and no
cutting tools attached so the machine
runs the code and you can observe to
see if it’s behaving as expected. It’s no
different with this machine; I performed
a lot of ‘air winds’ to check movements.
In the current stage of development, at
time of writing, I’ve moved on to ‘dry
winding’ where I am winding carbon
tow around a mandrel, but without any
epoxy, Figure 1. This means I can get a
real sense of the winding operations as I
experiment, but it’s all non-permanent,
I can then (slightly laboriously) rewind
all the carbon back onto the reel by hand
to save waste. Immediately after adding
the carbon tow, it was obvious that the
tow needs to be under some tension to
stop it moving around on the mandrel,
causing slight irregularity in the winding
patterns. I’ve made an additional loop/ S Figure 9. The affordable ‘Woodpecker’-style
guide for the tow to travel through en boards are widely available and an easy way
route to the mandrel which also helps to interact with NEMA 17 motors
01
intake, so do make sure that you drink enough water outside YOU’LL NEED
of snacking on your dehydrated fruits and vegetables. Also,
y A fresh fruit, vegetable, or herb to dehydrate
when using an appliance like this, make sure that you either
dehydrate savoury or sweet foods at any one time, not both – y Lemon juice (for fruit citrus baths – optional)
the flavours can transfer in the circulating air, so avoid mixing
y An electric food dehydrator (trays washed
your foodstuffs if you don’t want your apple snacks to taste
before first use)
of onion..
y A clean, airtight container to store the
Don’t skimp on the prep dehydrated product in (glass advised)
Before you begin, do clean and dry all surfaces and equipment,
y Basic kitchen utensils (e.g. sharp knife, apple
also washing your hands as often as you need to when
corer, tongs etc.)
preparing your foods. The very first fruit that we tackled was
the humble apple, and this is a great beginner project. We y Fruit/vegetable cleaning brush (optional)
first created a lemon juice bath to soak the apple slices in, and
y Baking/parchment paper (optional)
basically used one part lemon juice to four parts water. When
that was ready on standby, we washed our apples thoroughly y Spices/sugar/flavourings (optional)
and used a slicer/corer to split them into manageable pieces
and to remove the core and seeds. The key to dehydrating
foods successfully is to ensure that all of your pieces are as
uniform as possible in terms of shape and not too thick, or
they’ll take longer to dry out. We sliced our chunks a little including other spices such as nutmeg, or even sugar if you
thinner, maintaining a constant thickness, and then plunged have a sweet tooth. We then set the dehydrator to around 50°C
them into the lemon juice mix for around five to ten minutes. and left the machine to do its work, checking back every hour
It’s important to do this if you are keen to avoid the enzymatic for the first few hours just to ensure all was well.
browning that usually occurs when an apple is cut and oxygen
is introduced into the tissue of the fruit, causing oxidation. Not too hot, not too cold
Next, we’d read that using a liner sheet of baking or It’s worth talking a little here about the temperature to set
parchment paper in the plastic trays makes the latter a little when dehydrating your foodstuffs, as it’s crucial to dehydrate
easier to clean. It also makes it much easier to grab your at the correct low temperature and hitting that happy medium
finished fruits and veg out the trays, so we hand-cut some very can be down to some trial and error. Certainly one thing that
rough circles that fitted inside them, and were then ready to you do want to avoid is ‘case hardening’, which happens when
place the fruit slices on top in a single layer with space between the exterior of a food dries out too quickly due to too high a
each piece of apple. It’s not necessary to add any flavourings, temperature being set, causing the formation of a tough case
but a match made in heaven is apple paired with cinnamon, on the outside. This then consequently prevents the inside of
so we added a sprinkling over the top of the slices once they the food from dehydrating properly.
were in the tray. (If nothing else, the heavenly cinnamon scent We left our machine on for around six hours and the apples
that pervaded the kitchen was worth the effort.) You could were perfect at that point. Bear in mind that the length of time
add anything you like to dehydrating fruits and vegetables, that it takes to dehydrate will depend on the wattage of the
It’s crucial to
machine, as well as the thickness of the dehydrate at jar around a bit and, if any pieces stick
slices you’ve cut. Clearly, if you can see
or feel moisture, then the food is not
the correct low to the side, it’s not properly dehydrated.
It’s important to note that if you see any
dehydrated and you’ll need to do it for
longer, but there are some ways to check
temperature mould developing in the jar a week or
two after you’ve stored your bounty, you
if it’s ready and it’s basically down to will need to throw the contents away.
texture. The first tip is to leave it for five or ten minutes after We tried the same process with some courgette slices, but
turning off the dehydrator, to give it time to cool. Then, if you this time we ‘blanched’ the courgette first as a pre-treatment.
can snap any fruit or veg in half, it’s definitely ready. Apple This basically involves dipping it in boiling water for around a
slices should be crisp and crunchy to bite on and if you squeeze minute, then putting it into cold water – for some vegetables,
them in your hand, there should be no bacteria-forming this helps to preserve the colour and texture, slow down
moisture or stickiness. enzyme action, and shorten the drying and rehydration times.
Gathered up into an airtight glass jar, we then put our Some say it also improves the taste, but it’s up to you. We then
cooled slices in a dark cupboard and they’ll now be good for seasoned the slices with some herbs/onion powder, but you
around six months or so. A tip we’ve picked up is to toss the could use a stock cube, paprika… whatever you prefer.
X Dehydrating
some fruit slices
or veggies for a
healthy on-the-go
snack is easy and
straightforward.
The instruction
booklet suggested
it was also possible
to dehydrate meat
and fish with this
machine, but that’s
a whole different
ball game, for many
health-related
reasons, and we’d
advise to avoid
those dehydrating
such foodstuffs
unless you really
know what you
are doing
By Rob Zwetsloot
Tools for
every maker Safety Tips
Here’s how to help protect
yourself and others
Cutting mat
1. Safety goggles
Eye protection is important! Flying
shards and splashing chemicals can
Hammer Glue be really damaging.
3. Do your research
Read the manual, read the reddit, make
Screwdriver and sure you know how something works
socket set and the dangers it may represent
before using it.
W Often called a
Dremel (named
after the brand
that also makes
rotary tools),
these are useful
for cutting and
sanding plastic,
Helping hands Metal ruler Rotary tool
along with some
drilling
Multimeter
[Link]/multimeter
Soldering iron (and solder) To diagnose issues with your circuits,
[Link]/solderiron
Prototyping wire in a multimeter is great, being able to
For when prototyping is complete and
various colours show you current flow, resistance,
you need to create something more
[Link]/wires and more between two spots. Also, it
permanent. You can usually get kits
Multicoloured wire can be very useful can be used around the house.
with solder suckers, little bases to
for following the logic of your own
keep your (very hot) soldering iron in,
circuit, otherwise fixing faults can be
and other tips. Check out this guide
a headache.
for how to get started before diving
Electronics starter kits
in: [Link]/soldering.
Breadboard
[Link]/breadboard Wire strippers
Setting up and testing circuits is easy [Link]/wirestrippers
Circuits need components. You can always
when you don’t have to solder them. With the wires, you’ll need to make
buy whatever a project will need; however,
We like these annotated half-size sure they can connect to the bread-
getting a small electronics starter kit is a
boards, with negative and positive board – or to other components when
good way to get some basic components
rails along each side, and 30 rows of you start soldering. Wire strippers are
that will help you with your first circuit.
connected pins between them. a necessity to strip the plastic off.
Tools for
advanced
makers
Take your making a
step further with these Glue gun
Hot glue is your friend whether you’re
Workmate Hacksaw
An indispensable alternative / addi- Need to cut some metal? A hacksaw
tion to a workbench with holes and a is suited for the task over a regular
split so you can drill through things saw, especially when you don’t have
without drilling into a desk, or saw access to a big mitre saw. Power drill
through things without cutting into Handy for making and for putting up
your workbench. shelves – make sure to get a selection
of drill bits for different materials too.
Saw
When you need to cut some wood, a
G clamps classic wood saw will see you through.
When you need to hold two pieces Mitre boxes that help with cutting at Metal model files
of anything together firmly, and it specific angles are a great addition to These are great for fine detailing on
would be two awkward in your vice. a saw as well – and if you need to do 3D prints, plastics, and wood. They
Great for woodwork and for allowing a lot of precision cutting, a jigsaw is a come in sets of different styles –
glues to set and cure overnight. worthy upgrade. mainly round and square.
guide
on what you’re trying to
make. Free web-based
software such as Tinkercad
([Link]) is quite
manufacturers
and more are very helpful a popular option. Models
for getting your 3D print off need to be sliced as well
the bed, and then cleaning – a process of telling the
it up ready for use. You can printer how to print the
get sets anywhere you can model – and 3D printers
buy a 3D printer, and also usually have slicing software
on Amazon. recommended for the model.
Resin printer
PLA printer Price range: £250-£3500+ / $300-$4000+
Price range: £300-£2000+ / $400-$2500+ A serious printer for advanced makers, resin printers
This traditional type of 3D printer heats up and layers plastic harden layers of (toxic) resin with UV light. It takes a
upon plastic as dictated by a 3D model. These are great for lot longer and has its own set of quirks, but the result is
prototyping cases and containers for your project, but can usually a smoother model. Printers like this are much more
be used for the final product as well! Along with a ton of little expensive and require more work to finish them, involving
life-improving knick knacks and boats you’ll find around washing the (toxic) residue off the print and letting it cure
the house like some kind of plastic Bladerunner origami. in sunlight. Rubber gloves, goggles, and sometimes a face
mask are required.
In issue 80, HackSpace ([Link]/80) did a great run-down
of the current breed of printers and how they perform. They The Elegoo Saturn 4 Ultra is quite well regarded and not too
recommended the Prusa XL; however, some of the cheaper expensive – great for hobbyists printing small models –
options like the Prusa MK4S are also fantastic printers. while the big Formlabs machines will run to thousands and
are probably not great for beginners.
Maker
resources
Places to learn and get tips,
aside from Raspberry Pi
Official Magazine of course
Kevs Robots
[Link]
With regular appearances in Raspberry
Pi Official Magazine, Kev is well known
in the community for tons of great
robotics projects using a Raspberry
Pi computer or Raspberry Pi Pico. He
includes videos and write-ups for his
various builds – including tiny turtle
robots, moving robot faces, and a
robot that will give you a high-five Penguin Tutor
when you need one. [Link]
Alias Stewart Watkiss, a regular in
this magazine, builds a huge variety
of simple and advanced electronics
projects using Raspberry Pi and Pico.
He also does great breakdowns of
the builds on his YouTube channel,
including where he went wrong if a
project has sadly failed. Recognising
and learning from our failures is
something we should all do.
200
200PAGES
PAGESOF
OFRASPBERRY
RASPBERRYPI
PI
CONTROL THE WORLD AROUND YOU WITH A RASPBERRY PI PICO
AGet
guide to getting
started guidestarted
covering Inspiring
Have someprojects to give
serious fun with
BUILD
with YOUR
every
every OWNPi CREATIONS
Raspberry
Raspberry Pi board USING OUR
you STEP-BY-STEP
your
electronics GUIDES
next big idea
Mini displays
Perfect for portable projects, small
screens come in many types and sizes.
By Phil King
S ome
on-board
data,
projects
especially
require
display
larger touchscreen. There are countless including LCD, OLED, and e-ink. Adafruit
mini displays available, coming in even used to sell a couple of glowing
various sizes, types, price ranges, and VFDs (vacuum fluorescent displays),
even different shapes. Some are HATs but these have since been discontinued.
that mount directly onto a Raspberry Each display type has its pros and cons,
Pi computer’s GPIO pins; others are so selecting the most suitable one for
designed to be mounted on a Raspberry your project is key. To help you out,
Pi Pico. Many displays are connected via we’ve selected a few of the best and most
individual pins, using protocols such as interesting mini displays, encompassing
SPI or I2C, offering greater versatility as several types.
HyperPixel 4.0
W e first
HyperPixel
covered
way
when, and it’s still one
of the best Raspberry Pi displays
around. This is the rectangular 4-inch
the
back
HATs, but the I2C pins are broken out so
you could connect a sensor.
The 800×480 display is stunning,
running at 60 frames per second with
great pixel density and 18-bit colour
model, but there’s also a square version.
It also comes with optional capacitive
(enabling 262,144 shades). Unlike most
similar screens that use the standard
Verdict
multi-touch if you need that. SPI protocol, it uses a high-speed DPI If you want a
Whichever version you choose, this is interface that enables it to shift five display HAT, this
a HAT that mounts onto any Raspberry times more pixel data. Note that to use is one of the best.
9/10
Pi computer’s GPIO header. Since it uses it with the latest version of Raspberry
nearly all the pins to communicate, that Pi OS, you’ll need to add a line in the
does mean it can’t be used with other [Link] file to use the kernel drivers.
9/10
S This impressive driver is supported by the Arduino library, but can also be
LCD works well with driven by Python with a user-space Pillow-compatible library,
a variety of devices and by CircuitPython using a displayio driver.
8/10
C/C++, or Arduino IDE. It uses the SPI protocol by default, but
S This OLED screen mounts directly onto can be switched to I2C by modifying a resistor on the rear.
Pico’s pins Other size versions are also available.
Inky pHAT
8/10
e-ink display isn’t instant: a typical smaller, Raspberry Pi Zero-style form S This tri-colour
monochrome takes a second or two, factor, the Inky pHAT will work with any e-ink display uses
while the tri-colour version (red/black/ 40-pin model, communicating via SPI. very little power
8/10
2.1 Round is a really high-quality LCD Raspberry Pi OS), so you
screen with a high-speed DPI interface could potentially use it for
that enables it to shift five times more a smartwatch project.
8/10
an HDMI output. its power via a couple of pogo pins
This Waveshare example has a full- – or you can use its USB-C port for a
size HDMI port on the rear and a 3.2-inch separate supply.
If you just need a basic digital display for showing sensor readings, you
Verdict
could always go old-school with a seven-segment one. Just like an old Cheap but not so
digital clock, this one has four digits – each with a decimal point – that easy to use.
7/10
light up in red. As it’s a multiplexed, common-cathode one, you can control S For when you only
all four digits with eight GPIO pins – or fewer if you use one or more need a simple
74HC595 8-bit shift registers. digital display
Q
SPECS
uick off the mark, EDATEC
FEATURES:
has already integrated
Compute Module 5, custom motherboard,
the recently launched
metal case with built-in heatsink, RTC,
Raspberry Pi Compute
reset button, status LEDs, Wi-Fi/Bluetooth
Module 5 (CM5) into a new range of
(optional), 4G LTE (optional)
industrial computers. The ED-IPC3100
CONNECTIONS: comes in four main flavours along with
2 × RS232, 2 × RS485, 2 × USB 2.0, HDMI, 2 × numerous possible configurations for
Ethernet, 9V-36V DC two-pin power; interior: RAM, eMMC flash, and connectivity.
M.2 B, 10- and 40-pin GPIO headers, RTC The unit we’re reviewing here is the
battery holder; 3120 only: 3.5mm audio, MIPI IPC3120 model with 2 × RS485 and 2 × RS232
DSI, MIPI CSI, stereo speakers, FPC HDMI serial COM ports (as on the 3110), plus a
3.5mm audio jack and internal connectors
RAM / STORAGE:
for MIPI DSI, MIPI CSI (camera), stereo
2GB, 4GB, 8GB, or 16GB (CM5) DDR RAM;
speakers, and FPC HDMI video – although
16GB, 32GB, or 64GB eMMC; optional SSD /
all of the models feature an external HDMI
microSD card
port. It also boasts Wi-Fi and Bluetooth
connectivity, along with 8GB of DDR RAM,
a 16GB eMMC flash drive (you can have up
to 64GB), and 4G LTE cellular connectivity.
X This industrial
The other main models in the range
computer is
offer a variation on the serial ports: the
housed in a metal
3130 has 3 × RS485 and 1 × RS232, while
case with built-in
ribbed heatsinks the 3140 has 4 × RS485. The arrangement
and screw-in that you choose depends on what kind
antennas for Wi-Fi of industrial-standard add-ons, such as
and 4G LTE sensors and relays, you wish to connect.
110 ED-IPC3100
Reviews
9/10
block to connect VIN+ and GND wires from nowhere near the level requiring throttling,
a suitable source. The good news is that it and an improvement on the IPC3020 (CM4)
supports a wide range: 9 V–36 V DC. model we tested in issue 142.
01. FlightAware Pro Stick 02. USB sound card 03. Flirc 04. 4˝ HDMI Round 05. PiFi
Aircraft tracking Stereo sound Remote control Touch Display Personalised router
[Link]/flightaware [Link]/usbstereo [Link]/flirc Circle vision [Link]
£45 / $47 £9 / $9 £19 / $20 [Link]/rounddisplay £35 / $35
It’s a fun little project to Raspberry Pi 5 lacks a An easy way to add remote £89 / $93 Turn Raspberry Pi 5 into a
create a live flight radar – headphone jack. With this control support to Raspberry A very different kind of Wi-Fi router with PiFi – it
it’s also a decent primer USB sound card, you can Pi 5, great for media centre display for your Raspberry also includes VPN and
on how radio signals work, add proper speaker ports setups using Kodi. You Pi 5 – it’s actually quite large ad-blocking for a better
and what kinds are freely and even microphones. simply need to program the too! Maybe it could be an browsing experience when
available to use. inputs on another computer. interesting alarm clock or you’re out of the house too.
07. Home Assistant small wall clock?
06. ICE Tower Plus Cooler Connect 08. TEMPerHUM 10. IR Thermal Imaging
Serious heat dissipation Easy home automation Environmental sensor 09. RetroFlag 64Pi Case Camera
[Link]/icetower [Link]/haconnect [Link]/temperhum Ultra protection Hot photos
£19 / $20 £30 / $31 £29 / $36 [Link]/64pi [Link]/
This is a little overkill for Adding a wireless home There are various ways £28 / $35 thermalimgcam
cooling your Raspberry Pi 5, automation standard can to add temperature and Raspberry Pi 5 has a 64-bit £110 / $114
but it does look pretty… rad. sometimes involve special humidity sensors to processor, so why not While there are many official
You thought we were going add-on board upon special Raspberry Pi – basic sensor secure it in a see-through and unofficial IR cameras
to say cool, right? Shame add-board, but with this USB components via GPIO, the plastic case of the most for Raspberry Pi 5, this one
on you. stick you immediately get Sense HAT, and also this famous 64-bit games hooks up via USB-C instead
Zigbee support. USB stick. console ever? Nostalgia sure of the CSI port, keeping the
is a powerful drug. latter free for… a different
camera perhaps.
08
07
09
04
10
02
05
06
03
116 NetworkChuck
Raspberry Pi community
01. The train set gets yet more upgrades, thanks to a bit of experience
02. The electronics in a game like Operation may be simple, but that
doesn’t make the buzzer any less scary
05. A nice, more robust, and probably cheaper alternative to the Sony
frame, we say
07. As usual, be careful with CRT units, but this is very nice.
08. Hmm, has technology gone too far this ti-… oh wait, it’s time for
tubby custard
09. We love the simple representation of the ISS flying across the globe.
10. Water deterrent just sounds like you’ve made a squirrel super soaker.
We want one.
02
118 #MakerMonday
Raspberry Pi community
08
04
09
05
06
03
10
07
04
Raspberry Pi events
D
ecember of last year saw makers and students get
hands-on with creating machine learning models in
Scratch to recognise patterns, exploring how machine
learning works in real time with real world applications. They
sent over pictures to prove it too!
Find out about more community events on page 124, and 03
submit yours at [Link]/events for special Raspberry Pi
support packages.
02. Registering your event will allow you to get support packages for the
event itself, complete with Raspberry Pi merch
03. The Raspberry Pi Meetups in Puchong are held every few months
02
04. A variety of folks attended the workshop
Find o
ut ab
month out next
’s eve
and p n
op-up ts
s on
01
PAGE
124
02
Crowdfund this
Great crowdfunding projects this month
If you need a serious number of various data inputs into Raspberry Pi, this Another take on an educational programmable robot for Raspberry Pi,
stackable HAT has you covered. Sequent Microsystems reckons it will be BerryBot is programmable in Python and Arduino IDE, and is controllable via
great for environmental monitoring, robotics, industrial/home automation, a smartphone app. This one hasn’t launched at the time of writing, but we
and scientific research. eagerly await to see when it is.
f [Link]/4jUXrN4 f [Link]/berrybot
Together we can
make a difference
Give young people the opportunity
to learn about technology
As one can see on pages 128 and 129 of The MagPi magazine We really enjoyed the vibrant chat that you sparked on our
issue #150 ([Link]/150), starting with the next issue, 151, forums ([Link]/forums) about our new name. And we hope
The MagPi will now simply be named Raspberry Pi Official you are enjoying the new magazine now that you have a copy. In
Magazine. This raises some questions: What will happen answer to your questions, we are going to use #MakerMonday.
to MagPiMonday? Will the [Link] domain still work in And yes, the old [Link] link still works, and we are using a
the future? Is it safe to rename a magazine in times where new [Link] link from now on. We think this is the right thing
print magazines are on a decline? to do to ensure our new readers can find us. Making magazines
is precarious, though, and we urge readers to subscribe to the
Stl1988 via the forum new magazine ([Link]/subscribe).
You shared a nice stack online for Argon DATATERM M.2 NVMe SSD (128GB),
learning AI. Is this part of a training Argon OLED Module, and Argon ONE V5.
program or education effort? I'm We’re putting together a test bed for
curious what is in the bottom box. I Raspberry Pi AI projects that we will be
think I found the others. covering in-depth in the next issue, and
we are also working on a Raspberry Pi AI
Jon Morss via LinkedIn book available later this year. The Argon
ONE V5 has now become a home server
Glad you liked it (see image). This was and automation unit (awaiting ZigBee
a high-end stack of Raspberry Pi kit we compatibility) and PJ Evans is writing up a
are putting together that combined a review for our next issue. The Raspberry Pi
variety of top-flight components. From 16GB and AI HAT have become a separate
S A stack of high-end Raspberry Pi
top to bottom, they are: Raspberry Pi 5 build with an AI Camera attached. We do
equipment
with 16GB RAM, Raspberry Pi AI HAT+, love our jobs!
Sharing projects
USA SPECIAL!
Hey! I have been working on a project that is like a long-
range communication station that works on Pico W. Here
are some photos; let me know if you are interested in this.
Would love to share this project with others.
6 ISSUES
Roberts Treize via Facebook
FOR $43
your project. We suggest that you put together some information
describing the build so we can share it with our readers. And
we hope to do a Project Showcase on this in a future edition.
In the meantime we’d be delighted to share a photograph of it
with our readers.
FREE
RASPBERW RY
PI PICO
Join Buttercup STEAM at the Bessie Branham Recreation Center Raspberry Jam WV is an exciting event celebrating creativity,
in the Kirkwood neighbourhood for an exciting Raspberry Pi JAM! innovation, and hands-on learning! Open to ages 10 and up, it
Dive into physical computing with Raspberry Pi, creating projects offers free programming workshops where participants can dive
with lights, motors, and sensors. Learn to code, tinker with tiny into coding and tech. Explore the exhibition area, where makers
computers, and discover the fun side of tech! Ideal for kids, teens, and software engineers showcase their projects, and connect
and families. Let’s get creative with coding! with sponsors dedicated to advancing STEAM education in West
Virginia. Whether you’re a tech enthusiast, a curious learner, or
a supporter of education, Raspberry Jam WV has something
for everyone!
FULL CALENDAR
Get a full list of upcoming
05 community events here:
[Link]/events
02
Win 1 of 5
PiFi kits
Turn Raspberry Pi into a wireless router with VPN
Advertise in
Raspberry Pi Official Magazine
Editor
Lucy Hattersley
lucy@[Link]
Features Editor
Andrew Gregory
#152 [Link]@[Link]
Features Editor
Rob Zwetsloot
Raspberry Pi AI rob@[Link]
Sub Editor
Phil King
Contributors
Publishing
Publishing Director
Brian Jepson
[Link]@[Link]
Director of Communications
Helen Lynn
CEO
Eben Upton
Distribution
Subscriptions
Rediscover the SCART cable this magazine is licensed under a Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 Unported
(CC BY-NC-SA 3.0).
PiKVM V4 Mini
Small, cost-effective, and powerful!
PiKVM V4 Plus
The most feature-rich edition
More connectivity
Extra storage via internal USB 3.0
Upgraded powering options
More physical security features
Extra HDMI output
Advanced cooling solution
Availableatatthe
Available themain
mainRaspberry
Raspberry Pi resellers
resellers
Accessories such as cooling systems and cases play crucial roles in enhancing a Raspberry Pi setup. Cooling systems, like the ICE Tower Plus Cooler, help manage temperature during intensive processing, maintaining performance and prolonging lifespan by preventing overheating. Cases, such as the HighPi Pro case, provide physical protection against dust, impacts, and vibration, and often include additional features like VESA mounts. These enhancements preserve hardware integrity and expand the functional scope of Raspberry Pi, from home media centers to industrial applications .
Displaying complex images on the Sense HAT LED matrix involves challenges due to its limited resolution (8x8 grid) and the complexity of defining pixel data for detailed images. These challenges can be overcome by simplifying images to basic shapes or using color to convey complexity. Using sense.set_pixel() for individual settings can be cumbersome for complex images, but sense.set_pixels() allows batch setting via a 2D list of colors, enhancing manageability. Proper coding structures, including variables for colors and using loops for repetitive patterns, can effectively optimize display coding .
The electric food dehydrator offers several benefits over traditional methods like sun or air drying. It provides a controlled environment with consistent low heat and airflow that preserves nutrients and prevents bacterial growth effectively. It is independent of weather conditions and reduces the process time compared to sun or air drying. Additionally, it consumes less energy, using only three-quarters of a kilowatt-hour over six hours, making it more efficient and consistent for home-use compared to natural methods that depend on climate conditions .
When constructing a food dehydrator, several factors should be considered in choosing materials. These include thermal properties (the ability to retain and support low temperatures essential for dehydration), durability (long-lasting use and resistance to corrosion or degradation), safety (non-toxic and food-safe materials to prevent contamination), and airflow efficiency (designs that optimize air circulation for uniform dehydration). Metal, particularly stainless steel, and high-quality plastics are often preferred due to their robustness and ability to facilitate efficient dehydration. Moreover, building material choice should balance cost, energy efficiency, and ease of cleaning .
The Sense HAT can be programmed to display customized colors and text by using the sense.show_message() function, where parameters such as message text, scroll speed, text color, and background color can be specified. The text_colour and back_colour parameters take lists of RGB values. This flexibility allows for personalized displays, enhancing interactivity and user experience, with applications ranging from educational purposes to dynamic displays for scientific data in experiments like the Astro Pi initiative .
Orientation of the Sense HAT affects the display output since the default view assumes that the HDMI port is at the bottom. This orientation may not be suitable for all uses, especially in non-standard configurations like space missions. The Sense HAT provides a sense.set_rotation() method that allows the user to rotate the display by setting it to one of four angles (0, 90, 180, or 270 degrees). This feature assists in maintaining correct display orientation regardless of the Sense HAT's physical orientation, enhancing versatility and usability in diverse environments .
The integration of a DIN rail mount simplifies deploying Raspberry Pi-based systems in industrial settings by providing a standardized and secure method for mounting devices on racks or enclosures. This standardization facilitates easy installation and rearrangement, promoting flexible system updates and maintenance. It enhances the robustness of installations in potentially harsh industrial environments by offering reliable physical support and reducing the risk of physical damage, which is crucial for such compact and versatile computing devices .
Managing partition UUIDs in cloned Raspberry Pi storage devices improves usability by resolving conflicts that arise from having duplicate UUIDs. When cloning devices without altering UUIDs, it is challenging to mount both originals and clones simultaneously. Selecting the 'New Partition UUIDs' option during cloning ensures unique identifiers for each partition, allowing both devices to be connected to the Raspberry Pi without conflict, facilitating booting from either source rather than limiting to just one .
Raspberry Pi users can optimize their setups for media center applications by incorporating a variety of accessories and configurations. Using a USB sound card provides enhanced audio outputs suitable for stereo sound systems. Remote control support can be facilitated with a device like Flirc for seamless media interaction. Proper enclosures, like RetroFlag 64Pi cases, offer retro aesthetics alongside physical protection, while add-ons for wireless connectivity enhance streaming capabilities. These optimizations transform the Raspberry Pi into a functional, reliable media platform .
The HAT+ standard improves compatibility with Raspberry Pi hardware by ensuring that the attached hardware contains an EEPROM chip. This chip holds essential information such as the board manufacturer details, GPIO setup, and a device tree fragment. This configuration allows the Raspberry Pi OS to automatically load the necessary drivers, facilitating plug-and-play compatibility, as the hardware is recognized and configured without manual setup .