

When the program has been downloaded into the arduino, so, I see the serial monitor, and I don't understand, why the rotary encoder always count up when I rotate to different direction, If I rotate to the right, it will count up, and if I rotate to the left, it will give a same thing.

Serial.print("Index:") Serial.print(encoder0Pos, DEC) Check each second for change in position The supply voltage on most encoder models is 4.5 5.5VDC, or 10 30VDC. I have programmed it with this code, This code I got from this link: RS422 differential outputs provide excellent noise immunity, the ability to use long cable lengths, and fast signal response. The model of rotary encoder is E50S8-3600-3-T-24, This is a combination of sinking and sourcing outputs. The second output type is push-pull or totem-pole type of output circuit. An encoder should have differential line drive outputs when the receiving device is set up to receive differential signals.

Hi guys, I have problem when reading rotary encoder with arduino UNO, I have Autonic rotary encoder series, and it is totem-pole type. Differential line driver also meets RS-422 standards when operated at 5 VDC.
