it's the first time I use the arduino and I've connected a membrane potentiometer (http://www.spectrasymbol.com/typo3/site/en/softpotsplash/how-it-works.html
). Ground is connected with one of the outer pins of the poti, 5V with the other outer pin, between this connection ist integrated a resistor of 1KOhm. The middle Pin is connected to Pin 2. Now the Arduino software gives me values from 0 - 500, when I press the potentiometer. But I measurd the voltage at the input Pin and it's 0 - 5 V. So there has to be values in the software from 0 - 1023, or not?
Another problem is that the arduino software gives random values for the case when I'm not pressing down the poti because the circle is open then, and the arduino gets no value. Is there a solution in programming it? (for example: the arduino gives 0, if there is no input).
Thanks for help, sorry for my bad english, I hope you understood my problem,