The OPB818 slotted switch consists of an infrared emitting diode and an NPN silicon phototransistor mounted in a low-cost black plastic housing on opposite sides of a 0.200” (5.080 mm) wide slot. Switching of the phototransistor occurs whenever an opaque object passes through the slot. The OPB818 .