I'm trying to use the 10 rotation pot(3590s-2-103L) as a feedback to the dc motor for position control. But when I analog-Read the pot, it shows 1023 always even on turning the knob.
pin configs: end pins to 5 V and ground and the middle pin to analog input A0.
I'm using this pot only because it can rotate through 360 degrees which a normal pot won't do.
I also tried cheap rotary encoder but it had only 20 counts per revolution.
1.Can I use this pot? What changes I need to do to get the reading on the range of 0 -1023?
2.or should I go with the one mentioned here :