Fc 51 Ir Sensor Datasheet |link| File

Connecting the FC-51 to an Arduino requires only three jumper wires. Below is a step-by-step guide to building a basic obstacle detection circuit. Circuit Connections →right arrow Arduino 5V FC-51 GND →right arrow Arduino GND FC-51 OUT →right arrow Arduino Digital Pin 2 Arduino Example Code

Thanks to its compact size and low power requirements, the FC-51 is found in numerous automation applications:

void loop() sensorState = digitalRead(sensorPin); Fc 51 Ir Sensor Datasheet

Happy sensing!

| Feature | FC-51 | TCRT5000 (on FC-51RA module) | | :--- | :--- | :--- | | | Obstacle avoidance / proximity detection | Line following / color detection | | Detection Range | 2 – 30 cm (adjustable) | 1 – 6 mm (very short) | | Output Type | Digital (via LM393) | Digital and Analog (often both) | | Core Sensor | Discrete IR LED + Phototransistor | Integrated TCRT5000 reflective sensor | Connecting the FC-51 to an Arduino requires only

Digital signal (LOW when an obstacle is detected, HIGH when the path is clear).

// Define Pin Allocations const int IR_SENSOR_PIN = 2; // Connect FC-51 OUT pin here const int LED_PIN = 13; // Onboard Arduino LED void setup() // Initialize Serial Communication Serial.begin(9600); // Configure Pin Modes pinMode(IR_SENSOR_PIN, INPUT); pinMode(LED_PIN, OUTPUT); Serial.println("FC-51 IR Sensor Initialization Complete."); void loop() // Read the digital state of the sensor (Active LOW) int sensorState = digitalRead(IR_SENSOR_PIN); if (sensorState == LOW) // Obstacle detected digitalWrite(LED_PIN, HIGH); Serial.println("Status: Obstacle Detected!"); else // Path is clear digitalWrite(LED_PIN, LOW); Serial.println("Status: Clear"); // Small delay to prevent serial flooding delay(100); Use code with caution. Calibration and Troubleshooting | Feature | FC-51 | TCRT5000 (on FC-51RA

At roughly 3.1cm x 1.4cm, it easily fits into small robotic chassis or tight assembly line setups. Cons & Limitations

An FC-51 IR sensor is a low-cost, highly efficient infrared obstacle avoidance sensor used widely in robotics, automation, and DIY electronics. This module detects objects within a specific range by emitting infrared light and measuring the reflection. It is highly valued for its simplicity, offering a digital output that interfaces directly with microcontrollers like Arduino, Raspberry Pi, and ESP32.