Archive for 07 Jun 2010

Incremental rotary encoders (Part 2)

Part 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Fed up rotating the encoder’s knob? It is time to improve a little bit our counting technique. The encoder reading routine analyses the interval between two counts. If this interval is more than a certain time (in our case 100 ms), the counter is incremented or decremented by unitary steps. If […]