having a two-part housing enclosing a PCB