A device for enclosing electronics and providing an electrical connection
to the enclosed electronics is provided. The device includes a housing
having alignment and barrier features, and a circuit board having
alignment features and plated through-holes. The circuit board is coupled
to the housing such that the alignment features of the circuit board and
housing are aligned, and such that the barrier features of the housing
are located adjacent the plated through-holes. The device further
includes an epoxy material that at least partially coats the surfaces of
the housing and circuit board. The barrier features separate the plated
through-holes from the epoxy material, such that the epoxy material is
not in contact with the interior surface of the plated through-holes. A
method for enclosing electronics and providing an electrical connection
to the enclosed electronics is also provided.