Incremental Encoder Bourns PEC11R-4115F-S0018 18PPR
Rotary encoders can be used similarly to potentiometers. The difference being that an encoder has full rotation without limits (It just goes round and round). They outputgray codeso that you can tell how much and in which direction the encoder has been turned. They're great for navigating menu screens and things like that.