SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By jtinsman
#198771
I'm playing with the SIK 4.0 and I'm having a strange problem with Circuit_1B-Potentiometer. I have wired it up as in the diagram and the analogRead on A0 always returns 0.

Any thoughts on what could be happening? I've even tried replacing the potentiometer in the kit with another one I had and I get the same problem.

Regards,
Jim Tinsman
By sterretje
#198773
On a regular basis, I confuse A0 and A5; maybe the case for you as well?

Tests that can be done:
First disconnect potentiometer
Next test each of the below.
1) Connect A0 to 5V and run your sketch. Result?
2) Connect A0 to 3.3.V and run your sketch. Result?
3) Connect A0 to GND and run your sketch. Result?

You should have readings of 1023, around 660 and 0 respectively.