This month’s Hobby Tech column takes a look at an open-source microcontroller-driven hobbyist oscilloscope and a book which aims to document art in video games, while also walking readers through the rather handy trick of setting up a reverse SSH tunnel.
First, the tutorial. Since Code42 announced that CrashPlan Home, my chosen off-site backup solution, was being discontinued, I’ve been looking into alternatives. A Raspberry Pi with a USB hard drive and a copy of Syncthing installed does the job nicely, except for the issue of management: once it’s off-site, I’d have to configure someone else’s router to forward a port so I can SSH into it. An easier alternative: a reverse SSH tunnel.
Where a traditional SSH connection goes from local device to remote host, a reverse tunnel goes from remote device to an intermediary device – in my case, a home server on my own network. Your local device then also connects to said intermediary device, and you have full access to the remote device regardless of whether or not it’s behind one or more firewalls or even whether you know its public-facing IP address.
The first of the reviews, meanwhile, is a little cheeky: while the device on test is based on the JYE Tech DSO138 open-source oscilloscope design and firmware, I’ve been using a clone rather than an original – having spotted it on offer during an Amazon sale and been unable to resist a bargain. While the conclusions I draw on the scope’s functionality and usability apply equally to both, a first-party JYE Tech version is likely to feature better build quality and certainly includes better support.
Finally, my review of the coffee table tome – yes, another one – Push Start: The Art of Video Games is one of those rare occasions where I’ve been disappointed by what should have been a product aiming for a very low bar. While the full-colour hardback publication includes plenty of high-quality pictures, it also includes some extremely low-quality screenshots as well – particularly noticeable at the beginning where vector games are captured as bitmaps using MAME’s default ultra-low resolution, and at the end where tell-tale artefacts show the use of third-party JPEG images rather than first-party captures. Worse still is the limited accompanying text, which is riddled with errors.
The latest Hobby Tech is available now from newsagents, supermarkets, and electronically via Zinio and similar digital distribution services.
This month’s Hobby Tech has a pair of two-page spreads on two very exciting, yet decidedly different, pieces of hardware – the Raspberry Pi 3 Model B+ and the Gamebuino Meta – along with a look at an update to the Arduino Create platform which brings early support for single-board computers.
First, the Raspberry Pi 3 Model B+. As the name suggests, the new board isn’t quite a full generation above the existing Raspberry Pi 3 Model B. It is, however, a considerable upgrade – primarily thanks to a new packaging for the BCM2837 system-on-chip, now known as the BCM2837B0, which vastly improves its thermal performance and boosts its speed from 1.2GHz to 1.4GHz. Elsewhere, the board includes an upgraded and simplified power supply system, gigabit Ethernet – though limited to around 230Mb/s throughput in real-world terms – and dual-band 802.11ac wireless network capabilities. Naturally, the review also includes thermal imaging analysis – this time using a new overlay technique which, I’m pleased to say, offers a significant improvement in image clarity over my previous approaches.
The Gamebuino Meta, on the other hand, is a very different device to its predecessor. Upgraded from an ATmega microcontroller to an Arm chip, the Gamebuino Meta boasts a colour screen, programmable RGB LED lighting, a general-purpose input/output (GPIO) header with ‘developer backpack’ accessory for easy prototyping – in short, it’s a serious upgrade over the device I reviewed back in Issue 134. Despite the upgrades, though, it’s still extremely accessible, allowing users to write their own games using the Arduino IDE and the Gamebuino library with ease.
Finally, Arduino Create. I’ve been meaning to take a look at the cloud-based development environment for a while, but it wasn’t until it added support for single-board computers like the Raspberry Pi – on top of the Arduino boards it already supported – that I found an excuse to dive in. What I found is somewhat rough around the edges, but shows promise: a fully-functional IDE right in the browser, but with the ability to push sketches – with very little modification for the Raspberry Pi – to devices remotely.
All this, plus the usual raft of things I didn’t write, can be found between the crisp paper covers of Custom PC Issue 178 at your nearest supermarket, newsagent, or electronically via Zinio and similar digital distribution services.
This month’s issue of The MagPi, the official Raspberry Pi magazine, has a review which took an unexpected turn: the Andrea Electronics PureAudio Array Microphone Development Kit, or MDK.
When Andrea’s kit – which is comprised of a PureAudio-branded USB soundcard based on a common low-cost USB audio chip, a SuperBeam stereo microphone with Velcro fixing pad, and some downloadable software – arrived, it did so under a different name: the Speech Development Kit, or SDK. The brief documentation provided explained that the kit made it easy to develop your own voice-activated software, detecting a trigger phrase and running tasks accordingly.
Sadly, that turned out not to be the case. While the bundled software does indeed activate on a trigger phrase, that’s all it does; to actually achieve anything, you need to write your own software. Not even basic text-to-speech or speech-to-text functionality is included, and while Andrea provided at-the-time unreleased ‘vocabulary files’ for individual instructions these were extremely limited and not user expandable. Worse, the clever filtering library – the only thing that makes the kit stand out from an off-the-shelf microphone and cheap USB soundcard – does not appear to the system as a driver, and is functional only with software you write yourself and the bundled extremely simple demonstration program.
Throughout the review, Andrea Electronics remained in constant communication, and took all my criticisms of the bundle on board. The result: a rapid shift in targeting, removing consumer- and hobbyist-oriented marketing from the bundle and repositioning it as a microphone – rather than speech – development kit aimed solely at professional developers. While it’s still not something I could recommend, it is at least now properly placed in the market.
For the full review, you can pick up The MagPi Issue 69 in print now at your nearest supermarket or newsagent, or download the full issue for free under a Creative Commons licence from the official website.
This month’s Hobby Tech features two different Raspberry Pi add-ons, one designed to get the best possible audio quality out of the popular single-board computer and the other designed to get the best possible audio quality into it, along with a review of Mark Hardisty’s Inlay in tradebook paperback format.
First, the let’s-play-high-quality-audio add-on: the Allo DigiOne. Reviewed in its Player format, which bundles the DigiOne S/PDIF hardware attached on-top (HAT) board with a Raspberry Pi 3, micro-SD card, power supply, and admittedly neat acrylic case – which, unfortunately, makes it really difficult to remove said micro-SD card – the DigiOne is designed to output digital audio over an RCA or BNC connector. Its primary selling point: as-low-as-possible jitter, claimed to be measured at 0.6 picoseconds – though its creators seemingly accusing optical outputs, which the DigiOne lacks, of having 4 nanoseconds of ‘jitter’ when they appear to actually mean ‘delay’ is disappointing.
The Andrea PureAudio Microphone Development Kit, by contrast, is less about the sound that comes out of a Pi and more about what goes into it. A bundling of a cheap off-the-shelf USB soundcard in custom plastic packaging with a PureAudio array microphone – the self-same design Asus used to give away with selected motherboards – the Andrea Electronics bundle originally came to me as the Speech Development Kit, full of promise about how Andrea’s clever audio library would bring crystal clarity to your applications and allow you to quickly and easily build applications you could control with your voice.
Considerable back-and-forth with the company followed, and by the morning on which the column was due with my editor a decision had been made: the Speech Development Kit, which was nothing of the sort and completely failed to deliver on its promises, became the Microphone Development Kit. While still below par – the biggest failing that, unlike the Windows driver that used to be bundled with the Asus version, the clever noise-reducing beam-forming and other-sound-enhancing Linux audio library which is the primary selling point of the kit can only be used in applications you write yourself, and will do nothing for applications like Skype or Audacity – it, at least, now sets a more realistic tone for would-be buyers.
Finally, something for the eyes. The creation of Mark Hardisty, whose A Gremlin in the Works was reviewed back in Issue 168, Inlay is a book about classic game cover art primarily concentrated on the eight-bit era. Where most coffee table books of this type simply reproduce the art as it originally appeared, Hardisty took a more challenging route: the book contains painstaking vector recreations of the original art, minus distracting titles and flashes, producing a derivative work which is clearer and crisper than anything you’ve seen before. My only regret: picking up the cheaper tradebook paperback edition, which lacks the wide format of the hardback edition and thus has less of each cover available for viewing.
All this, and the usual selection of interesting tidbits written by others, is available at your nearest newsagent, supermarket, or electronically via Zinio and similar services.
The launch of a hardware refresh for the low-cost yet surprisingly-capable Raspberry Pi single-board computer is always a great opportunity to take stock of how the project has progressed since its launch six years ago, and the result is this: a special cover feature for The MagPi celebrating the release of the Raspberry Pi 3 Model B+, or Pi 3 B+ to its friends.
Following roughly the same format as my cover feature for the launch of the Raspberry Pi 3 from March 2016, and my cover feature for the Pi Zero’s launch back in November 2015, my multi-page feature begins with an overview of the board highlighting its key new features with high-resolution call-out photography: the new Broadcom BCM2837B0 system-on-chip which dispenses with the old plastic package for a new direct-die layout protected by a metal heatspreader; the new dual-band 2.4GHz and 5GHz Wi-Fi and Bluetooth radio module; a Pi Zero-inspired ground plane antenna, which boosts wireless performance still further; a Power over Ethernet (PoE) header for the optional PoE HAT; gigabit Network connectivity; and a custom-designed power management integrated circuit (PMIC) which improves regulation and assists with the clockspeed increase to 1.4GHz.
Taking a brief pause for a quick getting-started guide for those new to the Raspberry Pi, the feature then gets into its stride with a full suite of benchmarks across two pages. Measuring everything from CPU and memory performance to Ethernet throughput, power draw, and Wi-Fi signal quality, the benchmarks don’t just cover the Pi 3 B+ and its immediate predecessor; the benchmarks compare the new board to every single mainstream model of Raspberry Pi in the project’s history, all the way back to the original Model B from the initial pre-production run. If you’ve ever wondered how things have improved over time, this feature will let you know exactly that.
A further two pages are taken up by my interview with Raspberry Pi Foundation co-founder Eben Upton, who first introduced me to the project all those years ago. Diving into the changes and improvements made in the Pi 3 B+’s design, which is the work of engineer Roger Thornton, the interview also includes several behind-the-scenes images and – because I can never resist the opportunity – a thermal imaging analysis demonstrating how the new packaging and thicker PCB help the Pi 3 B+ deal with heat dissipation, despite its faster clock speed compared to the hot-running Pi 3.
To read through the full feature, which also includes a more detailed getting-started guide and ten project ideas which take advantage of the board’s increased power, head to your local newsagent, supermarket, or download the issue digitally under the permissive Creative Commons licence from the official website.
My contribution to the latest issue of HackSpace Magazine is a detailed look at the ZX Spectrum Next, an open-hardware reimplementation of the Sinclair ZX Spectrum microcomputer with a wealth of improvements and enhancements.
Officially licensed from the current owner of the Spectrum rights – Sky In-Home Services, oddly enough, which requires only that a portion of any proceeds are donated to charity – the ZX Spectrum Next builds on the original with a Z80 implementation on a field-programmable gate array (FPGA) which can be run in accelerated mode at up to 14MHz, up to 2MB of memory, SD card storage, built-in joystick ports, crystal-clear HDMI video output, four-channel AY sound, support for original Spectrum keyboards or modern PS/2 keyboards, and even optional real-time clock, ESP8266 Wi-Fi, and Raspberry Pi Zero-based co-processor add-ons.
Despite these upgrades – and more I haven’t mentioned, including a brand-new operating system dubbed NextOS, 256-colour display modes, and hardware sprite support – the ZX Spectrum Next also boasts full backwards compatibility with software and hardware designed for the original Spectrum family, which is something of an impressive achievement given the relatively modest resources available to its creators following a successful crowdfunding campaign for its production.
The ZX Spectrum Next reviewed here, though, isn’t quite the finished article. Provided to backers eager to get their hands on the device as early as possible, the board-only ZX Spectrum Next Issue 2A is aimed primarily at developers. It also comes with an annoying design flaw, which was discovered post-review: a missing capacitor which can cause stability issues when coupled with low-quality power supplies. The finalised Issue 2B, its creators promise, will include the missing capacitor along with a keyboard and chassis housing designed by Sinclair’s long-term industrial designer Rick Dickinson.
For a full look at the ZX Spectrum Next, you can pick up Hackspace Magazine Issue 5 at your nearest supermarket, newsagent, or as a free download under the Creative Commons licence at the official website.
The launch of the shiny new Raspberry Pi 3 B+ offers a chance to revisit the entire history of the Pi family, benchmarking each device in turn from the original Raspberry Pi Model B launch board with its somewhat limited 256MB of RAM right through to the shiniest and newest board. This post collates the results from a range of different benchmarks, demonstrating how the power of the Pi has changed over the years.
If attempting to replicate the results yourself, there is one key fact to note: the Raspberry Pi has enjoyed somewhere in the range of a 30 percent performance uplift in the last couple of years through software and firmware optimisation alone; comparing the same benchmark run on a Pi using the latest Raspbian operating system today with results gathered a year or more ago will give a false reading, which is why all these results have been gathered using the same firmware and software revision.
First, the ZX Spectrum Next. The product of a highly successful crowdfunding campaign that drew in around three quarters of a million pounds from backers across the world, the ZX Spectrum Next is exactly what it sounds like: the next entry in the long-running Sinclair Spectrum family, long after even its most ardent fans had given up hope. Although based around ‘soft’ cores running on a central FPGA, the Next isn’t an emulator: the open design is entirely compatible with every piece of software or hardware you can throw at it, complete with accessories designed for the original Spectrum. It’ll even fit in a 16K/48K chassis, if you don’t mind drilling a few extra holes.
Those holes, you see, are needed for just some of the Next’s shiny new features: a pair of joystick ports, HDMI and VGA video outputs, and even the ability to insert a Raspberry Pi Zero into a special header for use – once the software has been written – as a co-processor, or as it was known at the time a “copper.” There’s room for up to 2MB of RAM, triple-chip FM synthesis, even Wi-Fi network support – though a design flaw discovered shortly after the review went to print means that anyone with the early-release Model 2A will need to solder a small capacitor onto the voltage regulator for full reliability, an issue fixed with Model 2B onward.
The NesPi, by contrast, is a lot simpler. At its heart, it’s a plastic case into which you can install a Raspberry Pi B+, 2, or 3. Its designers, though, have decided to create something a little different, and the Nintendo Entertainment System ‘inspired’ housing also includes daughterboards which offer four front-facing USB ports – two where the controllers would connect and another two under the ‘cartridge’ flap – along with working power and reset buttons. The Ethernet port is also brought to the front, for no readily apparent reason, while the dedicated power board includes a header for an optional cooling fan.
Finally, Britsoft is a book that has been on my shelves awaiting review for a little while now. A Read Only Memories publication, this impressive hardback tome gathers interview content originally created for the 2014 documentary From Bedrooms to Billions charting the rise of the British computer games industry. You’d be hard pushed, off the top of your head, to think of a luminary of the era not included in the title’s impressive 420 pages, and I had but one real complaint: the layout of the book is easier on the eye than the brain, often making it difficult to follow which speaker is talking and which topic you’re reading.
All this, and the usual collection of stuff by other people, is available now at your nearest newsagent, supermarket, or digitally via Zinio and similar services.
First, the vintage gaming feature. Building on a brief from editor Ben Hardwidge, I wanted to do something a little more in-depth than the usual how-to guide. The result is a seven-page feature which begins with a look at the wealth of accessories available to turn a Raspberry Pi or other single-board computing into a powerful emulation station, a two-page expert guide to the legalities of emulation in the UK, step-by-step instructions on downloading, installing, and configuring the RetroPie on a Raspberry Pi, and a look at entirely legitimate sources for read-only memory (ROM) game images.
While I’m fully equipped to handle the how-to and look-at-the-shiny-things sections of the guide myself, the legal aspect required an expert eye kindly provided by Eaton Smith LLP partner Chris Taylor. Legal counsel to a variety of game development and publishing companies, Chris kindly walked through the legalities of developing, downloading, and using emulation software and hardware under UK law – and even threw in a cheeky topical reference to Ernest Cline’s Ready Player One ahead of the release of its film adaptation. I’m also grateful to The Internet Archive’s software curator Jason Scott for taking the time to discuss the Archive’s vast trove of software and in-browser emulation functionality.
Meltdown and Spectre, meanwhile, are a lot less fun. The names given to a quartet of security vulnerabilities hard-baked in to the vast majority of processors built since the 1990s, Meltdown and Spectre are unarguably the worst things to happen to the computer industry since the death of the Commodore Amiga. My three-page look discusses the vulnerabilities, how they can be exploited to gain access to supposedly-protected information, and what companies are doing to fix the problems – and, spoiler, the conclusion there is “not nearly enough.” Since the piece was written, though, there’s one thing to note: installation of the KB4056892 patch for Windows 10 includes faulty microcode protection from Intel which can cause systems to reboot spontaneously, which is resolved through the installation of KB4078130 at the cost of disabling protections against one of the two Spectre vulnerabilities.
Finally, Hobby Tech itself opens with a look at the clever but fragile Opendime from cryptocurrency start-up Coinkite. Designed to turn Bitcoin into a digital bearer bond, an Opendime creates a private key which is stored in a secure enclave accessible only by irrevocably modifying the device by popping off a small surface-mount resistor. So long as the resistor is intact, the theory goes, nobody has access to the private key – meaning you can accept the device as payment without risk. Sadly, since my fairly glowing review was written two things have changed: the Opendime I’ve been carrying around on my keyring has unsealed itself without any visible damage to the resistor or the heatshrink which protects it, an issue Coinkite’s founder and support team have singularly failed to address, and the high transaction fees on the Bitcoin network have dropped from around £20 to around 20p meaning one of the major benefits of using a £15 USB device for in-person transactions has been lost.
The iFixit Pro Tech Toolkit, by contrast, is a significantly happier story. I’ve long been a fan of iFixit’s teardowns and the software they developed for presenting the information, so a toolkit with the iFixit seal of approval was high on my want list. Having now received one, I can confirm it’s no disappointment: from the high-quality tools, all bundled with the express intention of making it as easy as possible to dismantle modern electronics, to the smart multi-function storage case, the entire bundle is pleasingly robust.
Finally, Commodore: The Amiga Years. The follow-up to author Brian Bagnall’s Commodore: A Company on the Edge, The Amiga Years was officially cancelled years ago before being resurrected through a crowdfunding campaign. Since the closure of the campaign, however, the project was beset by delays and a last-minute editing decision that sees the final third of the story, taking Commodore to its sad demise, spun out into yet another book – a move backers criticising the decision have positioned as a blatant attempt at extracting more money. As with A Company on the Edge, though, the story told in The Amiga Years is one well worth the entry price – if suffering a little from Bagnall’s wandering editorial process, whereby topics raised as though you should already know them in Chapter 2 won’t be formally introduced until Chapter 5.
All this, and slightly less stuff by people who aren’t me, can be found at your nearest supermarket, newsagent, or digitally via Zinio and similar services.
This month’s HackSpace Magazine includes a review of an entirely unique device designed to make it possible to trade the Bitcoin cryptocurrency in-person as a physical item without any of the security risks that would normally be involved: the Coinkite Opendime.
For those unfamiliar, a primer: cryptocurrencies, including Bitcoin, work on the basis of a distributed ledger system known as the blockchain – a highly-secure database, effectively, which is shared between nodes and which cannot be faked or edited once committed. When you “have Bitcoins” in a “wallet,” what you actually have is the private key required to make transactions on the blockchain to move the coins you own from place to place.
The drawback of this approach compared to cold hard cash is that it becomes impossible to make secure off-chain transactions: you can save your keys to a flash drive, write them in an email, or even print them out and hand them to someone in person, but if you kept a copy it’s perfectly possible for you to transfer the coins to a different “wallet” out from under the recipient’s nose.
The Opendime aims to resolve this. Looking like a denuded flash drive itself, the Opendime is a smart self-contained microcomputer which performs the generation of private keys internally and locks them away – meaning it can receive Bitcoins but not spend them, until such a time as the private key is unlocked by popping a small surface-mount resistor off the board with a physical pin. In other words: if you receive an Opendime which reports it is still sealed, you are guaranteed to be the only person with access to that private key.
Sadly, since penning the relatively-positive review, I’ve encountered a major problem with the Opendime: having carried one on a keyring for a month or so, it spontaneously unsealed itself without the resistor being touched. Support from Coinkite has proven non-existent, and at £15 landed a piece with a minimum order of three units the Opendime is now an expensive but useless trinket while I find myself unable to trust the remaining two in the pack.
The review can be read in full within the magazine itself, which is available in print at all good newsagents and supermarkets and as a free digital download under the Creative Commons licence at HackSpace’s official website.
"Not only should it be an essential purchase with the micro:bit, I would recommend getting the book before getting the micro:bit. Definitely recommended." "This is an amazing educational tool." "For a newcomer I would recommend this book and the BBC micro:bit. Together, they will make an excellent coder/DIY enthusiast out of you or your child." "This is definitely the book to get you started." "The best book on micro:bit I've found so far." "A wealth of information on micro:bit and it's easy to read." "Just started reading your book, and it's exactly what I was looking for."
"I'm constantly reading tech manuals. This book is above and beyond ANY tech manual I have ever read! It is readable, understandable and a fine companion for the Pi." "I have been using computer manuals for 40 years and this is one of the best I have ever read." "All I was looking for is combined in this fantastic book." "I bought this book on my Kindle and it has transformed my understanding." "A brilliant book to help you out." "This book is a must have and works very well on my Kindle - thank you so much for writing it."
In crunch mode on a book project at the moment. As fun as the work is, I'm going to be glad when I get my weekends back. (Nobody's fault but my own - I'm the one who came up with the production schedule!)
Another day, another sighting of my imagery in the wild - but this time it's not a photograph, it's a waveform I created to illustrate tests on the Andrea Electronics stereo microphone I was reviewing. Not seen anyone use that before! https://t.co/E55SqKoavg