Fc 51 Ir Sensor Datasheet
Digital TTL level (Low logic when obstacle is detected) Output Drive Capability: Clean signal, greater than 15mA Dimensions: 32mm × 14mm Mounting Hole Size: 3mm (Screw diameter) Pinout Configuration
The FC-51 is designed to interface directly with common microcontrollers. Below are practical code examples for both Arduino and Raspberry Pi Pico.
The is a cost-effective, reliable solution for proximity detection, offering adjustable ranges up to 30cm. Its simple 3-pin interface and digital output make it perfect for integrating obstacle avoidance into various automation and robotic projects.
The following sketch reads the digital state of the FC-51 sensor and prints the detection status to the Serial Monitor. It also toggles the Arduino's built-in LED (Pin 13) when an obstacle is detected. Fc 51 Ir Sensor Datasheet
The IR receiver (black photodiode) captures the reflected light and converts it into an electrical signal.
Note: This is a synthesized feature datasheet. For official specifications, refer to the FC-51 vendor datasheet or test with your specific board version, as clones vary.
The onboard LM393 comparator compares the photodiode's voltage against a threshold set by a manual potentiometer. Digital TTL level (Low logic when obstacle is
Turning decreases the detection distance (lower sensitivity). Calibration Procedure
If no obstacle blocks the path, the light disperses, and the receiver detects nothing. When an object enters the detection range, the light bounces back toward the sensor.
Increases the detection range (makes the sensor more sensitive to distant objects). Its simple 3-pin interface and digital output make
Unlike analog IR sensors (such as the TCRT5000-based modules), the FC-51 includes an onboard comparator circuit (typically an LM393 chip) that converts the analog signal from the phototransistor into a clean digital output. This makes it extremely easy to interface with microcontrollers like Arduino, Raspberry Pi, ESP32, or STM32.
Every engineer must know the limitations documented in the FC-51's fine print.
The object is too dark (absorbs IR) or outside the 30cm limit.
The black-tinted photodiode captures the reflected IR light. Its electrical resistance drops proportionally to the intensity of the received light.