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 I'm a newbie, I need a little push forward.

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by HAZ, May 14, 2023.

  1. HAZ

    HAZ New Member

    Joined:
    Jan 8, 2023
    Messages:
    3
    Balance:
    51Coins
    Ratings:
    +0 / 0 / -0
    I have started my sim simulator project first, and im happy to announce that i did the first steps. (literally) :)

    I made a 4 leg 3DOF sim simulator mini project, to test the software side of my idea about my rig, and i started to solve the problems.
    Now im writing here, to ask a few tips and guidelines where to search for continuing.
    Im a mechanical engineer, and im working in a workshop, so the technical (mechanical) implementing is not so difficult for me, but the software IS. So i decided to test the whole software system before the building.
    As you can see on the pictures below i bought an arduino UNO, and a CNC shield with DRV8825 stepper driver. My goal is a 2PC system, so i put on the bottom a raspberry pi zero too, to provide later the second PC.
    I made a sheetmetal basement for my idea, which contains all the panels i would use, and 4 stepper motors. My first problem was that the motors I ordered and designed to my project is not working with the motor drivers, because the drivers are using higher voltage, that the motor can handle (motors works with 3-5V, driver works 8,2-42V). So for the beginning of the programming, to at least drive a bit a motor, i take a bigger motor for the tests.
    I become very happy when i could start the motor with accelstepper.h with the cnc-shield with my pinout list for the cnc shield.

    Now im stuck a bit, and thats why im writing to here. I need more info to the continuing.
    Could someone help with some arduino code, that starts to communicate with a PC to controll the motors in my layout.
    I have found threads which is processing 3DOF 2DOF projects with arduino and DC motors with H-bridge controll, but i didnt found one, which is similar for my ideas. (3DOF, linear actuator with step/dir stepper motor control by arduino) I'm sure, that there is a bounch of topics with the same problems i have, but im lost a bit i think.
    Is there an available, accessible, written program for arduino to controll 3-4 stepper motor which are in the corners of the rig, and operates the system by this way?

    About my rig layout:
    Im hesitating a bit with 2 types of the layout. Mechanically i think it is better to use 3 "leg" but in life i think a 4 leg layout would be better.
    -So one option is that i already saw on many pictures, that there is 4 individual motor actuator in the 4 corner,
    -and the second idea of mine, that there is 4 motors, but the first two operates as one.
    With this layout i would make a "bridge" in front, and connect the frame on a ball joint in the middle.
    My opinion, by this way would be easier to avoid the instability of the rig.

    So can any one help me for continuing? :)
    Later, when all my setups are tested and working, im considering to start a new thread with the building and the steps of my projets, to share my experiences and documents.

    thank all, levente.

    IMG_3076.jpeg IMG_3077.jpeg IMG_3078.jpeg
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,538
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,046Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I guess I am pointing out the obvious, given you are already experiencing it, but if software is not your strength choosing random hardware that does not have existing code support is going to make for a very long, expensive and frustrating project.

    For the project you have in mind, be it 3 or 4 actuators, using known hardware and available controllers is far easier.

    You can build your own AMC-AASD15A servo powered actuators, as many members here do.

    When it comes to AMC-AASD15A servo controllers there are two primary commercial options, which pretty much makes them plug and play:

    @Thanos: https://www.xsimulator.net/community/threads/amc-aasd15a-servo-controller.13945/

    And Motion4Sim: https://www.xsimulator.net/community/threads/new-6dof-aasd15-servo-motion-controller.15356/

    @knaufinator created a DIY controller, if you really want to follow someone who has already plotted an alternate controller path: https://www.xsimulator.net/communit...ary-stewart-platform.14769/page-2#post-210779

    Don't get me wrong, some others have forged alternate stepper motor powered actuator paths, and done some of the hard yards, for example you can check out existing threads by the likes of @Lebois, and those members can provide insights into how they went about it and what was used, in many cases already documented in existing threads. Use the Enhance by Google search box on the Recent page then filter by Most Recent to find the latest related projects.
    • Like Like x 1
  3. HAZ

    HAZ New Member

    Joined:
    Jan 8, 2023
    Messages:
    3
    Balance:
    51Coins
    Ratings:
    +0 / 0 / -0
    Hello!
    Thank you for the detailed reply!
    I saw a few of @Lebois posts and work later but i didn't pay enough attention i think. Now i started to read his stuffs, seems really usefull. Thanks!
    As i see, many simulator, which i inspired on, works with servo instead of stepper motors. As i compared the stepper motors are in a same price with closed loop driver, but the steppers have a higher torque. Why they use the servo drive instead of stepper motor? Is it faster, or more precise?

    Both are use the step/dir control, so basically i think on arduino side the program could be the same, so now i will continue with @Lebois writings first now, and Ill read the other threads too.
    All in all, thank you for your reply, now i can continue a bit more! :)