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 constantly rebooting when connected to USB

Discussion in 'Electronic and hardware generally' started by donottellmywife, Feb 6, 2024.

  1. donottellmywife

    donottellmywife Member Gold Contributor

    Joined:
    Sep 30, 2022
    Messages:
    69
    Occupation:
    Something something tech related
    Location:
    98065
    Balance:
    434Coins
    Ratings:
    +61 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
    I am a little baffled by this one. My 3DoF rig has been performing well but lately I had to reset things to make it work and have the game engine actually connect to the rig.

    The last 2 days I've been unable to actually get the rig to respond to game engine commands and first I brushed it off as likely a USB conflict or overloaded USB bus. I have attempted the following so far with no luck:

    1. Turned off any other devices on the rig
    2. Used a different USB cables
    3. Powered the arduino manually through a power usb adapter and through a PSU
    4. Installed an additional USB expansion board dedicated to the Simtools Arduino
    5. Assigned a different com port
    6. Installed ferrite beads on the USB cables

    The rig boots up fine but it looks like the arduino reboots (my motors drop before going back to the default position) every 5-10 seconds. If I just let the rig boot up without connecting to the computer / USB it actually stays stable and doesn't reboot (i.e. engines don't drop). That seems to rule out a PSU problem and really points at the connection to the computer. Any suggestions?
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,398
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,043Coins
    Ratings:
    +10,993 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  3. donottellmywife

    donottellmywife Member Gold Contributor

    Joined:
    Sep 30, 2022
    Messages:
    69
    Occupation:
    Something something tech related
    Location:
    98065
    Balance:
    434Coins
    Ratings:
    +61 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
    I'm actually using a different controller, not just a different port. I purchased and installed a separate PCI USB controller to exclude this problem.

    Edit: the issue also occurs when the Arduino is the only USB device attached so likely a bus overload isn't happening
    Last edited: Feb 7, 2024
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,398
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,043Coins
    Ratings:
    +10,993 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    If controller, cable and interference can be ruled out then perhaps its time to swap out the Arduino to see if it is the issue.
  5. donottellmywife

    donottellmywife Member Gold Contributor

    Joined:
    Sep 30, 2022
    Messages:
    69
    Occupation:
    Something something tech related
    Location:
    98065
    Balance:
    434Coins
    Ratings:
    +61 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
    It has to be something on the computer. I hooked up an older laptop which has the copy of SMC on it that I tested the rig out with last year an I'm perfectly able to control it. Something is goofy.
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,398
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,043Coins
    Ratings:
    +10,993 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Sounds like you have a USB system bug.