encoder

/EH0 N K OW1 D ER0/
noun
  1. 1

    A device or algorithm used to encode something.

  2. 2

    (engineering) A sensor which converts a position into an electronic signal.