Playing with thishttps://www.avrfreaks.net/sites/... it has two optical encoders that convert the speed to a voltage. The Y seems spot on If I move the ball up I get a > 2.5 voltage. If I move it down I get < 2.5. For the X going both right and left I get > 2.5. At reset I get 2.5 on both and there is a calibration pin. I do use that pin to center the voltage. I can not figure out why I get a > 2.5 for my X axis. If I take the ball out and just spin the encoders I do get a much smoother response but I still get this strange result.
the Y axis does seem inverted but that may be intentional, I'm not sure.
For implementation I['m using a avr32u4 with the ADC port. I also see the same voltage response on my scope. Just can not for the life of me figure out why the device is doing this. From the tech manual, it claims I should get left and right responses.