I am looking for ideas on how to fit a headphone cable (for a mono speaker) onto a PCB and into an enclosure.
Originally I used a 2.5mm audio socket, but this is not robust and will end up breaking as it will be fitted inside a helmet.
So I decided to do away with using a connector and instead hardwire the cable into the enclosure.
I designed the enclosure in CAD which I 3D printed and put a groove in the top and bottom parts of the enclosure to try and clamp the cable.
But this did not clamp the cable enough, so I put some adhesive heatshrink around the cable to act as a stopper if the cable is pulled.
I prefer not to solder wire to PCBs, so I fitted a 2 way terminal block.
But its not a tidy solution so was wondering if anyone has got any thoughts about a more professional, production solution.
The device is compact so there is not much space to play around with.

Originally I used a 2.5mm audio socket, but this is not robust and will end up breaking as it will be fitted inside a helmet.
So I decided to do away with using a connector and instead hardwire the cable into the enclosure.
I designed the enclosure in CAD which I 3D printed and put a groove in the top and bottom parts of the enclosure to try and clamp the cable.
But this did not clamp the cable enough, so I put some adhesive heatshrink around the cable to act as a stopper if the cable is pulled.
I prefer not to solder wire to PCBs, so I fitted a 2 way terminal block.
But its not a tidy solution so was wondering if anyone has got any thoughts about a more professional, production solution.
The device is compact so there is not much space to play around with.


