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

Dimensions of a 2DOF motion platform for SimCalc

Discussion in 'DIY Motion Simulator Projects' started by imajavaid, Nov 16, 2021.

  1. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    It looks like you have not increased PWMmax, as per the SMC3 instructions:


    1. Disconnect the motor power supply
    2. Make sure Simtools is not running – we’re not ready for that yet!
    3. Wire up the Arduino (with SMC3 installed) to your H-Bridges and connect to your computer via USB
    4. Run the Windows SMC3 Utility software and make sure it communicates with the Arduino (There is no need to set baud rates, they are not configurable)
    5. Set the Kp, Ki, Kd, PWMmin, PWMmax, PWMrev to 0 for ALL motors (This will make sure the motors don’t move)
    6. Set Clip to 255 (you need to do this first) and Limit to 255 (This will give you plenty of margin if something goes wrong while setting up)
    7. Turn on the power to your motors – nothing should move at this stage!
    8. Set Kp to about 400
    9. Now slowly, increase PWMmax… at some point the motor should start to move. When it does check the “Green” feedback line is moving toward the “Blue” target position.
      • If it is then that motor and feedback is wired correctly - proceed to test other motors.
      • If it is moving away turn off motor power immediately (or quickly reduce PWMmax again). In this case you need to either reverse the wires to the motor being tested –OR– reverse the +5V and GND wires to your feedback pot for the motor being tested (do not do both). Restart the test from the beginning.
    10. Do the above for each motor

    • Like Like x 1
  2. SteULM

    SteULM Active Member

    Joined:
    Nov 13, 2021
    Messages:
    225
    Occupation:
    Alla ricerca di cose nuove da imparare.
    Location:
    Italy
    Balance:
    612Coins
    Ratings:
    +149 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Bring the green feedback line back within limits via the potentiometer and then enable them to ON
    • Like Like x 2
    • Agree Agree x 1
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    At rest the green line should be in the middle, so disconnect power to the motors, loosed the connectors to the pot and rotate the pot by hand until centered in the graph then re-tighten the connection.
    • Like Like x 2
  4. imajavaid

    imajavaid Member

    Joined:
    Oct 25, 2021
    Messages:
    108
    Balance:
    199Coins
    Ratings:
    +25 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    smc3 done !!!!!!

    • Like Like x 2
  5. imajavaid

    imajavaid Member

    Joined:
    Oct 25, 2021
    Messages:
    108
    Balance:
    199Coins
    Ratings:
    +25 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    As I drive the motor through manual command the green line of the potentiometer does not follow the blue line and the motor suddenly stops after vibrations. why green line is not following the blue line
    upload_2022-3-13_11-37-2.png
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Agree Agree x 1
  7. imajavaid

    imajavaid Member

    Joined:
    Oct 25, 2021
    Messages:
    108
    Balance:
    199Coins
    Ratings:
    +25 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    thanks I got it. Its not about you set limit to 255 any number other than zero can do the job. But its good to set it on 255. After setting to 255. You need to go to the manual command so that the green line becomes in line with blue line . As the green line comes parallel to blue line the motor stops. Now when you will rotate the motor manually the green line will follow the blue line
    Last edited: Mar 13, 2022
  8. imajavaid

    imajavaid Member

    Joined:
    Oct 25, 2021
    Messages:
    108
    Balance:
    199Coins
    Ratings:
    +25 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    upload_2022-3-13_12-3-39.png
    there is huge gap . How I can solve it now. What should be the PID values I should use top keep a good track
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 1
  10. SteULM

    SteULM Active Member

    Joined:
    Nov 13, 2021
    Messages:
    225
    Occupation:
    Alla ricerca di cose nuove da imparare.
    Location:
    Italy
    Balance:
    612Coins
    Ratings:
    +149 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Try increasing PWMmax and set PWMrev as PWMmax or similar
    • Like Like x 1
  11. imajavaid

    imajavaid Member

    Joined:
    Oct 25, 2021
    Messages:
    108
    Balance:
    199Coins
    Ratings:
    +25 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    Does these two ports needed to be same ?
    port issues.png
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Yes the ports do need to be the same, as Windows assigns the port to the Arduino and any program that needs to use it needs to know what port it is on.
    • Like Like x 1
  13. imajavaid

    imajavaid Member

    Joined:
    Oct 25, 2021
    Messages:
    108
    Balance:
    199Coins
    Ratings:
    +25 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    I have read and watched simtools guide from the following links
    https://www.xsimulator.net/simtools-complete-documentation/

    https://www.xsimulator.net/community/threads/xplane-11-setup-guide-simtools.11087/


    But still unable to understand about the axis assignment in simtools game engine. So far I only knewt hat for my 2 dof I have to use 1dof and 2 dof column. And axis 1a and axis 2a represents the motion caused by the motor in certain axis(pitch or roll). I knew I have to use Extra 1 and Extra 2 for my 2dof flight simulator. But I don't understand how to assign extra 1 and extra 2 to the axis1 and axis 2 in 1dof and 2dof column

    upload_2022-3-14_16-12-4.png
  14. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  15. Halloween2go

    Halloween2go Active Member Gold Contributor

    Joined:
    Dec 12, 2019
    Messages:
    202
    Balance:
    1,407Coins
    Ratings:
    +176 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
    Now that's the way to connect the sensor!! Nice I'll give that a shot too! DMAX
    • Agree Agree x 1
  16. Halloween2go

    Halloween2go Active Member Gold Contributor

    Joined:
    Dec 12, 2019
    Messages:
    202
    Balance:
    1,407Coins
    Ratings:
    +176 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
    Looking at your LIMITS.. the red and orange line,, Right now the POT reading (green) appears to have exceeded the Red limit line.. When that happens, my motors shut off. If you can move the green line (you dont need the motors on for it, just connection to arduino and SMC3. the green line (pot reading) must be residing within the clip and max limits.. (orange or red lines).. DMAX
    • Agree Agree x 1
  17. imajavaid

    imajavaid Member

    Joined:
    Oct 25, 2021
    Messages:
    108
    Balance:
    199Coins
    Ratings:
    +25 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    I am using these settings but motors are just producing a humming sound and not moving . What is the issue
    upload_2022-3-15_11-35-26.png upload_2022-3-15_11-33-18.png
  18. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Just checking, all SMC3 issues must be resolved and SMC3 properly configured and working as expected before meeting with SimTools. So are are all SMC3 issue resolved and is it properly configured?

    Once SMC3 is sorted SimTools should be tested with a properly configured Default profile in Output Testing, before messing with any plugin.

    This is what SimTools expects in terms of configuration: https://www.xsimulator.net/community/faq/which-way-to-set-simtool-axis-movements.230/

    After that a game can be patched for motion and a motion profile configured for it in Axis Assignments, see the Tuning Tips in the FAQs: https://www.xsimulator.net/community/faq/steps-to-create-a-motion-profile.228/

    Also grab the SimTools manual and keep it handy for reference: https://www.xsimulator.net/community/faq/rtfm-start-with-the-official-simtools-documentation.117/
    • Like Like x 1
  19. imajavaid

    imajavaid Member

    Joined:
    Oct 25, 2021
    Messages:
    108
    Balance:
    199Coins
    Ratings:
    +25 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    I have rechecked the smc3 and its working fine. But on simtools they are producing a humming sound and not moving. there is no interface issue as arduino led turns on when I turn on the output testing mode on
  20. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    If SMC3 is properly configured and is working as expected have you setup a Default profile in Axis Assignments and checked it in Output Testing?