I have a 12 V peristaltic pump, Raspberry Pi, computer PSU, And a 4-channel 5 V relay. I have removed the jumper across jdvcc and bcc. My plan is to power the pump with the 12 V rail on my power supply and control the relay with the Raspberry Pi but also have 5 V from the 5 V rail on the PSU to power the relay.
Here is a crude drawing of my plan.
Does this seem correct?
I also looked at this question but it seems the method above is better because there is more isolation? Control 12V pump with Raspberry Pi through relay.