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

Linear verses log potentiometer. Why linear?

Discussion in 'Electronic and hardware generally' started by james wheeler, Jan 21, 2016.

  1. james wheeler

    james wheeler Active Member

    Joined:
    Mar 17, 2014
    Messages:
    185
    Balance:
    216Coins
    Ratings:
    +48 / 1 / -0
    My Motion Simulator:
    2DOF, Arduino
    I am having trouble finding the exact pot I want. I am looking for a 10k 22mm+ body with a long solid shaft. However I did find one as a log potentiometer. So what is the difference and why can't I use it?
  2. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,463Coins
    Ratings:
    +3,096 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    The red line is a linear pot. The blue line is an audio taper (log) pot. IMO it seems to be obviously why you can't use log pots. But: The green line is what you get with a 100K audio taper pot with a 12K from the center wiper to the top pin (clockwise pin)
    1060_logpot_1.jpg
    Source
    • Informative Informative x 2
    • Agree Agree x 1
  3. james wheeler

    james wheeler Active Member

    Joined:
    Mar 17, 2014
    Messages:
    185
    Balance:
    216Coins
    Ratings:
    +48 / 1 / -0
    My Motion Simulator:
    2DOF, Arduino
    Nice graph thank.
    I ended up buying a log pot. to see physically what happens. and it works. sort of.
    If one uses a linear pot and finds the center where the motor won't move either way, then switches the outer wires of said put the motor stays still. However with the log it will not. In fact the position on the pot that stop the motors rotation is not center at all but only like 20% into the pots. rotation. so i could controll the Motors direction and even have it stopped but only use the first 40% of the pots total useable area.
    Could the code not be writen to use the center ove the log pot?

    For instance (and i know nothing of coding so bear wih my lamanoligy) If the code is written that on a pot a values for 0-5v , one end to the other, the center stop spot for the motor is 2.5v. ,could it be change to say 3.5v which ( am guessing) is the center of a log pot?
  4. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,237
    Location:
    Marseille - FRANCE
    Balance:
    21,006Coins
    Ratings:
    +2,092 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    the aim of using a potentiometer is to know the position of the lever

    if you use a linear pot, you have a direct relationship between pot value and lever angulation
    pot value = K x lever angulation

    if you use a log potentiometer, you still have a quite simple relationship
    pot value = log ( lever angulation )

    lin_log_action.gif

    but this will induce a very bad behaviour on precision.
    At one end (left), the lever will have to move more to change the output: loss of precision
    At the other end (right), a little move from the lever will induce high change of pot values: noise increasing and peaks of value

    In conclusion, indeed a sim can run with log potentiometers but it will induce a really bad behaviour.
    • Agree Agree x 3
    • Informative Informative x 2
  5. james wheeler

    james wheeler Active Member

    Joined:
    Mar 17, 2014
    Messages:
    185
    Balance:
    216Coins
    Ratings:
    +48 / 1 / -0
    My Motion Simulator:
    2DOF, Arduino
    Great to Hear from you again RacingMat. I was worried about starting anouther sim build not knowing if my old support group were still active.
    I initaly asked about log pots because I was getting some strange reactions from my linear.

    This video explains



    I Had 10k pot in place And switched them to 25k hoping that would solve the issuse. I also replaced the motors and used insilated wires yet still its happening . Has anyone seen this before and how can it be solved?

    My other issue is this maxed out problem as i show in this video.

  6. james wheeler

    james wheeler Active Member

    Joined:
    Mar 17, 2014
    Messages:
    185
    Balance:
    216Coins
    Ratings:
    +48 / 1 / -0
    My Motion Simulator:
    2DOF, Arduino
    I hope there is a easy solution.
    Also I have been absent for a good part of two years. Whats new and exiting here?