[sdiy] Incremental encoder to up / down counter or pots and an ADC

Vladimir Pantelic vladoman at gmail.com
Sat Dec 3 11:00:24 CET 2016


On 03.12.2016 09:49, rsdio at audiobanshee.com wrote:

> Note that modern products with encoders have a problem where rapid turns in
> one direction can appear to be a slower turn in the opposite direction.
> That's because quadrature has only four states, and if the CPU misses a
> single state then it becomes impossible to determine which direction the
> encoder was turned. One solution to this is an encoder with more than four

that depends a bit on the encoder used. with some encoders you have a full 
4-state transition between detents, so you can have a state machine that will 
only output an up or down after all 4 state transitions in the right order. when 
you turn the knob too fast it will simply not output steps at all.



More information about the Synth-diy mailing list