I have wired a small circuit that powers a DC motor using a FQP30N06L and a 1N-4001 diode (see attachment). The circuit works, that is increasing the output of Pin 9 increases the motor speed.
I am still wondering if the circuit is correct. Especially the placement of the diode.