I know mechanical speedometers, where the rotating magnet pulls the needle against the force of a spring.
An electronic equivalent supplies not much current, less than you can measure. At least the wire should be replaced by a coil, best with an iron core, to get a higher signal. An electric generator would be the right sensor, an AC (or DC?) motor can be used as well.