Raspberry Pi, for all your 50s diner needs

Have you ever been to a cafe or restaurant with 1950s jukebox wallboxes in each booth? Wallboxes were an extension for a jukebox, making it more convenient to select music right from your table. You’d drop a coin in, choose a song from the flipbook behind the glass, chrome and plastics, and the machine would send pulses down a wire to the restaurant’s jukebox, where a stepper would decode the pulses and queue up the song you’d picked. Refurbished wallboxes occasionally pop up in mock-50s diners; you’ll also see them for sale on eBay for anything up to a few hundred quid, and people buy them to add to their jukeboxes, or just as home decoration (I’ve seen one being used as a particularly cumbersome phonebook).

Wallbox in situ

Steve Devlin bought himself a couple of wallboxes a few years ago, meaning to hook them up to an MP3 player. He then switched over to a SONOS wireless media system in his house, and forgot about the wallboxes for a couple of years.

Enter the Pi.

On looking at a Raspberry Pi and a wallbox, Steve had an idea. Why not hook the two up together to make a controller for the SONOS system? The Pi decodes the pulses from the box, and sends the information to the SONOS system. (This approach will work with any UPnP protocol, so you’re not limited to using SONOS.)

Steve’s thinking about further customisation: a strip in the box with Radio 4 on it; some dynamic strips like “songs of the week”, which will play a selection of the week’s most-played tunes; some LEDs to show a binary index of common faults, like the wifi being down, or a song not being found.

There are full instructions and much more information on Steve’s website. We think there’s something really compelling about this mix of old and new; thanks for sharing, Steve!


Pi-powered cat feeder

Mooncake, the Official Raspberry Pi Cat, is fed biscuits twice a day by an off-the-shelf cat-feeding robo-hopper that we bought before Raspberry Pi was a reality. (She also gets that horrible-smelling cat food in gravy from a packet, served up by real live humans.) I’ve just found out what to replace the robot with when it breaks.

Mooncake, well-nourished, “helping” us to dispatch fund-raising stickers

Dave at Twin Cities Maker has made a Pi-powered cat-feeding robot which dispenses two sorts of biscuits, so your fickle pet has a choice of different liver-flavoured kibbles throughout the day.

Dave’s cat feeder, with toaster for scale

It’s much more functional than the one I bought from the pet shop years ago; for a start, it’s wi-fi enabled, so it can be sent instructions remotely. And Dave has plans for making it even whizzier, with sound clips (Cat from Red Dwarf), a camera and a mobile webUI.

Work in progress: this is an Adafruit PermaProto with a couple of solder bridges at the top left. Instructions are on Dave’s blog.

There are full build details, code and a parts list over at Twin Cities Maker. Here’s the feeder in action:

We’re looking forward to see what additions Dave develops for the feeder. Seriously; if you can make this thing self-cleaning, Dave, you can sit back and never have to work again. Cat owners the world over will be banging your door down.


Open the pod bay doors, Siri!

I have an iPhone, but I have to admit, I don’t use Siri much. The male, British Siri is about 80% less charming than the female, American one. The things I need, it just won’t do: SiriUK’s restaurant database appears to have been composed by a hungry flock of starlings pecking the keys at random; and he doesn’t understand the word “Eben” no matter how I pronounce it. (“Calling Adam now.”) I do use Siri to set reminders, add things to shopping lists and call my Mum’s number and the numbers of other people whose name it recognises, but that’s about your lot.

Adam and Eve

Not the people I was trying to call. Although they do look as if they’d be a blast at parties.

Over on our forums, DarkTherapy has just made Siri a whole lot more useful. He’s got SiriProxy running on the Raspberry Pi, along with wiringPi, which he’s used to access the Pi’s GPIO pins and turn a relay on and off. That relay is then hooked up to an automatic garage door system – meaning Siri can open and shut the doors on command.

There’s code and instructions in the forum thread. Do you have any ideas of your own for extending Siri’s capabilities? I’m rather liking the idea of telling it to turn lights on and off in my house when I’m away, for simple burglar-foxing.


Home automation from 50 miles away – with a Raspberry Pi

Simon Maple and Andy Stanford-Clark, Friends of Pi from IBM, have been having a lot of fun with Andy’s house, which is networked and monitored up to the rafters. They’ve added a Raspberry Pi, IBM’s Liberty Profile, and Really Small Message Broker for sending telemetry-type data using MQTT. The result is a great little tech demo where Simon turns Andy’s pond fountain and heated towel rail on and off remotely from his own house 50 miles and a stretch of sea away, watching energy usage fluctuate in real time; he can even check the levels in Andy’s oil tank. This is brilliant: lightweight software running on lightweight hardware, doing some really useful stuff.

I do not think I’ve ever found a towel rail so interesting; I love seeing demos like this with so many real-world applications.

Massive thanks to Simon and Andy for all their work on this (there’s more on Simon’s blog), and especially to Simon for being such a fantastic pi-vangelist. Everybody else: if you’re reading this and have come up with a Raspberry Pi demo you think we’d be interested in, please email me (my details are available on the Contacts page). We’re always looking for new projects to feature here on the blog.