How to connect an Arduino to a Pc and an external psu?

The power supply is 5V? Connect its Gnd to the Nano Gnd, and it's 5V supply to the Nano 5V line, and the LED strips in parallel.
There is a diode that prevents the 5V line from backdriving into the USB port, see attached. Do not connect 5V to Vin.

1 Like