Monday 18 May 2015

Raspberry Pi Vintage Radio Build

Mrs O'Hanlon buys tat (aka vintage collectibles) and the one thing she seems to buy more than anything else is old radio's, which never work. One such broken audio player I found in her collection was a circa 1955 Vidor Lady Anne and I decided to give it a new lease of life and turn it into a Raspberry Pi powered music player.

My aims were to use the original switches, knobs and dials for the controls and when finished it would look the same as the original.

I wanted to use the original on/off switch to start and stop playback, the medium wave / long wave positions to select a playlist (M for Martin's playlist and L for Mrs O'Hanlon's playlist) and the tuning wheel to skip tracks forward and backwards.

I needed a few things to make this a reality:

  • A Raspberry Pi!
  • A decent DAC (Digital to Analogue Converter) and AMP to power the speaker
  • A music player with a programmable API so I could integrate the original controls
  • A way of talking to Lady Anne's ancient hardware.
  • A program which would be the bridge between Lady Anne and the music player

DAC & Amp

At the Raspberry Pi 3rd Birthday Party I met the guys from IQ Audio and I purchased their DAC+ and Amp+ boards, which appealed to me because of the modular build and because the DAC+ still allowed access to GPIO pins (via an L shaped pin connector you can solder to the bottom). This gave me the guts of the system, now I needed software and hardware.

Music Player

I decided on Volumio as the music player, which is a very fancy open source music player which sits over the top of MPD (music player daemon). It has a very nice responsive web front which works really well with both desktop and mobile browsers.

As volumio is built on top of MPD I could use the python-mpd2 module for interfacing with it - see my blog post Volumio, MPD & Python for an overview of how this works.

Lady Anne's Hardware

I stripped out all the gubbins from the old music player apart from the on/off switch and the volume control.

Including 60 years of fluff and dust from the speaker.

This left me with a frame with the switch and the volume control potentiometer, the next step was to work out how the switch worked, its made up of layers, with each layer having a rotating copper disk which when turned connected 2 or more connections.

Much testing was done with a multimeter to work out what each of the terminals on the switch did.

The switch is actually many switches and when I connected a current to it, I was also surprised to see that it also wasn't digital, it simply leaks current, off is anywhere between 0v - 1.5v and this totally messes up the Raspberry Pi's GPIO pins.

As I needed an ADC (Analogue to Digital Converter) to read the value from the potentiometer I came up with the concept of an 'analogue' switch and used an MCP3008 ADC to read the values from the switch and when it was above certain voltage I considered it to be on, below it was off - see my blog post Raspberry Pi, MCP3008 ADC & Python for an overview of using the MCP3008 ADC.

To get the MCP3008 to work with the IQ Audio DAC I had to do a bit of hacking. While the majority of the GPIO pins are exposed by the connector on the DAC, neither of the SPI chip select pins are, which I needed, to talk to the MCP3008.

A few emails to IQAudio suggested that while the pins weren't connected, they could be, so I put a small wire between the raspberry pi header and the GPIO connector on the DAC.

The last piece of hardware I needed was a rotary encoder which would fit under the tuning wheel and skip tracks - see my post Raspberry Pi and KY040 Rotary Encoder for an overview on how to use one.

Add all that together and what you end up with is this a breadboard design which looks like this.

Radio control program

Before I put it all together I needed some software which would connect with the good lady's hardware and talk to MPD to make the controls work.

I sketched out a design (like a proper professional) which would broadly involve creating classes to manage each element of the hardware (on/off, playlist selector, volume control, etc) all of which would place events in a queue.

The events would be actions that would need to be taken by the main radio control program (e.g. on, off, change volume, skip track, etc) by talking to MPD.  Event based software is really useful for managing hardware where multiple things can all happen at once, but you only want to do one thing at a time.

The software is online at and it includes information about the structure of the code and installation - although don't expect it to work without modification as while most of the classes are re-usable its built specifically for this radio.

Putting it together

To put it all together I needed to find a way of mounting the Raspberry Pi, DAC & Amp in Lady Anne and turning a mess of components and jumper cables on a breadboard into something which would work reliability.

I moved the breadboard jumble onto stripboard - I made myself a map and soldered the cables and components directly onto the board.

I mounted the Pi, DAC & Amp and the stripboard onto perspex which I bolted onto Lady Anne's original frame. Luckily the original lady had a space inside the case for a large battery which was just the right size to fit the Pi in.

That was it, the lady lived...

There was are a couple of things I want to improve. The original potentiometer is rubbish, its not linear and for the first half a turn nothing happens. It could also do with a better speaker, the quality is not bad, but at higher volumes it cuts out.


  1. That's a stunning build, Martin. Nice one! :-)

  2. Great work! I have a similar idea for an old record player which was being used as a contain to store bits and pieces, which I found in a boat I purchased recently. Too busy with the boat right now though.

  3. Awesome build! Great to see how all the parts (Raspberry Pi, 3rd party hardware add-ons (DAC/AMP), generic hardware with your own library (rotary encoder), open-source software (Volumio, MPD, python-mpd2) and of course, the old lady) come together in a truly unique project.

  4. What happened to all those lovely vintage components?



    1. All those 'lovely' vintage components were cut out, stuck in a bag and chucked in the electrical appliances recycling. I kept the valves as potential replacements for other appliances.

  5. The Pi and DAC are stereo but you have only one speaker. How is the speaker connected?

    1. The original speaker is just connected to one channel and then I configure alsa to downmix to mono.

  6. How are you connecting the power button? Are you connecting it directly to the GIPO, or using the additional pin header that comes with the DAC?

    1. My radio doesnt really have a power button. There is a rotary switch which I had to hook up to an ADC to read the values from it as it wasn't a simple on/off. Read the section on Lady Anne's Hardware I describe how I did it then.

  7. Nice project. I've been considering the same sort of project for my grandparent's 1940's era console record player. It has a tube amp, so I would also very much like to retain the vintage sound if possible. Thanks for getting me started!

    1. I've just re-capped and restored a Philco 102 and it sounds great. I would really like to retain the innards and add a pi (for bluetooth and internet radio). Luckily I have the schematic for this so should be able to work out where in the circuit I can add line out from the pi so I can use the valve amp. If push came to shove, however, there's no way I would sacrifice the innards. I'd rather build in an empty box.

  8. Nice project. I've been considering the same sort of project for my grandparent's 1940's era console record player. It has a tube amp, so I would also very much like to retain the vintage sound if possible. Thanks for getting me started!


Note: only a member of this blog may post a comment.