As with all optical devices, the switching condition is consistent with the phototransistor receiving a preset light level. The switching point and light level depends on several possible factors such as: ambient light variation, LED and phototransistor pair degradation, contamination of the LED or phototransistor optical path, system power variation and ambient temperature changes. These variations are reduced or eliminated by a periodic recalibration of the board.