Electronic Speed Controller
This is a very basic speed controller, and is still in its infancy. It lacks sophistication, is very easily manipulated by EMFs, has a few quarks, but it proves the theory and gets the job done. You have to start somewhere.In this website include very well documented DIY tutorial on how to build a basic electronic speed controller.
   Electronic Speed Controller for brushed DC motors(ESC)
at tehdevs.net