sensor
noun
°A device or organ that detects certain external stimuli and responds in a distinctive manner.