IS Potentiometer needed??

  1. 2 months ago

    abennett5139

    Sep 14 Concord, NC 5139

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

    Sep 14 Braintree, MA, USA

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

    Sep 15 Concord, NC 5139

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

    Sep 15 Braintree, MA, USA

    Look under "sensing" and scroll down. You'll see pot.value() and pot.changed() sitting there.

  7. abennett5139

    Sep 15 Concord, NC 5139
    Edited 2 months ago by abennett5139

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

  8. eggplant

    Sep 15 Wisconsin 9144D

    You can find it here

 

or Sign Up to reply!