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

MOTION SIMULATOR WITH ARDUINO MEGA 2560

Discussion in 'DIY Motion Simulator Projects' started by davidlbraga, Apr 23, 2013.

  1. davidlbraga

    davidlbraga New Member

    Joined:
    Feb 1, 2011
    Messages:
    2
    Balance:
    1Coins
    Ratings:
    +0 / 0 / -0
    I would like to set up a project with 2 motors for arduino, but I'm inexperienced and would like to make something from scratch to understand how it works and help improve the X-sim in the future.

    what should I do? Someone is willing to help build from scratch?

    I working a platform with a board arduino mega 2560 and 2 servo motors for testing, but I'm starting from the beginning.

    hardware

    [​IMG]
    [​IMG]
  2. 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
    What do you need to know,
    Im willing to share my RC Sim Model mate.

    http://www.youtube.com/watch?v=NlaCMZPgbh0

    Proof of my working unit, beware profile running it is very basic.
  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
    And the working code this should run on your card too, from what I can work out.
  4. 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,864Coins
    Ratings:
    +2,007 / 13 / -0
    My Motion Simulator:
    2DOF, DC motor, SimAxe, SimforceGT
    Great! I own a Arduino Leonardo board, so i will implement your code for educating purposes :) I wished the larger servos able to move a humans butt would be affordable the same as the small RC ones. RC servos are sooo fast.
  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
    Well I'm actually in the middle of working out the ins and outs for a new card that has come to the market recently, Its RC compatible meaning we can drive it with the simple code above and it will drive its sister h bridge just like a servo does not sure on how fast until the rest of the parts show up , I can not test yet.
    Some features in clue auto tuning of its own pid, with addition of limit switch it has its own calibration routine plus they also act as safety switches too not letting your motor get out of control, encoder compatable of the shelf item, no electronic building, as simpler than the JRK, to name a few.
    I have also been informed from makers that it can be used with serial to usb adapter and we can communicate to it without the Ard.
    So as I know more I will release the info in separate post for all to read and use.
    Looks very promising, as is priced very fairly.
    Just to add it runs on 12v or 24v mmmmm finally a simple 24v system.
    • Informative Informative x 1
  6. dualclick

    dualclick

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Volevo una informazione ho acquistato uno dei vostri leonardo Arduino Arduino rev 3, ma invece mi hanno mandato, volevo sapere se le configurazioni sono simili al Arduino rev 3