IS Potentiometer needed??


#1

So I was wondering everyones thoughts on this cause I’m pretty new to programming and I was wondering with the V5 motors having their own sensors in them that count rotations are the potentiometer sensors worth it? Are they better than the V5 motors or do you think the V5 motors would suffice?


#2

The v5 motors have internal encoders so you probably won’t need a potentiometer on top of that. Potentiometers also introduce some friction, glitch or break from time to time, and can be affected slightly by humidity. There might be an argument for a potentiometer in some extreme cases, but I can’t think of any normal situations this year where an internal v5 encoder wouldn’t be enough.

Good luck!


#3

Potentiometers can still be useful in the case where the starting position of your V5 motor isn’t going to be consistent and you don’t have time for the program to index it, but you still need to do things based on position. Something like an arm that could start in different positions, but you need to do position control before you can bump it into an indexing limit switch or something of that sort.


#4

In addition to what @John TYler correctly points out, you may also have situations where you get a reset for some reason. Potentiometers retain their readings through a reset. This is just the same issue @John TYler pointed out; I’m adding a note that it could happen accidentally at other times.


#5

How would I program one because when I put one in my code no commands pop up besides


vex::pot

and how do I get the value and stuff like that.


#6

Look under “sensing” and scroll down. You’ll see pot.value() and pot.changed() sitting there.


#7

@callen
I clicked sensing in vex c++ and its not there


#8

You can find it here