Pages: [1]   Go Down
Author Topic: what type pot to use for digital input  (Read 628 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 26
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

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.

Suggestions?

Thanks.
« Last Edit: October 02, 2008, 12:41:43 pm by tr909 » Logged

London
Offline Offline
Tesla Member
***
Karma: 10
Posts: 6255
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 26
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

London
Offline Offline
Tesla Member
***
Karma: 10
Posts: 6255
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: