Sensors are now a well-known device in electronics. Which converts an environmental change into an electrical signal. In a word, a sensor is a mechanical device that can respond to the sound of an event , heat light, etc. For example , when you rotate the top of the display of an Android phone, the light goes out when it is on and the smart light goes out when talking on the phone. This is mainly due to the sensor.