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

Static sled to 2 DOF sim.

Discussion in 'DIY Motion Simulator Projects' started by davepeebs, Dec 9, 2013.

  1. davepeebs

    davepeebs New Member

    Joined:
    Nov 11, 2013
    Messages:
    24
    Occupation:
    G.M
    Location:
    Sydney Australia
    Balance:
    619Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Greetings all,
    I built myself a sled style sim a while ago and was very happy with it until I stumbled across this web site.
    Thanks to the generous sharing of knowledge by the members here I am on my way to converting it to a 2 DOF sim.
    My plan is to have the seat, pedals and wheel move but keep the screen static.
    Here is what I started with.
    IMAG0571.jpg
    After reading through many posts by you guys, this is how it is shaping up.
    IMAG0600.jpg IMAG0612.jpg IMAG0613.jpg
    IMAG0615.jpg IMAG0616.jpg IMAG0612.jpg
    Please disregard the blocks of wood holding it level at the moment, this is so I can still use it while the build progresses. GT6 came out last Friday and I was keen to give Bathurst a go.
    The tricky part with my build is that I want to keep as much as possible adjustable. I have 2 young boys 5 and 7 and I want them to be comfortable playing it as well.
    I have the pedals sorted, but the steering length or closeness to the seat will be tricky. With the sled style I could move the seat forward and adjust the steering up or down, anyway I will nut that one out soon.
    I will be running Arduino R3 with Monster Moto board (probably) as I have these already.
    I look forward to loading up your software and trying to figure it all out.
    Does anyone have a wiring diagram or schematic on how to connect the Ard to the Moto? I know they can stack, but do I need to use all of the pins?
    Thanks again guys, you are an inspiration.

    Dave.
    • Like Like x 1
  2. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Hello Dave, nice setup. The motor placement is ok, as long as you are not too heavy a chap, like over 110kg. I have tested my big motors on about 6 different designs for best placement in regards to compactness. If it struggles, you may need to space motors out a bit, but give it a whirl first.
    As for main adjustable for younger kids, been there , done that. My older boy is now 10 but has been my test pilot on all my builds since he was 7. So adjustabilty was the key . Pedal placement was easy and when he was younger I would put the booster seat in, move pedals towards him, no probs.
    I have a mate whom has mounted his seat mover setup on seat rails to make it easy for him to get in and out. So motors, and control boards all in one on rails.
    As for steering adjustable, I made a slider setup on one sim, where as I cut out slider holes in base of steering mount, then made a plate with nuts on it for wingbolts to tighten against. So I can slide it back and forth and tighten to hold into place. So it moves back about 90mm towards the younger driver.
    You can get the Mount Panorama track on GRID2 as DLC. Its awesome.
    Or you can get rfactor and download Bathurst track for free.
    Simtools only runs PC games, so no motion from consoles.
    Go Hard.
    • Like Like x 1
  3. davepeebs

    davepeebs New Member

    Joined:
    Nov 11, 2013
    Messages:
    24
    Occupation:
    G.M
    Location:
    Sydney Australia
    Balance:
    619Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi Dave,
    I just built up a pc for Simtools and the sim and got Grid2, Dirt3 and F1 13 for pc to start with.
    Awesome to know I can get Bathurst for Grid2!
    I will have to get RFactor as well, a mate of mine races every Mon night on there.
    I would have placed the motors a bit further apart but I was lazy and just used a section of the donor golf buggies frame, pretty solid but too close together.
    As you said I will try it out first and change it if it needs it. As i am just over 100kg it may be a problem.
    Dave.
  4. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Give it a run first , It may just do fine. If it works, leave it.
    Bathurst for GRID2 is apparently the same as Forza 5 Track. I heard codemasters worked with the forza team. Motion is good out of GRID2, not the best minor vibration from bumps, say like Race07 , but a great drive. Rest of motion is good.
    As you have Dirt3 and GRID2, Rob and I plus a few others race GRID2 on fridays and saturdays moslty after 10:30pm EST. We also play RACE07 and DIRT3. We use our own paid mumble server.
  5. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,400Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Ok wiring diagram that all depends on whos code you will use.
    Most of the codes show the pin out but few have pretty pictures.
    I recently complete one for RufusDufus code but using a different driver than the moto.
    Select a code to use, and we can discuss the wire up mate.

    And yes welcome to come race, Friday and Saturday nights.
  6. davepeebs

    davepeebs New Member

    Joined:
    Nov 11, 2013
    Messages:
    24
    Occupation:
    G.M
    Location:
    Sydney Australia
    Balance:
    619Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thanks guys, you are both very helpful.
    I didn't realise it depended on which code you use.
    I have down loaded a couple, which would you suggest?
    Stable and user frindly are ideal I guess.
    I read somewhere on here that racingmat's code was good.
    I am open to suggestions.
    Cheers.
  7. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,400Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Well most of the arduino code is not really newbie friendly, or that easy to use, Jrks are much easier, but if you already have it then work from there.

    I would trial @RufusDufus new code, comes with a application for setting the Ard up. He provides all wiring details, no picture thou.

    One that has proven to be usable is @prilad 2dof code but restricted to 2 dof but comes with its own utility.

    Lastly racingmats doesnt use pid control at all its a dynamic speed code. I wouldnt use his until it is changed and doesnt come with its own app.

    Hope that makes the choice easier.
    • Like Like x 2
  8. davepeebs

    davepeebs New Member

    Joined:
    Nov 11, 2013
    Messages:
    24
    Occupation:
    G.M
    Location:
    Sydney Australia
    Balance:
    619Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I think I will go with Rufusdufus' code to get going, need to work out wiring first.
    Thanks for the suggestions. I have both boards mounted in a pc power supply case with heat sink for the monster moto and a fan on the case. Should keep it cool enough.
  9. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,400Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    I can post a pic of wiring tonight if you so require.
  10. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,234
    Location:
    Marseille - FRANCE
    Balance:
    20,895Coins
    Ratings:
    +2,084 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hello Davepeebs!

    The Arduino code I published, is simple as possible : it's a good way to introduce yourself to arduino and sim motion.
    The code is a PID but only with the Proportionnal term ;-)
    Proportionnal term is based on difference between (actual position - aimed position).
    And speed is adjusted along the proportionnal error.

    Prilad and Rufusdufus have published more beautiful and complex codes!
    • Like Like x 1
  11. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,400Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Ah sorry if its only using P you cant call it a PID Controller its still a Dynamic Speed controller. Its why the K8055 has such slow and laggy movements compared to a true PID controller like the JRK. With Dynamic Speed you miss all the small very quick vibration movements, because you are close to the target, motor speed will be very minimal(slow). The D option increase this dramatically.

    Take a trip to @bsft and have a run on a Jrk machine, will blow ya mind for sure.
    Last edited: Dec 10, 2013
  12. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Granted I have not tried the code as I am code hopeless, but having D of the PID right makes a HUGE difference, even if it is a bit more complicated.
    And yes its a JRK example, but in the beginning, I had issues getting motor settings right with P, until Rob said "did you adjust D?" , Duh.....
    Ive seen people toss out arduinos, JRKS, and even tronics board because they couldnt get PID right. So doesnt matter which board, Getting PID right is important, so having P and D is important.
  13. davepeebs

    davepeebs New Member

    Joined:
    Nov 11, 2013
    Messages:
    24
    Occupation:
    G.M
    Location:
    Sydney Australia
    Balance:
    619Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi guys, a drawing of the wiring would be great thanks Rob.
  14. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,400Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Its coming mate, I got stuck last night playing Grid2 on me sim, so addictive once you have motion.
    • Like Like x 1
  15. davepeebs

    davepeebs New Member

    Joined:
    Nov 11, 2013
    Messages:
    24
    Occupation:
    G.M
    Location:
    Sydney Australia
    Balance:
    619Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    If I stack the moto on top of the uno with pins do I need only to connect the motors,power supply and pots?
  16. davepeebs

    davepeebs New Member

    Joined:
    Nov 11, 2013
    Messages:
    24
    Occupation:
    G.M
    Location:
    Sydney Australia
    Balance:
    619Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I am hanging to play grid2 after bsft told me about Bathurst dlc.
  17. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,400Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Do not stack it will not work, I will and promise to post a wiring drawing for you.
  18. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,400Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    As promised, we need @RufusDufus to confirm that I got it right, best for two to check.
    uno.jpg
    Ok picture changed 12/12 Vcc corrected to 5V.
    • Like Like x 2
    Last edited: Dec 12, 2013
  19. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,650Coins
    Ratings:
    +1,009 / 9 / -1
    @davepeebs or @eaorobbie. Do you have a link that has the Moto Monster board pinouts? The sites I have found don't seem to provide that info.
  20. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,650Coins
    Ratings:
    +1,009 / 9 / -1
    Ahh just found the details in the schematic.

    The only point I think might need to change is the +5V from the Arduino looks like it should go to the +5V pin on the Monster Moto (not the Vin). From the schematic it appears as though the Vin pin is not connected)

    You would setup the SMC3 to MODE1