A sensor is a device that detects changes in the environment and converts it into data that can be interpreted by a machine (computer).
A sensor is a device that detects changes in the environment and converts it into data that can be interpreted by a machine (computer).