A transmissive optical encoder is disclosed. The transmissive optical
encoder includes a detector, a code wheel, and an emitter. The detector
includes an aperture through the detector. The aperture is configured to
receive a rotary shaft of a motor. The code wheel is coupled to the
rotary shaft of the motor. Rotation of the rotary shaft results in
corresponding rotation of the code wheel. The emitter is configured to
emit a light signal through the code wheel toward the detector. Rotation
of the code wheel results in modulation of the light signal at the
detector. Embodiments of the transmissive optical encoder consume
relatively little space and facilitate alignment of the emitter and
detector.