sensor is an electronic device that measures the humidity
in its environment and converts its findings into a corresponding electrical signal. ... Relative humidity
is calculated by comparing the live humidity
reading at a given temperature to the maximum amount of humidity
for air at the same temperature.