Fix lower and upper bounds for the sensor.