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

DIY 2DOF Budget Build

Discussion in 'DIY Motion Simulator Projects' started by Deane, Sep 5, 2018.

  1. Kranky Pantz

    Kranky Pantz Active Member

    Joined:
    Sep 9, 2018
    Messages:
    360
    Location:
    Canada, Eh!
    Balance:
    1,271Coins
    Ratings:
    +294 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, JRK, Motion platform
    Guns????

    I thought you were Australian, not American. ;)

    "You'll shoot your eye out kid!"

    You'll shoot your eye out kid.jpg
    • Like Like x 1
    • Funny Funny x 1
    Last edited: Nov 3, 2018
  2. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    Sure am mate.
    AusMorons.jpg

    We do have very strict gun laws after one major incident in Noorbeast Land (Tasmania)
    the Port Arthur Massacre in which a lone gunman killed 35 people and wounded 18 other people https://www.britannica.com/event/Port-Arthur-Massacre
    That event prompted the government of the day to introduce stricter gun laws banning all semi and semi automatic and military rifles except for certain cases
    e.g. pest eradication, stock control and primary production.
    They also did a national buy back program and destroyed thousands of handguns and rifles.
    So now even a slingshot is a prohibited weapon in most states.
    But people like myself have done training and licensing for the possession of firearms for sporting shooters and hunters
    and there is special class H for all handguns including all types, centrefire, rimfire, air pistols for Club Use only.
    So all weapons must be kept in appropriately rated storage safes which is more strict for handguns.
    You can not just have a nightstand gun or for personal protection. All guns and ammo must be safely stored when not in use or for maintenance.
    So it is a hard earned privilege and not a right like in the USA.
    Even with these laws, the criminals have guns galore and we do have gun related crimes but not on a daily basis by far.
    And I love my guns like the Ruger 357 in my pic and you always get a kick when you pull the trigger and feel the power and smell the gunpowder

    I'm not up on Canadian gun laws, but we don't have grizzly or brown bears like you have, but we have a special bear called a Drop Bear which a cross breed Koala Bear.
    It is coming into Drop Bear season and you have to be very alert as they drop out of gum trees and rip your throat out.
    Just about everything think else in Australia will kill you too.




    Dropbear.jpg

    ozmap.jpg
    • Like Like x 1
    Last edited: Nov 4, 2018
  3. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,616Coins
    Ratings:
    +1,835 / 32 / -1
    There's few horror stories when using SMC3-SPS with a new 2x60. It's mostly plug and play other than knowing how to program an arduino. Other things are similar for both like hooking up feedback and using a utility for settings.
    • Like Like x 1
  4. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    I'm slack I know but still no motion because I have been making a mount for the HOTAS system that I got yesterday so that I can try some flight & space sims.
    It's only an Saitek X52 but it will do what I need and it was cheap.
    It's all very cosy but they are easy to reach and I'm skinny anyhow so if I can fit is all I care about.
    It is easy to remove, just two wing nuts and It will come off as one complete unit.
    So I am happy with the fit etc so it will get a coat of blue jam tomorrow to match the rest of the frame.
    My VR headset is visible as well.

    HOTAS1.jpg HOTAS2.jpg HOTAS3.jpg
    • Like Like x 2
  5. Kranky Pantz

    Kranky Pantz Active Member

    Joined:
    Sep 9, 2018
    Messages:
    360
    Location:
    Canada, Eh!
    Balance:
    1,271Coins
    Ratings:
    +294 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, JRK, Motion platform
    Looking sharp my man!!!!

    I see that you've added a couple of fans to the lid of your electronic box as well, or has it always been like that?

    You'll have a blast with flight/space sims in VR on that rig of yours.


    I've had a very successful weekend of testing racing sims on mine, everything is moving as it should.

    Flight sims will be a bit different to set-up though, as they'll need smoother transitions for rolls, etc. in order to trick the brain.

    There are threads on here which cover those issues, which I believe is called "washout".


    If I come across any tips or tricks I'll let you know.
    • Like Like x 1
  6. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    Thanks Kranky or do you have a real name ?
    I have just been trying to configure the space sim Elite Dangerous but it has so many options and the HOTAS has more button than a shirt factory
    and I got lost or stuck in video training mode, so I bailed on that for the moment and headed over to Gun Club VR.
    Now I can shoot and know how to reload, and eject a mag but it's a whole lot more difficult in VR and I kept dropping my pistol and getting killed or timeout.
    It's still a hoot, and no ammo to buy and dumb gun laws to obey.
    I'm contemplating an expresso machine add-on to compliment it :cheers
    I really need to get my motion moving so I can have more fun.
    My best mate called in today and I gave him a VR demo and he was blown away and he's an old fart like me at 65
    We have known each other for a bit over 55 years and went to primary school together.
    Friends like that will probably be a rarity among the newer generations.
    Did you check out my Drop Bear video :) Some tourists actually fall for it, even all the deadly creatures we have, but that is true :grin
    Oh well, 3.00 am it must be bed time me thinks.
    • Like Like x 1
  7. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    I'm very slowly trying to get Sim Tools setup and working but I must have buggered up somewhere as I gone through the manual and followed the steps and
    I have LFS running and the capture data on and also live data is working in Virtual Mode and the sliders are responding to my imputs, but I am getting no movement from
    either motor.
    So can some one look at my screen shots and tell me where I might have goofed please.

    Testing1t.jpg Testing2.jpg Testing3jpg.jpg
  8. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    Finished the HOTAS mount and added some braces and it copped some blue to match the rest of the rig.

    Saitek1.JPG Saitek4.JPG
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,075
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,142Coins
    Ratings:
    +10,888 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    The Interface Output should be like this: [A<Axis1a>][B<Axis2a>]

    Clear the Startup-Output and Shutdown-Output fields for now.

    LFS has to be run for a couple of laps in first person mode to generate some necessary files. So if you did not run LFS prior to patching them un-patch it, shutdown SimTools, start LFS and drive a couple of laps, exit LFS, re-start SimTools and patch LFS.

    You will also need to refine your motion profile, doing one axis at a time: https://www.xsimulator.net/community/faq/steps-to-create-a-motion-profile.228/
    • Like Like x 1
    Last edited: Nov 7, 2018
  10. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    Ok Noorbeast I will give it a go :think
  11. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    No luck so far. I did what you said unpatched Did some laps, Repatched and ran the game LFS and captured data and it was showing in Vitual output pan on both axis , saved those new settings, the tried Manual output and SFA movement when I move the sliders.
    I think that I'm close and the motors are getting power and slightly quivering when idle so i think it is comms problem or setting but I do have the port setting right and the baud rate etc, rotational output selected.
    Are the settings kept in one profile file that I could send as get you to see if anything obvious is out of whack ?
    And as usual it's late , 2.40 am so my brain needs a rest :confused:

    423px-Clusterhead.jpg
  12. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,616Coins
    Ratings:
    +1,835 / 32 / -1
    Set the baud in Simtools to 500000. 38400 is arduino to your sabertooth rate and 500000 is Simtools to arduino rate.
    • Like Like x 1
  13. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    Noorbeast, I changed the baud rate in Sim Tools as you suggested and turned on Axis tuning and motor A started to rotate on it's own and would not stop.
    So it's the same old problem or setting at work.
    Motor B did not move at all.
    So I guess it's back to SMC utility to see what's going on.

    Attempt2t.jpg
  14. Kranky Pantz

    Kranky Pantz Active Member

    Joined:
    Sep 9, 2018
    Messages:
    360
    Location:
    Canada, Eh!
    Balance:
    1,271Coins
    Ratings:
    +294 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, JRK, Motion platform
    Heeeeeyyyyyy...I recognize that desktop wallpaper.

    I live around a 1/2hr drive from that intersection.

    Back in my 20's we'd drunkenly stumble around that very location. :cheers


    I'm sorry to hear that you're still having issues with that Arduino/Sabertooth setup. :(

    Hope you sort it out soon.
  15. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    It's relevant to my love of German Shepherds.
    I've had four so far and my last one was Jack who I had from a pup until he was six, then I got bowel cancer and spent a year dealing with that and I could give him the care and exercise that he needed so he went back to live with his mum and the breeder that I got him from.

    Bigboy3.JPG Dinner.JPG IcePup.JPG Jackbeach.jpg Jacky2.jpg Lilstick.JPG
    • Like Like x 1
  16. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,616Coins
    Ratings:
    +1,835 / 32 / -1
    If you swap your current motor 1 motor and pot with your motor 2 motor and pot does the problem switch too or is it still motor 2 that doesn't move? If the problem is still with motor channel 2 only then its likely a communications problem. Again the sketch is optimized to run at 115200 and your trying to run it three times slower at 38400. One last thing you can try before switching to a supported controller is to make a modification to the sketch to slow it down which may give it enough time to process incoming serial data. Look for this line at the top of the sketch and increase it from 1000 to 2000 and test to see what happens.

    #define PROCESS_PERIOD_uS 1000 // 244 -> 4096 per second approx

    ps While this may give serial data time to process I don't know how much pid processing will be effected.
    • Like Like x 1
  17. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    Thanks Noorbeast, I will do some testing and see what happens.

    I really don't want to have to change drivers as I just can't spare another $250 or so for some JRK's unless someone wants to trade.
    I already have too much invested in it compared to my pension income :(
  18. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    Back again.
    Noorbeast I checked my pots and they were out a bit so fixed that and now I am getting movement from bot motors in Manual Testing.
    When you run LFS and you have Vitual Testing ON is the rig meant to follow the game inputs ? as the sliders are moving in the window
    but no movement from the motors.
    BTW I have NOT modified the sketch yet, it is as it was.

    Can you spot anything out of the ordinary in the pics. ?
    Last question is how do you get each motor to it's home position ?
    Is it done with the pot position or in software setting as my pots are out orf home position and each by about 45 degrees which makes me think that the position in SMC is meant be the same position, as in above or below the Target line ?
    Thanks.

    Attempt3t.jpg Attempt4.jpg Attempt5.jpg Attempt6.jpg Attempt7.jpg
  19. Deane

    Deane Old Fart Gold Contributor

    Joined:
    Aug 25, 2018
    Messages:
    214
    Occupation:
    Retired
    Location:
    Wirrina Cove, South Australia
    Balance:
    685Coins
    Ratings:
    +90 / 3 / -0
    My Motion Simulator:
    2DOF
    Update.
    I did something ? but now I have both axis responding to the LFS in Virtual Testing but is hard to see how much it's moving and drive LFS at the same time.
    I think the only problem now is working out how to get both axis in sync and start from a common home position which they are not doing atm and they are
    about 90 degrees apart .
    Sop as I suggested I think I need to move the pots to the same position ? YES or NO :sos
  20. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,075
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,142Coins
    Ratings:
    +10,888 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You need to sort your hardware out in the SMC3 utility first, adjusting pots and settings so that movement follows commands: https://www.xsimulator.net/communit...driver-and-windows-utilities.4957/#post-48121

    Please configure your Interface Output as per my earlier advice, your B axis is incorrectly using a b designation, as it should be a: https://www.xsimulator.net/community/threads/diy-2dof-budget-build.12377/page-4#post-165810

    You should not need Axis Limiting, leave it at 100%.

    The DIR box being checked orange or not in Axis Assignments determines which way each axis moves. It would normally be one is checked and the other not for roll, and sway would be the opposite, so yours need sorting out, this is what SimTools expects: https://www.xsimulator.net/community/faq/which-way-to-set-simtool-axis-movements.230/

    Axis assignment percentage total allocation for all axis should be around 100%, it can go a little over as not all axis may be fully extended at the same time, except in a crash, but having 180% allocated for just 2 axis, when you also need to add heave sway and surge, is too much: https://www.xsimulator.net/community/faq/axis-assignment-percentage-totals.120/

    Everything should be configured and checked as working properly in Output Testing in terms of expected movement before moving on to the game motion profile.

    Follow the steps here to refine motion profiles, doing each axis one at a time: https://www.xsimulator.net/community/faq/steps-to-create-a-motion-profile.228/