I have a plastic ABS project enclosure which I'm trying to figure out how to mount a sensor to the inside of, against a window that will be placed into the enclosure wall so that it looks through the window and is as close to and stable against the window as possible. I'd like to avoid gluing the sensor -- if that's even possible -- for maintenance reasons.
The sensor is a LWIR sensor in a TO-39 can.
I'm trying to avoid soldering wires to its leads so I plan to use a socket with wires soldered to the socket's leads.
The link is a TO-100 socket, but with the appropriate diameter and spacing (though an extra 4 sockets).
My plan is that I'll have the TO-39 can on top of the pictured socket.
How do I "attach" those up against the inside of the window in the plastic enclosure? The enclosure will be outside and waterproof, so I'm trying to avoid putting holes in it which I'd need to seal. Also, the window will be quite small. Thus I prefer to glue something to the inside of the enclosure which surrounds the window.
I'm thinking of something like a z bracket:
But that doesn't seem ideal because:
- the bracket needs to hold the socket somehow.
- bracket needs to be attachable (gluable?) to the enclosure wall
- be somewhat adjustable because it's unlikely that I'll find a bracket the precise number of millimeters to keep the sensor against the window.
- Ideally serviceable in a way that the sensor can be removed
Maybe some sort of bracket glued to the inside of the enclosure but with a rubberband which pulls the sensor toward the window. If I could use 2 or 3 rubberbands then they'd fit through the socket's leads and keep the socket stable?