The Official Raspberry Pi Handbook 2022

The Official Raspberry Pi Handbook 2022The latest issue of The Official Raspberry Pi Handbook, an annual aimed at those looking to find out what they can do with their Raspberry Pi, is out now – and in it you’ll find my in-depth coverage of the Raspberry Pi Pico microcontroller board.

Within the special dedicated Raspberry Pi Pico section of the annual is my two-page introduction to the board, an in-depth spread covering its specifications and the various components which make up the hardware – with plenty of high-quality photography, taken in my in-house studio – and an explanation of exactly what a microcontroller is and how the RP2040 at the heart of the Raspberry Pi Pico works.

You’ll also find my guide to programming the Pico in MicroPython and C/C++, an interview with chief operating officer James Adams and senior engineering manager Nick Francis, comment from Eben Upton, a simple hardware “hello, world” tutorial in MicroPython, and a step-by-step guide to safely soldering headers onto the Raspberry Pi Pico’s general-purpose input/output (GPIO) pins.

There’s also a brief overview of my book, Get Started with MicroPython on Raspberry Pi Pico – which, for those who want to explore the topic further, is available as a free PDF download under a Creative Commons licence.

The Official Raspberry Pi Handbook 2022 is available in all good newsagents and bookstores now, online with global delivery, or as a DRM-free download under a permissive Creative Commons licence.

The MagPi Magazine, Issue 102

The MagPi Issue 102This month’s MagPi Magazine celebrates the launch of the new Raspberry Pi Pico with my 14-page feature introducing the first Raspberry Pi microcontroller, the first in-house silicon which powers it, and walking the reader through getting started programming the device with MicroPython – as well as talking to three of the people behind the effort.

Built around the RP2040, the first silicon chip produced by Raspberry Pi’s in-house ASIC team, the Raspberry Pi Pico is a fascinating device. While accessible enough for education, thanks to MicroPython support and a breadboard-friendly layout, it’s also designed to work as a module for industrial and embedded projects – and even launches with a port of TensorFlow Lite for machine learning work.

My feature begins with a look at the Raspberry Pi Pico and the RP2040, covering all the major features from RP2040’s programmable input/output (PIO) to the handy single-wire debug (SWD) header at the bottom of the Raspberry Pi Pico. As always, there’s plenty of photography.

The feature then moves on to an interview with Nick Francis, senior engineering manager, James Adams, chief operating officer, and Eben Upton, chief executive officer, covering the work done on both RP2040 and Pico, their hopes for the device, and how it aims to pack a surprising amount of functionality into a £3.60 gadget – “cheap as chips,” Adams told me.

Finally, the feature closes with a series of hands-on tutorials walking the reader through setting the Raspberry Pi Pico up on their Raspberry Pi or other computer, flashing the MicroPython firmware, and working on their first physical computing program.

MagPi Issue 102 is available now from all good newsagents and supermarkets, online with global delivery, or as a DRM-free PDF download under a free-as-in-speech Creative Commons licence. The Raspberry Pi Pico is also the topic of my latest book, Get Started with MicroPython on Raspberry Pi Pico: The Official Guide.

The Official Raspberry Pi Handbook 2021

The Official Raspberry Pi Handbook 2021This year’s holiday release from Raspberry Pi Press is The Official Raspberry Pi Handbook 2021, a tome which collects 200 pages of content previously published in The MagPi and makes it available ready for wrapping and nestling under the tree.

My primary contribution for this year’s Handbook centres around the Raspberry Pi 400, the latest single-board computer in the Raspberry Pi family. Built into a keyboard housing, the most-in-one layout is a new venture for Raspberry Pi – and you’ll find my imagery in the book’s getting started section for newcomers.

You’ll also find a six-page abridged edition of my Raspberry Pi 400 feature from The MagPi Issue 100, down from the original twelve with the main removal being the detailed benchmarking. The new thinner variant still includes plenty of imagery, including a graphical tour of all the external features and ports found on the Raspberry Pi 400, plus my interview with its designer Simon Martin and Raspberry Pi Foundation founder Eben Upton.

You’ll find more of my work scattered throughout, too, including screenshots and tutorials cribbed from The Official Raspberry PI Beginner’s Guide 4th Edition – along with a wealth of material from my fellow MagPi contributors.

The Official Raspberry Pi Handbook 2021 is available to buy now with global delivery, or to download as a DRM-free Creative Commons-licensed PDF, on the official website.

The MagPi, Issue 100

The MagPi Issue 100For this bumper issue of The MagPi, celebrating 100 issues since its launch as a fanzine and subsequent adoption as the official Raspberry Pi magazine, I take a deep dive into the company’s latest single-board computer: the very-nearly-all-in-one Raspberry Pi 400.

Built into a keyboard housing, the Raspberry Pi 400 is almost everything you need: just add a USB Type-C power supply, microSD, mouse, and display. For those buying the Personal Computer Kit – previously the Desktop Kit – that’s reduced to only needing an external display. Better still, the design includes the Raspberry Pi family’s first passive cooling system – and a speed boost from 1.5GHz to 1.8GHz.

Across the hefty 12-page feature I take the reader on a visual tour of the new board’s external ports and internal features – stripping it down to the surprisingly large single-board computer ensconced within – before taking a break for an interview with principal hardware engineer Simon Martin and Raspberry Pi Foundation founder Eben Upton on the project’s origins and development.

Benchmarks follow, putting hard numbers to the speed boost that has seen the CPU clocked from the default 1.5GHz on the Raspberry Pi 4 to 1.8GHz on the Raspberry Pi 400. As with previous launches, these include historical measurements going all the way back to the original Raspberry Pi Model A and Model B – detailing the performance of every board, bar the industrial-focus Compute Modules, across synthetic and real-world workloads.

The full review is available now in The MagPi Issue 100 from supermarkets and newsagents, online with global delivery, or as a free Creative Commons licensed PDF download on the official website.

The MagPi, Issue 94

The MagPi Issue 94This month’s The MagPi Magazine celebrates the launch of the Raspberry Pi 4 Model B 8GB, the latest single-board computer from the Raspberry Pi Foundation – and the most expensive and highest-specification model to boot.

My cover feature for the launch begins with an overview of the board, which is effectively identical to the previous 1GB, 2GB, and 4GB models bar the memory module in use. With 8GB of LPDDR4 on board, it has twice the memory of its nearest predecessor – and eight times the entry-level model, since pseudo-retired when falling memory prices brought the cost of the 2GB model down to the same level as the 1GB.

The next two pages diverge from my usual launch-day coverage, replacing benchmarks with a dive into the sort of use-cases that could justify moving from 4GB to 8GB of RAM: storage caching, disk-free computing, in-memory databases, virtual machines and containerised applications, machine learning and the like.

The reason for the shift away from benchmarking is simple: in repeated testing the Raspberry Pi 4 Model B 8GB proved absolutely identical in performance to any other model of Raspberry Pi 4, unless the workload exceeded available free memory. While it would have been easy to develop synthetic benchmarks which would show a dramatic improvement in performance for the new model, it would have been misleading to anyone expecting to see a speed boost for day-to-day computing.

From there, the feature moves on to an interview with Raspberry Pi Foundation founder Eben Upton on the timing of the launch – “[it is] absolutely as soon as we can,” he told me during the interview, “the memory packages we’re using are literally some of the first off the production line, a brand-new, shiny memory technology” – the sort of user the new model targets, the Foundation’s work on a 64-bit version of the Raspberry Pi OS which launches in beta today alongside the new board, and the future of the Raspberry Pi 4 range which, sadly, is not likely to include a 16GB model.

The full feature is available to read now in The MagPi Issue 94, available to purchase with global delivery or to download as a free Creative Commons-licensed PDF on the official website.

Custom PC, Issue 201

Custom PC Issue 201This month’s Hobby Tech column takes a look at the upcoming Mooltipass BLE hardware password dongle, FLIR’s ETS320 thermal camera for electronics testing, and has a word from Eben Upton about the cost-reduced Raspberry Pi 4 Model B 2GB single-board computer.

First, the Mooltipass BLE. I reviewed the Mooltipass Mini – itself a successor to the original, bulkier Mooltipass – back in Issue 168: a compact, metal-encased device, the Mooltipass Mini holds your passwords in encrypted storage accessible only using a smartcard and four-digit hexadecimal PIN. I’ve been using the Mooltipass Mini with great success since its launch, but it’s always a bit of a pain to use with a mobile device – requiring a USB cable and OTG adapter.

The Mooltipass BLE aims to fix that, by integrated a Bluetooth Low Energy radio. While it can still operate in tethered USB mode, the Bluetooth radio plus internal battery give it a newfound freedom – though my experience is as a beta tester, with finalised and fully-functional firmware still under active development before the device goes on open sale.

The FLIR ETS320, by contrast, is a fully-finished piece of hardware. Regular readers will know that I’ve long been an advocate of thermal imaging analysis for revealing the secrets of electronic devices, and the ETS320 is a considerable upgrade from my usual FLIR C2: the 80×60 resolution thermal sensor of the C2 is replaced by an impressive 320×240 version in the ETS320, at the cost of a dramatically reduced maximum focus distance. I’d also like to thank FLIR for its partnership: the ETS320 has become a permanent fixture in my toolkit, and will be used alongside the C2 for thermal analysis in future hardware reviews.

Finally, the Raspberry Pi 4 Model B 2GB. While the board itself isn’t new, its pricing is: Raspberry Pi Trading recently decided, prompted by falling RAM prices, to retire the 1GB model and make the 2GB model the new entry point into the family. “2GB is a much more viable desktop platform than 1GB,” RPT chief executive Eben Upton told me in an interview for the column. “1GB is great for embedded, but for a desktop platform it’s just a little bit too tight. What it means is that we’re now back to having a really viable desktop machine at our signature price point.”

The full column is available now in Custom PC Issue 201 at your local newsagent, supermarket, or for global delivery from the official website.

The MagPi, Issue 91

The MagPi Issue 91Hitting shop shelves just two days before the Raspberry Pi Foundation celebrates its eighth birthday, this month’s MagPi brings a surprise: A permanent reduction in the Raspberry Pi 4 Model B 2GB’s price down to that of the original 1GB entry-level model.

In a three-page feature on the move I investigate exactly what doubling the RAM means for the user, demonstrate how to use the Terminal to see exactly how much RAM your particular Raspberry Pi has available – along with how much is being used by programs and cache, and how much is free or can be freed – and interview Raspberry Pi Trading chief executive Eben Upton on how the price has been brought down, the explosive growth in the Raspberry Pi’s specifications over the past eight years, and exactly how 2GB makes for a great desktop in a world where even entry-level smartphones frequently come with 4GB.

“If you look at Windows, or even a traditional Linux desktop distro, there’s been a sort of relaxation,” Upton told me during our interview for the piece.  “As there’s been more memory available, people have loosened their belts a little bit and sort of flumped down and started consuming more memory, when we really haven’t. We’re still using an LXDE-derived desktop environment; you know, we care about every 10MB of memory usage. That’s the reason why the 2GB model is a really, really useful desktop.”

The shift effectively sees the 1GB model retired, though it will still be made available at the original $35 price point for those who have designed precisely that amount of RAM into their projects – but with the 2GB model costing the same, it’s not likely to be selling in any real volume from this point forward.

MagPi Issue 91 is available at all good newsagents and supermarkets now, and can be ordered for global delivery or downloaded as a free Creative Commons-licensed PDF from the official website. The price cut, meanwhile, is live globally today.

Custom PC, Issue 198

Custom PC Issue 198This month’s Hobby Tech opens on an interview with Bitmap Books founder Sam Dyer, covering what his nostalgia-driven coffee-table book specialist publisher has been up to in the half-decade since last we spoke, moves on to a preview of the soft-launched Sensoreq CooliPi Raspberry Pi 4 case and heatsink, and ends with a look at UNIX: A History and a Memoir by Brian Kernighan.

I last interviewed Dyer on the back of the launch of Bitmap Books’ inaugural publication, the crowdfunded Commodore 64: A Visual Commpendium – the spelling of the latter, he was at pains to tell me at the time, a deliberate pun. In the five years since, Dyer’s press has moved from collecting screenshots of Commodore 64 and Amiga games to producing some big-budget hardback titles, most recently including officially licensed titles – a rarity in the all-too-often copyright-ignorant retro gaming sphere. There’s more to come, too, Dyer told me in this latest interview – including some non-gaming works, including a Micro Machines-focused book dubbed Micro But Many due later this year.

The CooliPi case, meanwhile, is an interesting beast – not least because not only is the plastic base 3D printed rather than laser-cut or injection-moulded, but the design files to print your own are provided for free download. That’s because the secret sauce sits on top: a custom-milled and surprisingly hefty aluminium heatsink, available in a variety of colours. The case is cleverly designed and its cooling performance, even operating without the optional mount for a 5V fan, is the best I’ve seen – though the Hobby Tech piece is a preview, rather than review, as creator Sensoreq finishes a few last tweaks before the design can be considered fully final.

Finally, Kernighan’s memoir – written by a man who, in his own words, was “present at the creation [of the UNIX operating system] but not responsible” – is a thoroughly enjoyable first-person perspective on some of the most important works in computing history, and the precursor to the Linux-based operating system on which I’m typing right now. A vanity press publication, created through Amazon’s print-on-demand service, the book’s print quality isn’t great – most obvious on the cover, where an extremely low-resolution image has been stretched blurringly around the book giving the impression of a knock-off – but the content more than makes up for its production values.

All this, and more, can be found on the shelves of your nearest supermarket, newsagent, or for worldwide delivery from the official website.

Custom PC, Issue 195

Custom PC Issue 195This month’s Hobby Tech column opens on an interview with Ryan Brown on the impressive Quarter Arcades miniature fully-licensed reproduction arcade cabinets, moves on to a review of the RISC-V-based Seeed Studio Grove AI HAT for the Raspberry Pi, and closes with a look at Pimoroni’s clever Inky wHAT electrophoretic display.

First, the interview. Answering the important question first, Brown admitted that “the pun certainly helps” when it came to deciding to what scale the Quarter Arcades cabinets should be produced: each carefully-designed reproduction, modelled on real period-appropriate cabinets, is built to a quarter scale both as a means of having it sit nicely on a desk and of providing a name which echoes the most commonly-required coin of US arcade cabinets.

While the Quarter Arcade range is currently limited to licensed properties including Pac-Man and Galaga, Brown has indicated there’s potential there to expand: “Starting with the most beloved classics really helps us open doors to other, more niche arcade games, and even potentially games that never reached the arcade.”

The Seeed Studio Grove AI HAT, by contrast, was an undeniable disappointment. Based on the Kendryte K210 system-on-chip, which uses the RISC-V instruction set architecture and includes a co-processor designed to accelerate artificial intelligence workloads, the AI HAT can be used as a stand-alone development board or attached on top of a Raspberry Pi – but in the latter mode is almost entirely divorced from the Pi itself, to the point where it’s not even possible to program the AI HAT without detaching it again and connecting it to a more traditional PC.

Finally, the Inky wHAT. Another Raspberry Pi HAT (Hardware Attached on Top) board, the Inky wHAT offers a 4.2″ electrophoretic display in three colours: red, black, and white in the model reviewed, with a yellow variant available alongside a slightly cheaper black-and-white two-colour version. Forming the heart of a project which will appear in next month’s magazine, the Inky wHAT impressed – though it would be nice to see the price drop a little, given how cheap full-colour though considerably more power-hungry LCD panels are these days.

Custom PC Issue 195 is available now at all good supermarkets, newsagents, and digitally through the usual outlets.

The MagPi, Issue 83

The MagPi Issue 83This week saw the release of the Raspberry Pi 4, first in a new generation of single-board computers from the not-for-profit Raspberry Pi Foundation. As is usual for the launches, I was approached by The MagPi Magazine – the Foundation’s official publication – to prepare coverage for the launch, including interviews, imagery, and a wealth of benchmarks.

My coverage for the magazine, spread across a whopping 12 pages, begins with a high-resolution hero shot of the board with macro-image call-outs for its key features and components – including the new USB Type-C power connector, BCM2711B0 system-on-chip, and shiny dual-micro-HDMI video outputs capable of driving high-resolution 4K displays.

Next, there’s an interview with Foundation co-founder Eben Upton covering everything from the reason the board is available now when a 2020 launch had previously been suggested, how it can potentially replace a desktop PC in a range of environments, backwards compatibility with the existing Raspberry Pi ecosystem, and a hidden Easter Egg on the PCB – only accessible to those brave or foolhardy enough to unsolder the USB connector.

The benchmarking section, spread across four pages, marks a departure from previous launches: this time around I pulled the focus away from synthetic benchmarks, though the classic Linpack still makes an appearance if only to demonstrate how the Arm processors’ NEON extensions can dramatically improve performance, in favour of a variety of real-world workloads: image editing with the GIMP, file compression with bzip2 and lbzip2, browser performance in Chromium, and gaming performance with OpenArena, alongside USB, Ethernet, and Wi-Fi throughputs. In all cases, the workloads are entirely reproducible: all packages used for the real-world workloads are available at launch in the Raspbian Buster software repositories. If four pages isn’t enough, additional benchmarks are available on my Medium post.

As usual, the benchmarking also includes a thermal analysis: images of the Raspberry Pi 4 and its immediate predecessor the Raspberry Pi 3 Model B+ were taken after a ten-minute CPU-heavy workload using a Flir thermal imaging camera, the data processed to a fixed temperature scale of 22-80°C to avoid noise from ambient surfaces, then overlaid on an edge-enhanced high-resolution visible-light image of their respective boards using a high-contrast rainbow colour palette. These images represent a fair amount of work, but there’s no better way to see both how hot the Pis get under continuous load and which components are responsible for that heat – not to mention how effective the design is at bleeding the heat off through the PCB, something with which the older Raspberry Pi models with plastic-encased chips have struggled.

Finally, the piece closes with a two-page interview with Simon Long on the new Raspbian ‘Buster’ operating system – launching ahead of the upstream Debian 10 ‘Buster’ release, interestingly – and its revised, flatter user interface. While much of the under-the-hood work for Buster was to get it ready for the Raspberry Pi 4 – previous Raspbian releases won’t work on the new board – it’s also available for older Raspberry Pi models, and comes with some convincing reasons to upgrade along with a handful of software compatibility issues that offer a reason to hang fire.

As always, The MagPi Issue 83 is available to buy in print format from all good newsagents, supermarkets, and book sellers; a free digital copy, released under the Creative Commons Attribution-ShareAlike-NoCommercial licence, is also available from the official website.