1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Potentiometer question

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by monicamary, Sep 11, 2014.

  1. monicamary

    monicamary Member

    Joined:
    Aug 21, 2014
    Messages:
    49
    Balance:
    299Coins
    Ratings:
    +11 / 0 / -0
    Hi, I am using 12V truck wiper motors, and arduino uno and monster moto shield to control my simulator. It is 2DOF. I do not know about potentiometers and have never used them before. Thus, I am wondering how to connect them to the motors and how to use them correctly. Thanks for your advice in advance.
  2. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    There is a few ways to connect them to the motors , I use big worm gears that have a hollow centre output shaft this allows me to build my own lever then drill out one end to mount the pot into like pictured below.
    A few people use shaft couplers , you can buy them at most hobby rc shops, and some even come with different size holes on them, so one side matches the bolt out of the motor and the other matches the pot.

    Ok a quick crude little lesson on what the pot does, its a variable resistor as you turn it from its min to its max the value (output voltage) increases , turn them the other direction it decreases.
    Like a volume knob on a tv or stero , Now what we use them for is to track(feedback) the exact position the lever is in so that the Jrk,Ard knows what position it is in and then can decide on which direction it needs to turn in, in order to meet the next position command SimTools sends it.

    On cheap pots there is normally a tag to stop them from rotating once mounted , the pin closest to this is normally the Ground pin , and the next one along is the wiper pin (Output Pin) , last pin is normally the Power in Pin (Input Pin). For example if the Input pin is 5v's and the pot is turned half way the Output Pin will have about 2.5v's present on it.
    Most pots have a datasheet which will tell you what each pin is.
    Google can provide a wealth of information.

    There is another connection method that use a strip of plastic , fixed at one end to the pot and the other has a long slot and slips over the end of the lever ( not the centre) and as the lever rises and fall it turns the pot but if the lever does a full 360 degrees (as in motor went mad) it doesn't end up breaking the pot, a positive , but normally doesn't use much of the pots 270 degree rotation, but once setup has produced good results , @bsft cam advise on that he has used them in the past.
  3. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,975Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    • Useful Useful x 2
  4. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    • Like Like x 3
  5. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,975Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Good pic @bsft ! FAQ updated!