Custom PC, Issue 196

Custom PC Issue 196My Hobby Tech column this month opens with a look at a surprisingly swish programming environment for the Nintendo Switch, of all things, walks through the creation of a power-saving networked display using the Pimoroni Inky wHAT and a Raspberry Pi, and looks at a book which purports to chart the history of Apple Macintosh gaming.

First, the programming environment. Fuze4 Nintendo Switch, available now on the Nintendo eShop, builds on the Fuze BASIC programming language originally developed for the Raspberry Pi and reviewed – alongside its BBC Micro-inspired housings – in Issue 124 and Issue 136. This time around, though, the language is considerably less BASIC and more like a hybrid between BASIC, Python, and a bit of C thrown in for good measure. It’s also less focused on things like sensor reading and GPIO control – for obvious reason – and instead designed specifically for a single task: making games.

There are aspects that need polish – in particular the sharing of created projects, which at present can only be done via Nintendo’s clunky friends-list system – but overall Fuze4 Nintendo Switch is impressive. You’ll want a keyboard, but once you get started it’s easy to build some impressive projects – one demo supplied with the game showcases a fluid 3D engine with dynamic lighting, created in a remarkably short number of lines.

The Inky wHAT project, meanwhile, was largely a means of documenting something I created for my own use: an electrophoretic display that would display the output of the schedule printer I detailed in Issue 183 without needing to print on physical paper. There’s a twist, too: after finding that the only box-frame available that would fit the project depth-wise was too large, I created a mock-up of an Amiga Workbench desktop to frame the smaller Inky wHAT display – and the effect is surprisingly convincing.

Finally, Richard Moss’ The Secret History of Mac Gaming was a pleasure to read, though a few aspects of Apple’s history are presented from the eyes of a fanboy rather than a historian. Switching between recollection, research, interview content, and contributed material, the book does a great job of documenting the largely-forgotten history of gaming on Apple Macs – though it could have benefited from another editing and layout pass, in particular to avoid the recurring issue where screenshots either appear out-of-order or without any reference in the text.

As always, the latest Custom PC Magazine is available from all good newsagents and supermarkets, or can be ordered for worldwide delivery from Raspberry Pi Press.

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.

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.

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.

Custom PC, Issue 189

Custom PC Issue 189This month, my regular Hobby Tech column opens with a look at a RISC-V based not-quite-off-the-shelf personal computer build by AB Open, walks readers through building a weather monitor powered by a Raspberry Pi and a Pimoroni Unicorn HAT, and marvels at the excesses of the computer retail scene in the 1970s and 1980s via David Pleasance’s Commodore: The Inside Story.

First, the PC. The majority of PCs on desks around the world today are based on processors which use the x86 architecture or its 64-bit equivalent; a small handful are based on similar Arm chips to the ones you might find in your smartphone; and an even smaller number are powered by things like Zilog Z80s, MOS 6502s, and Motorola 68000s belonging to people who just don’t like to throw away a perfectly good decades-old system. The system built by AB Open recently, though, is different: it’s based on RISC-V, an open instruction set architecture (ISA) for which anyone can – given time, money, and a fair smattering of expertise – build a chip.

“It might be some time before there’s an off-the-shelf chip that can compete with x86 on raw performance and traditional benchmarks,” AB Open’s Andrew Back, who for full disclosure is a client of mine, admits, “but the open nature of the ISA, and the ecosystem developing around it, is driving a renaissance in novel computer architectures.” By way of proof: a fully-functional Linux-based desktop PC, built in a custom-designed laser-cut chassis, created using the SiFive HiFive Unleashed development board and Microsemi expansion board.

From a PC you can browse the web on to one which flashes a few lights: the Raspberry Pi weather monitor is a remix of a project I published in Issue 153, to use a Pimoroni Unicorn HAT LED matrix to graph energy usage in my home. This time, the same hardware is repurposed to show animated weather icons based on data downloaded from OpenWeatherMap – and, despite the low resolution of the LED matrix, it works an absolute treat.

Finally, Commodore: The Inside Story sounds like it should be an exhaustive history of the company behind one of the world’s biggest-selling home computers. It isn’t. Instead, it’s a two-part affair: the first is a series of personally recollections, presented in a very similar fashion to the stories you might hear if you took author David Pleasance to the pub and asked him about his time working in Commodore’s sales and marketing division; the second is a collection of guest chapters, and as fun as it is reading about orgies in Consumer Electronics Show hotels and drink-driving incidents the second half is, for me, the better half.

All this, and a raft more, can be found at your nearest newsagent or supermarket; the electronic version, meanwhile, is enjoying a brief holiday while background administration relating to its recent switch of publishers takes place.

The MagPi, Issue 77

The MagPi Issue 77If you’ve ever wanted to tackle an electronics project but didn’t quite know where to start, my latest article for The MagPi Magazine should get you up and running: it’s a look at resources for learning beginner-level electronics.

Centred, naturally enough, around the Raspberry Pi itself, my feature walks through a number of different resources: books, including Phil King’s Simple Electronics with GPIO Zero, all-in-one electronics kits of components and project sheets, online courses, and video tutorials for everything from connected LEDs and switches to the Raspberry Pi through to core concepts surrounding precisely what electricity is and how it works.

As with all Raspberry Pi Press publications, The MagPi Issue 77 is available for free download under a Creative Commons licence from the official website, or you can pick up physical copies in your favourite newsagent, supermarket, or from the comfort of wherever you are right now via the Raspberry Pi Press Store.

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.

Custom PC, Issue 183

Custom PC Issue 183In Hobby Tech this month, there’s a look at a project which has genuinely transformed my mornings, a tiny temperature-controlled soldering iron with a hackable firmware, and the latest brain-melting program-’em-up from Zachtronics.

Starting with the game first, Exapunks caught my eye as soon as I saw it announced by developer Zachtronics. Taking the assembler programming concept of earlier titles TIS-100 and Shenzhen-IO, Exapunks wraps them up in a 90s near-future cyberpunk aesthetic alongside a plot driven by a disease called “the phage” which turns victims into non-functional computers. Because of course it does.

Anyone familiar with Zachtronics’ work will know what to expect, but Exapunks really dials things up. From the puzzles themselves – including one inspired by an early scene in the classic film Hackers – to, in a first for the format, the introduction of real though asynchronous multiplayer on top of the standard leaderboard metrics, Exapunks excels from start to oh-so-tricky finish.

The MiniWare TS100 soldering iron, meanwhile, sounds like it could be straight from Exapunks – or, given its name, TS-100: a compact temperature-controlled soldering iron with built-in screen and an open-source firmware you can hack to control everything from default operating temperature to how long before it enters power-saving “sleep mode.” While far from a perfect design – and since supplanted by the TS80, not yet available from UK stockists – the TS100 is an interesting piece of kit, with its biggest flaw being the need to use a grounding strap to avoid a potentially component-destroying floating voltage at the iron’s tip.

Finally, the project: an effort, using only off-the-shelf software tied together in a Bash shell script, to print out a schedule of the days’ tasks on my Dymo LabelWriter thermal printer. Using the code detailed in the magazine, the project pulls together everything from weather forecasts to my ongoing tasks and Google Calendar weekly schedule – along with a word of the day and, just because, a fortune cookie read out by an ASCII-art cow.

All this, and a variety of other topics, is available in the latest Custom PC Magazine on newsagent and supermarket shelves or electronically via Zinio and similar services.

Custom PC, Issue 180

This month’s Custom PC Magazine sees my Hobby Tech column take a look at TheC64 Mini, a rather annoyingly-stylised recreation of the classic Commodore 64, experiment with Raspberry Pi-powered cluster computing via GNU Parallel, and drink a toast to the memory of the late and lamented Rick Dickinson.

First, Rick. Best known for having been Sinclair Radionics’ – later Research, still later Computers – in-house industrial designer, Rick is the man responsible for the iconic look of the ZX80, ZX81, Sinclair Spectrum, and Sinclair QL, among other devices. While blame for their keyboards lies further up the chain, Rick did the best with his instructions to the point where his designs are still immediately recognisable today. Sadly, Rick had been in ill health of late, and recently passed; my article in this month’s magazine serves as a ode to his memory.

TheC64 Mini, then, feels like a bit of an insult, being as it is the modern incarnation of a device from US Sinclair rival Commodore. Created by Retro Games Limited – not to be confused with Retro Computers Limited, creators of the two-years-late-and-counting ZX Vega+ handheld console, but rather a separate company formed by a split between RCL’s directors present and former – TheC64 Mini appears, at first glance, to be a breadbin-style Commodore 64 that’s been shrunk in the wash.

While deserving plaudits for actually existing, unlike the ZX Vega+, TheC64 Mini isn’t exactly a stellar success: inside its casing, which is dominated by a completely fake keyboard, is a tiny Arm-based single-board computer running Linux and a hacked-around version of the Vice emulator. Its emulation suffers from input lag, something RGL originally attempted to blame on people’s TVs before releasing an update which reduced the problem without completely fixing it, and the bundled Competition Pro-style joystick compounds the problem by being absolutely awful to use courtesy of a rubber membrane design that should have been left on the drawing board.

Finally, the cluster computing tutorial walks the reader through creating a multi-node cluster – of Raspberry Pis, in this instance, though the tutorial is equally applicable to anything that’ll run SSH and GNU Parallel – and pushing otherwise-serial workloads to it in order to vastly accelerate their performance. In the sample workload, which passes multiple images through Google’s Guetzli processor, run-time went from 1,755 seconds in single-threaded serial mode to 125 seconds running on the eight-node cluster – housed in a Ground Electronics Circumference C25 chassis, because if you’re going to do something you should do it in style.

All this, and the usual selection of other interesting articles, can be found in your nearest newsagent, supermarket, or electronically via Zinio and similar digital distribution platforms.