Dual 12V 10A pump controller

Hi

I am trying to control two pumps rated at 12v 10a using an Arduino Mega.

My circuit looks like the attached picture

I am controlling the pumps based on the PWM Output.

My question is, is this the right way to do it.

What wire sizes should I be using?

Thank you

The diode is in the wrong place. It needs to go across the motor terminals, with the banded end connected to +12 V.

You will need to use a logic-level MOSFET with a very low Rdson (100 ampere maximum current rating).

Makes sense now!

Sorry I am really new to this, would be able to point me to the right MOSFET?

Thank you!

N-channel Mosfet

Do not even think about using a breadboard with 10 ampere currents!
All motor and power connections should be made using 12 (or 14 if short) gauge wire and soldered.

You should power the arduino from a separate supply than the pump controller 12V supply.
It would probably be prudent to add in-line fuse holders or panel mount fuse holder and slow blow fuses.