Custom PC, Issue 200

Custom PC Issue 200In this milestone issue of Custom PC Magazine you’ll find a look at the impressively retro tilde.club service and the wider tildeverse, the edge-AI-focused Orange Pi 4B single-board computer, and the Pi Hut ZeroDock accessory for the Raspberry Pi Zero.

First, tilde.club – which requires a little history lesson for context. In the early days of networked computing, particularly on systems based on UNIX or the later POSIX standard, users hosted shared files in their home folders – which were given the shortcut ~. Today, shared systems have given way to virtual private servers (VPSes), but tilde.club offers a reproducible platform for those who miss the early days: your own directory, with public and private areas, on a truly shared POSIX-compliant server.

As well as hosting simple websites – there’s no server-side scripting here – you can join in internal email discussions, an on-server BBS, a text-based interface for the popular Reddit social network, and even play multiplayer games, all in the comfort of your terminal. A major delay in approving accounts for the original tilde.club – five years before a volunteer took over the service and began clearing the queue – also gave rise to the tildeverse, a network of tilde.club-based servers many of which focus on particular topics of interest.

The Orange Pi 4B, by contrast, is very much not a throwback but a piece of hardware designed to sit at the cutting edge. Mimicking, with a few modifications, the layout of a Raspberry Pi single-board computer, the Orange Pi 4B offers a Rockchip RK3399 six-core processor – two high-performance cores, four low-power cores – alongside a neural processing unit (NPU) coprocessor for edge-AI acceleration. As usual, my review looks at software support, hardware performance, and thermal imaging – along with an investigation of what the NPU brings to the table.

Finally, the Pi Hut ZeroDock is a handy but sadly pricey accessory for the Raspberry Pi Zero family of single-board computers. Constructed from laser-cut acrylic, the ZeroDock houses a Pi Zero, a bundled compact solderless breadboard, and a small number of accessories like USB dongles and SD Card adapters. For those using a Pi Zero for prototyping, it’s a great tool – but at £10, twice the price of the Pi Zero board itself, it’s a little too expensive to be a must-have.

The full feature can be found on newsagent and supermarket shelves now, or purchased for global delivery from the official Custom PC website.

 

Custom PC, Issue 166

Custom PC Issue 166Readers of my regular Hobby Tech column this month will find a BBC micro:bit-driven tutorial alongside two reviews covering the remarkable Raspberry Pi Zero W microcomputer and the fascinating Delete by Paul Atkinson.

The idea for the tutorial came about while working on a chapter of my upcoming Micro:bit User Guide, and seemed like a perfect fit for the readers of Custom PC Magazine: turning the low-cost yet extremely flexible micro:bit into an addressable USB-connected 5×5 LED matrix and having it display current CPU load in a constantly-updating bar graph. Naturally, the same technique could be used to graph almost anything.

The secret lies in MicroPython’s REPL, an interactive interpreter which can run on the micro:bit and accept commands via the USB serial port. By switching the micro:bit into REPL mode, it can be slaved to another system over USB. The result: the entire program code, written in Python using the serial, time, and psutil libraries, exists purely on the host machine. A quick bit of Blu-tack later, and my monitor was wearing a CPU monitor which worked even when the display was off.

The Pi Zero W, meanwhile, was a device to which I had been looking forward for quite some time. An upgraded version of the original £5 Raspberry Pi Zero microcomputer, the Pi Zero W differs in only one respect: it has a built-in radio module, the same BCM43438 as found on the far larger and more expensive Raspberry Pi 3.

While the addition of the radio module, which offers Bluetooth, Bluetooth Low Energy, and 2.4GHz Wi-FI connectivity, almost doubles the price of the Pi Zero W to £9.60, it’s money well spent. In almost every Pi Zero project I have built, I’ve ended up using a USB OTG adaptor and low-cost USB Wi-Fi dongle to add network connectivity, and having it on-board – even at a slightly higher cost compared to a USB-connected solution – makes life considerably easier.

Finally, Delete. Billed as “a design history of computer vapourware,” Paul Atkinson’s coffee table book is packed with high-quality photographs – and, for the rarer machines, the occasional rescaled JPEG exhibiting unfortunate compression artefacts – covering machines from an upgraded Sinclair QL to a bright yellow IBM that never left the drawing board. Each comes with pages on its history, with interview subjects detailing features and failures alike, and while not all machines were strictly vapourware few are likely to have a place in the average vintage computing collection. In short: if you like old computers you’ll like Delete, which is available now from Amazon and other bookstores under ISBN 978-0857853479.

As always, you can read the whole column and a whole lot more by picking up Custom PC Issue 166 from your nearest supermarket, newsagent, or electronically via Zinio and similar services.

Custom PC, Issue 165

Custom PC Issue 165This month’s issue of Custom PC Magazine marks a milestone: four years since I started writing my Hobby Tech column. To celebrate, three reviews spanning its five pages: the Ryanteck RTk.GPIO, the Kitronik Micro:bit Inventor’s Kit, and the Pimoroni GPIO Hammer Header – the only piece of electronic equipment I’ve ever reviewed installed with a hammer.

First, the RTk.GPIO. The brainchild of Ryan Walmsley, interviewed back in Issue 129, the RTk.GPIO is designed to bring all the joy of the Raspberry Pi’s general-purpose input-output (GPIO) header to any PC with a free USB port. A surprisingly sizeable red-hued circuit board, the RTk.GPIO includes a Pi-compatible 40-pin GPIO header with pin-out on the silkscreen. A quick pip install of the Python library later, and you can pretty much take any RPi.GPIO program and have it run natively on your Windows, Linux, or macOS machine.

Perhaps the biggest power of the RTk.GPIO is in assisting with the development of software for Pi add-ons, using the extra computing power of a desktop or laptop to make your life easier then allowing you to transfer your program to a real Raspberry Pi with minimal changes once complete. Its only real downside, in fact, is price: it’s more expensive than picking up a Raspberry Pi Zero and turning it into a USB device, though undeniably smoother to use.

The Kitronik kit, meanwhile, is one of a range of add-ons I’ve been playing with for my upcoming Micro:bit User’s Guide. Based around a GPIO expansion board for the micro:bit’s edge connector, the kit comes with mounting plate, solderless breadboard, jumper wires, and all the components you need to work through the included full-colour tutorial book – plus, in the version I picked up, the micro:bit itself, though the kit is also available without for those who already have the BBC’s miniature marvel.

In the years I’ve been playing with hobbyist electronics, I’ve seen these kits go from the most hastily thrown together things to extremely polished collections of hardware – and Kitronik’s kit definitely sits at the right end of that spectrum. There are nits to be picked, such as the lack of a handy plastic parts box for storage and no use of the lovely breadboard overlay sheets that make the Arduino-centric ARDX kit so easy to use, but it’s hard to imagine someone buying the Kitronik kit and being disappointed.

Finally, the GPIO Hammer Header. I’ve long been a fan of Pimoroni’s products, but the Hammer Header is by far both the simplest and the smartest I’ve seen. Designed for anyone who has purchased a Raspberry Pi Zero and wants to make use of the unpopulated GPIO header but who doesn’t fancy firing up a soldering iron, the kit makes use of cleverly-shaped pins which can make a suitable electrical connection purely mechanically.

The kit gets its name from the acrylic jig used for installation: assemble the jig with the Pi Zero in the middle, then give it a few sharp raps with a hammer to push the pins home. Male and female variants are available, allowing you to quickly install headers on both the Pi Zero and compact pHAT add-on boards, and to my surprise both installed quickly, easily, and without a single poor joint – and in a fraction of the time of soldering all 40 pins by hand.

For all this, and more, pick up the latest Custom PC Magazine from your nearest supermarket, newsagent, or digitally via Zinio or similar services.

Custom PC, Issue 163

Custom PC Issue 163My work for Hobby Tech this month involved rather more soldering than is usual, in order to assemble the parts required for reviews of the Boldport Club’s Ligemdio and Touchy kits and the Dark Control Raspberry Pi motor control boards – though, at least, the final review of the freshly-launched Debian+Pixel Linux distribution was free of fumes.

First, the Boldport Club. I’ve reviewed one of Saar Drimer’s impressively artistic circuit kits before, back in November 2015, but where you used to have to camp out on the Boldport website to pick up the latest small-production-run kit there’s a new option: monthly subscription. Members of the Boldport Club get a series of parcels, typically but not always including a kit featuring a Saar-designed printed circuit board but almost always being aimed more at the experienced engineer than the absolute beginner.

For a flavour of what Boldport Club members can expect, Saar sent over two kits: the Touchy, a touch-sensitive microcontroller dedicated to the memory of maker Oliver Coles, and the Ligemdio, a handy-dandy USB-powered LED tester. The latter proved far simpler to build than the former: anyone used to beginner through-hole kits would undeniably find the surface mount components on the Touchy a challenge, but therein lies its attraction.

The soldering on the Dark Control boards, by contrast, was considerably less tricky. Created by the Dark Water Foundation and funded via Kickstarter, the Dark Control boards – one for DC motors and the other for ESC motors – are impressive beasts. Designed to mimic the footprint of the diminutive Raspberry Pi Zero, the boards include the ability to run a minimum of six independent motors, include room for a nine-degree sensor add-on, and can be linked to remote control hardware for network-free control of everything from submarines to aerial drones.

Finally, Debian+Pixel is Raspbian for the masses. Like Raspbian, Debian+Pixel is built on top of Debian Linux; like Raspbian, Debian+Pixel uses the Pixel desktop environment; like Raspbian, Debian+Pixel includes a selection of educational software chosen by the Raspberry Pi community. Unlike Raspbian, though, Debian+Pixel runs on almost any x86 PC – meaning you don’t need a Raspberry Pi.

The software is, as you’d expect from a distribution based on one of the oldest Linux variants around, stable. The Pixel interface looks the same whether you’re running on a Pi or a traditional PC, and only the speed at which programs open and run gives it away. Sadly, there are one or two omissions largely as a result of licensing agreements: the handy Wolfram Alpha application is nowhere to be found, as is the extremely buggy Minecraft Pi Edition that saw one release back in 2013 before being abandoned by the now Microsoft-owned Mojang.

For the full run-down of all these shiny things, plus a whole bunch of other stuff written by people who aren’t me, you can pick up the latest Custom PC magazine in your nearest supermarket, newsagent, or electronically via Zinio and similar digital distribution platforms.

The Official Raspberry Pi Projects Book, Volume 2

The Official Raspberry Pi Projects Book Volume 2The Raspberry Pi Foundation has published the second in its Official Raspberry Pi Projects Book series, and as usually there’s a whole raft of my material to be found within its black-clad pages.

The book begins with practical guides and tutorials, including my guide to adding a physical reset switch to the RUN header on any modern Raspberry Pi Zero. It’s the review section where you’ll find the bulk of my work, however, beginning with a look at a couple of handy tools for makers: the Proster VC99 multimeter and the Tenma 60W Digital Soldering Station.

Further on you’ll find detailed reviews of two microcontroller-based products which can interface with the Raspberry Pi or operate entirely standalone: the Adafruit Gemma Starter Kit and the Bare Conductive Touch Board Starter Kit. The former acts as an introduction to the world of conductive thread, while the latter uses conductive ink to complete the circuits in its bundled guide.

Finally, my contributions to the Projects Book Volume 2 end with a review of the Pimoroni pHAT DAC, a compact add-on for the Raspberry Pi Zero – though mechanically compatible with any other modern Pi model bar the bare Compute Module family – which adds a high-quality digital-to-analogue converter (DAC) and 3.5mm jack. Those looking to wire a Pi into the stereo systems can also solder on optional stereo RCA jacks, which I thought was a particularly nice feature.

As with the previous book in the series, the Official Raspberry Pi Projects Book Volume 2 is available to download free under the Creative Commons licence from the official website.

The Raspberry Pi User Guide, Fourth Edition

Raspberry Pi User Guide Fourth EditionWriting a book on a technical topic is like trying to nail fog. The more popular a topic is the faster it moves and the thinner the fog gets. Nowhere is this more true than the Raspberry Pi, which this month celebrated shipping its ten millionth single-board computer to makers, educators, hackers, tinkerers, and curious types worldwide. Accordingly, The Raspberry Pi User Guide was in need of an overhaul – and an overhaul it has indeed received.

The fourth edition of my best-selling guide to all things Pi now includes coverage of the Raspberry Pi 3 with its Bluetooth and Wi-Fi radios, an entire chapter on choosing and using add-ons including the official Raspberry Pi Touchscreen, Sense HAT, and Wi-Fi adapter, a completely rewritten guide to Raspbian which covers the latest changes to the distribution, and a shift in other chapters to cover more popular software including LibreOffice – now a default install option – and the OSMC media software.

Elsewhere, you’ll find things tweaked, polished, and brought bang-up-to-date. The networking instructions now cover the use of the DHCP configuration file for setting a static IP address, the GPIO chapter is refreshed, and you’ll even find instructions for correctly soldering GPIO headers onto the ultra-low-cost Raspberry Pi Zero.

For UK readers, The Raspberry Pi User Guide Fourth Edition is available to purchase now from Amazon; for international readers, check with your local booksellers or find links to other outlets via the official Wiley book listing.

Linux User & Developer, Issue 167

Linux User & Developer Issue 167This month’s Linux User & Developer includes my review of Pimoroni’s Black Hat Hack3r family of break-out boards, designed for both the mainstream Raspberry Pi and ultra-compact Raspberry Pi Zero single-board computers (SBCs).

While Pimoroni isn’t exclusively focused on the Raspberry Pi platform, it’s no secret that the Sheffield-based company has plenty of ideas in mind for enhancing the popular devices. The Black Hat Hack3r range started out as an internal development tool, designed to make it easier to debug Hardware Attached on Top (HAT) devices – add-on boards which cover the 40-pin general-purpose input-output (GPIO) header on top of the Raspberry Pi – without having to deal with a rat’s nest of cables or easily-knocked debug clips.

The boards are simple at their heart: with no active components, all they do is mirror the GPIO header. A ribbon cable connects the board – available in full-size and a Mini variant designed specifically for the Raspberry Pi Zero – to the Pi’s GPIO header, and the HAT under investigation is connected to the mirrored header. A third header then provides full access to all 40 pins, which opens up a wealth of possibilities: you can add additional hardware at the same time as the HAT, sniff signals coming to or from the HAT for debugging or reverse engineering reasons, or even connect more than one HAT to a single Pi by daisy-chaining multiple boards.

I’ve long been a fan of Pimoroni’s designs, and the Black Hat Hack3rs are no exception to the company’s rule of clever boards with attractive layouts and finishes. To get my full opinion, though, you’ll have to pick up a copy of Linux User & Developer Issue 167 from your nearest newsagent, supermarket, or electronically via digital distribution services such as Zinio.

The MagPi, Issue 43

The MagPi Issue 43It’s a special week for the Raspberry Pi Foundation: it’s celebrating its fourth birthday with the launch of the new Raspberry Pi 3. It’s a special day for me, too: the latest MagPi magazine boasts a total of thirteen pages of my content, including the cover splash: a detailed and thorough look at the new model.

Boasting on-board Wi-Fi (a community request since the original model launched four years ago), Bluetooth 4.1, Bluetooth Low Energy, and a faster 64-bit ARMv8 processor, the new Pi 3 is a bit of a beast. My cover feature for the magazine begins with a look at those behind it with a double-page spread featuring interviews with project co-founder Eben Upton and the Foundation’s director of hardware and the man responsible for circuit design James Adams – and a massive thank-you to both for sparing the time to talk to me at one of their busiest ever periods!

The feature then moves on to a look a the board itself, with a hero photo of the board spread across another two pages. Each major feature of the board, from the shiny new 64-bit BCM2837 system-on-chip (SoC) processor to the BCM43438 radio module – which required me to get out the microscope in order to capture its markings – has a call-out with close-up photography and an explanation of how it has changed since the Raspberry Pi 2.

Next up is a benchmark spread, which required me to come up with a detailed suite of tests. After some experimentation, I settled on a selection of classic benchmarks – SysBench CPU in single- and multi-threaded modes, Linpack with and without NEON support, Whetstone, Dhrystone, SysBench memory read and write, Ethernet throughput, Quake III Arena timedemo performance, and power draw at load and idle. As an added bonus, I also came up with a way of measuring general-purpose input-output (GPIO) performance under Python, writing a simple benchmark to toggle a pin on and off as quickly as possible and measuring the speed with a frequency counter connected to the GPIO header.

The next double-page spread looks at helping the reader get started with the new device. I walk readers through modifying an existing Raspbian installation to boot on the Pi 3 by editing config.txt, setting up the Wi-Fi module, enabling true OpenGL acceleration on the graphics processor, and how to write programs to get the best performance on the Pi 3. Sadly, I was unable to explain how to use the Bluetooth 4.1 and Bluetooth Low Energy features, as software support was not available at the time of writing.

The spread then ends with a look at five things you could do with a Pi 3 in order to take advantage of the new features and boosted performance. My work for the magazine continues, though, with a review of the Proster VC99 multimeter and Pimoroni pHAT DAC, before coming to a close with a one-page news piece regarding the production status of the popular Raspberry Pi Zero – helping to explain why it has been so difficult to get hold of and settling concerns that it may be bumped to the back of the production queue now the Pi 3 is out.

All 13 pages of my content, and plenty of other stuff by people who aren’t me, are available from your nearest supermarket or newsagent, or as a free PDF download under a Creative Commons licence from The MagPi’s official website.

Custom PC, Issue 151

Custom PC Issue 151In my latest Hobby Tech column for Custom PC, I take a look at the Pi Zero-specific pHAT family of add-on boards from local electronics wizards Pimoroni, review the Guitar computer-on-module from China’s LeMaker, and show readers how to enhance a Raspberry Pi with a simple reset-stroke-power switch.

Firstly, the pHATs. The launch of the Raspberry Pi Zero, reviewed in last month’s Hobby Tech, brought with it the opportunity for Pi experts like Pimoroni to come out with some add-on devices matching the same form factor – which is, unsurprisingly, exactly what the company has done. The result is a family of, at the time of the review, three tiny add-on boards: the Explorer pHAT, Scroll pHAT, and pHAT DAC. Each comes with unpopulated GPIO, giving the user the option of soldering on the bundled female header for the ability to easily remove the device or soldering it directly to a Pi Zero to make an ultra-compact electronic sandwich.

The Explorer pHAT is the most versatile of the bunch, adding 5V outputs, inputs, analogue inputs, and even a pair of motor control channels to the Pi’s otherwise feature-light 3.3V GPIO header. The Scroll pHAT, meanwhile, features some bright white LEDs in a 5×11 matrix and comes with software for scrolling messages. Finally, the pHAT DAC is an ultra-compact digital to analogue converter capable of playing back 192KHz 24-bit audio via a pre-fitted 3.5mm jack or optional pair of RCA jacks. In short: there’s a little something for everyone.

The Guitar is LeMaker’s follow-up device to what was previously known as the Banana Pi – and, like its predecessor, LeMaker is taking design cues from the Raspberry Pi Foundation. This time, it’s made a Compute Module-alike: a small SODIMM-layout computer-on-module which comes bundled with a break-out board to access its various features. Considering the high price of the official Compute Module, I had high hopes for the budget-friendly Guitar – and I’m pleased to say that it mostly didn’t disappoint.

Finally, the reset switch tutorial. A variant of the tutorial I prepared for The MagPi tailored specifically to the Custom PC audience, it walks the reader through adding a simple switch to any Raspberry Pi – but focusing on the new Zero – in order to quickly reset the device in the event of a crash. As an added bonus, it also allows you to power the Pi on from a shut-down state.

All this, plus a bunch of stuff written by people other than me, can be yours in Custom PC Issue 151. Either pick up a physical copy from wherever magazines congregate, or snag it digitally via Zinio or similar distribution services.

The MagPi, Issue 42

The MagPi Issue 42This month’s instalment of The MagPi, the official magazine of the Raspberry Pi Foundation, includes a short project I created upon request from editor Russell Barnes: soldering a reset switch to a Raspberry Pi Zero.

While part of a feature on projects specifically for the Zero, the reset switch mod is actually applicable to any modern Raspberry Pi. It makes use of the RUN header, which when shorted out causes the processor on the Pi to act as though the power has been briefly cut. The result: an instant hard reboot, even if you’ve found a way to crash the system hard. The header also doubles as a remote power switch: if the Pi is powered off but plugged into a live power supply, shorting the RUN header will begin the boot process.

Attaching a switch to the reset header is as simple as soldering two pins, but the audience of the magazine spans the gamut from absolute beginner to highly-qualified engineer. As a result, a very specific angle was chosen for the tutorial: introducing someone to the art of soldering, using the simple two-pin reset switch as a less daunting entry point than the significantly larger GPIO header soldering project found back in Issue 40.

As always, the tutorial includes plenty of photography taken in my home studio. For much of the work I do, I’ve found my Nikon 40mm macro lens to be indispensable; the only time it typically leaves my camera is if I’m doing portraiture or low-light photography (in which case it’s replaced by an f1.8 50mm prime lens) or if I need wide-angle or telephoto shots (15-35mm and 70-300mm lenses respectively) during event coverage.

The tutorial, plus various exciting Pi-related things written by people other than myself, can be found gracing the shelves of supermarkets and newsagents throughout the country, or can be downloaded free of charge from the official website under a Creative Commons licence.