1. 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!
  2. 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
  3. 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

    Apr 26, 2021
    +0 / 0 / -0
    My Motion Simulator:
    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.
    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:

    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. Ads Master

    Ads Master

    +0 / 0 / -0