Here I'll be using a transistor to control a dc motor. The connections are as shown below.

(image courtesy of itp. The complete tutorial is
here.)
The reading from the potentiometer connected to the analog 0 pin of the arduino controls the dc motor connected to the collector of the transistor.
Here are a couple of pictures of the setup.
