#Sanity Check on Rotary Encoders

1 messages · Page 1 of 1 (latest)

nimble turtle
#

The pulses-per-revolution specification for a rotary encoder only changes how effectively fast or slow the value you're controlling changes as you rotate the knob, right? So, for example, a 15 PPR encoder would take a full turn to change the underlying control value by 15 of whatever units the sim considered a "click", whereas a 30 PPR encoder will do the same in a half-turn. Do I have this right in my mind?

feral void
#

Yes, but also consider that the per click increments can also be adjusted using Set commands instead of Inc or Dec commands.

hollow canyon
#

that also depends on the type - if it is 2 detents per cycle or 1 detent per cycle

#

so the number of clicks and pulses might not be the same always. Like the most popular dual encoder we have (the alps) is 15PPR but 30 detents

#

and it is 30 clicks and 30 right or left events when you turn a full circle

#

because it is a "2 detents per cycle" encoder

nimble turtle
#

I'm using many of those (of course; who isn't?) but I've never quite understood what's going on with a X PPR, 2X detents. What is the effect of turning the encoder just one click?

hollow canyon
nimble turtle
#

What does the output wave look like on an encoder with same number of detents as pulses?

hollow canyon
#

if I configure them wrong as 1 detent per cycle then I need to turn two clicks to get an event