Using Hall element, place a magnet on the shaft and measure the rotating speed.
The 3-axis is coated with semi-reflective and semi-non-reflective film, and the light-emitting tube-photosensitive tube receives, amplifies and shapes it without interference from strong light.
The fan blade is installed on the 4-axis, and the light-emitting tube-photosensitive tube receives, amplifies and shapes it without interference from strong light.
The 5-axis is equipped with a rotary encoder, which can not only know the rotational speed, but also know the angle and direction.