himbeermusik


My second attempt to build a music player thingy. Just about the same time I realized that I wasn't all that happy with my first attempt (the $file rennschnecke), i got a used HifiBerry DAC (for the 1st gen Raspberry) from a friend. Good thing I had the Pi from my $file first ARM based server idling around. So I decided to build a simple Box for the Pi and DAC, slapping on a few Buttons and a rotary Encoder as controls and a relay to switch the Amp (Volume in Software). I had originally used it with my Rotel RA-921 wich didn't like to modify. It was intended as a temporary solution until i got around to create something final.

Hardware

  • Raspberry Pi B (rev 2)
    • HifiBerry DAC
    • Rotary encoder
    • Two push buttons
    • Two LEDs
    • Relay + schuko plug adaptor
    • Cheap plastic case

So yeah, simple as Pi (pun intended). Well, mostly. The DAC is connected via the smaller, normally unpopulated second GPIO header of the Raspy rev 2. But it also populates the other GPIO Header (probably for structural support), which i need for other means. I made a simple adapter wire to connect the DAC to the second header without mounting it as intended to the pi. Frees up the GPIO header and eases the fitting in my small case.

Everything


Here, the small black Box on top of all the old audio stuff:

The rest is from top to bottom:
  • Pioneer CD Player with turntable mechanism (CD is placed topside down). I always wanted one of those :)
  • A simple Radio i got for a Heiermann from a flea market. I like its looks, and it sound well enough. Its only Radio after all.
  • NAD pre amplifier, quite old and probably in need of a recap.
  • Braun power amp. Well. Its the power amp section from a (otherwise broken) $file Braun Audio 308 integrated hifi system (Turntable, Radio, Amp). The case is made of plywood, paint and linseed oil. The power switch in the middle is actually the original one :)

So much for something final. Now its not even switching the Amp or anything, its just another component in a very old-school, very thrown-together hi-fi tower. I have further plans, though. I have (mostly) everything needed for a nice LM3886-based chipamp...

Software


I wrote a simple (honest: primitive) program in C using the wiringpi lib. This time I even managed to read the rotary encoder correctly. Finally. More later.
total: 48.14ms (include: 2.46, request: 0.77, trace: 2.75, init: 2.16, load: 0.01, parse: 36.56, menu: 0.95, template: 2.42, minify: 0.07)