The Official Raspberry Pi Beginner’s Guide, 4th Edition and Translations

The Official Raspberry Pi Beginner's Guide 4th EditionMy introductory Raspberry Pi book, The Official Raspberry Pi Beginner’s Guide, has now been released in a fourth edition, bringing updates for the Raspberry Pi 4 8GB, Raspberry Pi 400, and new software revisions.

Bundled with every Raspberry Pi Desktop Kit sold, and available in paperback and free-as-in-speech Creative Commons-licensed DRM-free PDF, The Official Raspberry Pi Beginner’s Guide has proven incredibly popular. The latest release includes updates to reflect changes in the Raspberry Pi OS and bundled software, alongside coverage of the all-in-one Raspberry Pi 400 and higher-specification Raspberry Pi 4 8GB.

The new edition is also now available in translation for the first time: As well as the original English edition, The Official Raspberry Pi Beginner’s Guide can now be read in French, German, Italian, and Spanish, with additional translations in the works. As always, my thanks go out to the translation team at Raspberry Pi Press for making that happen.

The Official Raspberry Pi Beginner’s Guide 4th Edition is available to buy now in all the above languages with global delivery from the official website; it can also be downloaded under free-as-in-speech terms as a Creative Commons-licensed PDF file, unencumbered by DRM. For anyone considering picking up a Raspberry Pi 400, a print copy of the book is also bundled in the Raspberry Pi 400 Desktop Kit as well as in the Raspberry Pi 4 Desktop Kit.

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.

Custom PC, Issue 204

Custom PC Issue 204In my Hobby Tech column this month I go hands-on with the Raspberry Pi 4 Model B 8GB single-board computer, the considerably more powerful Nvidia Jetson NX Developer Kit, and take a look at Alex Wiltshire and John Short’s Home Computers: 100 Icons that Defined a Digital Generation.

First, the Raspberry Pi 4. Launched with a view to providing power users with something a with a little more headroom than the 4GB model – itself a fourfold increase on the memory available on its direct predecessor the Raspberry Pi 3 – the new 8GB model doubles the maximum memory while retaining full backwards compatibility. With that said, though, getting the most out of the device does require a 64-bit operating system – and I take a look at third-party options as well as the Raspberry Pi Foundation’s own Raspberry Pi OS in 64-bit builds.

The Nvidia Jetson NX Developer Kit is another device that takes advantage of a 64-bit operating system, but with a very different focus: where the Raspberry Pi 4 Model B 8GB is aimed at hobbyists, the Nvidia Jetson NX Developer Kit looks towards the professional end of the market – and offers some serious GPU horsepower for machine learning work, plus a new “cloud native” software model that containerises workloads to separate them from the underlying OS and to make it easy to run multiple workloads on a single device.

Finally, Home Computers is another in a series of coffee-table tomes investigating early personal computers – but one with a twist: The 100 machines contained within are taken exclusively from The Centre for Computing History in Cambridge. Each is captured in a series of high-quality photographs, including some close-ups and detail shots you won’t find elsewhere, and accompanied with a short write-up of its origins and capabilities. While it would have been nice to see the machines switched on – each is captured in its powered-off state, a shame given the Centre’s reputation as a hands-on “living museum” – it’s still a great book for vintage computing enthusiasts.

Custom PC Issue 204 is available now at the usual stockists, or online with global delivery from 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.

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.

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.

 

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.

The Official Raspberry Pi Projects Book, Volume 5

The Official Raspberry Pi Projects Book Volume 5Raspberry Pi Press has launched the fifth entry in the ongoing Official Raspberry Pi Projects Book series, a family of bookazine-style publications gathering hands-on content previously published in The MagPi Magazine – and, as usual, my content is included.

The Official Raspberry Pi Projects Book Volume 5 is the first volume to be published since the introduction of the Raspberry Pi 4 family – the first in a new generation of single-board computers which brings with it a considerably more powerful processor, the first new graphics processor in Raspberry Pi history, two high-speed USB 3.0 ports, true gigabit-capable Ethernet, and dual-4k display compatibility.

While the bulk of the projects in the book are suitable for any model of Raspberry Pi, there’s some Raspberry Pi 4 exclusive stuff too – in particular my detailed look at the boards, originally written for the Mag Pi’s launch feature. The first feature in the book, it covers the specifications and features of the new board, a look at its performance in a range of synthetic and real-world workloads and including throughput on both Wi-Fi and Ethernet network connections, and two two-page interview spreads with user experience engineer Simon Long and Raspberry Pi Foundation co-founder Eben Upton on both the Raspberry Pi 4 and the new Raspbian ‘Buster’ operating system launched at the same time.

There’s only one thing missing compared to the original version of the feature: thermal performance, including the high-resolution thermal imagery I take of devices on test. There’s a good reason for that: in the latest issue of The MagPi I provided a twelve-page in-depth investigation into the thermal performance of the Raspberry Pi 4 since its launch to the present day through a string of firmware updates designed to decrease power usage and heat output. This represents a considerably more up-to-date look at the board’s thermal performance than in the original launch feature, and it’s entirely sensible to exclude the original test from its republication.

The book is available to buy now in all good supermarkets, newsagents, and for global delivery from the official website; alternatively, a DRM-free PDF copy can be downloaded free of charge under a Creative Commons licence.

The MagPi, Issue 88

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

Get Started with Raspberry Pi

Get Started with Raspberry PiFollowing on from releasing the world’s first magazine with a computer on the cover, for which I provided the launch documentation that made up the historic MagPi Magazine Issue 40, Raspberry Pi Press has done it again: Its new publication, Get Started with Raspberry Pi, once again includes a cover-mounted computer – this time the more powerful Raspberry Pi 3 Model A+ – along with a case and pre-loaded microSD card with adapter.

The book, as its name suggests, is designed for absolute beginners to the Rasbperry Pi – but it’s not a replacement for my Official Raspberry Pi Beginner’s Guide, now in its third edition. Instead, it offers a broader but shallower overview of what the Raspberry Pi can do – starting with setting it up and moving on to both hands-on projects and an overview of community projects and third-party add-on hardware.

Inside Get Started with Raspberry Pi you’ll find a range of contributors’ work, including of course my own: The set-up guide and instructions on using the Raspbian desktop and other software, much taken from the Official Raspberry Pi Beginner’s Guide, bear my hallmark; the book also republishes the Raspberry Pi 3 Model A+ launch feature I wrote for The MagPi Magazine Issue 76, which includes an overview of the device, detailed benchmarking including how it relates to ever other model in the Raspberry Pi range, and an interview with its creators.

Those looking to get the bundled Raspberry Pi 3 Model A+ will need to head to their nearest supermarket, newsagent, or order a copy with free worldwide delivery from the Raspberry Pi Press Store; as with most Raspberry Pi Press publications, Get Started with Raspberry Pi is also available for free download under a Creative Commons licence – though, obviously, the download doesn’t include the cover-mounted computer!