Today is a public holiday here in the UK, and Pi Towers is silent and still. Clive’s in a field “with no network (not even mobile),” he specifies, just in case someone were tempted to try and make him do something anyway. By the time this post appears, I’ll be pursuing a couple of kids around the Cambridge Museum of Technology. Liz and Eben have one-upped everyone by going to Scandinavia. So, in keeping with the leisurely, end-of-summer vibe of today, we thought we’d share a project that’s designed to amuse. We hope it’ll cheer up all those of you unlucky enough to live in places where you don’t automatically get to bunk off on the last Monday in August.
Raspython, a new project aiming to offer tutorials and learning resources for the Raspberry Pi community and for new makers and programmers in particular, brings us instructions for making Joker, a Raspberry Pi joke machine.
A fact that ought to be more widely known is that our own Ben Nuttall is founder and chairperson of the Pyjokes Society. He and co-founders Alex Savio, Borja Ayerdi and Oier Etxaniz have written pyjokes, a Python module offering lovingly curated one-liners for programmers, and it’s from this that Joker gets its material. Ben and friends encourage you to improve their collection by submitting the best programming jokes you know that can be expressed in 140 characters or fewer; you can propose them on GitHub via pyjokes’ proposal issue or via pull request.
Joker’s display is an affordable Adafruit 16×2 LCD Pi plate; this comes as a kit needing assembly, which Adafruit’s detailed instructions walk you through gently. With the LCD assembled and mounted, getting Joker up and running is just a matter of installing the pyjokes module, LCD drivers and Joker script, together with a little bit of other set-up to allow your Raspberry Pi to talk to the LCD.
Everything you need is in the tutorial, and it makes for a really great self-contained project. Give it a whirl!