Git Product home page Git Product logo

radiom40's Introduction

Vintage M40 Radio Music Player

Repo of documents and code used for the Mediator M40 Radio upgrade

Mediator M40 Radio

The Mediator M40 radio is a tube radio manufactured in the early 1940s by the Swiss Company Mediator located in La Chaux-de-Fonds. The radio is identical to the Philips Philette 206 A made by Philips Switzerland. However it differs from the Philips 206 A produced in the Netherlands as it only has MW. My radio has a control mark sticker from the Swiss telecom PTT from 1941 on the back.

Upgrade

The radio is upgraded to a Webradio and Music Player using a Raspberry Pi Zero W and a HifiBerry MiniAMP. The electrical components of the radio are very old and even if it seems that most of them still work, I decided to leave them in as is, but not to use them in the circuit. However I wanted to reuse the control knobs including the corresponding potentiometer and variable capacitor and the speaker.

OS

The Linux based volumio is used as OS and music player software, as it has nice features and works on the Raspberry Pi Zero. The HifiBerryOS does not work well on Pi Zero according their website.

Installation

Download and install volumio according the documentation.

Note: When using the HifiBerry MiniAMP HifiBerry DAC need to be selected as Playback Output Device. However make sure that I2S DAC is not enabled.

PowerSwitch

The original 'Waverange' switch of the radio is used as power switch. To allow a proper shutdown the OnOff SHIM by pimoroni is used. The OnOff SHIM is usually used with a button and not a switch, therefore I had to modify the clean-shutdown code to shutdwon, when the trigger is pulled high (Pull-Up) and not low.

Volume Control

The original volume control knob is used for volume control. The potentiometer is connected to an MCP3008 A/D converter. The MCP3008 is connected to tha Raspberry Pi using the SPI interface. A volume-control daemon is installed on the Pi (src/analog_input/volume_daemon.py)

Playlist/Radio Station Control

TBD

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.