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 about mode1/2

Discussion in 'DIY Motion Simulator Projects' started by piedjie, Aug 10, 2022.

  1. piedjie

    piedjie New Member Gold Contributor

    Joined:
    Aug 7, 2022
    Messages:
    26
    Balance:
    79Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I'm currently building my own motion sim based on a trak racer tr8 chassis. 2 wiper motors, hall sensors, land rover U-joint. So far so good.
    I'm struggling with smc3 though. I'm using an arduino and a motor controller from Akozon (DC-5). The motors do turn when the green line is in the middle. They stop after a half turn because the green line shifts under the red line. The pots are wel connected.
    Should I select mode 2 and use a second motor controller for this. I'm confused (and tired from the late nights trying)
    If I turn the pots with my hands I can make the motors change direction.
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,535
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,034Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I have no idea what your control board uses but: https://www.xsimulator.net/communit...3dof-motor-driver-and-windows-utilities.4957/

    MODE1: HIs for boards that have a PWM output pin plus two Motor Direction output pins.

    MODE2: Designed for H-Bridges that require direct drive of Highside and Lowside switch inputs. In this mode one switch is driven as a direction pin and the other with the PWM output however the PWM duty needs to be inverted whenever the motor changes direction with the direction pin. (An alternate approach would be to switch the PWM between inputs as direction changes).
  3. piedjie

    piedjie New Member Gold Contributor

    Joined:
    Aug 7, 2022
    Messages:
    26
    Balance:
    79Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    It has 2 outputs so I guess I should use mode1. Just strange the “green line” shift till the end so it stops the motor. The pots (hall) are reacting. Can I make them less or more sensible?