Coating a Lilypad in resin
Is there a reason you want to use resin as opposed to a product made for the purpose?

Conformal coating is what we use in the electronics industry.  One advantage of this is that some types of coating are made to be removable with solvents, which would allow you to modify or repair your board after it was coated.