Relay connection to arduino via transistor

I'm pretty sure the 5V board output can provide higher current than a digital pin in output mode.
I also think the two gnd output are linked. To be 100% sure I recommend you look at the Arduino board schematics. :slight_smile: