Electronic – Securing a PCB board to a plastic casing – can I just glue the bottom

packagespcb

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:

PCB
https://www.sparkfun.com/products/13303

Plastic box/casing
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!

Best Answer

Finding a glue that reliably adheres to plastics can be difficult. As such you just can't beat good old screws, spacers, and nuts for solid mechanical connection.

In your case, since you want a direct transferral of motion information to the board from the box, I might be inclined to augment the screws with an epoxy filler that fills the bottom of the box and covers the PCB. As a bonus, the PCB will then also be protected from ay sources of moisture, contaminants etc.

BTW: If this is a motion sensor you will want the board attached to what looks like the lid in your picture (The bit on the right) since that has the mounting lugs, assuming you plan on using those. The deeper part of the box would then be the cover.