You seem to have the Gnd on the sensor connected to the wrong pin,
not the gnd pin.
As regards short circuits, you've already included good protection against
that = all those series Rs in the Arduino I/O lines. I typically use 220-330 ohms
in all my I/O lines.