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!

The Official Raspberry Pi Beginner’s Guide, 3rd Edition

The Official Raspberry Pi Beginner's Guide Third EditionThe 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.

Custom PC, Issue 194

Custom PC Issue 194My 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 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.

Custom PC, Issue 191

Custom PC Issue 191This month’s Hobby Tech column takes a look at Nvdia’s first-ever entry into the maker market with the Jetson Nano, guides the reader through assisting the Internet Archive with its Sisyphean task, and takes a look at the Xiaomi Wowstick cordless screwdriver.

First, Nvidia’s offering. While the original Jetson TK1 single-board computer was sold through the since-departed high-street electronics outlet Maplin in the UK, its near-£200 price tag meant it wasn’t of much interest to the pocket-money shopper. Its successors in the Jetson family have been successively more expensive, culminating in the £1,199 Nvidia Jetson AGX Xavier reviewed last month. The Jetson Nano, by contrast, is just £95 – £101.50 if you include shipping – and is specifically aimed at makers and tinkerers.

The board uses a system-on-module (SOM) on carrier design, dominated by a massive heatsink. Although it’s perfectly possible to view the device as a souped-up and considerably more expensive Raspberry Pi, general-purpose computing isn’t Nvidia’s primary market: instead, it’s aiming to bring a new generation of developers into the CUDA GPU-accelerated computing ecosystem by using the Jetson Nano as a jumping-off point for deep learning and machine intelligence projects, including its own Jetbot autonomous robot platform.

The guide, meanwhile, walks the reader through using almost any PC to assist the Internet Archive with its goal of storing all the world’s information for immediate retrieval. Written as I was firing up a Warrior – the name given by the Archive Team to its distributed data capture systems – to assist with the archiving of the last bits of Google+ before its closure, the step-by-step instructions will let anyone contribute to the not-for-profit effort.

Finally, the Wowstick comes from a company better known in the UK for its cut-price smartphones: Xiaomi. Designed, as with much of the company’s output, to give a premium feel, the USB-rechargeable electric screwdriver is aimed at fine electronics work rather than flat-pack assembly – and does a surprisingly good job of it. Only limited torque for locked-down or larger screws and a terrible case whose tiny magnets are improperly attached let the bundle down.

For the full run-down on all this and more you can pick up Custom PC Issue 191 from your nearest newsagent or supermarket, or snag a digital copy from Zinio or similar services. Alternatively, a new subscription offer will get you the next three issues for just £5 – renewing at £25 every six issues if you don’t cancel beforehand.

PC Pro, Issue 297

PC Pro Issue 297The Labs Test in this month’s PC Pro is something of a bumper one: I ran a whopping 14 miniature PCs, from a cleverly cased Raspberry Pi up to a behemoth of a system squeezing in an Nvidia GeForce RTX 2080, through a gamut of tests including size and weight, power draw, productivity and gaming benchmarks to see which would come out on top.

The work of a solid few weeks, the Labs saw system after system bouncing onto and off the test bench. As well as requiring the actual testing, all photography was carried out in-house – with thanks to my wife, who served as a hand model for the article’s hero shot – with each system photographed from all angles and internally, plus a smart isometric view in which the scale is maintained so the reader can easily compare the relative sizes of each machine on test. Given that the feature is about miniature PCs, such easy at-a-glance comparison is key to knowing which machine meets the readers’ personal requirements.

A Labs Test like this wouldn’t be possible without the cooperation of a range of companies, of course, and I’d like to thank the suppliers of machines for the test: ASRock, Asus, Intel, Mini-ITX.com, Lenovo, QuietPC, Raspberry Pi, and Shuttle. Additional thanks go to Intel, Nvidia, and Overclockers UK, who provided components required to build up the bare-bones systems on test.

As is traditional for a PC Pro Labs Test, the content is split between reviews – four 700-word focus reviews and ten 350-word supplementary reviews – and features, including an interview with Intel’s Ed Barkhuysen on the company’s modular vision for the future of computing, a buyer’s guide covering things to consider when making the move to an ultra-small-form-factor (USFF) system, a two-page features table covering everything you could want to know about each system on test, a look at external GPU (eGPU) products as a way of expanding the performance of mini-PCs, and a “View from the Labs” opinion editorial to round things out.

This feature also marks the first time the in-house PC Pro benchmark suite – which measures system performance for image editing, video playback, and multitasking workloads – has been run not only on Linux-based, rather than Windows, systems but also on a Raspberry Pi. To achieve that, I worked to port the PowerShell-based suite to the Bash shell while using the same cross-platform applications to ensure each platform can be compared as fairly as possible.

PC Pro Issue 297 is available now at all good supermarkets, newsagents, and digitally via Zinio and similar services.

Linux Format, Issue 250

Linux Format Issue 250In my first piece for Linux Format I look at the Nvidia Jetson AGX Xavier system-on-module, an incredibly powerful device the company hopes will transform the field of autonomous machines and other machine learning initiatives – and the precursor to the recently-launched and significantly more affordable hobbyist device the Jetson Nano.

In contrast to the Jetson AGX Xavier review in Custom PC Issue 190, which takes an exclusively hands-on approach, my piece for Linux Format opens with a look at the history of Nvidia’s Jetson family and the company’s various efforts to make the name synonymous with autonomous machines.

The piece then moves on to the device itself, which is impressively powerful for its sub-30W power draw – but many features of which are inaccessible pending software updates which are still not available. This issue, which extends in part at least to the documentation supporting the platform, is something Nvidia really needs to address if it’s serious about having the device – and the hobbyist Jetson Nano – appeal to the educational market as well as experienced developers looking to build high-end machine learning implementations.

Linux Format Issue 250 is available now at all good supermarkets and newsagents, and can be downloaded in electronic form from Zinio and similar services.

Custom PC, Issue 190

Custom PC Issue 190My Hobby Tech column this month, wrapped in Custom PC’s newly-redesigned layout, takes a look at a powerful yet low-power machine likely out of the reach of most hobbyists along with the mind-bending 90s web simulator Hypnospace Outlaw and the book Robotics with Raspberry Pi by Matt Timmons-Brown.

First, the headline act: Nvidia’s Jetson AGX Xavier is its flagship entry in the Jetson range of Arm-based embedded computers, which launched with the Jetson TK1 I reviewed way back in Issue 133, and comes with a price tag to match: £1,199, dropping to £819 with educational discount. At that price, it’s a device aimed at professional developers more than hobbyists – but it provides a hint as to what to expect from the far more affordable and hobbyist-focused Jetson Nano, a full review of which will appear in next month’s column.

Hypnospace Outlaw, meanwhile, is Jay Tholen’s attempt at marrying what is effectively a 90s web simulator with a sci-fi plot involving headsets which let you browse while you sleep. Crowdfunded via Kickstarter, the game isn’t quite what was originally promised – but, frankly, that’s no bad thing: what has been delivered is impressively immersive and likely to thrill anyone who was around during the heyday of Geocities and Angelfire.

Finally, Robotics with Raspberry Pi is the first full book from self-styled “Raspberry Pi Guy” Matt Timmons-Brown. Designed with a very friendly hands-on approach in mind, the book walks the reader through the proces sof building a robot with each chapter adding new functionality: line following, Bluetooth remote control, user-addressable LEDs, a speaker, and even machine vision via the Raspberry Pi Camera Module. While a little muddled in places, it’s one of the better tomes on the subject – and one that avoids the usual pitfall of being little more than an elongated instruction manual for a single off-the-shelf robot kit.

Custom PC Issue 190 is available in all good newsagents and supermarkets now, and will shortly land on digital distribution platforms.

Custom PC, Issue 185

Custom PC Issue 185In my regular Hobby Tech column this month you’ll find a detailed review of the Raspberry Pi 3 Model A+ single-board computer, another of the ever-so-slightly less-powerful Digirule2, and of Adam Fisher’s exhaustive Valley of Genius: The Uncensored History of Silicon Valley.

First, the Raspberry Pi. The first model to use the A+ form factor – smaller PCB, only one USB port, full-size display (DSI), camera (CSI), and HDMI ports, analogue audio-video (AV) – in the last four years, the Pi 3A+ is an impressive beast for cramming the full performance of the larger, more expensive Pi 3B+ into a smaller form factor. I was concerned, upon first unpacking, that the smaller PCB would undo the good work on the thermal-transfer front that made the Pi 3B+ such a good improvement on the original Pi 3B; a quick test under a thermal imaging camera, though, showed that I was worrying over nothing.

The Digirule2 is a markedly different beast. While it’s a single-board computer, it’s one which is designed more for fun than functionality: built into the form factor of a ruler, complete with inches and centimetres marked in binary along the upper and lower edges, the Digirule2 is inspired by classic machines like the Altair 8800. Press a series of buttons to program a particular memory location; press another button to switch to the next; and press a third to see your program run on the built-in LEDs. One particularly impressive feature is an eight-slot program storage, allowing you to save and load your programs directly on the device – and all without having to hook up your punch-tape reader/writer.

Finally, Adam Fisher’s Valley of Genius is a book in the mould of Fire in the Valley: an attempt to document the rise and, frankly, continued rise of Silicon Valley and the companies it has birthed. Culled from over 200 individual interviews, the book uses direct quotation rather than any attempt to weave a narrative but dodges dryness by weaving multiple subjects’ remembrances into each themed chapter. The final effect is less an interview and more a conversation between some of the industry’s biggest names, from the birth of the mouse right through to the modern age.

To read the full column, pick up Custom PC Issue 185 from your nearest newsagent, supermarket, or electronically via Zinio and similar distribution platforms.

The Official Raspberry Pi Beginner’s Guide

The Official Raspberry Pi Beginner's GuideToday sees the release of The Official Raspberry Pi Beginner’s Guide, my latest educational book on the remarkable single-board computer and its software and the first to be made available for free download and redistribution courtesy of a Creative Commons Attribition-ShareAlike-NoCommercial licence.

Written in partnership with Raspberry Pi Press, The Official Raspberry Pi Beginner’s Guide walks newcomers through a tour of the Raspberry Pi and what it can do, setting up both the hardware and the software, learning how to navigate the Raspbian desktop, how to write programs in Scratch 2 and Python 3, and even building custom circuits that use the Raspberry Pi’s general-purpose input-output (GPIO) header. If that weren’t enough, there are chapters on using the Sense HAT add-on board, the Raspberry Pi Camera Module, and a handy list of additional resources for when you’ve finally exhausted the book itself.

While it’s my name on the cover, this book is very much a team effort. I’d like to thank everyone at Raspberry Pi Press who was involved in its creation, from the authors of the original projects pulled in and updated in this new publication to eternally-patient project editor Phil King, fantastic technical editor Simon Long, amazing illustrator Sam Alder, and a whole host of others without whom the book would be nowhere near as good as it has turned out.

The book is available to buy now in all good newsagents, supermarkets, and bookstores, or direct from Raspberry Pi Press. The digital edition, as a Creative Commons-licensed PDF without any digital rights management (DRM) restrictions, is available from The MagPi website now.