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

Audrino setup

Discussion in 'SimTools DIY Version' started by Harry King, Dec 30, 2016.

  1. Harry King

    Harry King Member

    Joined:
    Apr 6, 2016
    Messages:
    43
    Balance:
    224Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    Need help with setting up and connecting to an audrino uno board. Windows 7 everything is connected but no motor yet just trying to get the board interface to show it is working with the game.
  2. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    Can you give us a bit more info some screen shots of software installed and some pictures of the wiring and motor controllers used?
    • Agree Agree x 1
  3. Harry King

    Harry King Member

    Joined:
    Apr 6, 2016
    Messages:
    43
    Balance:
    224Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    I just have the Audrino running three stepper motor drivers the audrino software installed and it is connecting to com3 under ALL when I load the game of il2 cliffs of dover I am not getting any virtual readout. i have not hooked up any motors just trying to get the audrino at least recognized. do I need to write anything to the audrino so that it recognizes the 3 axises.
  4. Harry King

    Harry King Member

    Joined:
    Apr 6, 2016
    Messages:
    43
    Balance:
    224Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    It says the game is patched. and the free hunt mission has the corresponding cfg for the axises.
  5. Historiker

    Historiker Dramamine Adict Gold Contributor

    Joined:
    Dec 16, 2010
    Messages:
    2,158
    Occupation:
    Retired
    Location:
    Michigan USA
    Balance:
    9,176Coins
    Ratings:
    +2,158 / 19 / -1
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform, 6DOF
    Last edited: Dec 30, 2016
  6. Harry King

    Harry King Member

    Joined:
    Apr 6, 2016
    Messages:
    43
    Balance:
    224Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    Ok been awhile since I posted and went the audrino route but in axis virtual with just the board connect I am not seeing any axis's move. say game is connected.

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      291.8 KB
      Views:
      505
    • 2.jpg
      2.jpg
      File size:
      295.4 KB
      Views:
      529
    • 3.jpg
      3.jpg
      File size:
      273.8 KB
      Views:
      516
    • 4.jpg
      4.jpg
      File size:
      222.6 KB
      Views:
      513
  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,538
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,046Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You need all the hardware connected and I really don't understand your configuration. Your Interface is set up for 6 axis but you are only using 3 in the Axis Assignment.

    Has COD been patched for motion and if so to what patch?
    Last edited: Dec 30, 2016
  8. Harry King

    Harry King Member

    Joined:
    Apr 6, 2016
    Messages:
    43
    Balance:
    224Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    No how do I get it to only 3?
  9. Harry King

    Harry King Member

    Joined:
    Apr 6, 2016
    Messages:
    43
    Balance:
    224Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    PS I was told that I should be able to see the interface with just the board and the game is this not correct?
  10. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,574
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 38 / -0
    My Motion Simulator:
    AC motor, Motion platform
    I'm guessing you are running your own sketch for Arduino, as none of the Simtool compatible sketches available on this site will support steppers. As such your sketch should consist of something like this: A serial interface section to Read/decode the data being sent by simtools - a conversion section to convert/scale the simtools data into something that will properly drive the steppers (use the Arduino stepper library) - a 'homing' section to home the steppers when they first initialise as they are blind to the world (code could integrate with end stop limit switches on your rig).
    • Agree Agree x 2
    Last edited: Dec 30, 2016
  11. Historiker

    Historiker Dramamine Adict Gold Contributor

    Joined:
    Dec 16, 2010
    Messages:
    2,158
    Occupation:
    Retired
    Location:
    Michigan USA
    Balance:
    9,176Coins
    Ratings:
    +2,158 / 19 / -1
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform, 6DOF
    Moved the last several posts from the IL-2 thread to this one. Please try to keep your requests for build information in the same place. It makes it easier for people to help you.
    • Agree Agree x 1
  12. Harry King

    Harry King Member

    Joined:
    Apr 6, 2016
    Messages:
    43
    Balance:
    224Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    The thing that I would like to know is that I can not even get Simtools Virtual Axis to work while flying il2 Cliffs of dover. I should at least see that the game is sending the data to the program and nothing is moving on the sliders. Last are you saying that I need to write a program to get the Audrino to work? This I am not good at coding. My goal was to use steppers high torque to tun the cockpit a full 360 in all directions. Last when I turn on the game: 1 Game manager recognizes it is working and the game is properly patched. I have the .cs file for the corresponding mission, when I start up the mission the Virtual Axis is not showing any movement. Any help with coding the Audrino would be greatly appreciated.
  13. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,538
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,046Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Agree Agree x 1
  14. Harry King

    Harry King Member

    Joined:
    Apr 6, 2016
    Messages:
    43
    Balance:
    224Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    Ok I am struggling here to even test the virtual axis it is turned on and the game manager says the game is running but still no luck. I hook the Audrino to the MB so that it would read the com port and nothing. Tried the live for speed walk through and could not get that on rolling under net. Not sure if 127.0.0.1 and the port is correct. Will try again today but I tried Cliffs of Dover and put in the port on the config file and noting their either. Any help would be greatly appreciated. all my motor controlers get here to run the steppers next week and I would like the game at least connected to the software and showing the movement under Virtual axis.
  15. Harry King

    Harry King Member

    Joined:
    Apr 6, 2016
    Messages:
    43
    Balance:
    224Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    What needs to go into the Interface Settings to test the Virtual Axis's?

    Attached Files:

    • 4.png
      4.png
      File size:
      1.9 MB
      Views:
      587
  16. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,538
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,046Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    The LFS settings for use without a simulator specifically state to use the settings as described, which means Output Type has to be SER, not Net: https://www.xsimulator.net/community/threads/game-engine-exceptions.7080/#post-82208
  17. Historiker

    Historiker Dramamine Adict Gold Contributor

    Joined:
    Dec 16, 2010
    Messages:
    2,158
    Occupation:
    Retired
    Location:
    Michigan USA
    Balance:
    9,176Coins
    Ratings:
    +2,158 / 19 / -1
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform, 6DOF
    Moved from the il2 plugin thread.


    Harry you need to concentrate on getting your system configured correctly. You have a thread going and people are trying to help you here. Please do not post in the game plugin threads about hardware configuration issues. Only post there if you are having problems with the plugin themselves.
    • Agree Agree x 1
  18. Harry King

    Harry King Member

    Joined:
    Apr 6, 2016
    Messages:
    43
    Balance:
    224Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    Ok since I have 2 basic problems one is getting the virtual axis recognized by one lads and then making sure the .cs file is accurate I am posting in the 2 areas that are distinct to my struggle. The gent above is naking sure sumtoola is working in basic mode with lfs and if that works I will go back to vr axis and cliffs and work on getting it rolling. I then will post pics of motor controllers and audrino to finalize dirt axis. I am no programmer and when he started about making a sketch for audrino I will then need more help. Lol
  19. Historiker

    Historiker Dramamine Adict Gold Contributor

    Joined:
    Dec 16, 2010
    Messages:
    2,158
    Occupation:
    Retired
    Location:
    Michigan USA
    Balance:
    9,176Coins
    Ratings:
    +2,158 / 19 / -1
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform, 6DOF
    Please stop posting about this issue in other threads until we get your issues worked out here. It clutters those threads.

    I vaguely remember that sim tools will not receive telemetry until there is a valid interface set up. So the issue is, in my opinion, not related to the game plugin but rather with your arduino setup (which other have tried to explain to you).
    • Agree Agree x 1
  20. Historiker

    Historiker Dramamine Adict Gold Contributor

    Joined:
    Dec 16, 2010
    Messages:
    2,158
    Occupation:
    Retired
    Location:
    Michigan USA
    Balance:
    9,176Coins
    Ratings:
    +2,158 / 19 / -1
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform, 6DOF
    What you might do is load the smc3 sketch into your arduino for testing purposes. This sketch will not run your steppers but it would allow you to test sim tools with LFS.

    As far as I know, and I might be wrong, but there is no arduino (or any other interface) to control steppers that is compatable with Simtools.