I have an inertial measurement unit PCB that picks up changes in acceleration. I want to secure it inside a plastic box/casing. The products (and pictures) I want to use are below:
https://www.sparkfun.com/products/13303
https://www.aliexpress.com/item/1-piece-plastic-standard-box-76-35-20mm-2-99-1-38-0-79-inch-box/1439035089.html
(The PCB fits inside easily, it measures about 2.5cm x 2.3cm)
Now it's incredibly important that the PCB - which has the sensor - is very rigid to the plastic box/casing. I want to measure motion of the box as precisely as possible. I'm not sure if using the 2 corner holes with screws/nuts is sufficient as it's only on one side and therefore provides some leeway for the other side to flex slightly.
So I was thinking why not just glue the damn thing? Glue doesn't conduct electrical signals (as far as I know) so that's not an issue. And the part being glued, the PCB, is extremely light, so the holding force need not be too high.
Will this work? If so, what glue/adhesive product should I use? Are there better solutions? This is a hacked-together project, so professionalism isn't the highest priority. Just the requirement that the PCB is very rigidly attached to the bottom half of the plastic case. Thanks for any help!