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

arduino Simulator

Discussion in 'DIY Motion Simulator Projects' started by stowaway, Jan 31, 2012.

  1. stowaway

    stowaway New Member

    Joined:
    Mar 16, 2009
    Messages:
    213
    Location:
    Gold Coast - Australia
    Balance:
    1Coins
    Ratings:
    +0 / 0 / -0
    Has anyone made any attempt to connect X-Sim to An arduino board? (Perhapes some open code and what type of interface was it based on?)
  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
    i use Arduino to control dashboard, works well.
    I have used Arduino hooked to a pololu driver, response from driver wasnt too good, could have been my code, im no programmer. Then put a Monster Moto Shield on which will control 2 12v DC brushed motors to a peak of 30amps, works but still in the stage of testing and refining PID control, alittle above my head but slowly getting there, i use jrks and only started to look at the arduino when a mate requested that i gave it a go. When time frees up i will get back to it.
    At the moment im awaiting chips to build a Shield for the arduino to control 2x 24v Stepper motors, looks promising code finished and work with xsim just awaiting driver chip to arrive from sydney. The local elecronic stores here in Perth,WA, suck the stock stuff all.

    Robbie
    P.S theres a couple of posts here on site but everyone seems to get stuck implementing PID control which is really needed for smooth positioning or it becomes quite jerky.
  3. stowaway

    stowaway New Member

    Joined:
    Mar 16, 2009
    Messages:
    213
    Location:
    Gold Coast - Australia
    Balance:
    1Coins
    Ratings:
    +0 / 0 / -0
    Which interface did you base it off?

    do you havfe any code you can share :) [i understand it may not be perfect but its always good to have a reference]
  4. 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
    all done through uso commands, my code is based on the monster motor driver code plus using my dashboard code bits to read the xsim info. Not too hard to setup just got alittle over me head in implementing pid, Will get back to it once i have my stepper running as pid control is not needed for them and not pot feedback issues to worry about.
  5. intructable

    intructable New Member

    Joined:
    Sep 16, 2011
    Messages:
    10
    Balance:
    14Coins
    Ratings:
    +0 / 0 / -0