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 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 99

The MagPi Issue 99This 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.

The MagPi Issue 99 is available now from all good newsagents and supermarkets, online with global delivery, or as a free-as-in-speech download under a Creative Commons licence.

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.

The MagPi, Issue 93

The MagPi Issue 93In this month’s The MagPi Magazine you’ll find my cover feature on working from home using a Raspberry Pi as a fully-functional desktop computer – and, as an added bonus, my photography of the TBBlue ZX Spectrum Next.

First, the cover feature. With a massive explosion in the number of people working remotely worldwide, and the corresponding shortages in hardware and accessories, now is a great time to look towards the Raspberry Pi as a functional alternative to traditional PCs. The six-page feature is split into three sections. The first of these sections looks at installing a Raspberry Pi Camera Module – or the newly-launched Raspberry Pi High Quality Camera Module – or USB webcam and using it for video conferencing via Google Hangouts.

The second section looks at online collaboration platforms, from Google Docs and Google Drive to Slack, Discord, and Firefox Send. The last section takes a look at LibreOffice, the open-source equivalent to Microsoft Office which is pre-installed in Raspbian Linux and fully compatible with the Raspberry Pi. Finally, a sprinkling of tips and tricks complete the feature.

The ZX Spectrum Next review, meanwhile, was written by The MagPi’s editor Lucy Hattersly, but illustrated by me: My hero shot of the ZX Spectrum Next, plus a close-up of the Rick Dickinson-designed keyboard which proved responsible for a two-year delay on the device as it was tweaked for maximum quality and performance, grace the two-page feature alongside a pair of images taken from the ZX Spectrum Next promotional materials.

All this, and more, is available in both the print edition and the free Creative Commons-licensed PDF download from the official magazine website.

The MagPi, Issue 90

The MagPi Issue 90This month’s MagPi, the official magazine of the Raspberry Pi Foundation, comes with a surprise bonus: a cover-mounted stand, available to download for 3D printing or laser cutting in the digital version, designed to hold up to three Raspberry Pi 4s in a vertical orientation. Naturally, it needed testing – and so you’ll find a feature comparing the stand to five commercial cases also designed to improve cooling.

My thermal testing feature in Issue 88 proved that putting the Raspberry Pi on its edge, rather than flat on a desk, could improve cooling and allow it to run faster for longer. The same test workload is repeated here on the bundled vertical stand plus cases from FLIRC, Argon40, Pimoroni, The Pi Hut, and SensorEq – and many thanks to all involved for their assistance with review samples.

Each case is installed as per the manufacturer’s instructions, then the Raspberry Pi 4 Model B 4GB inside is given a ten-minute run of a very thermally-intensive workload – an unlocked glxgears to put load on the GPU and a four-thread stress-ng FFT run for the CPU – followed by five minutes cooling. The temperature of each is graphed along with the operating speed of the CPU – which drops as the temperature rises above 80 degrees Celsius.

Finally, each case was placed underneath a thermal camera to see how effective it is at distributing the heat from the SoC. With the notable exception of one case – the case from The Pi Hut, which is constructed from light-transparent but thermally-opaque Perspex acrylic – the imagery helps to indicate whether a design has thermal headroom for longer workloads or is already working as hard as it can.

The feature is available in full in The MagPi Issue 90, which can be purchased in print from newsagents and supermarkets now or with global delivery from the Raspberry Pi Press store. It’s also available for free download under a Creative Commons licence; while the digital version doesn’t include the cover-mounted stand for obvious reasons, the design can be downloaded for home or commercial 3D printing or laser cutting from the magazine’s GitHub repository.

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.

The MagPi, Issue 79

The MagPi Issue 79In this month’s issue of The MagPi Magazine you’ll find my review of the Argon One, a clever case for the Raspberry Pi that if creator Argon Forty’s name is anything to go by will be followed up by 39 successive designs.

Raspberry Pi cases are ten a penny, but the crowdfunded Argon One stands out for one very heavy reason: the majority of the case, bar a plastic base, is made from a single piece of aluminium. It gives the case heft, but serves a real purpose too: the Raspberry Pi’s system-on-chip (SoC) is connected to the body of the case via a pillar of aluminium – turning the entire case into a giant heatsink.

It’s a great idea, and definitely works, but means the case has restricted compatibility: only the Rasbperry Pi 3 Model B and Model B+ will fit, with other models having their SoCs in a different position. If your Pi does fit, you’ll find the Argon One works a charm – though a built-in fan appears to make little practical difference to temperature levels.

The only real fly in the ointment, though, is that a daughterboard which provides a smart power button on the rear and power for the fan – joined by a second that moves the analogue AV and HDMI ports to the rear with the others – causes enough voltage drop to trigger ‘undervolt’ warnings and throttling on most power supplies. Only Argon Forty’s own 5.25V/3A supply, or an equivalent, avoids this – information that came too late for backers of the original Kickstarter campaign.

The full review, and a lot more beside, is available at your nearest newsagent, supermarket, or for free download under a Creative Commons licence from the official website.

The MagPi, Issue 77

The MagPi Issue 77If you’ve ever wanted to tackle an electronics project but didn’t quite know where to start, my latest article for The MagPi Magazine should get you up and running: it’s a look at resources for learning beginner-level electronics.

Centred, naturally enough, around the Raspberry Pi itself, my feature walks through a number of different resources: books, including Phil King’s Simple Electronics with GPIO Zero, all-in-one electronics kits of components and project sheets, online courses, and video tutorials for everything from connected LEDs and switches to the Raspberry Pi through to core concepts surrounding precisely what electricity is and how it works.

As with all Raspberry Pi Press publications, The MagPi Issue 77 is available for free download under a Creative Commons licence from the official website, or you can pick up physical copies in your favourite newsagent, supermarket, or from the comfort of wherever you are right now via the Raspberry Pi Press Store.

The MagPi, Issue 69

The MagPi Issue 69This 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.