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

simulador 2dof arduino inicio

Discussion in 'SimTools compatible interfaces' started by Claudemir, Nov 22, 2013.

  1. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,649Coins
    Ratings:
    +1,009 / 9 / -1
    It looks like you missed the change to baud rate that was made in v0.6 and above. SMC3 now runs at 500k baud. If you set Simtools to 500k baud then the game engine should connect to the Arduino. (Make sure you shutdown windows SMC3utils first as only one program can use the comm port at a time)

    I see in one of the screenshots you are trying to use UDP pass thru mode....

    Please note: Simtools can control the Arduino either directly via the comm port (normal setup) OR indirectly via SMC3Utils using a Network UDP port (UDP pass Thru) - this is because only one program can use the comm port at a time.

    To use UDP mode you have to disable the comm port in Simtools and setup a Network UDP interface instead.
  2. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    how to set Simtools to 500k transmission?
  3. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,649Coins
    Ratings:
    +1,009 / 9 / -1
    baud.JPG
    • Like Like x 1
  4. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    RufusDufus okay?
    Apply to transmission over 500k is not safe!
    When I open the Simtools applicable to Bits blank.

    And also in (Amount of Axis To Use) engines begin to move starting from 43%! and have as few movements in roll and pitch. why?

    Attached Files:

    • 2.jpg
      2.jpg
      File size:
      151.8 KB
      Views:
      709
    • 3.jpg
      3.jpg
      File size:
      135.2 KB
      Views:
      719
    • 1.jpg
      1.jpg
      File size:
      140 KB
      Views:
      717
  5. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,649Coins
    Ratings:
    +1,009 / 9 / -1
    Don't you have an option for 500000 baud? I think it was added to one of the more recent versions of Simtools, are you running the latest version?

    From the chart it looks like you have the PID tuned up quite well.
  6. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,400Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Version 1.1 will give you access to these higher baud rates.
  7. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Yes 500000 contains the option to apply but does not get saved!
  8. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    yeah I'm with simtools version 1.1!
    50000 braud apply but is not saved.
    When I close and open again the game engine the brand is no longer with the value applied to it.
    It's not like I'm saved!
    this value is compatible with the Arduino unoR3?
  9. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,400Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Ok just tested mine and changed the baud rate to 500000 saved , and exited the game engine totally, and reloaded it and presto the baud rate was blank.

    Could someone else please confirm this too. You might have a bug that you can report to Yobuddy, bugger.
    • Like Like x 1
  10. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    yes! that's what happens!
  11. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,166
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,212Coins
    Ratings:
    +5,038 / 16 / -0
    I can confirm the problem and will fix it later today!
    Thanks guy's!
  12. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,166
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,212Coins
    Ratings:
    +5,038 / 16 / -0
    Error fixed! Will be in next release!
    Nice bug find! @Claudemir

    What was the problem?
    The combobox contained "500000 " with a space.
    It saved as "500000" without the space.
    It then could not match "500000" to "500000 " because of the space.
    Space Removed!
    • Like Like x 4
    • Informative Informative x 1
  13. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    continue with the same problem as post # 58!
    The engines do not simulate braking and reacceleration.
    Roll and Pitch are moving to late. is it my settings?
    You would have a SMC3utils, simtools configured so that I can test?
    So I know if I have something wrong with my settings or my computer.
    For what I perceive is a delay in responses exp: the motors only comessam to move when I leave the confines of the box.
    But only make lateral movements of strength G (LR)
  14. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,166
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,212Coins
    Ratings:
    +5,038 / 16 / -0
    Please post your Axis Assignments for the game and you interface settings.
    2 screen shots would be great!
    thanks @Claudemir
  15. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,649Coins
    Ratings:
    +1,009 / 9 / -1
    @Claudemir, In addition to posting the screenshots as requested by yobuddy, I would also suggest keeping things as simple as possible to start with. Once you have used Windows SMC3Utils to setup the motor parameters, shut it down and don't use it again until you have a basic setup working with Simtools talking directly to the Arduino SMC3 via the comm port.

    Once you have this working you can add Windows SMC3Utils back in the mix. :cheers
    • Like Like x 1
    • Agree Agree x 1
    • Informative Informative x 1
  16. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Olá amigos?
    Estou de volta com o meu projeto!
    Você analizasem esse vídeo!
    Para ver se você definir tudo certo.
    E o que devo fazer a partir de agora?
  17. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform

    É com grande inclinação, não é?
    E com movimentos bruscos!
    Onde posso melhorar esta configuração?
    • Like Like x 1
  18. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,649Coins
    Ratings:
    +1,009 / 9 / -1
    Hi Claudemir, It looks like you have all of the basics working well. Great work!

    You can adjust the amount of movement (slope) by changing the values in the Simtools tuning center - right click on the Simtools Game Engine icon in the windows tray and select game engine.

    if you REDUCE the values here the motion will INCREASE.
    if you INCREASE the values the motion will DECREASE.

    As a start try doubling the values you have - but basically it comes down to whatever result you like best.

    There is more about the tuning center in the Simtools manual.

    As a final note, I think you may get smoother motion if you increase PWMmax a bit with Windows SMC3Utils. Also reduce the deadzone setting as much as you can.
    • Like Like x 1
    • Informative Informative x 1
  19. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Good morning guys! I'm ready to ride my simulator!
    My doubts!
    Which source to buy my simulator?
    My motors are 24v, at first I only have 2 but I want to use but three hours.
    A stabilizing source with 24v 30A is enough?
  20. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,400Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    What is the stall amps for your motor, a single power supply needs to be at least equal to twice that for 2 motors.
    Plus make sure it has an internal fan , helps for long use.
    • Like Like x 1