The FC-51's 3.3V compatibility makes it a great choice for the Raspberry Pi ecosystem.
Mounted on the front or sides of autonomous rovers to prevent collisions. Fc 51 Ir Sensor Datasheet
The module typically features a 3-pin interface, making it easy to wire to microcontrollers like Arduino: : External 3.3V – 5V power supply. GND : External ground connection. The FC-51's 3
The sensor can be easily interfaced with microcontrollers like Arduino, Raspberry Pi, or other digital circuits. The output pin provides a digital signal that indicates the presence or absence of an object within the detection range. GND : External ground connection
The use of an IR LED pair allows the sensor to perform well under moderate ambient light conditions.
// Define the sensor pin const int SENSOR_PIN = 2; const int LED_PIN = 13; // Onboard Arduino LED void setup() pinMode(SENSOR_PIN, INPUT); pinMode(LED_PIN, OUTPUT); Serial.begin(9600); Serial.println("FC-51 IR Sensor Initialized."); void loop() // Read the digital state of the sensor int sensorState = digitalRead(SENSOR_PIN); // FC-51 outputs LOW when an obstacle is detected if (sensorState == LOW) digitalWrite(LED_PIN, HIGH); // Turn on onboard LED Serial.println("Status: Obstacle Detected!"); else digitalWrite(LED_PIN, LOW); // Turn off onboard LED Serial.println("Status: Path Clear"); delay(100); // Small delay to avoid flooding the serial monitor Use code with caution. Common Applications
As noted in third-party research, a single "official" FC-51 datasheet from a specific manufacturer has not been universally identified. However, consistent technical details are available from multiple online electronics retailers and tech forums. For definitive information, always consult your particular module's accompanying documentation or the datasheets of its key components: the and the IR emitter/receiver pair .