Quote:
Originally Posted by DELurker
We are looking at doing something like the illustration attached. The fixed resistor is there for the zero resistance case of the pot.
|
If you were using a simple variable resistor, that diagram might be appropriate. But a properly-wired potentiometer always puts the maximum resistance across the power input, and the wiper provides a voltage proportional to its travel from one end to the other.
Just wire one end of the pot to +5, the other end to 0, and the wiper to the analog signal input. All three of those are conveniently provided on the analog input pins.