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

Control of three stepper motors

Discussion in 'Electronic and hardware generally' started by Cliff08, Feb 3, 2026 at 03:35.

  1. Cliff08

    Cliff08 New Member

    Joined:
    Yesterday
    Messages:
    1
    Balance:
    16Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    AC motor
    Hello everyone, I have a project that requires three stepper motors (from OYOSTEPPER) and DM542 controllers. I've looked at many websites and GitHub pages, but I'm still a little lost since I'm just starting out.

    My goal is to provide the Teensy with a set of values generated from a graph, allowing the stepper motors to independently perform a precise number of revolutions (outwards or inwards). The three motors must complete a different number of revolutions, but they will stop at their respective positions until the controller receives new parking coordinates. This position information will be generated from external data, processed (possibly with Node-RED), then sent to Teensy 4.1. To start this project, I purchased two expansion boards from Tinde: a GRBLH board and an Arduino-Teensy 4.1 board.

    I chose the GRBLH board because it is similar to my project, both being based on a three axis CNC machine. The main difference is that I don't need to follow any specific procedure...I just position the three motors in a new location for a few minutes or weeks, as needed, then move them to another location and position them again. The speed at which they reach the designated position is not important, but accuracy is essential.

    My question is: where can I find code suitable for this project?

    THANKS !
    Last edited by a moderator: Feb 3, 2026 at 05:18
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    22,017
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    Tasmania, Australia
    Balance:
    153,697Coins
    Ratings:
    +11,148 / 57 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    May I respectfully suggest that predetermining hardware/software, based on other operational criteria, may not be the best approach for an actual motion simulator.

    There are members who have used steppers, and I would highlight @Lebois as doing incredible work in that space, but concurrently note he also ultimately switched to servos: https://www.xsimulator.net/community/threads/my-2dof-with-stepper-motors.13558/

    What I am trying to convey is that by all means please feel free to explore possibilities, but at the same time note that often the most efficient, cost effective and easiest path is following in the path of other brilliant innovative members who have already created mind-blowing DIY motion rigs.