
Overview
The sensor consists of an IR LED and a photo sensor (phototransistor). The light emitted by the IR LED gets reflected by any object placed in front of the sensor and this reflection is detected by the photo sensor (phototransistor). Any white (or lighter) colored surface reflects more than black (or darker) colored surface.
When the reflected light is detected, it produces Digital HIGH (or Binary 1) output on the Sig pin. The on-board LED indicator will also glow. If no reflection is detected or if the object is too far from the sensor, the output on the SIG pin stays at Digital LOW (Binary 0). The on-board LED indicator will be off as well.
The detectable range of this sensor is 4–16 mm. The module incorporates a Rail-to-Rail Operational Amplifier to amplify the output of phototransistor. There is a potentiometer which can be used to adjust the gain of the amplifier, that is, sensitivity of detection.
Get Inspired

A smart coop with four-way door and cleaner can be scheduled at specific time from remote command.

Arduino is excited to announce a strategic new partnership with RS/OKdo, a prominent leader in the distribution of industrial and electronic equipment. This collaboration marks a significant step forward in bringing Arduino’s technology closer to China’s thriving maker community and enterprise sector, offering enhanced local support and access to original Arduino boards and resources. Empowering a growing community in China With over 2.7 million active users of the Arduino IDE in China, one of our top priorities is to deliver an even better experience for the Arduino Community. This partnership with RS/OKdo means users will enjoy more local language content, technical support, competitive pricing, and most importantly, easier access to official Arduino products. Official Arduino boards, certified for China As part of this initiative, a range of classic and most popular Arduino boards has been specifically manufactured for the Chinese market. These boards are exactly the same as Arduino’s global versions of the same products, produced in Italy to Arduino’s highest standards, tested rigorously for quality and performance. Each product , although certified exclusively for the Chinese market, matches the same technical specifications and high-quality benchmarks as those sold worldwide. The boards are available only through RS/OKdo and Arduino/OKdo’s authorized sub-distributors. They have unique Arduino MPNs but with a _CN suffix: Arduino UNO R4 Wifi (ABX00087_CN) Arduino UNO R4 Minima (ABX00080_CN) Arduino UNO R3 (A000066_CN) Arduino Nano ESP32 with (ABX00083_CN) and without (ABX00092_CN) headers Arduino Nano R3 (A000005_CN) Arduino Mega 2560 (A000067_CN) Arduino DUE (A000062_CN) Front & back of official UNO R4 WiFi - SKU ABX00087_CN Front & back of official UNO R3 - SKU A000066_CN Expanding local support for enterprise transformation In addition to supporting makers, RS/OKdo will provide enhanced