Good day forum,
I would appreciate it if someone could assist me with the following.
I am using (trying) a Avago AEAT-6600-T16 rotary encoder with an Uno to determine the absolute angle of a shaft that rotates only once a day, but the angle is very important. I’ve never worked with bit shifting before and have found a link on the forum (http://forum.arduino.cc/index.php?topic=156812.0) where “johnwasser” posted some code to get the data from a SSI sensor. I only changed the “BIT_COUNT” to 10 in the code as that is the default on the chip. I’ve not programmed the chip and connected it according to the diagram shown in the Avago Application notes, figure 10 on page 9.
When running the code and viewing the output on the serial monitor I only see the text “Reading: 1023” continuously. I’ve noted that the output changes to “Reading: 0” when I rotate the magnet in a CW direction and back to “Reading: 1023” when turning it CCW. Unfortunately, that is all I get.
Any ideas on how I can “debug” this or determine if the chip is working correctly?
Thanks in advance.