I posted my dynamo light mechanism on thingiverse. Included are all files plus a readme and wiring diagram.
http://www.thingiverse.com/thing:244865