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 Linear acuador project

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by Rodrigo Baornio, Mar 20, 2017.

  1. Rodrigo Baornio

    Rodrigo Baornio New Member Gold Contributor

    Joined:
    Oct 22, 2016
    Messages:
    18
    Location:
    Brazil
    Balance:
    - 265Coins
    Ratings:
    +6 / 0 / -0
    Hello I currently have a 2dof motion, and I'm starting to develop a linear actuator with stepper motor.

    Already bought some parts:
    3 nema34 9nm @ 4.5A
    3 spindle with pitch 10mm and chestnut
    3 drive tb 6600 50v 5A
    3 48v 7.5A power supply
    1 mega arduino

    The idea would be 2 actuator in the front doing the 6 moves and 1 actuator in the back part in the shaft doing only the movements of heave, pitch and sway.

    I am already manufacturing the mechanical part of the actuators as shown in the attached photo.

    I would like a help from how would that code in arduino for that my idea so that the actuators works with pulse and direction.

    Attached Files:

    • 1.jpeg
      1.jpeg
      File size:
      94 KB
      Views:
      1,075
    • 2.jpeg
      2.jpeg
      File size:
      94.2 KB
      Views:
      1,077
    • 3.jpeg
      3.jpeg
      File size:
      85.4 KB
      Views:
      1,092
    • 4.jpeg
      4.jpeg
      File size:
      152.8 KB
      Views:
      1,024
  2. mariano68

    mariano68 Active Member

    Joined:
    Nov 15, 2014
    Messages:
    577
    Occupation:
    builder contractor
    Location:
    Argentina
    Balance:
    3,338Coins
    Ratings:
    +395 / 2 / -0
    My Motion Simulator:
    2DOF, Arduino, 4DOF
    Check @Bordiin work with steppers and arduino, he already have a Nema actuators based sim, and he is also from Brasil.
    • Agree Agree x 1
  3. Rodrigo Baornio

    Rodrigo Baornio New Member Gold Contributor

    Joined:
    Oct 22, 2016
    Messages:
    18
    Location:
    Brazil
    Balance:
    - 265Coins
    Ratings:
    +6 / 0 / -0
    Thanks Mariano, I tried to talk to him, and due to a contract with a company can not inform me the code, so in case someone here has more information on how to proceed with a step motor code, I'm thinking of using 1 arduino for each Step motor, so that there is no risk of delay in processing, because stepper motor needs many steps per second.
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,533
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,022Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    In that case have a look at @eaorobbie 's comments on Ard/Steppers here: https://www.xsimulator.net/community/threads/arduino-code-for-steppers.5434/

    And @Harry King's code: https://www.xsimulator.net/community/threads/audrino-sketch-to-run-steppers.9458/
    • Informative Informative x 1
  5. Rodrigo Baornio

    Rodrigo Baornio New Member Gold Contributor

    Joined:
    Oct 22, 2016
    Messages:
    18
    Location:
    Brazil
    Balance:
    - 265Coins
    Ratings:
    +6 / 0 / -0
    Hello I returned to the project and follow video of the first tests, then running 30mm up and 30mm down, approximately 125mm / s Now I need to make the communication with the simtools, someone could help me in which the command for the arduino q will read the serial port, and how it receives these values. Of the simtools, as the startup, interface and shutdown. Knowing how I have to receive these signals in arduino, I believe that I can finish the code

    • Like Like x 3
  6. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,897
    Location:
    London
    Balance:
    11,610Coins
    Ratings:
    +458 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    did this project make some progress ? where did you get the ballscrew and motors from ?