That latest issue of The Official Raspberry Pi Handbook, an annual aimed at those looking to find out what they can do with their Raspberry Pi, is out now – and in it you’ll find my in-depth coverage of the Raspberry Pi Pico microcontroller board.
Within the special dedicated Raspberry Pi Pico section of the annual is my two-page introduction to the board, an in-depth spread covering its specifications and the various components which make up the hardware – with plenty of high-quality photography, taken in my in-house studio – and an explanation of exactly what a microcontroller is and how the RP2040 at the heart of the Raspberry Pi Pico works.
You’ll also find my guide to programming the Pico in MicroPython and C/C++, an interview with chief operating officer James Adams and senior engineering manager Nick Francis, comment from Eben Upton, a simple hardware “hello, world” tutorial in MicroPython, and a step-by-step guide to safely soldering headers onto the Raspberry Pi Pico’s general-purpose input/output (GPIO) pins.
There’s also a brief overview of my book, Get Started with MicroPython on Raspberry Pi Pico – which, for those who want to explore the topic further, is available as a free PDF download under a Creative Commons licence.
This 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.
My regular Hobby Tech column celebrates its third year this month, and I’d like to think it does so in style. As well as a two-page review of the Raspberry Pi 3, the column details how to build a Raspberry Pi Zero-based energy usage graph into a cheap box frame and interviews Raspberry Pi Foundation director of hardware James Adams about his designs and inspiration.
First, the Pi 3. I’ve previously written about the board in a cover feature for The MagPi and in Linux User & Developer, so there should be no major surprises in this review – beyond a focus more on the hobbyist community’s desires and concerns, given the title of the column. The interview, though, is all-new: a small, separate extract of my interview was published in The MagPi’s Raspberry Pi 3 launch issue, but the material used in Hobby Tech is fresh – including detailed information on just how that Wi-Fi and Bluetooth radio module talks to the new BCM2837 SoC and the challenges of conformance testing something that has an intentional radio emitter inside.
The build was a project I worked on after picking up a cheap electricity and gas monitor for my house. While the website works well for viewing live usage and historical graphs, I wanted something that wouldn’t look out of place in the living room and hopefully remind everyone to turn things off when they leave! A cheap Raspberry Pi Zero was the perfect platform, and combine with a Pimoroni Unicorn HAT fits snugly in the back of a wooden box frame. Some paper on the front diffuses the LEDs to prevent glare and make it look less like a hack and more like a piece of furniture – though with the consequence that the photos look a little washed out compared to the bright, colourful display in the flesh – and everything else is a software concern.
All this, and interesting things written by people who aren’t me, is available from your local supermarket, newsagent, or electronically via Zinio and similar services.
It’s a special week for the Raspberry Pi Foundation: it’s celebrating its fourth birthday with the launch of the new Raspberry Pi 3. It’s a special day for me, too: the latest MagPi magazine boasts a total of thirteen pages of my content, including the cover splash: a detailed and thorough look at the new model.
Boasting on-board Wi-Fi (a community request since the original model launched four years ago), Bluetooth 4.1, Bluetooth Low Energy, and a faster 64-bit ARMv8 processor, the new Pi 3 is a bit of a beast. My cover feature for the magazine begins with a look at those behind it with a double-page spread featuring interviews with project co-founder Eben Upton and the Foundation’s director of hardware and the man responsible for circuit design James Adams – and a massive thank-you to both for sparing the time to talk to me at one of their busiest ever periods!
The feature then moves on to a look a the board itself, with a hero photo of the board spread across another two pages. Each major feature of the board, from the shiny new 64-bit BCM2837 system-on-chip (SoC) processor to the BCM43438 radio module – which required me to get out the microscope in order to capture its markings – has a call-out with close-up photography and an explanation of how it has changed since the Raspberry Pi 2.
Next up is a benchmark spread, which required me to come up with a detailed suite of tests. After some experimentation, I settled on a selection of classic benchmarks – SysBench CPU in single- and multi-threaded modes, Linpack with and without NEON support, Whetstone, Dhrystone, SysBench memory read and write, Ethernet throughput, Quake III Arena timedemo performance, and power draw at load and idle. As an added bonus, I also came up with a way of measuring general-purpose input-output (GPIO) performance under Python, writing a simple benchmark to toggle a pin on and off as quickly as possible and measuring the speed with a frequency counter connected to the GPIO header.
The next double-page spread looks at helping the reader get started with the new device. I walk readers through modifying an existing Raspbian installation to boot on the Pi 3 by editing config.txt, setting up the Wi-Fi module, enabling true OpenGL acceleration on the graphics processor, and how to write programs to get the best performance on the Pi 3. Sadly, I was unable to explain how to use the Bluetooth 4.1 and Bluetooth Low Energy features, as software support was not available at the time of writing.
The spread then ends with a look at five things you could do with a Pi 3 in order to take advantage of the new features and boosted performance. My work for the magazine continues, though, with a review of the Proster VC99 multimeter and Pimoroni pHAT DAC, before coming to a close with a one-page news piece regarding the production status of the popular Raspberry Pi Zero – helping to explain why it has been so difficult to get hold of and settling concerns that it may be bumped to the back of the production queue now the Pi 3 is out.
All 13 pages of my content, and plenty of other stuff by people who aren’t me, are available from your nearest supermarket or newsagent, or as a free PDF download under a Creative Commons licence from The MagPi’s official website.