Getting 0-9 digits by using potentiometer



hi,

i would like to use analog port of 16f877 to get digits chosen by a
user using potentiometer. First of all i wonder whether such a one-turn
potentiometers are used for that purpose. Generally i have seen dip
switches or BCD switches, however one should use so many pins of pic
for getting a single digit. To make the matter more clear, the user
will choose a number by turning the one-turn potentiometer; lets say it
is "6" and 2.2 V [10111011] obtained by the analog port of the pic. If
that binary that is in the range of "6" a variable in the pic will be
set to 6 [00000110].

It seems pretty easy at first look, but i do not know the reliability
of the system. Does anyone help me in understanding possible failure of
that application ? and have they ever seen a smd one-turn potentiometer
with 10-step resistor [ i mean when you turn it becomes 0 - 1k ohm - 2
ohm - 3 ohm -....10k ohm]

.



Relevant Pages

  • Re: KAS 297B Altitude Preselect question
    ... get a 500 ohm potentiometer across the output and ground and wire the wiper so as to make it the new output line -i.e. ... If you can only fit an inline resistor into the signal line, try several values from say 100 ohm up until you get a suitable (still loud) volume. ...
    (rec.aviation.owning)
  • Re: reducing 12V+ source voltage with a potentiometer
    ... >I would like to reduce the 12V+ source voltage going into computer fans ... >with potentiometers place between the 12V+ and the fan. ... >what Ohm rating potentiometer I need to get could someone please help. ...
    (sci.electronics.design)
  • Re: Treadmill motor/controller Potentiometer?
    ... Radio Shack is probably the easiest place to buy one ... ... and the pot turned all the way counterclockwise is ... Use a simple ohm meter to check it, ... and now need to buy the potentiometer. ...
    (rec.crafts.metalworking)
  • reducing 12V+ source voltage with a potentiometer
    ... I would like to reduce the 12V+ source voltage going into computer fans ... what Ohm rating potentiometer I need to get could someone please help. ...
    (sci.electronics.design)
  • Re: Getting 0-9 digits by using potentiometer
    ... i would like to use analog port of 16f877 to get digits chosen by a ... switches or BCD switches, however one should use so many pins of pic ... will choose a number by turning the one-turn potentiometer; ... logrithmic resistance change as the wiper is moved. ...
    (sci.electronics.misc)