noun
A device or algorithm used to encode something.
(engineering) A sensor which converts a position into an electronic signal.