Download the free project files of my tutorial on how to rig gears in Blender.
The gears are rigged with the transformation object constraint.
Contents:
Finished Rigged Gears Blender File
Tutorial
To learn how to create this yourself and learn how to rig gears, you can watch the tutorial with the video preview.