This is a nice example of scavenging parts from an inkjet printer to make cool stuff. It uses an Arduino and a Motor Shield to control the DC motor. The web site has a lot more information and the source code to get you started.

More about Using a DC motor as a servo with PID control

In the Maker Shed:


MotorShield for Arduino Kit