The latest version of my beginner-focused Raspberry Pi book, The Official Raspberry Pi Beginner’s Guide, is now available – and it brings with it a major change to the projects included within.
The Second Edition release of the book concentrated on bringing the popular publication – bundled with all Raspberry Pi Desktop Kits – up-to-date for the release of the Raspberry Pi 4 and the Raspbian ‘Buster’ operating system. This Third Edition, meanwhile, migrates the programming and electronics projects to newer versions of their respective development environments: Scratch 3 and the Thonny IDE.
Thonny, the default integrated development environment for Python programs, is largely just a visual change: the latest version of the software simplifies the user interface compared to earlier releases, so all instructions and screenshots in the book have been updated accordingly.
Scratch 3 is a bigger shift. As well as coming with a refreshed user interface, Scratch 3 changes certain core aspects of its operation compared to Scratch 2 – with the result that Scratch 2 programs aren’t guaranteed to work within Scratch 3 without modification. This Third Edition updates all the Scratch-based projects to ensure they work correctly in Scratch 3, complete with all-new instructions.
The Official Raspberry Pi Beginner’s Guide Third Edition also includes a number of other improvements, from updates for other new and changed software through to a few minor errata from earlier editions.
The Official Raspberry Pi Beginner’s Guide Third Edition is available now from all good bookshops and e-tailers, while a free PDF copy can be downloaded from the MagPi Magazine website – or you can order a print copy for international delivery.
My regular Hobby Tech feature provided two opportunities to break out the thermal camera, thanks to a detailed analysis of a range of cooling products for the Raspberry Pi 4 and a review of the Libre Computer Project’s La Frite single-board computer – and there was even time to take a look at Brian Dear’s exhaustive title The Friendly Orange Glow: The Untold Story of the Rise of Cyberculture.
First, La Frite. Funded, as with all Libre Computer Project boards, via crowdfunding, the compact single-board computer is designed to compete with the like of the Raspberry Pi. It certainly has its selling points: there’s a mounting point on the underside for an eMMC storage module, though it uses proprietary mounting holes; there’s a clever midship-mounted Ethernet port to reduce the overall height; and it even comes with the option of a clever two-piece aluminium case that doubles as a heatsink. Sadly, the board’s performance isn’t there, its software support struggles, and despite the name of the organisation its openness is limited to targeting mainstream Linux kernels; the board itself is a proprietary design.
Moving on to the topic of the Raspberry Pi 4, there’s no secret now that the new high-performance processor at its heart runs a little warm. For my analysis of the issue and a look at some potential solutions, a benchmarking workload was executed while temperature and clockspeed were measured and charted – demonstrating handily the loss of performance you get when the system-on-chip begins to heat up.
These data are joined by the same workload while the Raspberry Pi 4 is enjoying the benefits of a range of third-party cooling products: the Pimoroni Heatsink and Fan Shim options, the former running in passive-only and fan-assisted modes and the latter in always-on and software-controlled modes, along with the 52Pi Ice Tower heatsink and fan assembly as supplied by Seeed Studio and running in 5V, 3V3, and wholly passive modes. The temperatures across the run are then charted, while thermal imagery provides a visual insight into how the whole board heats under passive and active cooling.
Finally, The Friendly Orange Glow is a book I’d heartily recommend to anyone interested in the history of a surprising range of modern technologies – from flat-panel plasma displays and multiplayer gaming to Microsoft’s FreeCell. Charting the rise and fall of PLATO, a computer-assisted learning platform now largely forgotten by history, the book is about more than just technology: as its subtitle, The Untold History of the Rise of Cyberculture, suggests, PLATO and those who built and used it were responsible for cultural movements that wouldn’t be repeated elsewhere in the world for decades.
You can pick up the latest issue of Custom PC Magazine at your nearest newsagent, supermarket, or online at the Raspberry Pi Press Store, or grab it in digital form via the usual distribution services.
The launch of the new Raspberry Pi 4 single-board computer brought with it, as usual, my detailed analysis over on Medium. The post has drawn considerable interest, in particular the benchmarking and thermal imagery aspects. German publisher Computec got in touch shortly after publication to ask if they could licence the post for translation and republication in the local enthusiast magazine Raspberry Pi Geek – and that issue is on shelves now.
Effectively a blow-by-blow recreation of the Medium post, translated and reformatted for the confines of a paper magazine, the seven-page feature walks through what’s new in the design, carries out numerous benchmark tests from synthetic and real-world performance workloads to power draw and – as has become a signature of mine – high-quality thermal imagery showing just where the extra power demanded by the Raspberry Pi 4 is going on the board.
Each benchmark includes a graph for easy at-a-glance performance comparisons between the new model and every version back to the original launch Model B. High-quality photography of the board and its various components are also featured, and have translated particularly well to the page.
My Hobby Tech column focuses this month on the Raspberry Pi 4, the amazingly inexpensive M5Stick-C microcontroller platform, and Zach Barth’s game design retrospective Zach-Like.
The column opens with the Raspberry Pi 4 review, a two-page look at the layout, features, functionality, and performance of the latest single-board computer from the Raspberry Pi Foundation. As always, there’s plenty of photography – including thermal imagery, using an in-house process I developed to get the most detail possible by combining visible light and infrared photography into a single print-resolution image.
My look at the M5Stick-C, part of the M5Stack family of products, needs no such clever photography – though there is a shot of the device on my wrist, thanks to a bundled watch strap mount. Designed around the low-cost ESP32 microcontroller the M5Stick-C includes buttons, a full-colour screen, Wi-Fi and Bluetooth connectivity, LEDs, a range of sensors, a built-in battery chargeable over USB Type-C, and the aforementioned watch strap plus a wall-mount bracket, LEGO-compatible mounting bracket, and even a built-in magnet – and all for under £10 excluding VAT. It may not be perfect, but it’s certainly cheap enough.
Cheaper, though, is Zach-Like, a collection of game design documents charting the early days of Zach Barth and his company Zachtronics. Initially available as a limited-run print edition on crowdfunding site Kickstarter, Zach-Like is now available as a free electronic download on Steam in PDF format – and comes with a huge selection of bonus content, including playable versions of several unreleased games and prototypes. At £10, Zach-Like would be a bargain; for free, it’s astonishing.
You’ll find the full column, and a lot more, in Custom PC Issue 193 at your nearest supermarket, newsagent, or on any one of a selection of digital distribution platforms.
The big news of the last few weeks has, of course, been the launch of the Raspberry Pi 4 single-board computer – covered in considerable detail in my benchmark piece over on Medium. To support its in-house review coverage, PC Pro Magazine commissioned me to come up with project ideas that take full advantage of the Raspberry Pi 4’s new capabilities.
The first of a new family of Raspberry Pi products designed to do away with some of the biggest criticisms levelled at earlier models, the Raspberry Pi 4 includes a significantly more powerful processor, improved graphics capabilities, dual-4K video output and hardware H.265 4K video decoding, up to 4GB of RAM, true gigabit Ethernet networking, and two USB 3.0 ports sharing a high-speed PCI Express link back to the Broadcom BCM2711B0 system-on-chip (SoC) at the board’s heart.
My feature covers how these new capabilities can be used in a variety of real-world use-cases, from acting as a desktop replacement for lightweight browsing and productivity use to a low-power 4K-capable home cinema system. The new USB 3.0 ports are perfectly suited to turning a couple of external hard drives into a low-cost network-attached storage (NAS) system, while the improved graphics make gaming more tempting.
There’s even something for the enterprise crowd to sink its teeth into: the dual display capabilities mean that the Raspberry Pi 4 is perfect for digital signage, Citrix support on day one turns it into a dual-screen thin client, and the more powerful networking can be combined with a USB 3.0 Ethernet adapter to create an energy-efficient router, firewall, or other network appliance.
For the full low-down on what the Raspberry Pi 4’s new features could do for you, pick up the latest PC Pro from your nearest supermarket, newsagent, or digitally via Pocketmags or similar services.
This 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.
While today’s big news is the launch of the Raspberry Pi 4 single-board computer – which I have treated to a wealth of benchmarks over on Medium – it comes with a supporting product release: the second edition of the popular Official Raspberry Pi Beginner’s Guide, updated for the new hardware.
Inside the book, which is being made available for purchase in a print edition and for free download and redistribution under the Creative Commons Attribution-ShareAlike-NoCommercial licence, the content has been overhauled and updated for the Raspberry Pi 4 and latest Raspbian ‘Buster’ operating system. From the two HDMI ports to the new USB Type-C power connector, all imagery and instructions are bang up-to-date for today’s new hardware release.
The Official Raspberry Pi Beginner’s Guide 2nd Edition is also being bundled with the Raspberry Pi 4 as part of the Raspberry Pi Foundation’s official starter pack: those opting to buy their Pi that way will receive the Raspberry Pi 4, microSD with NOOBS and Raspbian ‘Buster’ pre-loaded, power supply, case, keyboard, and mouse, plus a printed copy of the book to help get them started.
As with the first edition, there’s more to the book than just plugging it in and clicking around the Raspbian desktop: you’ll find step-by-step instructions for programming in Scratch and Python, hardware projects for the Raspberry Pi’s GPIO port, and instructions and examples which use the Sense HAT and Camera Module accessories.
The book is available now in print from all good bookshops and Raspberry Pi resellers, in the Raspberry Pi Store in Cambridge, or can be downloaded for free under the Creative Commons licence on the official Raspberry Pi website.