Nsynth, the Raspberry Pi touch-interface music synthesizer

I do like a nice music-and-tech project and this one is pretty special. Called the Nsynth, this tablet-with-controls device is powered by a Raspberry Pi and accepts MIDI inputs which it then feeds through an openFrameworks app. The MIDI samples are then processed using the app according to whatever the user does with the controls. It uses “machine learning” to work out how to process the sounds using samples from Google. This is an open-source project from Magenta, a research group within Google, and all the files are available on GitHub.

Obviously, the actual production of the case is down to you, so you might end up with something closer to this:

or even one of these:

You can see a demo of Google’s version below:

First-person view wheeled security drone with a Raspberry Pi inside

Max Kern has taken a Raspberry Pi Zero W, a camera module and some power circuitry and sensors and created a first-person viewpoint wheeled security drone, the ZeroBot Pro, an upgrade from the previous ZeroBot (without the Pro!). The software UI has been created using Node.js and Socket.io and the motors are controlled using PWM through the pigpio library. The hardware is packed inside a delightful 3D-printed chassis and he has open-sourced the whole design. The STL files are available on Thingiverse and he has uploaded a custom Raspbian image with all the software pre-installed which is available here on Hackaday.io, along with all the instructions you’ll need to build the robot. A brief walk-round of the robot can be seen below:

Stephen Hawking’s voice was saved by a Raspberry Pi

Photo: NASA/Paul E. Alers

On 14th March 2018, when Stephen Hawking died, the world lost one of its great minds. His courage, his determination and his sheer brilliance in his chosen field made him stand out as someone who made his mark on the world, despite all the adversity he faced.

What was little known, up to this point, was that his voice, for a few months before his death, was powered by a Raspberry Pi!

A team lead by Eric Dorsey, a Palo Alto engineer, had worked steadfastly for the previous few years to re-create Hawking’s distinctive electronic voice. For more than 30 years, Hawking’s voice was the product of a piece of technology called the CallText 5010, a commercial voice synthesizer. This equipment was slowly starting to fail and Dorsey was called in to try to save the voice that Hawking had grown so attached to, American accent and all. Eventually, several years later, they had managed to replicate the voice as near as possible on a Linux system. This Linux-based code was then ported to a Raspberry Pi so that it could be strapped to Hawking’s wheelchair with Velcro and plugged into his speakers.

According to Hawking’s technical assistant, Jonathan Wood, he used the Raspberry Pi version of his voice until the day he died.

You can read a lot more about the process of re-creating the voice in software over at the San Francisco Chronicle. You can watch an EE News Europe interview with Eben Upton, CEO of Raspberry Pi Trading, in which he mentions the project with Hawking below:

Why the cancellation of Robot Wars matters #BringBackRobotWars

(right to left) Myself, Tim Richardson, Claire Pollard and Tim Freeburn at Robot Wars in Glasgow

Last Friday, Robot Wars producers Mentorn Media tweeted that the BBC had declined to commission further series of the popular robot fighting series. Fans of the series immediately took to social media, especially Twitter, under the hashtag #BringBackRobotWars in the hope that they could find another channel to take it on. I am one of those fans.

I joined the British public in watching Robot Wars during the second series, back in 1998 or 1999. It was enthralling, it was exciting, it was brutal and it captured the part of me which had always been interested in mechanical and electrical engineering. I am the son of a precision engineering toolmaker, and I guess some of that had to rub off eventually, even if I decided not to follow my dad into the family business. Craig Charles brought his trademarked energy to the programme and seemed to be as ‘into it’ as the competitors. The teams were from a wide variety of backgrounds and their creations, which included the famous Razer, Firestorm, Behemoth, Tornado and, my personal favourite, Typhoon exhibited great engineering technique and innovation. When it was cancelled in 2004, the fans felt the loss and, when it was revived in 2014 with new hosts Dara Ó Briain and Angela Scanlon, we were equally relieved and overjoyed to see the series return.

The thing about Robot Wars is this: although the ratings were never at the same level as the lofty heights of Eastenders, or even something more comparable like Blue Planet (and its sequel), it nevertheless appealed to a certain portion of the UK population that wanted to see something a) entertaining and b) inspiring. There’s nothing quite like it on television, frankly. It is/was unique to UK audiences: a series that focused as much on inspiring the next generation of engineers as it did on entertaining the masses.

So how does this relate to the Raspberry Pi? Well, simply, without Robot Wars, it is very unlikely that there would be a Pi Wars, which is now the number one Raspberry Pi robot competition in the world (I know, right!) Back in 2013, when Tim Richardson joined me in organising Cambridge Raspberry Jam, we were looking for something new to bring to the community. Tim’s question about whether I’d seen Robot Wars, and my answer that I’d been watching it almost from the beginning, and his subsequent suggestion that we should try something like that, but with Raspberry Pis, was directly inspired by the series. (You can read a bit more about the origins of Pi Wars here). Although non-destructive (yes, yes, despite the name…), Pi Wars seeks to do exactly the same thing as Robot Wars: a) be entertaining and b) be inspiring. As I recently discussed with some of my Pi community friends: Pi Wars, just like Robot Wars, gives people a reason for doing. There’s a lot to be said for a competition date deadline to focus your mind and even more to be said for designing courses that challenge both the engineering/electronics skill of the competitors as well as their programming skills.

That brings us back round to Robot Wars. Many of the teams in the recent three series were inspired by the robots that previous teams had built. Although I can’t find the quotes right now, several have gone onto Twitter to explain that Robot Wars was one of the main, sometimes the primary, reason that they got into engineering and making. Now, I’m not saying that Robot Wars is solely responsible for a huge resurgence in our manufacturing industry or engineering base, but it has certainly helped!

There’s nothing like Robot Wars on television – although Scrapheap Challenge, also cancelled, came close – for providing that spark for young people to get involved with engineering. There’s very little on television, in fact, that focuses on STEM subjects, an area that we desperately need to grow and that our society, and economy, is going to increasingly rely upon.

The BBC have, in my opinion, made a huge mistake by cancelling the series, but it’s not too late for them to change their minds or for another channel to pick it up. The arena is still waiting in Glasgow, but it won’t be available forever. It’s vital that fans of the series get behind the campaign and, not to put too fine a point on it: #BringBackRobotWars!

For another perspective on this topic, take a look at Robot Wars Judge Dr Lucy Rogers’ editorial piece over at DesignSpark.

Raspberry Pi driving competition Formula Pi – Winter 2017/18 final

Cambridgeshire-based UK robot manufacturer Pi Borg has held the winter 2017/18 season Grand Final of their autonomous driving competition, Formula Pi. The finalists were:

The competition, which sees self-driving Raspberry Pi-powered cars zooming around a twisting, multi-coloured track without any human intervention, is a masterclass in vision-controlled navigation. The recording of the final is available here and is embedded below:

You can see the robots in action, from a past round, below:

Pretend you’re Tony Stark with this Iron Man / Raspberry Pi build

Michael Darby has been supported by ModMyPi for his latest project – an Iron Man mask with an in-built heads-up display and it’s all driven from a Raspberry Pi Zero. He’s taken the Pi, a LiPo battery, an Enviro pHat and some optical equipment and built it into a kids’ Iron Man mask. He’s called it (obviously) Pi-ron Man and documented the whole thing over on his blog, 314Reactor.

The result is pretty darned good for a play-hack and the idea of a heads-up display is one I’d love to do myself!