Hardware debouncing for Encoder #178
Replies: 5 comments 3 replies
-
What would the effect of this be, in laymans terms? (Isn't bouncing resulting in too many pulses? We seem to get/use too few, if anything.) |
Beta Was this translation helpful? Give feedback.
-
instead of wasting CPU cycles trying to wait for the pins to stabilize, this circuit does it externally it's very low cost, just works (most of the times, you can just add the capacitors C35, C36 and C44) |
Beta Was this translation helpful? Give feedback.
-
I found that just adding 10 nF caps from the rotary encoder pins to ground works fine. I have some good encoders, but the only encoders I have with the P.Button switch are cheap little Bourns ones, and without the caps they are quite erratic- miss pulses or skip over 2 detents, etc. |
Beta Was this translation helpful? Give feedback.
-
Hi probono (Pro Bono - are you a lawyer?) |
Beta Was this translation helpful? Give feedback.
-
Added just the 3x 10nF caps today across the encoder and it responds perfectly now. |
Beta Was this translation helpful? Give feedback.
-
We could use this simple circuit for debouncing the 3 switches from the encoder.
This is part of Norns Shield hardware (https://github.com/monome/norns-shield)
Beta Was this translation helpful? Give feedback.
All reactions