Go Down

Topic: what type pot to use for digital input (Read 1 time) previous topic - next topic


Oct 02, 2008, 07:40 pm Last Edit: Oct 02, 2008, 07:41 pm by tr909 Reason: 1

When using a pot for digital input, what value should I buy?

I have several random ones that I use now and just adjust my code to give a good range. I'm looking to standardize on a particular type.




Presumably you mean analog inputs, I would go for 10k, but 20k or 5k would also work ok.

If you have it connected as a voltage divider (one side on 5v with the slider connected to an analog pin and the other sided ground) you shouldn't need to change your code for any of those values.


Sorry, yes. I meant analog input - basically where i do not care about the electrical properties. I just want to use it to step through values.


10k would be my first choice with 20k a close second

Go Up