The MagPi, Issue 104

The MagPi Issue 104Inside The MagPi Magazine this month you’ll find five pages of step-by-step tutorial walking through the creation of a functional traffic light simulator using the Raspberry Pi Pico microcontroller board – taken from my latest book, Get Started with MicroPython on Raspberry Pi Pico: The Official Guide.

All the projects in the book, the traffic light simulator being no exception, work step-by-step in building the simplest possible incarnation of each then adding increasing complexity – and in doing so introducing new concepts. In the case of the traffic light simulator, it starts off as a simple set of three LEDs which are under timed control.

As the project progresses, the reader adds a button to act as a trigger for a pedestrian crossing – which adds the concept of threading, taking advantage of the second CPU core on the Raspberry Pi Pico’s RP2040 microcontroller – before finishing the project with a buzzer providing audible feedback for when it’s safe to cross.

The MagPi Issue 104 is available in all good supermarkets and newsagents now, online with global delivery, or as a Creative Commons-licensed DRM-free PDF download on the official website.

Custom PC, Issue 212

Custom PC Issue 212In my Hobby Tech column for Custom PC this month I take a look at the intriguing and somewhat awkwardly-named BBC Doctor Who HiFive Inventor Coding Kit, the low-cost Raspberry Pi Pico, and a comic billed as “for hackers, by hackers”: Robert Willis’ Initiating Paraneon.

The BBC Doctor Who HiFive Inventor Coding Kit is an interesting mash-up of ideas. From the BBC’s side is the Doctor Who IP, with current Doctor Jodie Whittaker loaning her voice to the step-by-step programming lessons which are unlocked with a single-use code included in the box; SiFive, meanwhile, provides the hardware platform, a hand-shaped microcontroller development board based on its RISC-V microcontroller cores.

It doesn’t stop there, though: the HiFive Inventor was originally launched solo as a device “inspired” by the BBC micro:bit – an inspiration which runs so deeply it’s entirely possible to use BBC micro:bit accessories with the HiFive Inventor’s edge connector. Now, the board is available exclusively as part of the BBC bundle – though apart from a new colour, it’s entirely unchanged in design.

The Raspberry Pi Pico, on the other hand, is a lot simpler to trace: it’s a wholly in-house creation from Raspberry Pi, representing both its first microcontroller board and the first outing for its RP2040 microcontroller chip – the first product of its application-specific integrated circuit (ASIC) team. Designed to offer a wealth of functionality, including clever programmable input/output (PIO) state machines, at a very low cost, the Raspberry Pi Pico is proving a device to watch.

Finally, Initiating Paraneon is a short graphic novella designed to act as a precursor to Robert Willis’ upcoming Paraneon comic book series. Billed as being written by hackers for the next generation of hackers, it’s a book that wears its inspiration – from 2000 AD to The Matrix – on its sleeve, but sadly never truly comes out of the shadow of its forebears.

Custom PC Issue 212 is available now at all good supermarkets, newsagents, and online via the official website.

The MagPi, Issue 103

MagPi Issue 103This month’s The MagPi Magazine carries my six-page guide to getting started with physical computing projects using the newly-launched Raspberry Pi Pico, the first microcontroller in the Raspberry Pi family.

Taken from my book, Get Started with MicroPython on Raspberry Pi Pico: The Official Guide, the tutorial walks the reader through programming the Raspberry Pi Pico using MicroPython – starting with the physical computing equivalent of “hello, world,” lighting up an LED. No additional hardware is needed for this part: the Raspberry Pi Pico includes a surface-mount user-addressable LED at the top of the board.

The reader is then shown how solderless breadboards work, introduced to importing MicroPython libraries and handling delays, how external LEDs require resistors, how to read a button input, and finally how to put it al together into a simple circuit which can toggle the LED based on the user’s button presses.

The MagPi Issue 103 is available at all good supermarkets and newsagents, online with global delivery, or as a Creative Commons-licensed DRM-free no-cost PDF download on the official website.

Custom PC, Issue 211

Custom PC Issue 211My regular Hobby Tech column this month spans the worlds of network attached storage, input devices, and retro gaming, courtesy of reviews covering the Kobol Helios64 open-spec NAS, the Keybordio Atreus ergonomic keyboard, and Neil Thomas’ Retro Tea Breaks.

The NAS, first, is a device I was excited to put on the test bench. A follow-up to Kobol’s earlier and considerably more Heath Robinson Helios4, the Helios64 is an open-spec network attached storage system built around the Rockchip RK3399 six-core Arm processor – not, sadly, the faster RK3399Pro, following an unplanned downgrade when SARS-CoV-2 hit the supply chain.

The board has five SATA ports, one shared with an on-board M.2 SATA slot for an SSD, a chunky heatsink, and both gigabit and 2.5-gig Ethernet – though the first batch of the devices suffers from an unfortunate design flaw in the latter. Other issues abound in the design of the very smart-looking bundled case and plastic drive sleds, though if Kobol’s promise to address these in future production runs is fulfilled the Helios64 could well take its place at the top of the hobby-friendly NAS league.

The Keyboardio Atreus, meanwhile, is an interesting beast: it’s an ultra-compact ergonomic mechanical keyboard based on switching between multiple layers to make up for the reduced number of physical keys. It’s also not Keyboardio’s own design: the company has made a name for itself in mechanical keyboard circles by adopting open-source keyboard designs, with the full consent of their original creators, and bringing them to the mass market via crowdfunding.

Finally, Retro Tea Breaks is a compact hardback tome which also owes its existence to a crowdfunding campaign, this time courtesy of Neil Thomas’ RMC – formerly Retro Man Cave – YouTube channel. The book gathers together transcripts, lightly edited and in some cases updated, of interviews carried out with some big names from the classic gaming scene – ranging from the Oliver twins to George “The Fat Man” Sanger and, surprisingly, Jon St. John, the voice of Duke Nukem himself.

You can find the latest issue of Custom PC Magazine on all good supermarket shelves, at your local newsagent, or online with global delivery now.

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.

Custom PC, Issue 210

Custom PC Issue 210For Custom PC Magazine, the new year starts with another installation of my Hobby Tech five-page column, this month starting with an in-depth investigation of the Raspberry Pi 400, the RetroFlag NESPi 4 Nintendo-themed case, and Ubuntu 20.10 for the Raspberry Pi.

First, the Raspberry Pi 400. The first device to come from Raspberry Pi with an explicit design focus on producing a consumer device, rather than a bare-bones educational circuit board, the Raspberry Pi 400 packs the core technology from the Raspberry Pi 4 Model B into a keyboard housing to produce an almost-all-in-one PC reminiscent of a classic Atari 400, Sinclair ZX Spectrum, or Commodore VIC-20.

For the Custom PC review, I investigated the device’s internals – a custom-designed single-board computer which is the largest Raspberry Pi ever made, along with the first to include a heatsink in the form of a large slab of metal attached to the system-on-chip – and ran the system through a series of benchmarks to check its performance and thermal characteristics.

Similarly, the RetroFlag NESPi 4 saw a few benchmarks – focusing primarily on whether its small and always-running internal fan could keep a Raspberry Pi 4 cool and how the clever SATA-to-USB adapter, which accepts a 7mm SSD disguised in a plastic housing shaped after a NES cartridge, handled throughput. Sadly, testing also revealed a few issues with the otherwise-clever casing – in particular the fact that the SATA adapter is unusable in the Raspberry Pi’s default USB Attached SCSI (UAS) operation mode and takes a performance penalty if you manually override it.

Finally, Ubuntu 20.10 is the first release of Canonical’s Linux distribution to prove the company’s promise that it will treat the Raspberry Pi family as a first-class citizen going forward. In addition to 32- and 64-bit variants of the Ubuntu Server operating system, available in earlier releases, Ubuntu 20.10 is available in a new Ubuntu Desktop release – which includes a full graphical user interface and a handy range of pre-installed software, along with support for installing more via the apt package manager or Canonical’s Snap Store platform.

Custom PC Issue 210 is available at all good supermarkets and newsagents now, or online with global delivery from the official website.

Custom PC, Issue 209

Custom PC Issue 209In this month’s instalment of my regular Hobby Tech feature, I take a look at the new Raspberry Pi Compute Module 4 family, Nvidia’s lower-cost Jetson Nano 2GB, and Sid Meier’s Sid Meier’s Memoir! – a book with what must be the most well-fitting title in history.

The Raspberry Pi Compute Module 4 is, as the name suggests, a successor to the Raspberry Pi Compute Module 3+ and Compute Module 3 ranges – themselves designed as a follow-up to the Raspberry Pi Compute Module, which took the core technology from the Raspberry Pi single-board computer and placed it into a system-on-module (SOM) form factor.

In my two-page review I take the new Compute Module through its paces, take a look at the redesigned and considerably cheaper carrier board, and warn of one major caveat: the redesigned module ditches the SODIMM form factor of its predecessors, meaning it’s not backwards-compatible with earlier carrier boards without a third-party interposer board between the two.

The Nvidia Jetson Nano 2GB, meanwhile, isn’t as identical to the original Nvidia Jetson Nano reviewed back in Issue 191. While, yes, the headline change is the drop from 4GB to 2GB of RAM, there are other modifications – including the loss of a hidden slot for an optional Wi-Fi card, fewer and slower USB ports, and the dropping of the second MIPI Camera Serial Interface (CSI) port added to its bigger sibling in a mid-stream refresh.

Finally, Sid Meier’s Memoir! – named in the style of the man’s games like Sid Meier’s Civilization and Sid Meier’s Pirates! – is a potted history of one of the pioneers of strategy gaming’s career, as told to author Jennifer Lee Noonan. It’s a text-heavy tome split into roughly chronological chapters, and absolutely fascinating – even if it does finally put to bed the myth of Gandhi’s overflow bug in Civilization.

Custom PC Issue 209 is available now from your local supermarket, newsagent, or online with global delivery from the official website.

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.

Custom PC, Issue 208

Custom PC Issue 208This month’s Hobby Tech column takes a look at the MicroPython programming environment, SunFounder’s RasPad 3 Raspberry Pi tablet conversion kit, and Frank Gasking’s book The Games That Weren’t.

I’ve been doing a lot of work with MicroPython of late, so it made sense to cover the software for Hobby Tech. Developed by Damien George as part of a crowdfunding campaign launched in 2013, MicroPython takes the popular Python programming language and ports it to microcontrollers – both dedicated PyBoard ranges and third-party hardware. It’s also the inspiration for CircuitPython, a port developed by Adafruit and designed with educational use in mind.

The RasPad 3, meanwhile, is a device I wanted to love. Built in an intriguing wedge shape, the kit takes a Raspberry Pi 4 single-board computer and turns it into a touch-screen tablet. The third in the series, and the first supporting the Raspberry Pi 4, the RasPad 3 is a great idea let down by poor execution – everything from a low-quality display and buggy software to dismal battery life and an incredibly noisy fan.

Finally, The Games That Weren’t is the latest coffee table book from Bitmap Books, based on the website of the same name by Frank Gasking. Built around the same core concept as Phil Atkinson’s Delete, The Games That Weren’t looks at video games – and a small number of related hardware projects, like the Commodore 65 – that never made it to market. At 643 pages it’s a hefty tome, but sadly let down by some high-profile absences – the ‘Van Buren’ build of Fallout 3 is present, but Fallout Online is nowhere to be found as just one example – and a woolly approach to research and citation which leans heavily on weasel-words like “it’s thought,” “some sources say,” and “it’s believed.”

You can pick up the latest Custom PC at your nearest supermarket, newsagent, or online with global delivery now.

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.