noob question on pot and short protection

received my Ardunio yesterday and I am going through tutorials :slight_smile:

A dumb question: from this tutorial

if the pot changes the resistance to near zero, isn't that effectively connects the 5v to gnd and would trigger the board to shutdown? or the resistance is still big enough to prevent the short circuit?

Thanks!

if the pot changes the resistance to near zero, isn't that effectively connects the 5v to gnd and would trigger the board to shutdown? or the resistance is still big enough to prevent the short circuit?

No...

As long as the pot is connected correctly, one end of the pot is connected to 5V and the other end is connected to ground. The resistance between 5V and ground is constant, no matter the position of the pot's wiper.

If you accidently connect the wiper to 5V or ground, you can get a short and possibly damage the pot or power supply, etc., (and possibly shut-down the Arduino).

The pot's wiper does "short" the Arduino's analog input to 5V at one end, and to ground at the other end. But, that's OK. The Arudino's inputs are very high impedance (so almost no current flows into or out-of the pin) and the inputs can handle between 0 and +5V.

DVDdoug gave you a perfect answer - no need to add any comments.

That makes sense, thank you!