To put it simply, a sensor can be understood by its literal meaning. It is a device for sensing and converting. It can detect information such as temperature, sound, light, etc., and then convert them into current and voltage (such as electrical signals) on the machine. Wait, with it, the machines p