Viewing the Arduino Serial Monitor while ATMega328P is powered by batteries
If you want to just use it as a serial port, remove the DTR so it doesn't interfere with the processor reset signal. You also don't need +5V there, just TX, RX, and GND.