Several years ago I used a rotary quadrature encoder in a DDS frequenxcy generator with complete simplicity and success, but it was a quality unit pulled out of a radio or similar.
I'm trying to get one of the cheap little blues ones to work, using hardware debouncing, but as my debouncing gets more and more complex the nosiy little beast refuses to produce a reliable signal. I've tried continuous sampling until I get three readings the same in a row. (with a delay of 100ms before re-enabling the interrupt)
As I'm reading it in an ISR I don't want to spend too long on debouncing, has anyone found a reliable and relatively quick way of debouncing these beasts in software?
I would rather not fit a daughter board with hardware debounce on, if all else fails I will simply cycle through the available values, as there are only nine, but it won't be as elegant.