Analog Read Serial Tutorial Overloading Data

Hello everybody, I recently got started with my Elegoo Arduino Uno and I was using This Tutorial to learn some stuff about Arduino and how I can use it. Its official, so I followed all the instructions. Here is a picture of what I did:


The numbers on the bottom are going at an extremely fast pace, and whenever I turn the knob on the Potentiometer, It stops it for a second, saying that it is disconnected, then it resumes doing that with seemingly no change to the data.
I later realized that I had oriented the Potentiometer wrong, and the data IS indeed changing.
But now it's not changing predictably when I turn the knob -_- .
Is this supposed to happen?

You may have damaged the potentiometer. :frowning: Do you have a multimeter to check it?

"Not connected" implies that you were drawing excess current. That can happen if the pot is not connected correctly.

Oof. Well it seems to be changing in a predictable way now, but its not hitting 0, just the max. And no, I don't think I have one.

Remove the potentiometer, connect one end of a wire to A0. You can connect the other end to GND (should give 0). You can also connect to 3.3V (should give around 675) and to 5V (should give 1023).

Note that cheap potentiometers not always hit the end.

If you wired the pot wrong, the wiper, when close to the 5V connection, will basically create a short on the 5V and therefore your board will switch off. The result will also be that you burn the carbon in the pot away and hence the damage mentioned.

You can not really live without a multimeter in electronics; it's one of the first things that needs to get on the list of things to buy.


Your topic is not indicating a problem with the IDE and hence has been moved to a more suitable location on the forum.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.