Unstable NPN switch circuitry

I don't understand the relationship of this schematic to the Ublox you described in the first post.

If you use a ground symbol then that's assumed to be system ground. All grounds connect to that. In particular, all of the pins labelled GND on the ATMEGA328 must all be connected to the SAME ground. You should not attempt to operate the chip with one ground floating.