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

Question Arduino/similar based FFB yoke?

Discussion in 'DIY peripherals' started by Map63Vette, Jan 17, 2024.

  1. Map63Vette

    Map63Vette Member

    Joined:
    May 19, 2016
    Messages:
    138
    Occupation:
    Mechanical Engineer
    Location:
    Lawrence, KS
    Balance:
    487Coins
    Ratings:
    +34 / 0 / -0
    Has anyone out there made a FFB yoke that isn't based off of an old Microsoft FFB joystick? I've read through several DIY threads, but they all seem to start with the control board guts of a joystick and go from there. What strikes me as a bit odd is that there are so many DIY FFB steering wheel options based on DIY USB controllers and other control boards that it seemed odd the same wasn't true for flight yokes. I guess the main issue is that you need to control two separate axes with FFB?
  2. entfarm

    entfarm New Member

    Joined:
    Oct 17, 2023
    Messages:
    4
    Balance:
    40Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, SCN5, Joyrider, SimforceGT
    As I know, the electronics involved in force feedback systems are crucial for interpreting input signals from the flight simulation software and generating appropriate forces through the motors or actuators. Custom control electronics or programmable microcontrollers may be required to manage force feedback effects accurately.
  3. entfarm

    entfarm New Member

    Joined:
    Oct 17, 2023
    Messages:
    4
    Balance:
    40Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, SCN5, Joyrider, SimforceGT
    Or, creating a yoke that seamlessly interfaces with flight simulation software requires compatibility with common simulation platforms and the ability to interpret and respond to various in-game conditions.
  4. entfarm

    entfarm New Member

    Joined:
    Oct 17, 2023
    Messages:
    4
    Balance:
    40Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, AC motor, SCN5, Joyrider, SimforceGT
    @spacebar clicker, I know that you have experience in this field. Do you have any suggestion here?
  5. Map63Vette

    Map63Vette Member

    Joined:
    May 19, 2016
    Messages:
    138
    Occupation:
    Mechanical Engineer
    Location:
    Lawrence, KS
    Balance:
    487Coins
    Ratings:
    +34 / 0 / -0
    That's some of my confusion. I know these exist for DIY steering wheels already. There was a thread here about the MMosFFB wheel that uses an STM32 Discovery board with some custom software to handle all of the FFB logic and it even supports extra buttons and pedals, but I think the main limitation with that is that it only has 1 FFB channel. Do flight sims use significantly different FFB messages than racing games? I had the wild idea to potentially just get two of these boards and have one run each axis independently, but I'm not sure if that would talk to something like MSFS 2020 well or not.
  6. Map63Vette

    Map63Vette Member

    Joined:
    May 19, 2016
    Messages:
    138
    Occupation:
    Mechanical Engineer
    Location:
    Lawrence, KS
    Balance:
    487Coins
    Ratings:
    +34 / 0 / -0
    So it looks like there might be something out there to some degree already. Just stumbled on a YouTube video that used the Open FFBoard to build a FFB joystick. I think this is similar (or maybe it's just the same thing) as the steering wheel versions I've seen before, but with some more output options.

    https://www.tindie.com/products/gigawipf/open-ffboard-stm32f407-usb-interface-only/

    Generally speaking it sounds like this is a pretty generic FFB device as far as a computer is concerned at least, so it would be up to the user to figure out how to map things and set up the rest, but looks like there might be something out there at least. Seems like a pretty neat setup and not bad for price at $40.
  7. Arturo

    Arturo New Member

    Joined:
    Sep 20, 2023
    Messages:
    6
    Balance:
    53Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    Arduino

    I have made a system to build your own force feedback yokes (and rudder pedals) in xplane, p3d, and msfs.
    you can see here how it works in youtube writing "ffair a2a comanche". I can not put links here yet.

    The problem I saw with open ffb is that you depend on how force feedback is implemented in the simulators.
    And msfs is not supported, p3d is poorly programmed.... So you end up depending on software like xpforce, which is not very configurable.

    So I made my own central box, which contains all the configuration software to simulate any type of aircraft. With multiple forces, types, intensities, effects, autopilot following, etc..

    You can use your own motors, motor drivers and encoders (it is compatible with a lot of them) and build the system as you like.

    The control unit talks to msfs through a fsuipc lua script that is easily manipulated to link it with the variables of any aircraft.
    For example, advanced aircraft like A2A use a different RPM variable than the standard msfs variable, and there is no "xpforce" that can be compatible with all aircraft.
    With my system, you edit the lua script and tell it which engine RPM variable you want to use, and it sends the correct data to the control unit, which can simulate the effects correctly.

    Arturo Moreno.
  8. Map63Vette

    Map63Vette Member

    Joined:
    May 19, 2016
    Messages:
    138
    Occupation:
    Mechanical Engineer
    Location:
    Lawrence, KS
    Balance:
    487Coins
    Ratings:
    +34 / 0 / -0
    I think I may have seen that video. Was it based on DC MY1016 style motors by any chance? My second question would be what exactly is the control unit based on? If it's the system I'm thinking of it looked promising for what I was after, but didn't have much information about how it was actually done or how to mimic the design (like a link to the code or components used to build the control system part).
  9. Arturo

    Arturo New Member

    Joined:
    Sep 20, 2023
    Messages:
    6
    Balance:
    53Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    Arduino
    That is correct. I used MY1016 / MY1025 dc motors.
    The central box is based in a teensy 4.1 using my own code.
    I don't use the FF windows api.
    I send the data to the teensy (torque, air speed, trims, autopilot modes, on ground, surface type, rpm, stall state etc etc etc). The teensy computes all the data, and read encoders to know the yoke position, and taking account all the config setup done in the teensy with built-in menu, drive the motors.

    I will put some docs here in next pots when I can use external links.
    • Informative Informative x 1
  10. Arturo

    Arturo New Member

    Joined:
    Sep 20, 2023
    Messages:
    6
    Balance:
    53Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    Arduino
    this is the video



    Here is another one working with xplane:



    This is the central box:
    [​IMG]

    I am building central box with a remote gauge (same dimension real aircraft gauges so you can put a gauge in the panel to setup the system:

    [​IMG]


    you can see wiring manual here:
    https://drive.google.com/drive/folders/1x9gZsUDggGmZ0Zr5zCQv19v83EzOYOEE?usp=sharing

    There is the setup guide there too, but it is only in spanish yet. You can translate with some translator to give you an idea.

    Thanks.
    Arturo.
    • Like Like x 1
  11. Arturo

    Arturo New Member

    Joined:
    Sep 20, 2023
    Messages:
    6
    Balance:
    53Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    Arduino
    the central box...

    Attached Files:

    • Like Like x 1
  12. Arturo

    Arturo New Member

    Joined:
    Sep 20, 2023
    Messages:
    6
    Balance:
    53Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    Arduino
    And wiring diagram options..

    Attached Files:

    • Useful Useful x 1
  13. Map63Vette

    Map63Vette Member

    Joined:
    May 19, 2016
    Messages:
    138
    Occupation:
    Mechanical Engineer
    Location:
    Lawrence, KS
    Balance:
    487Coins
    Ratings:
    +34 / 0 / -0
    Neat! That second video with the dual yokes is the one I saw before. I'll have to take a look at that. DC based motors are certainly easier to come by and have more options for scaling I think. Is your code for the Teensy available somewhere or is that in the instructions?