The Adjustable Infrared Switch consists of a set of infrared transmitter and infrared receiver. It is widely used in robot to avoid obstacles, interactive media, industrial assembly line, and many other occasions. Its detection distance can be adjusted in the range of 3- 80cm according to the demand. The normal status is high, it turns into low when there are obstacles. In addition, there is a light behind the detection probe used for showing the detection status.