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 Arduino not receiving any serial data from Game Engine.

Discussion in 'New users start here - FAQ' started by Niklas, Oct 14, 2017.

  1. Niklas

    Niklas New Member

    Joined:
    Sep 4, 2017
    Messages:
    5
    Location:
    Sweden
    Balance:
    173Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, SimforceGT
    My Arduino is not receiving any serial data from the Game Engine.
    The Arduino speaks to com5 9600 BPS 8 Data Bit None Parity 1 Stop Bit.
    Ive reinstalled all Windows updates containing .Net Framework via Windows update since .Net no longer can be reinstalled or uninstalled on Windows 10.
    Ive searched the forums for a solution and seem to have tried everything by now.
    What am I doing wrong?

    In Picture:
    My Arduino Serial Monitor should be receiving incoming data but only returns -1
    SimTools_01.png
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,534
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,028Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    In the Interface Settings instead of axis defined like this <Axis1> it is now has designate grouping for a or b for each axis assignment, like this <Axis1a>
  3. Niklas

    Niklas New Member

    Joined:
    Sep 4, 2017
    Messages:
    5
    Location:
    Sweden
    Balance:
    173Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, SimforceGT
    Thanks, I tried that and unfortunately no luck. Nothing changed. Any more suggestion?

    Interface.JPG
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,534
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,028Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  5. Niklas

    Niklas New Member

    Joined:
    Sep 4, 2017
    Messages:
    5
    Location:
    Sweden
    Balance:
    173Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, SimforceGT
    Didn't wanna give up that easy and I found out that I couldn't have a serial connection via Serial Monitor because it came in conflict with Simtools serial connection to the Arduino. I have no idea if this is suppose to work, but it doesn't and Simtools don't warn me that there is a conflict either. I found that out because I tried to make a serial connection via Putty to my Arduino. Putty then complained about a conflict with Simtool.

    So my solution for the debugging problem was to lcd.print the serial data to a display instead.
    In other words, it worked just fine as it was, i just couldn't see the data.