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

Question SMC3 with limited range potentiometers

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by RJ Stausebach, Jan 11, 2022.

  1. RJ Stausebach

    RJ Stausebach Member Gold Contributor

    Joined:
    Jul 9, 2017
    Messages:
    49
    Location:
    Ireland
    Balance:
    287Coins
    Ratings:
    +12 / 0 / -0
    My Motion Simulator:
    Arduino
    I have not found anything on this in the forums so hope someone can point me in the right direction.
    I have set up SMC3 with Mode2 and after some setting up can run two cheap 50N electrical actuators with potentiometers off it. The feedback is limited though and not centred when looking at the graphs in SMC3utils. This is because the potentiometers have a limited turn over the 50mm stroke of the actuators. They run roughly from 3.5kOhm to 6.5kOhm over their full 10kOhm range, so say from 350 to 650 with a center of around 500.
    Is there a way to scale this so I get a full response, eg. the 300 range available gets scaled to 1024 (or 250 as the case might be) in the SMC3 code or elsewhere?
    Also the center actually seems offset to one half, so running at say the quarter top of the graph, not sure why.
    This is the setup:
    upload_2022-1-11_22-25-28.jpeg

    upload_2022-1-11_22-26-6.jpeg
    the graph green line is indicative of the perceived center position of the actuator, at this point it wasn’t running yet so ignore the rest.
  2. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,936
    Location:
    London
    Balance:
    11,844Coins
    Ratings:
    +474 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    how did you fit the pots ?
  3. RJ Stausebach

    RJ Stausebach Member Gold Contributor

    Joined:
    Jul 9, 2017
    Messages:
    49
    Location:
    Ireland
    Balance:
    287Coins
    Ratings:
    +12 / 0 / -0
    My Motion Simulator:
    Arduino
    • Like Like x 1
    Last edited: Jan 12, 2022
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,147
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,577Coins
    Ratings:
    +10,903 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    At 10mm/s they are really, really slow and not really suitable for motion sims, you want at least fifteen times that speed for a direct actuator, or some similar mechanical design multiplication for indirect use: https://www.xsimulator.net/community/faq/speed-needed-for-good-motion.218/
    • Like Like x 1
  5. RJ Stausebach

    RJ Stausebach Member Gold Contributor

    Joined:
    Jul 9, 2017
    Messages:
    49
    Location:
    Ireland
    Balance:
    287Coins
    Ratings:
    +12 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks Noorbeast, sounds like back to the drawing board for me! :think
  6. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,936
    Location:
    London
    Balance:
    11,844Coins
    Ratings:
    +474 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    You might be able to change the gearing to make them faster

    Can you turn the lots by hand to see if the green line moves in smc3 ?
  7. RJ Stausebach

    RJ Stausebach Member Gold Contributor

    Joined:
    Jul 9, 2017
    Messages:
    49
    Location:
    Ireland
    Balance:
    287Coins
    Ratings:
    +12 / 0 / -0
    My Motion Simulator:
    Arduino
    I could get them to run and move the green line but only in part of the top half. I would have liked to have scaled the inputs in SMC3 to react to a full range of movement, something I am sure is possible. You could also change the gearing but changing the program inputs would be a whole lot easier. None of which means much if they are too slow to adequately provide motion simulation…
    • Like Like x 1
  8. Martin Dixon

    Martin Dixon Member

    Joined:
    Nov 19, 2021
    Messages:
    49
    Occupation:
    Sgt HM FORCES
    Location:
    Devizes, Wiltshire
    Balance:
    26Coins
    Ratings:
    +15 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, SCN5, SCN6, SimAxe, Arduino, JRK, Joyrider, SimforceGT, Motion platform, 4DOF, 6DOF
    Thanks for posting this as i was looking into trying this just saved me some money.
  9. RJ Stausebach

    RJ Stausebach Member Gold Contributor

    Joined:
    Jul 9, 2017
    Messages:
    49
    Location:
    Ireland
    Balance:
    287Coins
    Ratings:
    +12 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi Martin, you’re welcome. The ones I have are”high speed” at 40mm/s. Ut as the man said you want at least 150mm/s.
    Anyone looking for a box of 10 off 50mm stroke actuators with pots? :think
  10. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,147
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,577Coins
    Ratings:
    +10,903 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You may want to consider using some for compact electrically controlled adjustable seat, pedal and/or wheel position. Speed does not matter for creature comfort projects ;)
  11. RJ Stausebach

    RJ Stausebach Member Gold Contributor

    Joined:
    Jul 9, 2017
    Messages:
    49
    Location:
    Ireland
    Balance:
    287Coins
    Ratings:
    +12 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks Noorbeast! :thumbs