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

Just getting started

Discussion in 'New users start here - FAQ' started by leefromseattle, Apr 7, 2015.

  1. leefromseattle

    leefromseattle New Member

    Joined:
    Apr 6, 2015
    Messages:
    16
    Occupation:
    Programmer
    Location:
    Seattle, WA
    Balance:
    706Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, Arduino, Motion platform, 4DOF, 6DOF
    Well I only have 1 thing driving my desire to learn arduino, and that's motion simulation.

    I work as a game developer doing VR simulation stuff, from the software side, but have no experience with mechanical/electrical engineering whatsoever.

    I sat down this past weekend and nailed down communicating with the arduino uno in real time from the game engine I use, I can turn a potentiometer and twist objects in game, or twist an object in game to rotate a servo arm at a 1 to 1 ratio (rotate airplane model 90 degrees and the servo arm rotates 90 degrees). Blew my mind.

    Now to figure out how to scale the parts from my little micro servos to something that can move weight. I think I'll have to change my design to use linear actuators over servos.
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,520
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,950Coins
    Ratings:
    +10,770 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    That sounds intriguing @leefromseattle, could you post a video of your experiments in action?
    Last edited: Apr 7, 2015
  3. leefromseattle

    leefromseattle New Member

    Joined:
    Apr 6, 2015
    Messages:
    16
    Occupation:
    Programmer
    Location:
    Seattle, WA
    Balance:
    706Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, Arduino, Motion platform, 4DOF, 6DOF
    After 5 posts, making a vid now.

    I'm using the firmata example sketch only and can send commands from C#. The game engine (Unity 3d) also allows for easy UI creation to interact with the different pins.
    • Like Like x 1
  4. leefromseattle

    leefromseattle New Member

    Joined:
    Apr 6, 2015
    Messages:
    16
    Occupation:
    Programmer
    Location:
    Seattle, WA
    Balance:
    706Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, Arduino, Motion platform, 4DOF, 6DOF
    Only have 1 servo, I ordered more yesterday and now waiting. Even stopped by radio shack on the way home hoping to find one but they didn't have any. Apparently the one I have only has 180 rotation not full 360.

    Simple example:
    In C# I just made a script that grabs the rotation (z axis) of the object it's attached to, clamps it to between 0 - 180 (because thats all my servo supports) and tells pin 9 the integer value in degrees.
    Code:
    void FixedUpdate(){ //Update gets called 30 - 60 times per second
                int num = Mathf.FloorToInt(transform.eulerAngles.z); //Make it an int
                num = Mathf.Clamp(num, 0, 180); //Only allow values 0 - 180
                arduino.analogWrite(pin, num); //turn servo
            }
    There is a free "car race" tutorial from Unity game engine that gives you a track, car, and controls you can race around it with mouse/keyboard. You can build it as is. Might be interesting for some of you guys to be able to tie your simulator into your own game. Warning, it's addicting.
    • Like Like x 3
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,520
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,950Coins
    Ratings:
    +10,770 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I am guessing you have some specific use cases in mind. Have you had a play with SimTools and the game plugin system yet?
    • Like Like x 1
  6. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,234
    Location:
    Marseille - FRANCE
    Balance:
    20,888Coins
    Ratings:
    +2,083 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    What is your budget?

    DC motors can do the job:
    - rotation like joyrider design
    - translation Frex-like design (see below)

    01.gif

    Nice achievement between Unity and Arduino :)
  7. leefromseattle

    leefromseattle New Member

    Joined:
    Apr 6, 2015
    Messages:
    16
    Occupation:
    Programmer
    Location:
    Seattle, WA
    Balance:
    706Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, Arduino, Motion platform, 4DOF, 6DOF
    Budget depends on the design really.

    Do you have any idea what motors these types of units use? Are those gear boxes on them? Do they cost $500, $1000, each, ballpark?


    The thing I like about the motion platforms is the size, I could take this somewhere relatively easy and mount whatever type of chair to it.

    I'd pay $5k+ if I could make something like this... (would hire a welding shop to make the frame/mounts)
    Go to end of vid to see in action.




    But reality is, I'd be plenty happy with a joyrider lol.. My original idea was to get a hammock and rock it in 2 directions.
  8. leefromseattle

    leefromseattle New Member

    Joined:
    Apr 6, 2015
    Messages:
    16
    Occupation:
    Programmer
    Location:
    Seattle, WA
    Balance:
    706Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, Arduino, Motion platform, 4DOF, 6DOF
    Wouldn't let me post pics in last post with the vids:

    I'd pay $5k+ for something like this... not sure what it would cost to fabricate at a welding shop, but I would pay $5k happily.
    (attached pics, won't let me post them as links)

    This one is using only 2 motors with a chain/belt to spin it. If the frame is balanced, I wonder how much power it would take...
    sim2.jpg sim1.jpg
  9. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Minimum $5k and the rest, in parts.
    It would use powerful AC motors.
    • Agree Agree x 1
  10. leefromseattle

    leefromseattle New Member

    Joined:
    Apr 6, 2015
    Messages:
    16
    Occupation:
    Programmer
    Location:
    Seattle, WA
    Balance:
    706Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, Arduino, Motion platform, 4DOF, 6DOF
    Yeah I'm starting to figure it's a bit too ambitious to go after 360 rotation without more like $15k. Looking around they cost like $30k min. I'll start with something simple.

    My very first idea for a motion sim was to buy one of these chairs (image below) and rock it forward/back and left/right with a couple actuators.

    Otherwise one of those motion platforms with 3 motors, what do you think it would cost for 3 motors that can move a platform with 300 - 500lbs?

    71E9hIsbTeL._SL1500_.jpg
  11. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    would that be a 3 dof (2 dof with extra drift frame under it)
    or 3 DOF with 3 motors lifting up?
  12. leefromseattle

    leefromseattle New Member

    Joined:
    Apr 6, 2015
    Messages:
    16
    Occupation:
    Programmer
    Location:
    Seattle, WA
    Balance:
    706Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, Arduino, Motion platform, 4DOF, 6DOF
    Still thinking of designs. I finally received my servos I ordered last weekend when I got home today.

    This is what I've prototyped so far this evening:



    I wonder if I just recreated this design for human scale, 3 super beefy AC motors, can I get enough leverage to move a single person in the manner shown above? Then I just need 2 joints and 3 motors, whatever they cost. Or would a mix of linear actuator for tilting and servo for the rotation be best?
  13. 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
    Hi, I love tinkering as well, but if you really want to build a sim that you can sit in, then unfortunately what you have does not scale up well at all without quite a few- $$$. Don't re-invent the wheel, there are plenty of low cost sim designs/software to look at/download on this site.
    • Agree Agree x 2
  14. leefromseattle

    leefromseattle New Member

    Joined:
    Apr 6, 2015
    Messages:
    16
    Occupation:
    Programmer
    Location:
    Seattle, WA
    Balance:
    706Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, Arduino, Motion platform, 4DOF, 6DOF
    Yeah I'm looking around and learning. Just saw Bsft's thread on the 2 dof chair and it's absolutely perfect, doesn't take up a lot of space and cost effective. Thanks a lot for the parts list and such Bsft. http://www.xsimulator.net/community/marketplace/desk-racer-2-dof.91/

    Also ordered a heart rate sensor and want to speed/slow a game's speed based on heart rate. So as your heart beats faster the global time scale increases so everything is in fast forward and ramp up visuals. Might be fun.
    • Like Like x 1
    • Creative Creative x 1
  15. leefromseattle

    leefromseattle New Member

    Joined:
    Apr 6, 2015
    Messages:
    16
    Occupation:
    Programmer
    Location:
    Seattle, WA
    Balance:
    706Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, Arduino, Motion platform, 4DOF, 6DOF
    Well someone else is able to make the 3 motors spin exactly as my prototype:




    Are those motors $10k each? More? Less?
  16. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,520
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,950Coins
    Ratings:
    +10,770 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 1