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 192

Custom PC Issue 192This month’s Hobby Tech kicks off with a look at the Zepsch PocketStar – by far the smallest Arduino-compatible games console I’ve seen – and the Pimoroni Keybow, before reviewing Felipe Pepe’s The CRPG Book in digital form.

The pages of my Hobby Tech column are no stranger to Arduino-compatible handheld consoles: over the years I’ve reviewed the Gamebuino and its MAKERbuino spin-off, the Creoqode 2048, the Arduboy – then all four at once in a head-to-head group test – and most recently the Gamebuino Meta. Of these, the Arduboy was the smallest with a footprint matching a credit card and a thickness of around three cards stacked.

The PocketStar, a crowdfunded creation from Zepsch, has it beaten. Although thicker than the Arduboy, the Game Boy-inspired design has a tiny 50x30mm footprint, despite packing a colour screen and haptic feedback motor. What it doesn’t include, sadly, is a speaker – though it was originally planned, and the mounting point is still present – but it at least includes the ability to switch between games on the fly, something the Arduboy sadly lacks.

The Pimoroni Keybow, by contrast, is a very different beast. A no-solder DIY kit, the Keybow is a nine-button programmable keypad with a difference: rather than using a Teensy, Arduino, or other microcontroller, it uses a Raspberry Pi Zero WH. The reason why isn’t really adequately explained in the product briefing: it connects to the host machine via USB rather than Bluetooth, and makes no use of the Zero WH’s Wi-Fi connectivity either – though third-party firmware is available to vastly expand its functionality. Despite some bugs in the official firmware and the aforementioned surprising lack of wireless connectivity – switching to the Zero H, which does not include a radio, would shave a fiver off the retail price – it’s certainly an interesting desk accessory with plenty of flexibility.

The CRPG Book, published by Bitmap Books, doesn’t have author Felipe Pepe’s name on the cover. There’s a reason for that: it’s a collaborative effort, the physical incarnation of a four-year effort from 119 authors to document the computer role-playing game genre in as much detail as possible – going all the way back to the PLATO system and its infamous ‘friendly orange glow.’ The result is an exhaustive tome, brought to life with full-colour printing between its hardback covers – though the review is based on a digital copy, the physical version having been rejected by Bitmap Books’ quality control post-printing and sent back to the factory for a re-do with the first of the reprints due to land towards the end of the month.

While The CRPG Book is far from perfect – there are a few issues with typography and grammar, increasing in frequency as you work your way towards the back of the book – it’s pretty close to it, and made even more pleasing by the fact that the £29.99 print edition is joined by a free, Creative Commons-licensed download available from the official website. Sales of the print edition, meanwhile, have raised £12,475 in author royalties for Felipe Pepe – royalties which he has donated in full to Vocação, a not-for-profit Brazilian organisation aimed at getting children and teenagers in poor communities access to quality education.

Custom PC Magazine Issue 192 is available now at all good newsagents, supermarkets, and via the Raspberry Pi Press store. Digital outlets will update later today.

The Official Raspberry Pi Beginner’s Guide, 2nd Edition

The Official Raspberry Pi Beginner's Guide, 2nd EditionWhile 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.

HackSpace Magazine, Issue 3

HackSpace Magazine Issue 3This month’s HackSpace Magazine includes a review of an entirely unique device designed to make it possible to trade the Bitcoin cryptocurrency in-person as a physical item without any of the security risks that would normally be involved: the Coinkite Opendime.

For those unfamiliar, a primer: cryptocurrencies, including Bitcoin, work on the basis of a distributed ledger system known as the blockchain – a highly-secure database, effectively, which is shared between nodes and which cannot be faked or edited once committed. When you “have Bitcoins” in a “wallet,” what you actually have is the private key required to make transactions on the blockchain to move the coins you own from place to place.

The drawback of this approach compared to cold hard cash is that it becomes impossible to make secure off-chain transactions: you can save your keys to a flash drive, write them in an email, or even print them out and hand them to someone in person, but if you kept a copy it’s perfectly possible for you to transfer the coins to a different “wallet” out from under the recipient’s nose.

The Opendime aims to resolve this. Looking like a denuded flash drive itself, the Opendime is a smart self-contained microcomputer which performs the generation of private keys internally and locks them away – meaning it can receive Bitcoins but not spend them, until such a time as the private key is unlocked by popping a small surface-mount resistor off the board with a physical pin. In other words: if you receive an Opendime which reports it is still sealed, you are guaranteed to be the only person with access to that private key.

Sadly, since penning the relatively-positive review, I’ve encountered a major problem with the Opendime: having carried one on a keyring for a month or so, it spontaneously unsealed itself without the resistor being touched. Support from Coinkite has proven non-existent, and at £15 landed a piece with a minimum order of three units the Opendime is now an expensive but useless trinket while I find myself unable to trust the remaining two in the pack.

The review can be read in full within the magazine itself, which is available in print at all good newsagents and supermarkets and as a free digital download under the Creative Commons licence at HackSpace’s official website.

The MagPi, Issue 54

The MagPi Issue 54This month’s The MagPi Magazine, the official publication of the Raspberry Pi community, features my review of an impressive compact network-attached storage (NAS) device: the Nextcloud Box.

Built around the PiDrive storage system from Western Digital Labs and featuring software from the open-source Nextcloud project – itself born from a fork of the Owncloud project – the Nextcloud Box does exactly what it says on the tin: it’s a box which runs Nextcloud.

More accurately, it’s a box that can run Nextcloud. Out of the box, there’s a key piece missing: the packaging reveals a two-part plastic chassis with clever magnetic clasp, a smart split power and data cable, a power supply, a 1TB Western Digital 2.5″ hard drive, and a micro-SD card with the Nextcloud software already loaded onto an Ubuntu Core installation. What you don’t get is a Raspberry Pi: the brains need to be supplied separately, with only the Raspberry Pi 2 supported at the time of writing.

Once you’ve affixed your Pi in place with the bundled Torx screwdriver and screws, you can begin the installation process – which is as simple as putting the micro-SD card in and connecting power. Over the course of a few minutes the operating system is copied to the 1TB hard drive, and then the system reboots ready for configuration.

Nextcloud is, I have to say, incredibly impressive software. While there’s some way to go in certain aspects of usability – in particular setting the NAS up for access from outside your home network requires a bit of fiddling at the command line, registration of a domain name, and manual port forwarding on your router or gateway – the UI and general functionality are both polished to a high standard.

For my full opinion on the device, though, you’ll have to read the review – and you can do so for free by downloading the Creative Commons licensed DRM-free PDF at the official MagPi website, or by picking up a print copy from your nearest supermarket or newsagent.

Hello World, Issue 1

Hello World Issue 1The Raspberry Pi Foundation has launched a new magazine, Hello World, and I’m thrilled to have contributed photography to its launch issue – the first, hopefully, of many to come.

Designed to sit alongside The MagPi rather than replace it, the Foundation’s second magazine takes aim at a different audience: where The MagPi is for the Raspberry Pi community as a whole, Hello World focuses purely on computing education – and not exclusively Raspberry Pi-related topics, either, with hackspaces and 3D modelling software among the subjects covered in the launch issue.

While I’m primarily a technical writer and journalist, I’m also a photographer. Whether it’s events I’ve attended or product photography, whatever I take I release publicly under a permissive Creative Commons Attribution Share-Alike licence which allows anybody – including commercial businesses – to take the images and use them as they see fit, so long as I am identified as the original creator and any derivative works are released under the same licence.

It’s always a pleasure to see my photos cropping up in new places, and I’m proud as punch that includes Hello World. The full issue is available to download now as a free PDF from the official website, while you can see more of my photography – and download full-resolution images to use yourself – on my Flickr page.

The MagPi, Issue 53

The MagPi Issue 53Inside this month’s MagPi Magazine – the first issue to feature a cover-mounted DVD, boasting a bootable copy of the new Debian+Pixel Linux distribution for readers to try – you’ll find my review of a rather special little gadget: the Mirobot v2 programmable robot.

I’ve played with educational robots before, but the Mirobot caught my eye the minute I saw inventor Ben Pirt demonstrating it at the Maker Faire UK earlier this year. With a chassis made entirely from laser-cut MDF, the Mirobot is an impressive package: Ben has designed it so that every component nestles in holes cut out from the MDF sheets themselves, making for an extremely compact box which pops nicely through your letterbox and leaving almost zero waste once assembled.

The Mirobot is designed primarily for use as a turtle, and includes a mount for a pen so it can draw on suitable surfaces. Where it differs from most rival designs is that it can be programmed entirely through a browser: an on-board web server, running on the popular ESP8266 microcontroller, can work as a standalone hotspot with simple Scratch-inspired drag-and-drop programming interface or connect to your home Wi-Fi and allow access to additional languages, a point-and-click interface, and even a set of buttons for direct remote control.

With the exception of the Scratch language, which relies on Adobe Flash Player, everything works an absolute treat on the Raspberry Pi, but the Mirobot isn’t limited to this: it can be programmed from any modern web-connected device, from a laptop to a smartphone, or for more advanced users interfaced with via a well-documented application programming interface (API) from the language of your choice. Assembly is quick and easy, requiring absolutely no tools, and while aligning the pen and motors is a little trickier that’s a one-off job.

To read the full review, either pick up a paper copy of The MagPi Issue 53 and enjoy your bonus cover DVD or download the entire issue for free under the Creative Commons licence from the official website.

The MagPi, Issue 52

The MagPi Issue 52It’s a Christmas themed issue for The MagPi this month but you wouldn’t know it to look at my review of the Dremel 3000 Four-Star Kit, a new bundle packing the eponymous company’s most popular rotary tool with a range of accessories in a disappointingly cheap plastic toolbox.

That the toolbox – and bundled ‘chess set,’ which is actually just a chequerboard on the reverse of the packaging and some cardboard counters – is so poorly designed was an undeniable letdown as I unboxed the Dremel 3000 kit. Thankfully, things soon looked up: it’s been a few decades since I bought a rotary tool, and it seems things have improved immensely in that time.

My favourite of the bundled accessories – which includes a flexi-shaft add-on, cutting accessories, milling bits, polishing bits, and basically everything you might need to do a wide range of tool-suitable jobs – was the EZ-SpeedClic system. A replacement for the old screw-and-mandrel method of securing grinding and cutting discs into the tool, EZ-SpeedClic requires nothing more than a push and a twist to secure the specially-reinforced discs into place. A shame, then, that so few SpeedClic discs were included, with the majority in the kit being of the old-fashioned screw-in variety.

Still, the review was a fun opportunity to get myself back up to speed on the latest developments in Dremel’s design, and if you want to know my final opinion on the kit you can read the whole review – the whole magazine, in fact – for free by downloading the Creative Commons licensed issue from the official website.

The Official Raspberry Pi Projects Book, Volume 2

The Official Raspberry Pi Projects Book Volume 2The Raspberry Pi Foundation has published the second in its Official Raspberry Pi Projects Book series, and as usually there’s a whole raft of my material to be found within its black-clad pages.

The book begins with practical guides and tutorials, including my guide to adding a physical reset switch to the RUN header on any modern Raspberry Pi Zero. It’s the review section where you’ll find the bulk of my work, however, beginning with a look at a couple of handy tools for makers: the Proster VC99 multimeter and the Tenma 60W Digital Soldering Station.

Further on you’ll find detailed reviews of two microcontroller-based products which can interface with the Raspberry Pi or operate entirely standalone: the Adafruit Gemma Starter Kit and the Bare Conductive Touch Board Starter Kit. The former acts as an introduction to the world of conductive thread, while the latter uses conductive ink to complete the circuits in its bundled guide.

Finally, my contributions to the Projects Book Volume 2 end with a review of the Pimoroni pHAT DAC, a compact add-on for the Raspberry Pi Zero – though mechanically compatible with any other modern Pi model bar the bare Compute Module family – which adds a high-quality digital-to-analogue converter (DAC) and 3.5mm jack. Those looking to wire a Pi into the stereo systems can also solder on optional stereo RCA jacks, which I thought was a particularly nice feature.

As with the previous book in the series, the Official Raspberry Pi Projects Book Volume 2 is available to download free under the Creative Commons licence from the official website.

The MagPi, Issue 51

The MagPi Issue 51This month’s MagPi Magazine includes my first look at FORMcard, a crowdfunded bioplastic which aims to make building and repairing objects as simple as making a nice hot cup of tea.

I’ve long been a fan of Sugru, the mouldable silicone rubber, but FORMcard was new to me when the company reached out to highlight its various features. Supplied in packs of three and in a variety of colours, each FORMcard is a block of plastic the size of three or so stacked credit cards. Out of the box, they do little: they’re slightly flexible, though not very, have the logo embossed on the corner, and could be used as a ice-scraper in a pinch.

Dunk the card into hot water – anything above around 60°C works well – and the secret is revealed: the plastic, a starch-based bioplastic which is claimed to be non-toxic and food safe, softens and melts. Fish it out with a spoon and you can begin to form it into whatever shape you desire: a patch for a broken piece of more traditional plastic, a stand for your smartphone, a cube, whatever.

Unlike Sugru, FORMcard sets in minutes as it cools down; it’s also considerably harder and stronger when set, enough so that you can create a handle for a screwdriver from it. It’s also reusable, which is both a strength and a weakness: it means you can use a FORMcard for a temporary repair, unlike single-use Sugru, but it also means it’s absolutely useless for anything that might reach 60°C or more – including creating cases for hot-running electronics or insulating pan handles, both tasks to which I’ve put Sugru with considerable success.

For my final opinion, and a bunch of other interesting stuff from people who aren’t me, you can pop to your local newsagent or supermarket to pick up The MagPi Issue 51, or download your free Creative Commons licensed copy from the official website.