I'm trying work with joysticks, but it seems that the read value changes even I'm not touching it.
In theory, the joystick is nothing more than two potentiometers from 0 to 1023.
but I find when I use the analogRead, the center value goes between 470 to 530, and the edge value is like about 40 and 900.
What's the problem? how can I fix it?
this is the joystick I'm working with. http://www.vetco.net/catalog/images/VUPN5940-1.jpg