A sensor is a device that measures a particular characteristic of an object or system. Some sensors are purely mechanical, but most sensors are electronic, returning a voltage signal that can be converted into a useful engineering unit. Electrical voltage