Atmega 328P powered

Dear all,

Have a nice day

I am planing to design a line follower robot using Atmega328p UA MCU , It has a CH340G USB driver . My robot can be program using Arduino IDE using CH340G as well as ICSP header. The robot is powered by 3 x 3.7v 18650 batter and it has a 7805 regulator for power the MCU

To stop enter battery power to usb power i have used diode to usb power line

my Question is

Is it need to some extra protection to separate battery power and usb power line to connect my robot to laptop using USB while battery is powered

Please advice

Thanks in advanced