How can I fix such thing in a case, or on a proto/veroboard PCB (like the picture below)?
I thought about:
- Glueing: but since the case (including the components) will be moved a lot, it doesn't seem a good way.
- Using tie wraps, in this case it might work because it can be put around the yellow component, but what if I want to use another component that does not have a nice yellow box?
- Using one of the above methods with spacers to prevent contacts with the protoboard.
I don't need a professional solution, but I want a solution that doesn't break or getting loose after being 100 times moved neither.
I asked a similar earlier question. However, this was about a temporary solution, in which I expected components need to be changed/added. However, in this case it's about a fixed/known setup. So I hope that a more professional (or at least 'better') solutions exist.