Automatic Headphone Socket Sofa HackDan
I often prefer wearing headphones instead of using my home cinema speakers, especially when listening to music. As an audiophile I don’t much care for wireless headphones. I want to feel like I’m getting the best quality audio that I can and there is no better way than a wired connection. Using wired headphones avoids needing batteries or relying on wireless technology that could be hindering the audio quality.
I have a pair of Audio-Technica ATH-M50 studio monitor headphones. These are amazing sounding headphones, especially for music. I decided to integrate a wired automatic headphone socket into my home cinema recliner sofa. Allowing me to store the headphones in the console of the sofa and switch to them without the need to get-up and run the cable across the room to the AV receiver.
Not that Simple
The problem is integrating the headphone port to the AVR (AV receiver). Like most devices my AVR (SONY STR-DG820) automatically switches to headphones when they’re plugged into the front headphone port. This is a mechanical switching operation by the headphone jack itself. Some newer devices will detect the impedance of the headphones before switching-over but my AVR does not. This means a standard headphone extension cable would switch the AVR to headphone mode even without headphones on the end, so that’s ruled out.
I took apart my AVR to figure-out exactly how the headphone jack operates. I determined it uses a switched headphone jack with integral “normalling” contacts. The type used in my case is 2x switching stereo (4th diagram below).
The headphone jack is linked in a normally-closed arrangement to a relay on the AVRs main PCB. The switch is opened when the headphones are inserted into the jack. This means it’s a relitively simple modification to add an external headphone socket and retain the automatic operation by connecting them in the same manor. Excellent!
Modding the AVR
I did not want to render the front headphone socket on the AVR unusable, so I decided to add a switch onto the back of the AVR to swap between front and extension headphone mode. Both ports are connected simultaneously in parallel, but only one of them can actuate the automatic switching when a plug is inserted. This also means I can manually swap between headphones and main speakers without the need to actually unplug them from the sofa; if I so desire.
It is possible to connect multiple switching headphone jacks without a switch, however due to the normally closed nature of the switching the circuit must remain intact for it to work correctly. I want to be able to unplug the switched headphone extension cable from the AVR. Since this would break the circuit a switch is needed to bypass it.
I used 5-pin MIDI style plugs & sockets to form the new extension cable to the sofa headphone socket. Strictly speaking we only need 4-pin: left, right and ground for the stereo audio plus 1 extra pin for the normalling switch. 5-pin MIDI was just the cheapest option at the time so that’s what I used.
This AVR doesn’t really have a whole lot of connections on the back so there’s plenty of space to add new ones. I created a dish shape with masking tape to catch the metal swarf and prevent it from falling into the AVR, drilled-out for both the 5-pin MIDI socket and a rotary-action switch I had left-over from another project. I chose a rotary switch because it seems like the least-likely to be accidentally switched when the AVR is pushed back into the rack-cabinet.
The schematic sketch below shows the existing switched headphone jack (left), the connection for the normalling cable back to the AVR main PCB (bottom middle), the new headphone jack (right) and the switch in-between.
I cut the normalling cable from the main PCB and soldered it to the new switch instead. Both the existing and new headphone sockets normalling connections are connected to this switch. The audio connections are simply connected together in a Y-splitter configuration.
With the rotary switch in the first position the front headphone socket works as normal. When the switch is moved to the other position the extension headphone socket takes-over switching. In the event that no headphones are plugged into the extension socket, or if the extension cable is not plugged into the AVR, the main speakers will be used instead.
New Headphone Socket
The new headphone socket to be installed into the sofa also needs to have normalling contacts. The T-638JS is a 9-pin 6.35mm panel mount socket, with two separate changeover switching contacts. We only need one normally-closed switch but these were priced the same as the others so I figured why not; I may want the other contacts for something in the future. The T-637S would also work for this project.
I used an off-cut of 40 x 3mm mild-steel flat bar to make a mounting bracket for the new headphone socket to be installed into the sofa, plus another to mount the MIDI socket.
Modding the Sofa
Before I could put-together the connectors for the sofa I had to figure-out where to put them. With the sofa turned over I discovered the base for the console storage compartment is removable with just 4 screws, so that makes things a little easier.
The MIDI socket can go anywhere really. It doesn’t matter if it’s upside down because I’m using locking MIDI plugs so they can’t fall out or come loose.
The headphone socket needs to be mounted at a right angle to avoid crap falling into it, so this means reaching down into the console and drilling through into the console storage compartment.
The sofa storage compartment sides are made out of 1mm plywood of some type, far too thin to mount the headphone jack to directly. This is where the steel bracket comes in. My impact driver with a Dewalt right-angle drill attachment was able to just fit into the tight space to mount the bracket. Although I did have to mount it on one side, not that it matters really.
With the bracket mounted I was able to use it as a guide to drill through into the console storage compartment. The ply was so thin I managed to drill it by just turning the drill bit with my hand.
Making-up the Cables
With the locations for both sofa connectors figured-out I started making-up the connecting cable.
Both of these connectors are meant for use inside enclosures, so they don’t offer any type of outer shielding for the solder connections. I wrapped both connectors with aluminium foil tape as a make-shift shield, making sure they make contact with ground.
Since I needed an extra wire for the normalling switch, I used multi-channel audio cable to create the extension cable between the AVR and the sofa.
I didn’t get any photos when installing the cable under the carpet, but it was quite simple to do. I pulled back the carpet and cut a slot out of the PU foam underlay and gripper, fed the cable through the slot and taped over it. This is about the largest cable I think could be hidden in this way, anything larger and it would become noticeable when walking over.
I left the cable long enough so the sofa can be tipped over with it plugged-in, since it is quite difficult to unplug with the locking spring holding it.
The additional wiring shown in these photos is for a wireless transmitter modification; linked to my home automation controller (see here).
Once the extension cable was connected at both ends, the headphone socket worked perfectly.
Now I can switch to headphones easily, without the need to run the cable across the room, or even get out of my seat.
For those wondering why I only installed one headphone socket, it’s just to make it easier to swap back & forth. If I had two headphone sockets I would have to unplug both headphones to swap back to the main speakers. It makes more sense to use a headphone splitter instead.