Tag Archive for Raspberry Pi

Custom PC, Issue 188

Custom PC Issue 188This month’s Hobby Tech, my regular five-page column for Custom PC Magazine, takes a look at the Argon One aluminium case for the Raspberry Pi, the now Flash-free Scratch 3 visual programming environment, and Sean McManus’ Mission Python.

First, the case. Created as a single piece of aluminium with a plastic base-plate, the Argon One is more than just a means of protecting a Raspberry Pi: it includes a daughterboard that pulls the HDMI and analogue AV ports to the rear for neater cabling, another that adds a fan for active cooling and a smart power button while also bringing the GPIO header out with colour coding and silk-screened pin references on the case itself, and a magnetic cover to hide said GPIO port when it’s not in use.

More importantly, though, it’s one of only a few cases that actually improves the thermal performance of the Raspberry Pi when installed. Even ignoring the fan, which makes little practical difference to operating temperatures, the difference between uncased and cased is an impressive 24°C thanks to the use of the upper half of the case as a giant heatsink. The only real problem, and it’s one creator Argon Forty claims to be working to resolve, is the hefty voltage drop from the fan-and-power daughterboard: unless you’re using the Argon One 5.25V Power Supply or a similar compatible, expect to see frequent undervoltage throttling.

Scratch 3, meanwhile, has proven itself a worthy upgrade for the popular block-based visual programming environment first created at MIT. While switching the stage and script area around and shuffling a few of the block colours is unnecessary and potentially confusing, new features including integration with translation and text-to-speech APIs and an easy extension manager are definitely welcome – as is the departure from relying on Adobe’s Flash technology. Sadly, though, at the time of writing Scratch 3 still did not support the Raspberry Pi, though work is in progress on that front.

Finally, Mission Python: as the author of a few books myself I know only too well how tricky it is to walk the line between introducing concepts in a friendly and approachable manner and being patronising, as well as trying to aim a publication at a broad age range. Sean McManus, who is no stranger to bookstore shelves, proves it can be done with Mission Python as he walks the reader through creating a game in Python using the Pygame Zero wrapper around the Pygame library. The result is colourful and fun without being in any way condescending, and a definite recommendation for anyone interested in flexing their Python skills.

All this, and the usual selection of articles not written by me, can be found on the shelves of your nearest supermarket, newsagent, or digitally via Zinio and similar services.

The MagPi, Issue 79

The MagPi Issue 79In this month’s issue of The MagPi Magazine you’ll find my review of the Argon One, a clever case for the Raspberry Pi that if creator Argon Forty’s name is anything to go by will be followed up by 39 successive designs.

Raspberry Pi cases are ten a penny, but the crowdfunded Argon One stands out for one very heavy reason: the majority of the case, bar a plastic base, is made from a single piece of aluminium. It gives the case heft, but serves a real purpose too: the Raspberry Pi’s system-on-chip (SoC) is connected to the body of the case via a pillar of aluminium – turning the entire case into a giant heatsink.

It’s a great idea, and definitely works, but means the case has restricted compatibility: only the Rasbperry Pi 3 Model B and Model B+ will fit, with other models having their SoCs in a different position. If your Pi does fit, you’ll find the Argon One works a charm – though a built-in fan appears to make little practical difference to temperature levels.

The only real fly in the ointment, though, is that a daughterboard which provides a smart power button on the rear and power for the fan – joined by a second that moves the analogue AV and HDMI ports to the rear with the others – causes enough voltage drop to trigger ‘undervolt’ warnings and throttling on most power supplies. Only Argon Forty’s own 5.25V/3A supply, or an equivalent, avoids this – information that came too late for backers of the original Kickstarter campaign.

The full review, and a lot more beside, is available at your nearest newsagent, supermarket, or for free download under a Creative Commons licence from the official website.

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.

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.

The MagPi, Issue 76

The MagPi Issue 76There’s no missing my contribution to this month’s The MagPi: it’s plastered all over the cover. The launch of the Raspberry Pi 3 Model A+ ends a four-year absence of the compact form factor from the Raspberry Pi line-up, and there’s no better way to celebrate its launch than with a massive cover feature.

The spread begins with a two-page introduction dominated by imagery of the board, before moving on to a plan view which calls out the individual components that make up the board – including the single USB port, BCM2387B0 system-on-chip (SoC), and the radio which, for the first time in a Model A variant, adds WiFi networking and Bluetooth connectivity. Each part includes macro photography, all taken in my in-house studio.

The next section of the feature runs through a series of benchmarks which, in-keeping with previous launches I’ve covered, compares the Pi 3A+ with other mainstream Pi models going all the way back to the original Raspberry Pi Model B. The feature also includes a look at the size and weight, the first time I’ve used that particular metric, along with comparative thermal imagery showing how the smaller surface area of the PCB copes with running the same high-performance processor as the larger Pi 3B+ – again, all captured in-house.

Finally, the cover feature closes with a two-way interview I conducted with project co-founder Eben Upton and principal hardware engineer Roger Thornton. In it, Eben confirms that the Pi 3A+ represents “tidying up ‘classic’ Raspberry Pi,” and that the Raspberry Pi 4 – still very much on the drawing board – will launch a whole new era for the low-cost single-board computer family.

The launch issue is available now from your nearest newsagent or supermarket in print, or can be downloaded free of charge under a Creative Commons licence from the official website.

Benchmarking the Raspberry Pi 3 Model A+

Back in March, the release of the Raspberry Pi 3 Model B+—the Pi 3 B+ to its friends—brought a chance to take stock and review just how far the project had come since its launch via a series of benchmarks. Now the launch of the Raspberry Pi 3 Model A+ brings a bold claim: a dramatic drop in size, weight, and price over the Pi 3 B+, but without any loss in performance.

In other words: it’s benchmark time once again.

Read more

Custom PC, Issue 182

Custom PC Issue 182In my Hobby Tech column this month, I take a look at the disappointing Planet Computers Gemini PDA, the significantly less disappointing Proto-Pic Program-o-Tron, and the recent updates designed to make the Raspbian operating system for the Raspberry Pi significantly more welcoming to newcomers.

First, the Gemini PDA. I’ve long been a fan of the clamshell personal digital assistant (PDA) form factor, and it was with a heavy heart that I finally hung up my Psion Series 5 after it became clear that smartphones had won that particular war. Now, the format is back courtesy of Planet Computers and the crowdfunded Gemini PDA – a design based on the Psion Series 5 and put together by one of the staff responsible for the original, but which misses its mark at almost every turn.

At its heart, the Gemini PDA is an Android smartphone – even the non-4G version, which is simply an Android smartphone with the cellular radio removed. While it’s possible to run a Debian-based Linux on top, the experience is poor – but, that said, no more poor than the buggy Android build supplied with the device, which insists on booting up in German despite being clearly marked as a UK model. The hardware, too, disappoints: performance under Linux is not where it should be, and while the keyboard is a near-perfect match to the original Psion design the clever sliding hinge mechanism is entirely missing in favour of a loose and flimsy metal kickstand that fails to provide nearly enough support.

Many thanks must go to the National Museum of Computing (TNMOC), which kindly provided an original Psion Series 5MX PDA for direct head-to-head comparison during the review.

The Program-o-Tron, after a disappointing start to the month, proved considerably better. Again crowdfunded, the Proto-Pic device is designed to make life easier for those working with Atmel ATmega microcontrollers. Rather than having to program each chip individually from a PC, the Program-o-Tron allows you to hold six hex files on an SD card and flash them onto a chip inserted in the ZIF socket at the push of a button – and, even better, to take a dump of the contents of a chip, including its fuse settings, to clone it without ever needing to touch the original program code.

Finally, the recent update to Raspbian operating system for the Raspberry Pi brought a couple of changes for the better: a lightening of the load when it comes to pre-installed software, complete with a tool to add packages back in on-demand, and a first-run welcome wizard which walks newcomers through configuring the Wi-Fi networking, localisation settings, and choosing a new password. The latter is particularly welcome: since launch, the default for Raspbian has been to keep the ‘pi’ and ‘raspberry’ username and password combination, making it easy for attackers to gain access to systems accidentally or deliberately connected to public networks. By asking users to choose a new password on first boot, the hole is closed.

To read more, pick up Custom PC Issue 182 from your nearest newsagent, supermarket, or digitally via Zinio or similar distribution platforms.

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.

Custom PC, Issue 178

Custom PC Issue 178This month’s Hobby Tech has a pair of two-page spreads on two very exciting, yet decidedly different, pieces of hardware – the Raspberry Pi 3 Model B+ and the Gamebuino Meta – along with a look at an update to the Arduino Create platform which brings early support for single-board computers.

First, the Raspberry Pi 3 Model B+. As the name suggests, the new board isn’t quite a full generation above the existing Raspberry Pi 3 Model B. It is, however, a considerable upgrade – primarily thanks to a new packaging for the BCM2837 system-on-chip, now known as the BCM2837B0, which vastly improves its thermal performance and boosts its speed from 1.2GHz to 1.4GHz. Elsewhere, the board includes an upgraded and simplified power supply system, gigabit Ethernet – though limited to around 230Mb/s throughput in real-world terms – and dual-band 802.11ac wireless network capabilities. Naturally, the review also includes thermal imaging analysis – this time using a new overlay technique which, I’m pleased to say, offers a significant improvement in image clarity over my previous approaches.

The Gamebuino Meta, on the other hand, is a very different device to its predecessor. Upgraded from an ATmega microcontroller to an Arm chip, the Gamebuino Meta boasts a colour screen, programmable RGB LED lighting, a general-purpose input/output (GPIO) header with ‘developer backpack’ accessory for easy prototyping – in short, it’s a serious upgrade over the device I reviewed back in Issue 134. Despite the upgrades, though, it’s still extremely accessible, allowing users to write their own games using the Arduino IDE and the Gamebuino library with ease.

Finally, Arduino Create. I’ve been meaning to take a look at the cloud-based development environment for a while, but it wasn’t until it added support for single-board computers like the Raspberry Pi – on top of the Arduino boards it already supported – that I found an excuse to dive in. What I found is somewhat rough around the edges, but shows promise: a fully-functional IDE right in the browser, but with the ability to push sketches – with very little modification for the Raspberry Pi – to devices remotely.

All this, plus the usual raft of things I didn’t write, can be found between the crisp paper covers of Custom PC Issue 178 at your nearest supermarket, newsagent, or electronically via Zinio and similar digital distribution services.