I have a linear encoder (x axis dro from a mill) which has 5000 steps per inch. I've confirmed it a quadrature encoder and i have the pinout correct. When using the encoder library with pins 2 and 3 on an elegoo uno r3, it reads correctly one direction, but in the other direction is vastly undercounts- but oddly, only if im moving it slowly. if i move the encoder head quickly in the problem direction, it counts the steps fairly accurately.
Steps To Reproduce Problem
probably cant since you dont have my specific encoder- unless you have a random chinese import sgc-6 500mm linear encoder
Description
I have a linear encoder (x axis dro from a mill) which has 5000 steps per inch. I've confirmed it a quadrature encoder and i have the pinout correct. When using the encoder library with pins 2 and 3 on an elegoo uno r3, it reads correctly one direction, but in the other direction is vastly undercounts- but oddly, only if im moving it slowly. if i move the encoder head quickly in the problem direction, it counts the steps fairly accurately.
Steps To Reproduce Problem
probably cant since you dont have my specific encoder- unless you have a random chinese import sgc-6 500mm linear encoder
Hardware & Software
Board: Elegoo uno r3 Arduino IDE version: 2.0.3
Arduino Sketch