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

1DOF rig & FFB joystick

Discussion in 'DIY Motion Simulator Projects' started by GNZ3, Oct 22, 2024.

  1. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    I got a question in youtube and some of guys may have the same question. So I would answer here.
    Q1)How to enable FFB in War Thunder?
    A1)Please refer the link below.
    https://forum.warthunder.com/t/forc...joystick-is-not-recognized-by-the-game/137635
    Q2) Only a periodic vibration effect or no spring effect
    A2) As my experience, WT generate an effect based on speed, air flow and crush.
    E.g.) High speed makes joystick move harder, roll action makes negative torque, no effect for firing guns etc...
    It looks spring effect was not generated by War Thunder. ( I make sense it because real plane does not have it) So I decided to add it in my ArduinoFFBJoystick code.
    Here is the code:
    effectparams.springMaxPosition = JOYSTICK_AXIS_MAX;
    effectparams.springPosition = proc ;

    Q1) How I can check my FFB device working?
    A1) Please use diagnostic tool. I am using this:https://www.fs-force.com/support.php
    If diagtool could not detect your FFB device, it says "No force feedback joystick detected". If detected, you can find list of supported effect in 'Diagnostics' field. If you compile my code it says
    "Enumerated Joystick : xxxxxxx(Your joystic name)
    Supported Effects :
    - GUID_ConstantForce
    - GUID_RampForce
    - GUID_Square
    - GUID_Sine
    - GUID_Triangle
    - GUID_SawtoothUp
    - GUID_SawtoothDown
    - GUID_Spring
    - GUID_Damper
    - GUID_Inertia
    - GUID_Friction
    - GUID_CustomForce
    Creating effects for xxxxx"

    Then please check 'Spring center' check box to start appling force to your joystick.
    Last edited: Mar 3, 2025
  2. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    I made 360 degree encoder from scrapped potentiometer and AS5600 position sensor breakout board.
    The potentiometer I used: https://ja.aliexpress.com/item/1005001708276947.html

    Top left: Opened potentiometer. Red area needs to be removed.
    Top center: Grew magnet comes with AS5600 at center.
    Top right: Create mount plate.
    Bottom left: Put it togethr and put into potentiometer
    Bottom center: Done

    Attached Files:

  3. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    I am updating my FFB joystick because of facing an issue of slipping rod. To fix this issue, I need to change my rod from alminum to iron and apply Anaerobic Adhesive (3M TL90J) between rod and motor coupler etc...
    And I am going to use this encorder.
    Please find attached photo. This is the base of my FFB joystick. I will upload some photos about mouting motor etc afterwards.

    Attached Files:

  4. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    From left to right. Rod φ is 10mm.
    1.Motor coupler (already applied Anaerobic Adhesive )
    2.Linear Rail Shaft Guide(2020 Alminum profile is already mounted)
    3.Two Pillow Bearings
    4.GT2 timing pulley (80th teeth)
    5.Linear Rail Shaft Guide

    Attached Files:

  5. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Finally x and y motor was mounted like this.

    Attached Files:

    Last edited: Mar 6, 2025 at 11:56
  6. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    X axis encorder build and mount to FFB base.Please find attached photo.

    Left : Parts list. Arm needs 10mm hole for mounting potentiometer.
    Center : All parts are combined like this.
    Right : Mount it to FFB base (Y motor was removed.)

    Attached Files:

    Last edited: Mar 7, 2025 at 11:58
  7. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Y axis encorder build and mount to FFB base (part 1).Please find attached photo.

    Left : Motor flange (φ10mm + Key)
    Center : Put double side stick tape. Yellow wire is for some space from edge.
    Right : Place timing belt. Holding by rubber band over night.

    Attached Files:

  8. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Y axis encorder build and mount to FFB base (part 2).Please find attached photo.

    Left : Motor flange with timing belt.
    Center : Attach stick part (2020 alminum profile) to flange and mount it to motor axis.
    Right : Put it to FFB base. You can find encorder (most right) which was purchased from Ali Express.

    Attached Files:

    • Like Like x 1
    Last edited: Mar 8, 2025 at 02:36
  9. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
  10. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    This is my FFB controller. (Top and bottom view).
    You can see Arduino Leonald (left as joystick controller) and Mega2560(right as PWM motor control).
    Code can be found in my GIT. https://github.com/GNZ-3/ArduinoFFBJoystick.
    Schema diagram in GIT is little bit different than this photo. FFB_Controller.jpg .
    • Like Like x 1
    Last edited: Mar 9, 2025 at 03:30
  11. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Controller board was mounted on my FFB base. Please see attached photo.
    I will mount this FFB base into my 1 DOF rig. Please wait for my test filght movie.
    FFB_Build_Complete.jpg
    • Like Like x 1
  12. GNZ3

    GNZ3 New Member

    Joined:
    Apr 8, 2024
    Messages:
    27
    Location:
    Japan
    Balance:
    183Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Test flight again. Stick moves without my interuction.