Calculate own threshold
Display infrared sensor value