Which of the following electrical components detects a change of state by blocking the infrared beam with a flag or actuator?