Real world applications often call for controlling small to medium sized DC motors from digital circuits. For smaller motors it is usually economically infeasible to buy a commercial speed controller as the cost of the controller will far outstrip the cost of the motor itself.
http://www.mcmanis.com/chuck/robotics/projects/servo.html
This section of the stepper tutorial deals with the basic final stage drive circuitry for stepping motors. This circuitry is centered on a single issue, switching the current in each motor winding on and off, and controlling its direction.
http://www.cs.uiowa.edu/~jones/step/circuits.html
The circuit shown above can be used to control a unipolar stepper motor which has FOUR coils (I have swiped it off an old fax machine).
http://www.electronic-circuits-diagrams.com/robotimages/robotckt1.shtml
The code for the servo-pod is very simple, and modifications to suit your specific needs should not be much of a problem. My motto is to keep it simple if at all possible, and always leave plenty of room for expansion.
http://www.rentron.com/PICX5.htm
This H-bridge is easy to build, without any critical components. It is based on the famous and cheap TIP122 and TIP127 power transistors. It have been used on many of our robots and proved to be very versatile and robust.
http://www.ikalogic.com/H_bridge_1.php
Vary the speed of your DC motor with this inexpensive circuit. Gear boxes can be costly and series resistors may cause stalling and overheating. This circuit delivers the voltage to DC motors with pulses and the speed is controlled via pulse-width modulation (PWM). Also see our Bi-Directional DC Motor Controller.
http://www.electronickits.com/kit/complete/motor/ck1400.htm
One problem with the smaller PCB drill machines is that the speed drops rapidly as the load increases. This can be overcome to some extent by increasing the supply voltage, however the off-load speed is then too high.
http://www.web-ee.com/Electronic-Projects/projects/pcb_drill/index.htm
This page features H-Bridge circuits used for controlling direct current motors. Several designs are shown using both CMOS and Bi-Polar power devices.
http://home.cogeco.ca/~rpaisley4/HBridge.html
http://www.spelektroniikka.fi/kuvat/triacd.pdf
http://www.edn.com/article/CA216168.html