There are more than one shaft encoder on the market.  I think there
are three or four basic types each using a diferent encoding method
Some are optical some mechanical.  The mechanical ones might bounce or
might bounce after the unit ages.  I've always wondered if a simple RC
network would de-bounce contacts but because software does not add
parts I've used software.  Software debounce is pretty easy - read the
switch multiple times with a slight delay between each until finally
you get 6 or 8 reading that are all the same

This is prety good, explains the different types and is readable too.
http://en.wikipedia.org/wiki/Rotary_encoder

-- 
=====
Chris Albertson
Redondo Beach, California

Reply via email to