threshold for mid-range IR sensor