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 DIY Arduino Leonardo FFB wheel encoder problems.

Discussion in 'DIY peripherals' started by Firestorm7893, Apr 26, 2021.

  1. Firestorm7893

    Firestorm7893 New Member

    Joined:
    Apr 26, 2021
    Messages:
    1
    Balance:
    43Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Hello everybody, this is my first post ever in this forum, so I hope I'm not breaking any rules.
    This january I decided to build a racing rig mostly out of scrapped parts with my dad and i think the structure came out pretty good.
    IMG_4116.jpeg
    The problem is that I cannot get the Rotary Encoder to work reliably. It misses steps and I cannot figure out why.

    This is the encoder I bought off of Amazon.
    I used this guide as a reference
    Part 1:
    Part 2:

    I'm able to calibrate the wheel by disconnecting the z-index wire manually and by wiggling the wheel back and forth like he does in the video. The DC motor also works, it's just the Encoder who's unreliable.

    I tried doing as someone suggested in this forum and I pulled the AB phases high with two 10k resistors. Without them the encoder doesn't register at all, so it's better than nothing I guess...

    I'lll add some pictures of the wiring if your interested:
    IMG_4117.jpeg
    IMG_4115.jpeg

    I know the ground wire attached to the negative of the arduino shouldn't be there, but it doesn't seem to make a difference, keeps missing steps :(
    I put it there just to try something.

    Do you think my encoder is defective? Maybe I'm missing something obvious. I just want this project to work!
    Thanks in advance for any help I may receive
  2. Iyaowh

    Iyaowh New Member

    Joined:
    Jan 2, 2024
    Messages:
    1
    Balance:
    6Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Same with my project, the encorder won't work
    Help us please..