Caustic Photon Render Pass Posted November 30, 2010 Report Share Posted November 30, 2010 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? Quote Link to comment Share on other sites More sharing options...
Rics Posted December 7, 2010 Report Share Posted December 7, 2010 I've also bougth these encoders, but i've havent tested yet. I hope to test them in the weekend. Quote Link to comment Share on other sites More sharing options...
Rics Posted December 14, 2010 Report Share Posted December 14, 2010 Tested yesterday and i got the behaviour reported on my Btw i'm using the same encoder but the one with pushbutton, PEC11-4015F-S0024 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.