Dear All,
Am using 1024 resolution, Gray code, positive for CW rotation, npn configuration, 5 V power supply Autonics made absolute rotary encoder. Arduino uno board I/O pins are connected to pull-up resistance. Encoder is powered through 5V DC supply from arduino uno board.
Problem:
The sequence which am getting in gray code is 000, 001, 011, 010, 110, 111, 1111.
The last data is erroneous as it should be 101 instead of 1111 as per gray code. Plz help us where we are going wrong.
Looking forward for valuable replies..
"Almost" Good Answers: