Can you tell me the difference between an encoder and a potentiometer ?
As per my knowledge - Potentiometer is a device whose resistance can be varied by the user and an encoder is used code analog data or signal in to digital ..add your valuable comments
A potentiometer is a three-terminal variable resistor. It may be used to select a proportion of the voltage applied across it.
An encoder, I will guess that you refer to a rotary encoder, is a device whose position (degree of rotation) is encoded in digital form so that it may be detected/read by suitable circuitry.