Hello
I have been having a problem reading a mechanical encoder.
That is, a mechanical encoder not a normal encoder like on a motor.
I have tried high speed encoder in, that did not really work. Skips or jumps.
I am guessing the signal received from a hand turned encoder knob is not the best signal.
I have written some code to look at the inputs and make decisions if the encoder went right or left
based on inputs and previous inputs. This seems to work best but there are times this is not perfect either.
I have probably spent a week trying several software iterations and different encoders, and different inputs.
Has anyone taken in this type of encoder that worked almost flawlessly ?
I also think scan my also be causing a issue ? Missing inputs ?
Also these encoders come in several types of code output, I prefer a two wire
method, that is useing just two inputs. Don't have enough inputs available to 4 wire gray code.
Any suggestion on code or encoder brand or type would be helpfully.
Mark