The 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.
This 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.
This 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.
For 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.
This month’s The MagPi, the official Raspberry Pi magazine, includes a hefty spread taking a look at the newly-launched Raspberry Pi Compute Module 4 – bringing the power of the Broadcom BCM2711 to the Compute Module form factor for the first time.
Well, sort of: the new Raspberry Pi Compute Module 4 is actually a wholly new form factor, ditching the old SODIMM edge connector in favour of two high-density connectors on the underside. While that means no backwards compatibility with existing Compute Module carrier boards, third parties have stepped up and launched interposer boards to let you squeeze the new board into old designs.
Having been provided with pre-release access to the Compute Module 4 and its IO Board, my launch feature takes a look at the physical layout and the components that go into the board – with macro photography, including coverage of the high-performance eMMC storage on-board selected models – and runs through a selection of benchmarks testing everything from synthetic and real-world performance to footprint and weight.
One particularly interesting aspect of the benchmarking, and one which will inform designs based around the new module, was thermal throttling analysis: the Raspberry Pi 4 is known to run reasonably hot, though enhancements since launch have brought the temperature down considerably, and moving the same technology into a smaller footprint means the Compute Module 4 gets toasty warm. As Raspberry Pi Foundation founder Eben Upton explained, passive cooling is going to be a must for most designs.
This 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.
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.
Hitting 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.
Pimoroni’s surprisingly robust case for the Raspberry Pi 4 – and not, thanks to changes made in the ports on the board, for any other model of Raspberry Pi – is something of an anomaly in the company’s stock: it’s not an in-house design, but rather a third party creation placed in Pimoroni packaging. There’s also not that much to it: the case is nothing more than two pieces of aluminium, some screws, and three thermal interface material (TIM) pads – of which, Pimoroni’s instructions inform the buyer, you should only use one.
Aside from mechanical fit and feel, the majority of the testing took place using my in-house thermal throttling benchmark – ten minutes of heavy CPU and GPU workload plus a five-minute cooldown period, tracked over one-second intervals – and via thermal imaging. The latter is an increasingly important tool for this type of review: placing the heatsink under the thermal camera revealed that there was little thermal headroom in the design, meaning it may not be wholly appropriate for extreme environments or overclocking scenarios – despite handling the benchmark well.
Upton’s Code the Classics, meanwhile, is a programming book with a difference: It takes an in-depth look at a series of classic game types and teaches the reader not only how to program their own but what went into the creation of the originals, including interviewing some big names from the industry. It’s half coffee-table, half-educational and wholly clever – and while Eben Upton provided the code, it’s a definite team effort with Sean Tracey, Dan Malone, Alastair Brimble, David Crookes, Andrew Gillet, and Liz Upton all contributing according to their own skills. Impressively, the entire book is also available to download free of charge under a Creative Commons licence.
Finally, The Art of Point and Click Adventure Games is yet another colourful coffee-table tome from Bitmap Books’ Sam Dyer, and one well worth picking up. Reviewed in the since sold-out Collector’s Edition form – packaged in an oversized cardboard housing designed to mimic big-box PC games of yore, complete with a USB stick disguised as a somewhat shrunken 3.5″ floppy disk – it makes an excellent companion piece to The CRPG Book from the same publisher, and is up to Bitmap’s usual excellent quality.
Custom PC Issue 199 is available now from all good supermarkets and newsagents, via several digital distribution platforms, or for online purchase with global delivery from the Raspberry Pi Press store.
The latest issue of The MagPi Magazine includes a whopping 12-page feature investigating the thermal performance of the Raspberry Pi 4 Model B single-board computer as it is affected by a series of firmware updates released since its launch earlier this year.
When I reviewed the Raspberry Pi 4 at launch, I highlighted its dramatically increased power draw and heat output compared with its predecessor the Raspberry Pi 3 Model B+. In the months since, the Raspberry Pi Foundation has been working to address the issue through a series of firmware updates – and, with assistance from Eben Upton and Tim Gover, my feature runs through each release and sees what difference it actually makes.
For the feature, I had to develop a method of benchmarking the Raspberry Pi. Power draw was relatively straightforward: the built-in current meter in a bench-top power supply is used to measure the minimal draw at idle and peak draw at load. For thermal performance, I wrote a custom benchmark which uses two open-source utilities – glxgears and stress-ng – to place a heavy load on both the CPU and the GPU while measuring the resulting temperature rise and the speed of the CPU, which throttles at 80°C to protect the silicon.
These measurements provided a graph of temperature rise and fall, the latter thanks to a five-minute cool-down period built into the benchmark, but for a more visual approach I also took thermal imagery of the board at idle and load to demonstrate which components are responsible for the heat output and better highlight the improvements made at each firmware revision. This was no small undertaking: the benchmarking and thermal imagery was completed for five firmware revisions, the last of which was not publicly available at the time of testing, plus a baseline Raspberry Pi 3B+ for comparison.
The feature also takes a look at a real-world workload, in which temperature and clock speed is measured while a four-worker compile of the Linux kernel is carried out. This revealed something which may come as a surprise to critics of the board: Using the latest firmware, the Raspberry Pi 4 did not throttle at all during the compilation – something that can’t be said for the Raspberry Pi 3B+, which throttled to 1.2GHz from 1.4GHz almost immediately. For the final bit of testing, there’s even a comparison of the Raspberry Pi 4 running sat flat on a desk and balanced vertically – at Upton’s suggestion – with a resulting dramatic impact on the throttle point and operating temperature.
Finally, firmware developer Tim Gover was kind enough to answer my questions on what the Raspberry Pi 4 firmware actually does, how it is developed, and how it can have such a dramatic impact on power usage – along with the confirmation that USB mass-storage booting and IPv6 network booting are on the to-do list for future releases.
The full feature, and plenty more beside, can be found at your local newsagent, supermarket, or downloaded at no cost in digital form under a Creative Commons licence from the official website.