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?
Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html .
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Thank you! I burned the pot , I tried with the new one , it is working fine. Shop keeper told me its a normal connection and I thought all pots are the same and that's my mistake.
mano_v:
Thank you! I burned the pot , I tried with the new one , it is working fine. Shop keeper told me its a normal connection and I thought all pots are the same and that's my mistake.
For this form factor of multi-turn panel potentiometers this is the normal layout, the wiper being the back terminal for easy internal construction.
Take your burnt pot apart and have a look.
Also if you look on the pot body you will see the terminal layout with a schematic.
Tom...
PS, Keep the mounting nut, sometime in the future you WILL need it, when a pot is delivered with nut missing...