One year ago I saw a tutorial: Rigging a piston in blender 2.5 created by Jonathan Williamson on cgcookie.com.
The animation is not finished and not perfect, I made it just for fun, rendered one year ago with cycles.
Watch in HD. Here is the Youtube link: