The sensor is a device, module or subsystem that serves to detect events or changes in the environment and sends the information to other electronic devices, usually computer processors.
The sensor is a detection device that can sense the information being measured and can transform the sensed information, according to a certain law, into an electrical signal or other desired form of information output to meet the requirements of information transmission, processing, storage, display, recording and control.