Hello,
As already stated in the title i have 2 rotary encoders that work but both activate only one button push no matter wich way and how far I spin them.
Did i wire them wrong or did i forget something int the arduino setup?
Hi ! Not sure if you browsed the few advice about encoders here ? https://github.com/SHWotever/SimHub/wiki/Arduino-Rotary-Encoders#read-before
Basically 3 main possibilities
- It could be an issue about missing resistors (in this case you need the enable "pullup" option)
- Incompatible "timing", only half steps full steps are supported
- Or incompatible pins : a few pins on arduino can't support them.
Are you using a board with included resistors as shown on the wiki ? The pinout suggested by the setup tool is made for these.
Nicolas
Thank you for the fast response. I'm using a pro micro and think I have have figured the issue.
As you said i probably wired them to the wrong pins on the arduino (i have them connected to the a ports and 14 15).
Should i rewire them to the otheside? (the 2 till 8 ports)