I am the n00bist of n00bs please excuse me if this is stupid. I have scoured forums and can't find anything.
As a stepping stone to a more complicated project, I'm trying to set up a 10k potentiometer with my UNO rev 3 as specified in the AnalogRead/serial write tutorial, which is here:
http://arduino.cc/en/Tutorial/AnalogReadSerialI have the two outer pins connected to +5 and GND respectively, and the wiper connected to analog 0. When I execute the code and view the serial read in the IDE, the numbers displayed jump around randomly and never stay the same for two consecutive reads. Unless there is some crazy algorithm going on, it looks like turning the knob on the pot has zero impact whatsoever on the serial read. Any suggestions? I'm at a loss. I haven't found my problem anywhere online.
Thanks a ton. And sorry if I'm being lame. Please call me out if I could have found the answer somewhere else.