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. martinez cristian a

    martinez cristian a New Member

    Joined:
    Sep 16, 2020
    Messages:
    7
    Balance:
    93Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Because cables are a bit mess and i have one but yesterday i had a few issues switching so i may go back to Pro Micro again.
    The right side of my FFB is working but is not applying centering force, i mean there is no resistance when turning right. Any idea?
  2. Chris_Beeves

    Chris_Beeves Active Member Gold Contributor

    Joined:
    May 31, 2019
    Messages:
    330
    Balance:
    1,897Coins
    Ratings:
    +229 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    I would guess that the enable signal isn't bridged over both enable pins on the BTS? There is a pin that should go to the both of them.
  3. martinez cristian a

    martinez cristian a New Member

    Joined:
    Sep 16, 2020
    Messages:
    7
    Balance:
    93Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    it was an issue due low quality cables, after replacement everything was working fine. It took me a couple of days triyng to figure out why but that did the trick.

    thank you
    • Like Like x 1
  4. martinez cristian a

    martinez cristian a New Member

    Joined:
    Sep 16, 2020
    Messages:
    7
    Balance:
    93Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Hi guys, im hare again. My Wheel is working awesome but is not recognized on Pcars 2 and Automobilista 2, is there a way to do it?
    not sure if this is the right thread to post this question...

    thx
  5. Joek1973

    Joek1973 New Member

    Joined:
    Sep 29, 2020
    Messages:
    4
    Occupation:
    Education
    Location:
    Swindon, UK
    Balance:
    39Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    1. Hi everyone - I have thoroughly enjoyed reading this thread and it inspired me to get my G25 (dead mainboard) working again. Due to Chris's suggestion (and because it's supported in EMC Utility) I went with:

    STM32F103C8T6 'Blackpill' board
    BTS7960 (GAC633 I think) 43A driver
    Stock G25 motors and encoder

    It's working great! I'm not 100% sure that I have the encoder settings correct though in terms of the CPR count of the encoder. It's the stock G25 encoder (is that 30 or 60 slot?), and what is the multiple for a 2-phase encoder (which I think this is)? I hope that makes sense and would appreciate any advice here.

    2. Seperately to this, I kind of fancy doing a custom build using ZY1020 24VDC motor that seem to be easily available on eBay? Any thought on these guys? What sort of gearing would one need or could they be used in direct drive?

    Cheers

    Joe
  6. Chris_Beeves

    Chris_Beeves Active Member Gold Contributor

    Joined:
    May 31, 2019
    Messages:
    330
    Balance:
    1,897Coins
    Ratings:
    +229 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    Nice that it worked out for you!
    The multiplier is 4, and I THINK the motors are geared 1:16, so you should either go with 4x16x30 or 4x16x60. Just put that in, set the hard/soft lock to 100% and try to turn the wheel lock to lock. You should see the wheel in the utility turn the same speed as yours too.

    Lots of builds in here run the 1020 direct drive. It draws a lot of amps and gets quite hot but apparently it works.
    I would suggest trying the hoverboard direct drive. Built two of those and they are wonderful!

    Good luck!
  7. Joek1973

    Joek1973 New Member

    Joined:
    Sep 29, 2020
    Messages:
    4
    Occupation:
    Education
    Location:
    Swindon, UK
    Balance:
    39Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi Chris,

    Thanks for the tips on the encoder resolution! Much appreciated. With regards to the hoverboard motor, which do you mean? When I google it, I get results for 36V 350W hoverboard integral wheels (motor in wheel) - are these what you mean or do you mean something else?

    Cheers :)
  8. Chris_Beeves

    Chris_Beeves Active Member Gold Contributor

    Joined:
    May 31, 2019
    Messages:
    330
    Balance:
    1,897Coins
    Ratings:
    +229 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    No problem!

    Yeah, those motors exactly. There is a thread here:

    https://www.xsimulator.net/community/threads/dd-wheel-with-hoverboard-motor.13178/

    There might be a few other threads too.

    This is mine;
    3C3330D6-D1F8-485A-B4E9-F03A387C9A81.jpeg
    Made it from a scrapped hoverboard
    • Informative Informative x 2
    • Like Like x 1
    • Winner Winner x 1
  9. petrolhead49

    petrolhead49 New Member

    Joined:
    May 20, 2020
    Messages:
    4
    Location:
    Brasov, Romania
    Balance:
    35Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Hello guys,

    I started a project inspired by tomthomas21's build and other nice projects. I used the whole steering column from a 2003 toyota (massive reduction, I know, 15:1) and an omron encoder copy coupled to an arduino leonardo and two bts7960 in parallel. Couldn't get the wheelconfig 0.21 to work properly and went for EbolzMagy's EMC Pro which is a very nice tool.

    The problem is I only get a constant force like a damper, no centering action no other forces. I'll try to explain better, as I don't know a lot about FFB. For example, it's almost impossible to catch the car when the rear slides, it's the same in Assetto Corsa, Dirt Rally 2.0 and Rfactor. When I try to countersteer the wheel opposes that, instead of becoming light, like in a drift car when you can just take your hands off the wheel and it will go in the right direction, thanks to caster. Also, on straight lines there is no centering action, if you turn the wheel it will just stay in that position. I tried inversing polarities and re-checked the wiring about a million times.

    Also the Wheelcheck tool doesn't work, it doesn't do anything.

    EbolzMagy's advice is to replace the arduino with a blackpill stm32, which is on the way.

    Any thoughts are welcome.
    Thanks!

    IMG_20201028_122258.jpg IMG_20201028_122352.jpg
    • Winner Winner x 1
  10. Chris_Beeves

    Chris_Beeves Active Member Gold Contributor

    Joined:
    May 31, 2019
    Messages:
    330
    Balance:
    1,897Coins
    Ratings:
    +229 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    Hey Petrolhead!

    I would try using just one BTS to begin with. It sounds like they could be working against each other.
    What happens if you put power straight to the motor? Does it turn?
  11. petrolhead49

    petrolhead49 New Member

    Joined:
    May 20, 2020
    Messages:
    4
    Location:
    Brasov, Romania
    Balance:
    35Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Hi Chris,

    Thanks for the input. Yes, tried both ideas, running only one bts didn't change anything. Regarding the motor, I became a little suspicious and tested it too. I wrote a sketch and managed to control the motor with a potentiometer and it worked properly.

    I did a lot of fiddling around before, but in a previous itteration it did do something else, when I was using an hp printer encoder and the wheelconfig. Wasn't doing what it should have but it nearly broke my hands. Couln't get it to work with the new encoder in that software though.. Last time I tried it only saw half of the rotation, the positive one 0 to 32k. It is a three phase encoder, model is A6B2-CWZ3E-1024 and it seems to work great with EbolzMagy's sofware.
  12. Chris_Beeves

    Chris_Beeves Active Member Gold Contributor

    Joined:
    May 31, 2019
    Messages:
    330
    Balance:
    1,897Coins
    Ratings:
    +229 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    So, the rotation works, but the feedback doesn’t? If you put the motor test sketch back in it still turns the wheel?
    And a stupid question, but guess why I know, did you turn the power in EMC up?
  13. petrolhead49

    petrolhead49 New Member

    Joined:
    May 20, 2020
    Messages:
    4
    Location:
    Brasov, Romania
    Balance:
    35Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Yes, rotation works, but I only get constant force, redid the test with the arduino sketch.
    I am waiting for the blackpill to arrive, but I think it will be at least a week. Are you referring to the fader labeled strength? I dialed it down actually to under 10% because the thing is very powerful, wants to break my arms :oops: The 15:1 ratio might have something to do with that...
  14. martinez cristian a

    martinez cristian a New Member

    Joined:
    Sep 16, 2020
    Messages:
    7
    Balance:
    93Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Hi guys,
    Im trying this project now with Arduino Pro Micro, but i dont have a 11 pin. Which one should i use instead?
    Last edited: Nov 2, 2020
  15. Chris_Beeves

    Chris_Beeves Active Member Gold Contributor

    Joined:
    May 31, 2019
    Messages:
    330
    Balance:
    1,897Coins
    Ratings:
    +229 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    What does pin 11 do?
  16. sidneyland

    sidneyland New Member

    Joined:
    Nov 5, 2020
    Messages:
    1
    Balance:
    16Coins
    Ratings:
    +0 / 0 / -0
    TRY 4.23 13%OFF | 1pcs 360 Degrees Rotary Encoder Module Brick Sensor Switch Development KY-040
    https://a.aliexpress.com/_m0DUP5X

    Can i use this as encoder?
  17. Jurij

    Jurij New Member

    Joined:
    Nov 9, 2020
    Messages:
    2
    Balance:
    42Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor
    Hi, i built steering wheel its working fine but when i set pwm freq to 16.8 khz only steering stop Is working and on 8.2 khz Is game unplayable with that strange sound. Can somebody advice me where Is problem?

    My setup:

    Chinesse stm32f4 Board

    400ppr AB encoder

    12v 150w DC motor

    BTS 7960 driver (pwm h-bridge mode)
  18. ramazane

    ramazane New Member

    Joined:
    Nov 17, 2020
    Messages:
    2
    Balance:
    49Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    mechanically finished the product. I don't know anything about software. what should I do. Could you help
  19. Jurij

    Jurij New Member

    Joined:
    Nov 9, 2020
    Messages:
    2
    Balance:
    42Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor
    You must have some microcontroller
    And driver for motor. It's for long wiring but here are some good tutorial according to which I done It All.




    • Like Like x 1
  20. kolaha

    kolaha New Member

    Joined:
    Nov 27, 2020
    Messages:
    1
    Balance:
    17Coins
    Ratings:
    +0 / 0 / -0
    Hi. I'm new here. I looking for something simple to use, simple to customize and based on popular parts, like HID-Project for Arduino MicroPro/Leonardo. I have the EMC FW and FFBWheel.0.16.leonardo.hex. They have more than 1kB HID Report Descriptor, very strange, very unprofi.

    You, Joe, say "STM32F103C8T6", I have this board too. Would you let me see the source code or at least .hex+Wiring?
    Thank you and other people here.
    Niko