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

News DIY FFB wheel STM32 ver.(work in progress)

Discussion in 'DIY peripherals' started by Jonny_boii, Oct 29, 2024.

  1. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    for any one interested with the circuit diagram:
    FFB_Circuit_Diagram.jpg

    and this is the wiring form the official Project EMC lite:
    Screenshot 2024-11-01 180011.png
    • Useful Useful x 1
  2. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    upload_2024-11-1_18-5-9.png
    and this was the new one I tried recently but it didn't work as expected it just lasted longer than the 1st one but one drive gave out followed by the next.:(
  3. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    by the way way I had got the idea for this post.
  4. Aerosmith

    Aerosmith Active Member

    Joined:
    May 30, 2024
    Messages:
    273
    Occupation:
    self employed
    Location:
    Germany
    Balance:
    1,596Coins
    Ratings:
    +147 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    To be honest, I don't really understand why the BTS drivers burn up. According to the data sheet of the BTS7960 chip it should have overtemperature protection so it should shut down before being damaged. But the original chip is no longer manufactured by Infineon and the clones might have the protection not working properly.

    I can't give an instant fix or a recommendation how to make it work reliably. But from the schematic above, I think, I know how the current control algorithm works. The Arduino takes feedback from the encoder to measure the speed of the motor. It then tries to calculate the back-EMF voltage and aplies a bit more or less voltage to the motor to control the current.

    This is a bit like "driving blindly" and only works if the voltage-per-RPM constant and the winding resistance of the motor matches the values programmed into the software. Using a diffent and especially much larger motor than the original design is calling for trouble. So I'd recommend to replicate the original design as close as possible and use the exact same motor and encoder if possible.
    • Agree Agree x 1
  5. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    so this up here was the original design for the official EMC software.

    circuit.png


    This here is my modified circuit design with a more reliable driver. hope this works(yet to test it) ps.my 1st circuit diagram.
    edit: I forgot to add Z axis for the encoder cuz I don't have it for my encoder but its not used in the above diagram so if yall have Z axis yall don't have to connect it to anything .
    Last edited: Nov 3, 2024
  6. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Next, i would have to change the 2pwm one 1dir to 1pwm to 1dir in the emc lite software like this:
    Screenshot 2024-11-01 164114.png

    and fingers crossed it should work. (I really hope, am getting mad about this project now since I can't just give up :(. Cuz ill need up like those losers who just do half-assed things and don't even try to fix it.
  7. notria

    notria New Member

    Joined:
    Nov 3, 2024
    Messages:
    2
    Balance:
    22Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    I'm using a leonardo wheel for almost 4 years and my ibt 2 never heats up only motor sometimes heat mainly in hot days of summer my motor is a 200w dc spindle (as they sell on aliex). also, i recommend that everyone who still using a leonardo wheel give a try with rane's firmware (arduino ffb wheel by Milos Rankovic github)
    • Informative Informative x 1
  8. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    I bet you got the original ibt 2 that explains it for sure and are you running it on a battery ?
  9. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    And this software is similar to MMOs not a huge fan of this software as it didn't work with my Arduino
  10. Aerosmith

    Aerosmith Active Member

    Joined:
    May 30, 2024
    Messages:
    273
    Occupation:
    self employed
    Location:
    Germany
    Balance:
    1,596Coins
    Ratings:
    +147 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    I just saw this FFB wheel. It seems to use similar hardware as yours but much smaller motors including gearboxes. With the gearboxes and the two motors connected in series, I think that it requires a much lower current for the same torque so the drivers don't get as hot.
    Please also have a look at the Logitec wheel. It also uses relatively small motors with a large gear ratio.
    • Useful Useful x 1
  11. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    I checked the post and even left a reply.
    Yes the motor are both 12v and this my first approach but I wanted more torque and I bet they will heat after some while of use if not the driver the motors sure will they are the same motor as in a kitchen blender.
  12. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Yup seen this too but I don't have access to high quality custom gears
  13. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    And wouldn't want my gears to be more expensive than my motors lol
  14. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    I found that guys motor @Aerosmith
    IMG_20241104_210320.jpg
    Its not the exact as his was 200rpm or something .
    Looking at his gears size makes sense that he would go for smaller gear ratio as these are already geared motors
  15. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    I have ordered the cytron driver waiting for it's arrival will update when I get it.
  16. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Update guys, have got the driver and hooked it up after changing the inputs for pwm and Dir to singles each it worked successful no over heating nothing works like a champ

    I have to fully stress test it tho may be later now starting to put everything together
    • Like Like x 1
  17. notria

    notria New Member

    Joined:
    Nov 3, 2024
    Messages:
    2
    Balance:
    22Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    No. it's not like mmos (which runs only in a stm32 based board) Arduino ffb wheel by Milos runs in a Arduino (as title suggest lol) or any board with a atmega32u4 microcontroller.

    I don't know if my ibt2 is the original ones. But when I bought it, it was very cheap. I even purchased 10 in na row

    I'm using a 600w 24v power supply. Avoid 12v supply bc it will make everything get hot earlier
    • Informative Informative x 1
  18. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Hey if it works for you then all good boss, thanks for the info.:)
  19. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    If anyone is interested in my ffb wheel with the Cytron driver this is the link. Enjoy, I will test it more in the future so stick around.

    Btw for the spring test there is a high pitched sound coming for the driver it used to come form the bts too before it died.
    Could someone look into this for me. I Will also try to find a solution for this.

    Edit:
    Looked into this and correct me if am wrong i think that it's something got to do with the PWM frequency.
    Last edited: Nov 7, 2024
  20. Jonny_boii

    Jonny_boii Member

    Joined:
    Oct 29, 2024
    Messages:
    43
    Balance:
    223Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    For anyone who needs the circuit diagram