How to protect electronic components by enclosures