
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

In a world where industrial automation is rapidly advancing, education often struggles to keep pace. This disconnect leaves a big gap in practical, industry-relevant skills among graduates. Addressing this critical need, we’re excited to introduce the Arduino PLC Starter Kit. Powered by the robust Arduino Opta mini PLC and backed by the intuitive Arduino PLC IDE, this kit is set to revolutionize programmable logic control education. Continue reading to find out more about the PLC Starter Kit. What is the Arduino PLC Starter Kit? Before we delve into the details of this exciting new offering, let’s explain exactly what a PLC is. A Programmable Logic Controller (PLC) is a type of industrial computer that’s used to automate, control and coordinate a wide range of manufacturing processes and machinery. The Arduino PLC Starter Kit isn’t just another educational tool; it's a comprehensive solution designed to bridge the gap between theoretical knowledge and practical application in industrial automation — a powerful simulation tool specifically created for vocational and university students considering a career in manufacturing. Here’s what this groundbreaking kit offers: 20 hours of in-depth lessons — Explore the world of programmable logic control with the 'Explore PLC' course. The course has been created by educators and covers all the essential contents including the history of programmable logic controllers, Modbus RS-485 communications, and how PLCs integrate with industrial simulated systems. Arduino Opta WiFi — Built with industrial IoT capabilities, our versatile and easy-to-use micro PLC offers real-time control, monitoring, and predictive maintenance for a variety of applications. Based on the existing Arduino Opta WiFi, it includes the STM32H747XI dual-core Arm® Cortex®-M7 +M4 MCU, making it exceptionally reliable and robust for your classroom.Digital input and output simulators – The kit’s custom-designed