Step 4: Case

  • The case is a simple 200 x 200 x 210mm cube-shaped box made of 5mm MDF, with the side parts being mitered with a 45° angle.
  • On the front I made cutouts for the speaker, the volume knob and the power LED. It was covered with light-grey speaker cloth  and clipped on with wooden dowels.
  • The back shows holes for the power chord, power switch, audio jack and input switch and is held in place by wood screws.
<p>Hi, can I ask you why a mono amp? Doesn't this kill the stero signal? </p>
In principle, you're right. But I wanted to keep the build relatively small and at the same time have enough room for a 10cm speaker. This is why I chose the summing circuit, which sums both audio channels and inputs it to the amp.
<p>Can this be combined with a bluetooth capability? For when you are outside</p>
<p>Hi!</p><p>Is there a possibility that this can stream HD Videos from any android or IOS device??? I would love to do this.</p>
<p>Hi,</p><p>Do you need two power suplies? Or can you use a converter like this: </p><p><a href="http://www.ebay.com/itm/Waterproof-DC-DC-Converter-12V-Step-Down-to-5V-Power-Supply-Module-3A-15W-BLACK-/231403349286?" rel="nofollow">http://www.ebay.com/itm/Waterproof-DC-DC-Converter...</a></p>
<p>I mean, can you use one wallwart?</p>
<p>thank you for this tutorial, what is R and L ?</p>
<p>Sorry for the late reply, R (right) and L (left) are the + voltage lines of the stereo audio signal.</p>
<p>Thank you for replying</p>
<p>I am sorry to say this inspite of detailed steps for building the project there is no information given regarding how to use the project /operate the project or what this airplay speaker is capable of like whether it produce any sound/ music? nothing clearly explained???</p>
<p>Hey ramanar, I wasn't aware that this needed to be explicitly stated. This speaker provides Airplay (http://en.wikipedia.org/wiki/AirPlay) audio playback functionality. After booting you simply pair it with any given state-of-the-art Apple device for audio stream. Thus, the speaker is indeed capable of (re)producing the sound from your, let's say, iPhone or iPad.</p>
<p>Something you may want to add: setting up your OS as read-only would allow you to safely turn it off quickly, without having to ssh and shutdown properly. Since you ensure there is never any write, there is no risk to shut it down during a write that leaves your SD card corrupted and your system unable to boot.</p><p>I followed this for Arch Linux, there are tutorials for Raspbian also if you search:</p><p><a href="http://ruiabreu.org/2013-06-02-booting-raspberry-pi-in-readonly.html" rel="nofollow">http://ruiabreu.org/2013-06-02-booting-raspberry-p...</a></p><p>I'm sure some people actually turn it off brutally without configuring it as read-only, but doing that you never know when you'll corrupt your SD card!</p>
<p>Good thought. Thanks for the input :)</p>
<p>I'm building that in an old radio I have laying around :)</p><p>How did you connect the 2 power blocs by cable, did you cut the pins that usually go to the wall outlet or something?</p>
<p>Exactly. I simply sawed off the basis of the case including the pins, cut the wires behind and soldered extension wires on.</p>
<p>Really cool project!</p><p>I have two Raspberry Pi's lying around (one is model A and the other B).<br><br>I bought the A by mistake and I think I can do something similar to your project with it, since it doesn't need the Ethernet port and only one USB port.<br><br>The main difference is that I want to make it compatible with android.</p>
<p>&quot;Compatible with Android&quot; doesn't mean much, the real question is the application you want to use. Some Android application actually support output to Airplay, like DS Audio that I'm using to stream from my Synology NAS.</p><p>Or, maybe you want to make a generic blutooth speaker:</p><p>http://www.instructables.com/id/Turn-your-Raspberry-Pi-into-a-Portable-Bluetooth-A/</p>
<p>i realized two similar project with both raspberrys Model A and Model B, both are working and the updated firmware makes the audio connector working good. usb is for the ethermax adapter. it is working fine.</p>
<p>Hi, I really like this and plan on doing something similar but inside a vintage radio. Are you happy with the way it sounds? Is it loud enough? Thanks,</p>
<p>hi Zwuckl, </p><p>i have one question to the quality of the sound. i builded a similar Box like yours. and just was wondering if your speaker makes backgrund nioses or interferenes after power on the box.</p>
<p>I absolutely love the idea and have been thinking about this as well for a while. Was thinking of switching from Squeezebox to Sonos, but I love this solution.</p><p>Quick question: how is the (audio) output from the RPI connected to the Kemo amp? Did you use the 3,5mm&sup2; socket from the RPI with a cable or did you connect some of the pin on the RPI? (if so, which ones?)</p>
<p>Hi Dinobe, sorry for the late reply. The amp is connected via a soldered on 3.5mm plug that fits the standard analog audio output of the Pi. </p><p>So no magical GPIO wiring involved here...</p>
What was the diameter of the speaker used?
Hi! <br>is compatible with ios7? <br> <br>THANK YOU!!!!
Hi mbertei, sorry for the late reply. <br>I've not tested this setup under iOS 7, but I'm quite sure that if you keep the software update it should be supported by now. Alternatively, have a look at: https://github.com/abrasive/shairport <br>There are some comments on iOS 7.
Nice! <br>Any way of getting the iD3 tag information on the Pi, ie from the streaming audio? <br> <br>Texy
Good thought. I'm not quite sure if there's shairport support for that. Since my built is headless I haven't really checked.
this looks so neat and professionally made!
I too am really interested in a script to power on and off the amplifier. I've built a circuit with a relay by copying a tutorial over at OpenHomeAutomation (http://openhomeautomation.net/control-a-relay-from-anywhere-using-the-raspberry-pi/), but I've found no instructions on the internet on how the Pi can activate (and deactivate) the switch.
Hi - that is just what I have been looking to do for some time now. Have you managed to get it working? <br> <br>PS - I currently use a separate device to detect the audio signal and switch a power relay - this works well but it would be great to be able to get rid of a box. <br> <br>PPS - using Raspbian with Shairport
Beautiful build! I'm thinking about doing something similar, using the GPIO pins on the Raspberry Pi to control a relay which turns on (and off) the amplifier circuit, so that the amp turns on when you start streaming audio to the Pi, and off when you stop streaming
Thanks! I like your idea a lot, as it would simplify the operating a lot. How would you check if there's something streaming? Do you periodically check <em>mpc</em>'s status or is <em>shairport</em> itself capable of that?
Quick question. Trying to do a similar project. Is it necessary to have the two inputs (The RPi and Aux) on separate grounds? Why not just connect the two and have one SPDT switch?
Hi. <br>I guess you could use common ground for both inputs and then just integrate one summing circuit after the SPDT. I did it the &quot;complicated&quot; way because I had all those parts laying around and needed to fresh up my soldering skills ;)
Hi ! <br>Thanks for your job i'm very interested into make my own one !! <br>But i'm pretty interested about your future plans in particular for the bluetooth support. <br>When will you adapt your article about that change ?
Hey Rick. Thanks for your interest. <br>Unfortunately I haven't realized the bluetooth concept to date. <br>I just looked around this website after reading your comment and found two promising Instructables describing this idea: <br> <br>http://www.instructables.com/id/Turn-your-Raspberry-Pi-into-a-Portable-Bluetooth-A/ <br>http://www.instructables.com/id/Bluetooth-Speakers-using-Raspberry-Pi/ <br> <br>If I get the time I will definitely add the bluetooth section soon...
I'm basing a project on your work here and I noticed an error. In step three, where you're installing the shairport dependencies, you're missing a dash. Instead of &quot;libio-socket inet6-perl&quot;, it should be &quot;libio-socket-inet6-perl&quot;. <br> <br>Thanks for the instructable; it's been very helpful!
I just corrected this :) Thanks for the input and good luck with your project!
Quite possibly cheaper than any other airplay speaker
legit, awesome project. I will definitely be making this when I have the time
A quick tip: <br>It's very easy to install a remote-desktop server. <br>By doing this you no longer need to plug in a screen and keyboard but you can configure your speaker remotely from your lap- or desktop. <br> <br>code #sudo apt-get install tightvncserver <br> <br>just install a remote desktop client on your desktop to log in on your RaspbAIRy <br>Windows comes standard with a client. <br>I use remmina on Ubuntu. works like a charm
Great idea, thank you :) <br>Since the speaker is only configured via command line I chose SSH from my remote Mac. SSH-support comes naturally with Raspbian and even works when you don't know your RaspPi's IP address, simply by connecting to &quot;raspberrypi.local&quot;.
also on the wiring diagram the L R should not be connected to gnd
Thanks for your input. I corrected the diagram according to Dennis Bohn's original circuit.
i do not have a angled jigsaw and my dad wont buy one do you think this would still work with out it
Hey Danny. This should definitely work aswell... The parts are tightly connected by the staples and covered by the artificial leather.
Great work, the cabinet is looks better than most manufactured ones!
Love it! Looks great! I think I am going to use allot of this info to make an outdoor speaker!
Beautiful work.. I had wondered if such a thing was possible but didn't know about the Linux client.
I don't want to ruin your day but the power LED is shorted. You have to connect it to ground. <br>

About This Instructable


597 favorites


Bio: I am a PhD student in bioinformatics interested in technology, electronics and computers with a fondness for crafts and good food.
More by zwuckl: raspbAIRy - the RaspberryPi-based Airplay speaker How to make Spaetzle - a traditional Swabian/Southern German kind of noodle
Add instructable to: