Arduino encoder – What is it and what is it used for?

Encoders are used, among other things.
in industrial machines, everyday devices, robots and many others.
Compatibility with the Arduino platform allows encoders to be easily integrated into a wide range of microcontrollers.