Arrangements for connecting external electrical signals to mechanical structures inside the package