Hello! I am doing a project and have a pretty generic question.
If I am using 2 pumps (12V DC, 300mA), what do the wiring connections look like with a power supply? (I'm not quite sure what power supply I am using yet)
Also, to control the pumps, do I need a relay module for each?
You need a 12 volt power supply. I suggest 5 Amp capacity or more. That covers a situation when both pumps are started at the same time.
As driver I would use a logic level MOSFET connected between GND and pump -. Pump + connects to 12 volt power supply +.
One 180 Ohm resistor between mosfet gate and controller output. 10 kOhm from gate to GND.
All depends on what you mean by "control" If only on-off, then a module with two relays will work. If you mean speed control as well as on-off, then you need a MOSFET for each motor.
Paul
You can use a relay. But the relay must be driven by a transistor (BJT or MOSFET) anyway*, so why not just control the motor with the transistor. The MOSFET driver is more efficient. A relay will draw current all the time that it is energized. A MOSFET will, briefly, draw a small current only when it is first energized. And you can use PWM to control motor speed with the MOSFET driver. You cannot use PWM on a relay.
*Arduino output can't handle the relay coil current.