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

Showroom DIY 3dof Dbox Style Rig with 4 x 750 Watt Linear Actuators 100 mm

Discussion in 'DIY Motion Simulator Projects' started by Ringorumble, May 10, 2018.

  1. Ringorumble

    Ringorumble Active Member

    Joined:
    Jan 20, 2008
    Messages:
    178
    Balance:
    190Coins
    Ratings:
    +48 / 1 / -0
    Here is some Rallycross, Iracing . Daytona Long ...
    Lots of traction loss and roll, Pitch .. heave ... .. perfect for imitating beeing in the car :)


    • Like Like x 1
  2. Scott Vermeyen

    Scott Vermeyen New Member

    Joined:
    May 26, 2018
    Messages:
    1
    Location:
    United States
    Balance:
    7Coins
    Ratings:
    +0 / 0 / -0
    Great stuff, this is exactly what I'm looking at doing as soon as I move into my new property and can stretch my legs. A D-Box style rig that doesn't set me back a mortgage.

    Are there any further resources on the Arduino wiring? That's the one bit I'm not entirely sure of.
  3. Michael Hensen

    Michael Hensen Active Member

    Joined:
    Mar 25, 2014
    Messages:
    166
    Occupation:
    C# Software Engineer
    Location:
    Almere, Netherlands
    Balance:
    748Coins
    Ratings:
    +186 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino, Motion platform
    EDIT: Not read the intro well enough.. it is different!!! my mistake...
    I just leave the question as maybe somebody else reading has an idea..


    Great setup and a real good accomplishment.. !!!

    Can you tell me more about the Arduino code..
    I am running this https://www.xsimulator.net/community/threads/diy-d-box-style-for-vr-3-dof.11524/page-3#post-157101 now.. greatly the same configuration as you are running, although a different closed loop servo stepper and the way the frame is connected is different.. but qua setup nearly the same//

    But I am having a problem with the AccelStepper library.. the acceleration and deceleration gives me a grinding noise due to vibrations when running slow, no matter how high I set it.. I noticed yours are near quite..
    So please can you either share the Arduino code? or otherwise give me pointers on what I can change? A form of acceleration is needed otherwise the overvoltage alarm kicks in in my case..

    Would be really grateful.. right now it is loud beast, not the spindle but the accel/decal giving vibrations!!!
    Last edited: Jun 7, 2018
  4. Ringorumble

    Ringorumble Active Member

    Joined:
    Jan 20, 2008
    Messages:
    178
    Balance:
    190Coins
    Ratings:
    +48 / 1 / -0
    Hi Michael, thanks :)
    All the Kudos go to Saxxon, he did the coding and ... get in contact with him .. i am just a happy guy which has the possibility to use his software and build actuators with his design .. Hopefully in the future more people get the opportunity .. The biggest problem is always that most time if you post it for free some guys rip it and go commercial .. and tell people they invented the seventh world wonder ..
  5. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,574
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 38 / -0
    My Motion Simulator:
    AC motor, Motion platform
    The OP uses a AC servo motor similar to what many use in their DD wheels. Unfortunately not similar in controller/driver requirements to your stepper motor.
  6. saxxon66

    saxxon66 New Member

    Joined:
    Jan 24, 2017
    Messages:
    11
    Location:
    Germany
    Balance:
    323Coins
    Ratings:
    +17 / 0 / -0
    The motor driver we are using is doing all the accel/decel caculation, so so need for a faster Micro controller.

    In your case, a 3.5 teensy could be used.
    There us a great lib, that can drive all of your motors with accel/deccel and many more options up to 300khz.
    Teensy 3.5 is 5v tollerant, so if the 3v is not enough for your setup, you ca go the open drain way.

    It is called TeensyStep.

    https://github.com/luni64/TeensyStep

    Hope that will help you.
    • Informative Informative x 2
    • Winner Winner x 1
  7. Michael Hensen

    Michael Hensen Active Member

    Joined:
    Mar 25, 2014
    Messages:
    166
    Occupation:
    C# Software Engineer
    Location:
    Almere, Netherlands
    Balance:
    748Coins
    Ratings:
    +186 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino, Motion platform
    I have a teensy 3.5 so I will test the driver with a simple program first.. and I will for sure have look around.. Can you tell me what you mean with 'Teensy 3.5 is 5v tollerant, so if the 3v is not enough for your setup, you ca go the open drain way.' ?! I know it is 3.3 out on the PWM and therefor not sure if it would work, I remember I've tried but do a retest..

    Might need to go for some level shifter.. Not really home in the electronics/components part od diy :)
    Last edited: Jun 9, 2018
  8. saxxon66

    saxxon66 New Member

    Joined:
    Jan 24, 2017
    Messages:
    11
    Location:
    Germany
    Balance:
    323Coins
    Ratings:
    +17 / 0 / -0
    Sure, 1st try your current setup. Ground from the controller and current from the output pin 3.3v.
    If your motor is turning, you are good to go. So anything above a certain voltage level, typicaly 2.5v will be seen as high.

    But if not, you can try to supply 5v from an external source and use your pins as input/ground. That is an open drain setup and can work due to the fact that the controller is 5v tollerant. Teensy 3.5 is.
    • Informative Informative x 2
    • Winner Winner x 1
  9. Michael Hensen

    Michael Hensen Active Member

    Joined:
    Mar 25, 2014
    Messages:
    166
    Occupation:
    C# Software Engineer
    Location:
    Almere, Netherlands
    Balance:
    748Coins
    Ratings:
    +186 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino, Motion platform
    All working as expected.. without any tricks or 5v lines.. just straight on the pwm pins.. What a difference this makes.. the sound of the motor is different.. the speed is amazing.. what a power I now have.. I have to downtune everything..
    And this is based on Accelstepper and not TeensyStep.. I have to do some tests with that library as it looks to be better..
    Running all 4 motors on them instead of 2 per Arduino and still have a lot of power left!!
    • Like Like x 2
    • Informative Informative x 1
  10. Ringorumble

    Ringorumble Active Member

    Joined:
    Jan 20, 2008
    Messages:
    178
    Balance:
    190Coins
    Ratings:
    +48 / 1 / -0
    Here are 2 Videos with sideview

    Formel Renault 2.0 / Line Rock / Iracing

    Heave Only


    Heave Surge Pitch Roll TL
  11. Ringorumble

    Ringorumble Active Member

    Joined:
    Jan 20, 2008
    Messages:
    178
    Balance:
    190Coins
    Ratings:
    +48 / 1 / -0
    Had Some fun yesterday witrh lots of movement in the fiesta driving on Lime Rock in Iracing
    First Lap no Game Sound, second with
    • Like Like x 3
  12. AussieSim

    AussieSim Member

    Joined:
    May 3, 2017
    Messages:
    74
    Location:
    Australia
    Balance:
    1,452Coins
    Ratings:
    +35 / 0 / -0
  13. Ringorumble

    Ringorumble Active Member

    Joined:
    Jan 20, 2008
    Messages:
    178
    Balance:
    190Coins
    Ratings:
    +48 / 1 / -0
    If you look at it you will see that they are different .. and no, it is a DIY Project, which will MAYBE be available to more people as time and tests go by :)
  14. Chris Indeherberge

    Chris Indeherberge Designer / dreamer

    Joined:
    Aug 1, 2018
    Messages:
    13
    Occupation:
    Graphics Designer
    Location:
    Belgium
    Balance:
    184Coins
    Ratings:
    +3 / 0 / -0
    Are there any updates about the tests?
  15. Ringorumble

    Ringorumble Active Member

    Joined:
    Jan 20, 2008
    Messages:
    178
    Balance:
    190Coins
    Ratings:
    +48 / 1 / -0
    Yepp, saxxon postet something over in the VR thread mentioned in the comments of my videos ...
  16. RaceRay

    RaceRay Administrator Staff Member SimAxe Beta Tester

    Joined:
    Nov 8, 2006
    Messages:
    4,656
    Occupation:
    Self-employed | Web and application development
    Location:
    Hamburg, Germany
    Balance:
    23,837Coins
    Ratings:
    +1,962 / 13 / -0
    My Motion Simulator:
    2DOF, DC motor, SimAxe, SimforceGT
    Pinned on top of the DIY list. Definitely worth it. Thanks to @noorbeast suggestion
    • Like Like x 1
    • Winner Winner x 1
  17. saxxon66

    saxxon66 New Member

    Joined:
    Jan 24, 2017
    Messages:
    11
    Location:
    Germany
    Balance:
    323Coins
    Ratings:
    +17 / 0 / -0
  18. Ringorumble

    Ringorumble Active Member

    Joined:
    Jan 20, 2008
    Messages:
    178
    Balance:
    190Coins
    Ratings:
    +48 / 1 / -0
    • Like Like x 8
    • Winner Winner x 2
    • Friendly Friendly x 1
  19. misoswan

    misoswan Active Member

    Joined:
    Jun 27, 2014
    Messages:
    286
    Balance:
    1,000Coins
    Ratings:
    +72 / 1 / -0
    My Motion Simulator:
    3DOF, Arduino, JRK
    thanks very much
  20. misoswan

    misoswan Active Member

    Joined:
    Jun 27, 2014
    Messages:
    286
    Balance:
    1,000Coins
    Ratings:
    +72 / 1 / -0
    My Motion Simulator:
    3DOF, Arduino, JRK