The OP.90 and OP.180 are two limit switches placed in different orientations. They are built with an ITR9606, which combines an infrared - emitting diode and a silicon phototransistor. These limit switches are used in control systems for machinery control, as safety interlocks, or to count objects passing a point. A limit switch is an electromechanical device with an actuator linked to contacts. When an object touches the actuator, the contacts make or break an electrical connection. The actuator of this unit has a pair of IR parts: an emitter and a receiver (silicon phototransistor). The IR emitter constantly sends out IR waves, and the receiver keeps detecting them. If there's no object between them, the receiver gets the IR signal, which is how it detects and breaks the electrical connection. Product features include a vertical layout, being an IR limit switch, having a fast response time, and high sensitivity. The package includes 1x OP.180 unit and 1x GROVE Cable. Applications range from door switches, machinery control, mouse copiers, switch scanners to non - contact switching. For the Arduino IDE code, click here. There's also a demo video available.

How to use: First, connect the OP.180 unit with the GROVE Cable. You can use it in various applications like door switches or machinery control. Just place it in the right position where you want to detect objects. For the Arduino IDE, you can get the complete code by clicking the provided link and then upload it to your Arduino board. Notice: Make sure there is no strong interference source around the device, as it may affect the accuracy of the IR detection. Also, don't touch the IR parts with your hands directly to avoid contamination. Maintenance: Keep the device clean. If it gets dirty, you can use a soft, dry cloth to gently wipe it. Store it in a dry and cool place when not in use to extend its lifespan.