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

Showroom Blame73's 2DOF Seat Mover

Discussion in 'DIY Motion Simulator Projects' started by Blame73, Nov 20, 2014.

  1. p00ky

    p00ky Active Member

    Joined:
    May 4, 2020
    Messages:
    113
    Occupation:
    Self Employed Laser Cutter
    Location:
    Wales
    Balance:
    368Coins
    Ratings:
    +64 / 2 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hey there, I've been a little out fo the loop for a while, so I'm a little rusty on the setup. Blame is always the goto guy in general but......

    mdds30s runing 2 motors with Blames Arduino code.


    So I did some digging & wrote some stuff that doesn't quite match becasue I think I remapped a pin here and there :D

    From what I can gather you need for

    MOTOR 1 (Left)
    IN1 to Arduino Pin 2
    AN1 to Arduino Pin 9
    Encoder pot to Arduino Pin A0

    Motor 2 (Right)
    IN2 to Arduino Pin 4
    AN2 to Arduino Pin10
    Encoder pot to Arduino Pin A01

    I know Blame had done a variant of his controller Arduino code for me & I know we did some later testing but I can't remember what the outcome was.

    Start with what I've said, see if it works & if it doesn't come back.


    MDDS30 Pins (explanation)

    AN2 (Analog/PWM signal for motor RIGHT)
    AN1 (Analog/PWM signal for motor LEFT)

    IN2 (Digital signal (direction) for motor RIGHT)
    IN1 (Digital signal (direction) for motor LEFT, or can be used for Serial mode)

    Arduino Pins
    [​IMG]

    Attached Files:

    Last edited: Jan 23, 2025 at 16:23
  2. Marlon8232

    Marlon8232 New Member

    Joined:
    Sep 14, 2024
    Messages:
    2
    Balance:
    12Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, Arduino, Motion platform
    @p00ky thank you so much, I will certainly try this when I get home! :)
    • Like Like x 1
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,234
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    149,078Coins
    Ratings:
    +10,928 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    What motors are you using?

    To be clear on what you have or have not done, from the instructions: https://www.xsimulator.net/community/threads/blame73s-2dof-seat-mover.6029/page-22#post-198335

    The code needs to be set to Mode 2.

    Wiring:

    CYTRON MD30C >> ARDUINO UNO
    --------- DIR -------- >> ------- PIN 2 -------
    -------- PWM ------- >> ------- PIN 9 ------
    -------- GND ------- >> ------- GND -------

    -------- POT 1 ------ >> ------- A0 -------

    With the appropriate pin settings:
    [​IMG]