Dear Adafruit / users --
I was the OP for this post about debouncing rotary encoders with the Rotary Trinkey:
viewtopic.php?f=52&t=187981
I'd like to report that using a name brand (Bourns) encoder fixed the problem.
I observed that a friend was having no problem with the same board, so I ordered a Bourns encoder from a reputable electronics supplier and tried it out. The result was stable performance without noticeable problems.
Cheers and thank you very much for the help and attention. I hope this helps someone else out.
Ihab
Rotary Trinkey debounce: Use a good encoder!
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- blnkjns
- Posts: 963
- Joined: Fri Oct 02, 2020 3:33 am
Re: Rotary Trinkey debounce: Use a good encoder!
I fix this in software, and that works perfectly. Even on the cheapest Ali arduino kit encoders. The idea is that the other line is always stable when the active line is "noisy". So if anything happens on a line, wheter it is a up or down event, you change its state, and then you keep the state locked until something happens on the other line.
Please be positive and constructive with your questions and comments.