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.
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]