Tachometer

A Lego-motor may be used as a current-generator. Try Juri's lightening vehicle:

Main description
Program 1
Program 2
Tacho-voltage
Rotations
Derivate rotations
Adjusted tacho
Integrate adj. tacho
Compare velocity
Compare distance
Compute 1