or Connect
Head-Fi.org › Forums › Equipment Forums › Portable Headphone Amps › DIY Wireless Headphone Amps
New Posts  All Forums:Forum Nav:

DIY Wireless Headphone Amps

post #1 of 6
Thread Starter 

This is my first post but I've been in communication with goldenSHK for quite a while and I think it's time to share what I've been working on. First of all, let me explain my motivation- I am not an audiophile of the type that frequently visits here, I like BASS. Alot. I also think wires attached my phone are annoying, and I think it's even more annoying to have an amp banded to it, and the most annoying is that USB DACs aren't compatible with my Nexus 4. 

 

I fixed all that. Two ways. One way using BT, and another way using Airplay. 

 

BT method-

This was actually very straightforward and easy, easy to setup and easy to use. 

Step #1. 

Purchase a Go-Dap from Amazon, $19.99 

http://www.amazon.com/Go-Dap-GD-03-Black-iPhone3GS-x3000/dp/B0060HI2P2/

 

Step #2. 

Purchase a Soundbot SB330, $10.99 

http://www.amazon.com/SoundBot%C2%AE-SB330-Bluetooth-Universal-Receiver/dp/B00B95REMW

 

Step #3. Put the SB330 in the Go-Dap. 

 

Step #4. Wonder where the bass went. 

This is a big problem w/this amp, I verified the issue is the amplifier by connecting directly to the dock input pins with a 3.5MM source, it just has a bad roll-off and hollow sound. Bluetooth definitely doesn't help, but the SB330 is BT 3.0 and 320Kbps capable, so it should be reasonably decent. Some of you might be satisfied with this arrangement, especially if you like the way the Go-Dap sounds connected to an iPod/iPhone. 

 

 

 

Airplay Method

 

This way is far more complicated, more equipment, and much more rewarding. REQUIRES ROOTED ANDROID PHONE, or pretty much any stock iPhone. 

 

Step #1. 

Acquire a TP-LINK TL-MR3040 Router, $29.99. 

http://www.amazon.com/TP-LINK-TL-MR3040-Wireless-Portable-Compatible/dp/B0088PPFP4/

What makes this router special is that is roughly the same size as a Fiio E7, and it is battery powered! Portable! I rubber band my MR3040 to my Fiio E7 and throw it in my backpack. 

 

Step #2. Acquire the USB DAC/AMP of your choice, as long as it is 44.1Khz compatible(very important), I cheaped out and bought a Pyle Home PHE7AB, it was $49.99 but it's gone up and the Fiio E7 or E07K are better values now in my opinion.  

http://www.amazon.com/gp/product/B004V9GPHS/ 

 

Step #3. 

Flash your TL-MR3040 with a special OpenWRT build that has Shairport integrated and the USB Host patches that were just released two weeks ago applied. Once I figure out hosting I'll link versions I made for both the V1 and V2-2.1 of the router. 

The build I made doesn't require any additional configuration, but I recommend it, because it is set to Open authentication and the telnet daemon is running, someone who is mischievous could brick your router while you are out and about. I'll try to write a guide to setting up OpenWRT from telnet/SSH but guides are not my forte- it helps if you have Linux experience. The router doesn't have enough flash space for LuCI, so no web interface. 

 

If anyone is actually interested, and has experience already, building OpenWRT images and wants to know more about this process , PM me. 

 

Shairport is an open source implementation of Apple's Airplay, it only supports 44.1Khz, that's important to note, because a DAC that doesn't support that rate is going to have weird slowed down or sped up output. Shairport is configured to start automatically in this image. 

 

Step #4. 

Download AOA Service Airplay on Android, $2.99 

There are other Airplay apps but this is the only one that works for this setup with streaming audio. After installing connect your phone to the OpenWRT wifi and open the App, you should be able to connect to a speaker named WinterPlay- Yes I named it after myself. I recommend testing music stored locally on your phone, they should play crystal clear after the initial buffer is established(there might be some stuttering here). If you only care about locally stored music, you can use any AirPlay app/player, if you use a player you don't even need root. 

 

Step #4.5 

Enable Streaming Music

You'll notice above that your data connection is shut off, so you can't access the internet. We're going to fix that with a script that shuts off wifi, manually loads the driver and connects. 3g/4g data is maintained. 

Here it is, BusyBox and root are required. 

# enable dual-networking:
pkill dhcpcd
svc wifi disable
svc data enable
netcfg wlan0 up
cd /data/misc/wifi/.
wpa_supplicant -B -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
dhcpcd wlan0 

# disable dual-networking:
pkill dhcpcd
pkill wpa_supplicant 
rm -rf /data/misc/wifi/wlan0
netcfg wlan0 down
svc wifi disable

 

There are two scripts there, they should be self-explanatory, use the script program of your choice. 

Now, order is important here. Connect to the MR3040, Load AOA and connect to the speaker, then run the script. It should reconnect to the speaker and show your data connection is active. This script is written for the Nexus 4. Load up Pandora or whatever and enjoy streaming music over AirPlay to your shiny USB DAC. 

 

Configuration for an iPhone is much simpler, set a static IP like 192.168.1.254 and erase the Router/DNS/Search Domains. If you can tether the other option is to run your MR3040 in STA/client mode and connect that way. 

 

Notes:

Why can't I just tether the MR3040 to my phone with Android? 

AirPlay uses multicast for discovery, and Android silently drops multicast packets when in tethering mode. Android also drops multicast packets when in WiFi-direct mode. Don't fret though! I'm in communication with the AOA developer, manually connecting by IP is in the works! I'll post instructions once he's done his part and has updated the software. 

 

The script didn't work for XXX Phone?!

That script was written for a Nexus 4, on anything else YMMV, but it's probably solvable if it doesn't work. Google is your friend. 

 

I want the MR3040 to automatically connect to my home/work wifi in client mode when available

Me too, I'm working on it. It's probably going to work best with the V2 router because it has a slide switch that I think I can script to switch between AP and STA mode. 

 

I compiled my own OpenWRT build and the audio is all fubar 

See this blog post for the fix: http://www.vincentgijsen.nl/fixing-poping-noise-on-tp-link-tl-wr703n-router/

 

Pandora sounds kind of bad? 

Pandora sucks. Actually I think the problem is that it uses 64K AAC+ ....if I had to guess I would say it is 22Khz or 32Khz, and it is being resampled to 44.1Khz for AirPlay, the result is....not good. Fortunately you use whatever you want though, 320Kbps Spotify? 

 

Why do I need this?! It's pointless. 

You don't need it then. 

post #2 of 6
Thread Starter 






Some images of the setup. I'll try to post the GO DAP later today if anyone is interested.
post #3 of 6
Thread Starter 
I'm surprised at the lack of interest, maybe this would be better off on the DIY section? Here's a look at the GoDap with the BT dock adapter
post #4 of 6

This definitely has potential, just would be hard to catch on due to the size. What would the smallest size possibility be for a set-up like this? Would there be a chance to be able to make something as small as say a Sansa Clip+ (thicker would be ok) and simply attach the amp/receiver device on the actual headphone so that there are no wires running down the headphone to anywhere and you could simply use your iPhone or other synced device to enable streaming? I'd be interested in trying that with my Ultrasone since there is ample space to attach a contraption on the headband. Could a C&C BH amp (smallest actual good amp I know of) + the smallest wifi receiver possible fit that specification? 

post #5 of 6
Thread Starter 

I'll answer your question but then I'm going to move this to the DIY section and repost it with photos and the OpenWRT bins. I didn't build it to reduce size, except that the USB DAC/AMP is separate from my phone now, which is much more convenient, as well as enabling the use of a USB DAC with a Nexus 4, which is otherwise incompatible without a horrible kludge. If you're OK with bluetooth I've seen a tiny headphone adapter that could be attached right to the headphones with a male to male adapter, but I don't know what the quality would be. The Fiio E7 vs the Nexus onboard is night and day, almost unbelievably better.  

post #6 of 6

Has anyone converted the GO DAP from 30pin to micro USB so i can 

use my samsung Galaxy 3 as the source

 

tia

New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Portable Headphone Amps
Head-Fi.org › Forums › Equipment Forums › Portable Headphone Amps › DIY Wireless Headphone Amps