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

2Dof arduino simulator 1st attempt

Discussion in 'DIY Motion Simulator Projects' started by Luimp, Oct 24, 2013.

  1. Luimp

    Luimp New Member

    Joined:
    Oct 23, 2013
    Messages:
    21
    Location:
    Dungannon, Northern Ireland
    Balance:
    319Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hello , I going to try to build a 2 dof with a arduino board I build today with 2 rc cars chassis a small project to try but I dont know how I can try with what I can try I connect everything using the eaorobbie scheme.
    Tomorrow I will put pictures.

    thanks.
  2. Luimp

    Luimp New Member

    Joined:
    Oct 23, 2013
    Messages:
    21
    Location:
    Dungannon, Northern Ireland
    Balance:
    319Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi, so here is the pictures of the stuff I get and from the rc chassi

    Attached Files:

  3. 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,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    simpler to just use the Ard and 2 rc servos mate.
    Save the moster motor for the real thing. but again why not, use prilads or racingmats code, mine is for rc servos only as a test rig.
  4. Luimp

    Luimp New Member

    Joined:
    Oct 23, 2013
    Messages:
    21
    Location:
    Dungannon, Northern Ireland
    Balance:
    319Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    hi, I try connect just the 2 servos and ard using ur fig. and sketch but nothing moves and as i only have the other program is very complicated
  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,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Yes it is very complicated and buggy, well the new software coming here soon, is worth the wait, sorry about that. Please subscribe on the Home page http://www.xsimulator.net/ so you may be alerted as soon as it become available publicly. There is a counter showing how long it us away.

    Now can you drive the servos in Arduino IDE, open the serial monitor and send Rxxx~Lxxx~ where xxx is 0 - 255 being 127 as its centre position, this will confirm everything is wire correctly and ready to go. Plus the board rate in the bottom right corner needs to be set to 9600. Communication for this is 9600,none, 1 stop bit.
  6. Luimp

    Luimp New Member

    Joined:
    Oct 23, 2013
    Messages:
    21
    Location:
    Dungannon, Northern Ireland
    Balance:
    319Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I can make the servos move but just one time for one side or the other not ingame, I use ur arduino sketch I write ~L0-255~~R0-255~ the ard rx led flash but there's no response from game
  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,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Hang in there mate not long now.
    In the Arduino IDE - Serial Monitor send R0~L0~ they will go to one extreme and send R255~L255~ for the other any other value in between they will also move as long as the value is between 0 to 255.
  8. Luimp

    Luimp New Member

    Joined:
    Oct 23, 2013
    Messages:
    21
    Location:
    Dungannon, Northern Ireland
    Balance:
    319Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
  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,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Yes correct the model will be run fine under SimTools, Im currently writing a proper DIY build thread that will feature all information and SimTools setting, plus a bit more on the code detailing what is need to change to run up to 6 servos.

    Ok motor are rated past what the Monster Moto is capable of, which means they will never reach the 1800 rpm they are rated at, the Moster Moto is only capable of pushing 14amp constantly or peaking of 30amp so at 50amp they can motor can push 1800rpm so at 30amp peak motor will only do - 1800x30/50 = 1080rpm approx with no weight on them, or a 14 amps it is - 1800x14/50 = 504rpm. This hooked to a 25:1 box results in 1080rpm/25 = 43.2 rpm and at 504rpm/25 =20.16rpm constant, so what Im trying to say they will be no better than a wiper motor. We use 12v 200W motors that produce about 150rpm. Quite a thrilling rid on a seat mover, well we can match and beat scn5 speeds for sure.

    Beware of the gearbox's they are serviceable , the body is revited together, they tend to wear very quickly if loaded with too much weight, a fellow member had that issue with them, set them up right should get a good run out of them.
  10. Luimp

    Luimp New Member

    Joined:
    Oct 23, 2013
    Messages:
    21
    Location:
    Dungannon, Northern Ireland
    Balance:
    319Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    So do you have any recommendation that I can buy here in UK and dont be too expensive, the ones from racingmat simulator are like yours 12v 200w?
  11. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    The motors Rob and I use are not the same gearbox design as what is sold in UK. We get them from an Australian dealer. He has has gearboxes made to order. Same ratio , just a lot stronger.
    www.motiondynamics.com.au
    Drop them a line and ask if you can purchase gearboxes separately or even a total cost on a pair of motors.
    I've been thrashing my motors for about 18 months on 4 different designs and way overdriven. Never failed.
  12. 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,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Ah sorry Dave the MC4 is a cheapo compared to our gearboxes, these can not be opened or serviced, designed to wear out, Lee rig , one featuring a surge axis has found they are not very strong at all. Internal gearing slowly chews out, compared to ours from Motion Dynamics.
    Plus RacingMat using wipers cant recommend them as the internal gearing in wipers are worse.
  13. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Yes I know the MC4 is a cheaper version of ours. Shane at motiondynamics.com.au has either gotten stronger ones from a supplier or had them made. Dunno, but they are strong.
    I thought the AU gearboxes could bolt up, unless I am wrong. (usually am)

    I know, I will ask my wife, after all the woman is always right.

    And yes we know about car wipers, good to start with , but they quickly chew out, hence my search for a replacement and found the 12v 200watt motor. At about $110 each plus taxes, freight, or whatever, they have proven to be a good stronger alternative to step up from wipers.
    Winch motors better, but noisy and dangerous if you get a finger in the gears way.
    • Like Like x 1
    Last edited by a moderator: Oct 27, 2013
  14. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,975Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    @Luimp
    Lipide512 uses the truck wiper motors for more than 1 year and no problem at all either!
    it's fine for me as well after 6 months.

    If you want to have the lowest cost and be sure to have a working setup: you can follow the recipe!
    the SWF VALEO quality/cost ratio is the highest! only 35€ per motor

    I wish I could jump to Australia and compare with their beautiful motiondynamics... meanwhile we can only guess. Anyway both work!
  15. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    recipes taste different depending on who is cooking them ;)
    Any motor will work, its just how long it lasts.
    And with wipers, remember to earth isolate the case of risk blowing the boards.
  16. 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,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Wipers over the year have shown to be too slow and the internal gear chews out unless you have it balanced right, so what happens when a 120kg guy hopes on ya sim, plus from the only video you have shown they are way to slow, but typical of the other software's motion. Plus I run mine for big sessions up to 4 - 6 hr runs. Look I have been there and do that with wipers can show video, etc, sorry have to strongly disagree, if you skimp in certain ways your sim will not reach the potential it can with the software of today. Worth spending that little more for the out of this world, motion you can have.
    Please don't use bold text in that way, shouting is not a kind thing, lucky Im not in France.
    • Like Like x 1
  17. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Agreed with Rob, I have had car and small truck wipers, big worm gears WAY better and stronger. Granted the wipers only cost me $10 each, but after going to big motors and faster motion I have NEVER looked back.
    wording
    in bold to stir

    :D
  18. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,975Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Can you relax a bit?! I said that motiondynamics were more expensive than 35€ but I do believe they are good!
    i WASN'T ironical...
    I really meant it. Back from Simulator Show in Paris, I wish I could test every simulator. It's impossible to feel with a video and everyone has his own tastes...

    For my sim, I can't play at full speed! it's much more harsh than in a real rally car...
    but I agree that 50kg more can change everything!

    Can I have a video link from your simulator, please?

    PS: shouting is in CAPITAL case in France
  19. AceOfSpies

    AceOfSpies Living the Dream!

    Joined:
    May 8, 2012
    Messages:
    260
    Location:
    Kilwinning, Scotland
    Balance:
    19,614Coins
    Ratings:
    +244 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, JRK, Motion platform
    OK you lot keep the noise down! Enough with the SHOUTING! :grin
    • Like Like x 2
  20. 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,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Well mine are running under rated, but still push 150rpm, maybe you should do a proper profile then.
    • Like Like x 1