I've developed a simple sensor board based on the Attiny84a microcontroller which is able to communicate over a serial connection. I'm using an arduino bootloader and the SoftwareSerial library on pins 5 (RX) and 3 (TX).
I would like to be able to keep the serial line attached while power cycling the sensor. But it seems that the Attiny84 is powered through the RX line of the Serial connection, which is pulled high by the other communication partner.
It seems the RX line is pulled to 3.4 volts when nothing is attached and I can measure 1.4V across the Attiny84's Vcc and GND pins when the serial line is attached. Apparently that is sufficient to turn it on, since my debug LED starts flashing dimly.
Is there a simple way to keep the Attiny84 off even when the serial cable is attached?