Recommended · for beginners
Raspberry Pi: 8 Channel Relay + External Power Supply Tutorial and Example
Why people recommend it
Used by newcomers as a guide to wiring a relay board to a Raspberry Pi with its own separate 5 V supply, such as a recycled phone charger.
Watch for: One follower's pump stayed off once connected to the relay
In their words
I've connected the Raspberry Pi and the relay according to this tutorial (External Power Supply + to Relay JD-VCC / EPS - to Relay GND / Raspberry Pi 3,3V to Relay VCC / Connected one GPIO pin).
r2rlpi on raspberrypi.stackexchange.com, Jan 2018. CC BY-SA.
I watched this video [video] which is useful for a newbie like me but the power supply has female connections
Stuart Brown on raspberrypi.stackexchange.com, Jan 2019. CC BY-SA.