Potting or encapsulation is a process of filling a housing with an electronic assembly with a compound that sets after curing, for resistance to shock and vibration, and for exclusion of moisture and corrosive agents. Reed Switch based Magnet Sensors with cables are potted with a flexible two component epoxy to ensure higher shock resistance.
In electronics, potting is a process of filling a complete electronic assembly with a solid or gelatinous compound for high voltage assemblies by excluding gaseous phenomena such as corona discharge, for resistance to shock and vibration, and for the exclusion of water, moisture, or corrosive agents. Thermosetting plastics or silicone rubber gels are often used, though epoxy resins are also very common. Many sites recommend using a potting product to protect sensitive electronic components from impact, vibration, and loose wires.
In the potting process, an electronic assembly is placed inside a mold (i.e. the "pot") which is then filled with an insulating liquid compound that hardens, permanently protecting the assembly. The mold may be part of the finished article and may provide shielding or heat dissipating functions in addition to acting as a mold. When the mold is removed the potted assembly is described as cast.
As an alternative, many circuit board assembly houses coat assemblies with a layer of transparent conformal coating rather than potting. Conformal coating gives most of the benefits of potting, and is lighter and easier to inspect, test, and repair. Conformal coatings can be applied as liquid or condensed from a vapor phase.
When potting a circuit board that uses surface-mount technology, low glass transition temperature (Tg) potting compounds such as polyurethane or silicone may be used, because high Tg potting compounds may break solder bonds through solder fatigue because by hardening at a higher temperature the coating then shrinks as a rigid solid over a larger part of the temperature range thus developing greater force.