Forum Rule #1
There will be, at least once a month, a post citing "weird" behaviour of an unconnected pin.
I get it, you know more about electronics than I do.
Now that we've established that, can you say something more useful, or refer me to relevant material?
I found it useful. He said the analog input is floating, and acting like a radio antenna. Connect the other end of the wire to something like GND or some low impedance output.
I described 2 separate issues in my message; with and without a wire connected.
I get that there's some antenna phenomena with a wire connected, but still, why I read 350 when no wire is connected?
jako78:
I described 2 separate issues in my message; with and without a wire connected.
I get that there's some antenna phenomena with a wire connected, but still, why I read 350 when no wire is connected?
Still floating, just a shorter antenna. The internal electronics may "bias" the pin to 350 with a high impedance source. Get something with a lower impedance connected to it, like a 10K pot or voltage ladder.
jako78:
but still, why I read 350 when no wire is connected?
You can regard unconnected inputs as undefined. So for example, I don't know your age. That doesn't mean it is zero. It could be anything. Same with the analog input pin.