Using a quadrature encoder (rotary switch) with Arduino

I've found several sites and posts explaining how to use a quadrature encoder with an Arduino, but wasn't completely satisfied with any of the methods used. Perhaps part of the problem is with the encoder I'm using: it's part #COM-09117 at This encoder has twelve detents per rotation, and each detent covers one complete cycle of Gray code. This means that the most common method of reading the ...

Read more
Scroll to top