Spraying on a varnish or similar may be better. It's called 'conformal coating' in the trade. The wrong resin can stress surface mount components. The preferred stuff for coating is usually acryllic iirc, but I have used ordinary poly varnish. There can be issues if its any kind of radio circuit.