I am a beginner to relays and Raspberry Pi so please pardon me if my question sounds naive. I am trying to control 4 DC motors using relays and raspberry pi. I have decided to use an external supply for the relay. My doubt is how to connect the external power supply with the relay. I know that connecting the JD-VCC and GND to the external power supply would allow to me power the relay separately but I have also seen videos where the external power supply is directly connected NO pin of each of the relay. Image shown for reference:
Sorry for the poor image quality but the youtube video showing the connection is shown here. I wanted if there is a difference between connection as shown in the image and connecting the supply to JD-VCC and GND. Also which is the best way to do it. Thanks in advance!!