Optical encoders have two channel analog output

The AEDR-8320 is a high-resolution miniature surface mount (SMT) reflective optical encoder that provides precise positioning information and direction sensing.