Box or housing mounted on substrate or PCB