Schau doch mal bei diesem Projekt vorbei:

http://www.mikrocontroller.net/articles/Fahrradcomputer