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 FFB Steering wheel (MMosFFB ) (In Progress)

Discussion in 'DIY peripherals' started by Alexey, Dec 10, 2015.

  1. mrbeginner

    mrbeginner Active Member Gold Contributor

    Joined:
    Apr 8, 2012
    Messages:
    153
    Occupation:
    What ever come in my way
    Location:
    Finland Niinisalo
    Balance:
    10Coins
    Ratings:
    +55 / 2 / -0
    My friends G27 broke few years ago and there was plastic encoder disc broke
    https://www.ebay.com/itm/274456304383?hash=item3fe6dedaff:g:u~QAAOSwPSBfMvOt
    Maybe this is your problem too.
  2. Nicolás Famularo

    Nicolás Famularo New Member

    Joined:
    Jun 2, 2021
    Messages:
    1
    Balance:
    43Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi, sorry for my bad english but i have the next problem, and i need some ideas and some help. I have an arduino leo with the EMC firmware and i plug it (with the same wirings that are at they page) an hn3806-ab-600N encoder. The problem is that when i spin the encoder clockwise, the EMC soft turn the wheel clockwise (eg. 10 degrees), but when i spin the encoder the same distance bue anti clockwise, the EMC soft almost doesn't turn (eg. 2 degrees). So the steering wheel lost the center, lost the alignament. Anyone have some clue? the same wiring with the FFB soft works fine
  3. GeoHan

    GeoHan New Member

    Joined:
    Aug 14, 2019
    Messages:
    4
    Balance:
    83Coins
    Ratings:
    +0 / 0 / -0
    Been working on a DIY FFV Wheel with an Arduino and a Omron E6B2 1000ppr Encoder (Chinease Import). But I have been struggling to get a signal out of the endoder, I have verified the arduino and the software works using a cheap ~20 ppr encoder (the ones with the click button). I have tried with and without resistors (1k & 4.7K), with the Omron.

    Does anyone have any ideas on what I should try next?
  4. LuisG

    LuisG New Member

    Joined:
    Jul 25, 2021
    Messages:
    11
    Balance:
    76Coins
    Ratings:
    +0 / 1 / -0
    Hey I read you can use STM32 or Arduino Leonardo. Is there any advantage for the stm32? Its roughly double the price, but its not so much money anyway. Since I have neither, which should I get?
  5. juanpro91

    juanpro91 New Member

    Joined:
    Dec 18, 2020
    Messages:
    7
    Balance:
    112Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    AC motor
    Hi there! How are they? I tell you that I was able to finish the steering wheel, the truth works perfectly. but I have a problem in assetto corsa, that's why I write to you. In the test sessions, the feedback is not working properly for me, the steering only gets heavy when the car is not rolling, the track, piano and off-track effects do not work, and neither does the gain. I already tried with the configuration of the feedback of the game and it does not solve it. Can you think of what could be the downside? I assembled it with arduino leonardo.

    then I upload the photos with the latest version.

    Thank you.
  6. elnino

    elnino Active Member

    Joined:
    Apr 1, 2010
    Messages:
    239
    Occupation:
    Computer Geek
    Location:
    Adelaide, Australia
    Balance:
    1,512Coins
    Ratings:
    +137 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Ditch the Leonardo and get an f401 board, then use emc developments firmware. You will not be disappointed. Yes, it costs a few euro but WELL worth it over mmos etc and is in active development.
    • Informative Informative x 1
  7. Wasileusz

    Wasileusz New Member

    Joined:
    Sep 6, 2021
    Messages:
    1
    Balance:
    17Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi there! I have a problem with my encoder (from Canon IP2700). It worked for a while but it stopped working, I can see that the red LED inside is on, but the Arduino Leonardo is not receiving the signal from it. What can i do?
  8. Michelle

    Michelle New Member

    Joined:
    Sep 16, 2021
    Messages:
    29
    Balance:
    251Coins
    Ratings:
    +4 / 0 / -0
    Hello!
    Just finished rebuilding my Thrustmaster RGT using stm32 board running Mmos coupled with bts7960 powering new 24v/360w DC motor and it all works for most part. I am struggling to get ffb working properly. Overall it do works, I have end stops and some effects but they seem to be most noticeable when at max angle. When near 0° angle there is literally nothing except high spikes when crashed or so, sometimes they came stupidly strong out of nowhere like when testing on F1 2020 where on fast straight no ffb and when slightly turning wheel it literally fight me. From information I gathered here in previous posts, it may be a problem with how bts is wired or mmos setting. Using pwm/dir mode, the BTS is wired like this: pe9 (pwm) on both EN inputs, pe10 (dir1) on RPWM, pe11 (dir2) on LPWM. Idk how to propresly setup mmos config. I ill be gald for any idea how to make it wok proprely. Also what about EMC? Is that better/worse, any issues with BTS modules?
  9. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    395
    Balance:
    2,241Coins
    Ratings:
    +115 / 2 / -0
    Don't use pwm dir.
    Pwm h-bridge instead. And look carefully how all is connected in schematics.
  10. Michelle

    Michelle New Member

    Joined:
    Sep 16, 2021
    Messages:
    29
    Balance:
    251Coins
    Ratings:
    +4 / 0 / -0
    I did try it previously, but not tested in game since i did not liked that braking effect. Is there way to get around it or it is something I have to live it? Thanks
  11. Francisc

    Francisc New Member

    Joined:
    Dec 26, 2020
    Messages:
    17
    Balance:
    90Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    So, I also use the emc software along with stm32 f4ve board. And i'm having problems with the wheel keeping his center. Everytime I unplug the board from the pc, i have to redo the wheel center and sometimes in game the center is sliding sometimes with 4 degrees, sometimes more.

    I use the OMRON E6B2-CWZ6C 1000P/R encoder. This is the wiring i did, the resistors are 4.5kohm

    Attached Files:

  12. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    395
    Balance:
    2,241Coins
    Ratings:
    +115 / 2 / -0
    4.5k can be too much in a 5v line. Use 2.2k. But not too much less also. Will sag the voltage of a controller then.
  13. Francisc

    Francisc New Member

    Joined:
    Dec 26, 2020
    Messages:
    17
    Balance:
    90Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    I will try that tomorrow and let you know if that worked. Thanks
  14. Michelle

    Michelle New Member

    Joined:
    Sep 16, 2021
    Messages:
    29
    Balance:
    251Coins
    Ratings:
    +4 / 0 / -0
    I have 1k pull-ups and no issues so far. I usually use 1k pull-ups and pull-downs in my circuits and never had problems.
    For why it is not remembering center, I would suspect software not saving it?
  15. Francisc

    Francisc New Member

    Joined:
    Dec 26, 2020
    Messages:
    17
    Balance:
    90Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Now I think that it's not remembering the center because I disconnect the power. But the drifting still occurs. Do you use the same encoder?
  16. Michelle

    Michelle New Member

    Joined:
    Sep 16, 2021
    Messages:
    29
    Balance:
    251Coins
    Ratings:
    +4 / 0 / -0
    Yes. Ordered from Alliexpress, not sure if real omron or not, looks legit. Does the drift occurs randomly or it happens when turning a wheel? I had similar problem when real position drift away from sensed position in one direction after turning wheel. I was able to track it down to lose connection of A wire (on stm32) from encoder resulting in missed pulses :)
  17. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    395
    Balance:
    2,241Coins
    Ratings:
    +115 / 2 / -0
    Thing is, untill measure the voltage. It can work fine, but has a voltage sag anyway. And it's better not to have it)

    Centre loose occured with 2channel encoders. Doesn't get saved. It's not a big deal. Also, don't unplug the encoder. If so, u've to replug the controller usb too, with plugged in encoder beforehand. Better use soldering connections if smth too.
  18. Francisc

    Francisc New Member

    Joined:
    Dec 26, 2020
    Messages:
    17
    Balance:
    90Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Drifting occurs only when turning from left to right. Sometimes it works as intended, not drifting. I tried with an arduino leonardo board, plugged the encoder directly, without resistors and works without problems.

    Yeah, i don't mind that if I unplug the stm32 board from the pc i have to calibrate the center again, what really bothers me is that after calibrating in software, and saying that z index found and all that and i get in acc, driving a little bit and the center drifts to the right. If i keep the wheel straight, it's not drifting, but if i move right, left and right again, it drifts a bit.


    LE: I put the 2.2k resistors and for now seems to be fine. Thanks a lot for the help :D
    • Like Like x 1
    Last edited: Sep 21, 2021
  19. Francisc

    Francisc New Member

    Joined:
    Dec 26, 2020
    Messages:
    17
    Balance:
    90Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Ok, same problem again. Another thing i saw was that if i move the wheel slow, from left to right there is no drifting. But if i move it fast, the led D2 from the smt board blinks, and then the drifting occurs. I can't understand what is wrong.
  20. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    395
    Balance:
    2,241Coins
    Ratings:
    +115 / 2 / -0
    Replace the wires for encoder. You have bad contact. Replug stm everytime you disconnect the encoder too.