
Quadrature Encoders: Tutorial and OverviewĬaption: Quadrature diagram for encoder signals A and B. You can check out our article about types of encoders for a more detailed discussion, but today we’ll cover with the basics of how an incremental encoder works and how to interface it with an Arduino board. Single output encoders (AKA tachometers) are also available, but they are far less useful as they only indicate how far a shaft has moved, not its direction. This article will focus primarily on incremental encoders, the type of encoder you’ll see most commonly.

Absolute encoders inherently know their angular position. Incremental encoders use a series of pulses in a quadrature arrangement to indicate how far and in what direction a shaft turns.Ģ. potentiometer discussion may help you find your answer.ġ. If you need help deciding between the two, our encoder vs.


If you need something that can spin continuously in either direction, your best bet is a rotary encoder. Potentiometers, which vary resistance based on the knob position, are simpler and often a solid choice, but you can only turn them clockwise or counter-clockwise (so far).
