As the cogs move pass the Hall device, the strength of the
magnetic field is greatly enhanced causing an increase in the Hall voltage. The
device can be used to measure linear as well as rotational position or speed and
can also be used as a limit switch.