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 with Arduino UNO and Monster Moto Shield

Discussion in 'DIY Motion Simulator Projects' started by soraz, Jan 10, 2017.

  1. soraz

    soraz Member

    Joined:
    Mar 5, 2013
    Messages:
    68
    Location:
    Noale VE, Italia
    Balance:
    5,158Coins
    Ratings:
    +79 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    actual assembly:

    [​IMG]

    ...racing playseat or virtual reality ?


    presentation video


    I start view this web site casually.
    After see other project like :
    http://www.gamoover.net/Forums/index.php?topic=25907.0
    http://www.x-sim.de/forum/viewtopic.php?f=37&t=842&p=7106&hilit=siki+luna#p7106

    I decide to start my project.

    [​IMG]

    from car demolition

    [​IMG]

    (first version : wiper motor fiat 500)
    [​IMG]

    from a race car driver
    [​IMG]

    from a photovoltaic installer (aluminum profiles 40x40 mm)
    [​IMG]
    profili alluminio


    and after some time
    [​IMG]
    primoassemblaggio


    and more

    [​IMG]

    [​IMG]

    now must assembly and test controller parts.



    with

    power supply 12V 30A
    [​IMG]

    Arduino UNO R3
    [​IMG]

    Monster Moto Shield
    [​IMG]

    some pins and a cooling fins
    [​IMG]

    Assembled as you can see
    [​IMG]

    if you chose not to stack the two cards:
    Arduino .../... Monster
    ... GND .../... GND pin
    ..... 5V .../... 5V
    .. pin 4 .../... pin 4
    .. pin 5 .../... pin 5
    .. pin 6 .../... pin 6
    .. pin 7 .../... pin 7
    .. pin 8 .../... pin 8
    .. pin 9 .../... pin 9

    left pot
    [​IMG]

    right pot
    [​IMG]

    install arduino software and driver

    load firmware from RacingMat found here
    https://www.xsimulator.net/community/marketplace/arduino-code-2dof-and-2-pins-direction-hbridge.67/


    mount motor for test
    (before check isolation = http://vos-playseat-stephaned61.xooit.f ... e.htm#p642)
    [​IMG]

    - Left Motor power attached in A1-B1
    - Right Motor power attached in A2-B2
    - Left pot 10k control connect in A5
    - Right pot 10k control connect in A4
    like reported from racingmat, prefer CERMET (ceramic + metal) track rather than cheap carbon track.

    when you power on power supply and connect Arduino to usb (i use only usb 5v), motors move in middle position. if they move continuously, you must invert A4 with A5 wire.

    if mount motors in opposite position remember to attach the wires in opposite ways for one motor and relative potentiometer (the centre remain in centre).

    you can test motor movement with arduino serial monitor writing L00<cr>, LFF<cr>, R00<cr>, RFF<cr> and you can see move to lower and highest position.
    [​IMG]

    the result can see here :


    next step final assembly

    when i received last part:
    [​IMG]

    i can assembly my racing playset:

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    adding some pics with quotations; total weight 73kg
    [​IMG][​IMG][​IMG]

    and after some electrical and mechanical adjustments
    we decide to make first video:


    we want to extend special thanks to:
    Alfio, Jody, Luca, Matteo, Mauro, Paolo, Saverio, Walter, RacingMat and sirnoname


    after a shorts tests broke both motor shafts

    [​IMG]

    therefore i decide to different motor assembly and now i have this structure.
    [​IMG]

    panoramic final assembly of playseat


    after further problems with pots, decide to buy cermet pots
    i hope have more long life
    [​IMG]

    and if my mounting calibration is not perfect, buy also flexible couplings
    [​IMG]

    assembled
    [​IMG]

    and now other tests.

    after some adjustment the playseat move ok with new cermet pots

    another add-on: decide to install a safety switch to break motor power.
    [​IMG]

    this help me for a problem in power on sequence.
    i have Arduino power from pc usb and 5v for pots is from arduino.
    sametime in power on, my motors rotate casually with the possibility of broken.
    now i power on pc, attach arduino to usb, sit on playseat and release the power for motors.

    added handbrake :
    i have attach a micro-switch in parallel of a button inside the steering whell

    [​IMG]
    [​IMG][​IMG]



    LAST : added blue led strip

    before .................. after
    [​IMG][​IMG][​IMG]
    • Like Like x 2
  2. pinthi

    pinthi Member Gold Contributor

    Joined:
    Nov 1, 2017
    Messages:
    32
    Location:
    France
    Balance:
    - 109Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    ;)Bon travail saraz.
    A tu d'Autres photo du câblage des catres arduino et monstrer moto et le code pour paramètrage du arduino.
    Je suis sur mon projet 2 dof.
  3. soraz

    soraz Member

    Joined:
    Mar 5, 2013
    Messages:
    68
    Location:
    Noale VE, Italia
    Balance:
    5,158Coins
    Ratings:
    +79 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
  4. pinthi

    pinthi Member Gold Contributor

    Joined:
    Nov 1, 2017
    Messages:
    32
    Location:
    France
    Balance:
    - 109Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Merci
    JE TRAVAIL sur mon Projet Et je te joints des photos.
    Je regarde sur racingmat pour l'info.
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,551
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,124Coins
    Ratings:
    +10,778 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  6. FIDDLE72

    FIDDLE72 New Member

    Joined:
    Apr 12, 2018
    Messages:
    9
    Location:
    LE MANS
    Balance:
    153Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino
    Hello
    thank you very much for these informations and
    the photos of your editing
    I start totally and I will love
    manufacture for college students
    an airplane pilot simulator
    x plane or FGX
    I will follow the links that you propose
    Patrick from France