Compact I/O modules for harsh conditions