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

SimTools Presets Setting interface output Sim Tool v3

Discussion in 'Game Engine Interface presets' started by Zhang, Mar 13, 2025.

  1. Zhang

    Zhang New Member

    Joined:
    Feb 26, 2025
    Messages:
    7
    Balance:
    12Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    6DOF
    Hi everyone, I'm trying to configure the interface for Arduino with Simtool v3, but I can't find the right syntax to describe the axes in the photos, it's how I set it but it doesn't work, when starting the test, moving the cursors doesn't work. nothing happens.

    I get my Arduino code from 4dof-controller-code-for-arduino-mega-for-aasd-15a-and-similar-driver
  2. Zhang

    Zhang New Member

    Joined:
    Feb 26, 2025
    Messages:
    7
    Balance:
    12Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    6DOF
    企业微信截图_17418517673739.png

    Attached Files:

  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,437
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,267Coins
    Ratings:
    +11,001 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Please see the SMC3 thread for configuration and other details, which should be: https://www.xsimulator.net/communit...3dof-motor-driver-and-windows-utilities.4957/

    Interface Type - Serial

    ComPort = the Arduino ComPort, you can find it in Windows Device Manager.

    BitsPerSec - 500000

    Data Bits - 8

    Parity - None

    Stop Bit -1

    Output Bit Range - 10

    Output Type - Binary

    Interface Output (3DOF example of format) - [A<Axis1a>][B<Axis2a>][C<Axis3a>]

    Please post SimTools v3 specific questions to the dedicated v3 Beta thread: https://www.xsimulator.net/community/threads/simtools-v3-public-beta.17329/
  4. Zhang

    Zhang New Member

    Joined:
    Feb 26, 2025
    Messages:
    7
    Balance:
    12Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    6DOF
    Thank you for your help, but it didn't work. My Arduino MEGA2560 actually works well when connected to FlyPT, using the Interface Output of <255><255>. Theoretically, if the same Interface Output is used, simtools should also work well. Perhaps the issue is not with the interface output.
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,437
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,267Coins
    Ratings:
    +11,001 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    If everything is corrected, as per requirements, perhaps the issue could be that the SMC3 code is specifically written for the Arduino Uno.
  6. Zhang

    Zhang New Member

    Joined:
    Feb 26, 2025
    Messages:
    7
    Balance:
    12Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    6DOF
    I used a packet capturing software to intercept the data sent by FLYPT to an Arduino MEGA2560. The Interface Output is <255><255><Axis1a><Axis2a><Axis3a><Axis4a>. It sends out 10 hexadecimal data points: ff ff 01 ec 01 ec 00 f1 00 f1. This means, besides the initial two <255>, it also includes identifiers 00, 01, 02, 03 before each axis' data. Can simtools send this type of data?
  7. Zhang

    Zhang New Member

    Joined:
    Feb 26, 2025
    Messages:
    7
    Balance:
    12Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    6DOF
    I've figured out the problem. The code I was using for the Arduino MEGA2560 required outputting hexadecimal data preceded by <255><255>, but SimTools seems unable to output <255><255>. So, I've switched to a different Arduino MEGA2560 code. Now, I only need to set the Interface Output as P4<Axis1a><Axis2a><Axis3a><Axis4a>!!