I am using the Bourns non-detented encoder (PEC11-4020F-N0024), with 24 pulses per revolution.
I find at a 1ms sample frequency, that the encoders are really "jumpy".
When I turn the encoder clockwise very slowly I will see numbers jump, for example: 0,1,2,1,3,4,6,5,6,7,etc I would expect the output to be smooth: 0,1,2,3,4,5,6,7,etc
I have tried using various techniques to reduce this bounce with not much success. One I tried was this:
http://www.kennethkuhn.com/electronics/debounce.c
The integration method he uses seems sound, but I am still getting jumpy output.
Do these encoders have too many PPR? Or are my expectations too high?
Any ideas?