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

Tutorial SMC3 Arduino 3DOF Motor Driver and Windows Utilities

Discussion in 'SimTools compatible interfaces' started by RufusDufus, Dec 1, 2013.

  1. Doomak

    Doomak New Member

    Joined:
    Thursday
    Messages:
    2
    Balance:
    22Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi all) I'm using SMC3_v2.1_SoftStart_Sebastian2, 2DOF UNO + BTS7960. SimHUB/ I have a problem when I quickly turn the steering wheel left right left right, one of the engines shuts off while simulating a car roll... and the second one continues to work. Where should I look for the error? in software configuration? in the firmware? or is there a bad contact in the wiring?
  2. Joe Cortexian

    Joe Cortexian Active Member Gold Contributor

    Joined:
    Sep 8, 2021
    Messages:
    188
    Balance:
    1,123Coins
    Ratings:
    +45 / 0 / -0
    My Motion Simulator:
    3DOF
    Is it always the same motor? Does it come back on when you turn the. Or or power supply off and on?
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,705
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    151,875Coins
    Ratings:
    +11,060 / 56 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    That could be a USB disconnect, a PSU tripping out, poor settings, or some combination. It would help if you start a thread of your own and detail your rig plus all harware, both in description and pictures, and post pictures of all of your settings.
  4. Doomak

    Doomak New Member

    Joined:
    Thursday
    Messages:
    2
    Balance:
    22Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF
    if I press stop in SimHUB and press play again, I make it seem like I'm restarting (without disconnecting the USB), then the engine is working fine. And sometimes the engine freezes out of the central position, the green line is not in the center, if I turn the potentiometer, the lever moves, but the center is not in the zero position... it's not related to electronics, it's something in the firmware or settings, I guess..
  5. Joe Cortexian

    Joe Cortexian Active Member Gold Contributor

    Joined:
    Sep 8, 2021
    Messages:
    188
    Balance:
    1,123Coins
    Ratings:
    +45 / 0 / -0
    My Motion Simulator:
    3DOF
    Generally the Arduino resets when you reconnect the serial port. You might verify by pressing the Arduino reset button to see if that clears the issue.

    Can you reproduce using SMCUtils? There is a check in the codes which trips if it gets a single unexpected encoder reading. This will turn the motor off and you can see that in the SMCUtils screen. I had that problem with a generic Arduino. Noise on the sensor input could also cause this.

    Another possibility is that the ibt-2 or PSU has shut off due to momentary overload or glitch. I have this problem occasionally but it clears when I cut 24v power to the drivers. I have my estop turn off the 24v power so it’s a minor inconvenience. It happens based on how hard I push the limits of the drives. In general reproducing with just SMCUtils makes it easier to debug. I had a similar issue that I could reproduce using the “Motion” pattern even when the drive was disconnected from the rig.