Very simple configuration of an Arduino controlling a DC motor through a MOSFET.

A MOSFET is a voltage regulator and transistor which allows the Arduino to control the speed of a DC motor. In this Arduino config the DC motor is speed up and stopped by PWM pin 9 of the Arduino.