Quote:
Originally Posted by Qbot2640
Can I install a potentiometer in the manner discussed here without any significant code changes (except perhaps the multiplier and the desired "set point") and read the value just like we're reading the encoder value?
|
Yes, it should be that simple. The one difference between the sensors that you need to worry about is that potentiometers typically have physical limits on how far they travel. If you do get a continuous-travel pot, the "dead zone" at the transition from maximum directly to minimum is usually a significant angle. For your purposes, just make sure the pot is rotated so the normal range of travel is not exceeded.