Hi,
I've run into this a few times, and I'm wondering how the experts do it. I'm constantly mounting things a few inches away from the board. A line of LEDs that mount in the enclosure, a hall effect switch that needs to be close the the surface of the enclosure, a power jack that is on a different side of the enclosure than the board, etc.
Right now, I'm cutting up a protoboard into small pieces. For example, I'll cut protoboard into a piece that is 2x2 so I can fit an LED and a header on it. Then I run jumper wires between that small "satellite" board and the main board. A couple of times, I've also just soldered hookup wire to the LED leads and soldered them to the main board on the other side.
What's the "right" way to do this kind of stuff?
Thanks,
Ryan