Fc 51 Ir Sensor Datasheet Jun 2026
To reliably detect objects at different distances, use the onboard potentiometer. Follow these steps:
When an object comes within the sensor’s field of view, the IR light bounces off the object and into the phototransistor. The onboard comparator circuit (usually an LM393 chip) then processes the signal and outputs a clean , which can be read directly by a microcontroller. Fc 51 Ir Sensor Datasheet
Product counting on assembly lines or presence detection. To reliably detect objects at different distances, use
| FC-51 Pin | Arduino Pin | | :--- | :--- | | VCC | 5V | | GND | GND | | OUT | Digital Pin 2 (or any digital input pin) | Product counting on assembly lines or presence detection
The FC-51 is an analog/digital infrared (IR) sensor module designed for short-range obstacle detection (2 cm to 30 cm). Unlike Sharp GP2Y0 series sensors (which give analog distance values), the FC-51 typically outputs a simple (HIGH/LOW) when an object is within a preset threshold.
: Digital output pin that provides a signal based on detection status. Working Principle
pinMode(2, INPUT); pinMode(13, OUTPUT); if (digitalRead(2) == LOW) digitalWrite(13, HIGH); else digitalWrite(13, LOW);