Description
A rotary encoder can come in many forms – in this case it is designed as a rotary input like those found in car stereos and other electronics. Unlike a potentiometer, which has a set range, these can be spun continuously in either direction and do not have any internal means of tracking their “position”. Instead, the encoder works by having two slightly offset outputs; depending on which one of these two outputs triggers first you can determine direction of travel. As the encoder is spun you can then increment or decrement a value. This makes a rotary encoder a very versatile input. Initial start values can be set (or loaded from memory), the rate of change per rotation can be manipulated, and they have no set range they have to work within. The encoder sends 24 pules per revolution and there is an integrated tactile button in the encoder which can be activated by pressing the knob.

