Fc 51 Ir Sensor Datasheet =link= Jun 2026
The FC-51 module utilizes an infrared transmitter (IR LED) and an infrared receiver (Photodiode) mounted side-by-side.
pinMode(2, INPUT); pinMode(13, OUTPUT); if (digitalRead(2) == LOW) digitalWrite(13, HIGH); else digitalWrite(13, LOW);
Emits an infrared beam at a specific frequency.
The FC-51 IR sensor has the following features: Fc 51 Ir Sensor Datasheet
// FC-51 IR Sensor Connection Example const int SENSOR_PIN = 2; // OUT pin connected to digital pin 2 const int LED_PIN = 13; // Onboard Arduino LED void setup() pinMode(SENSOR_PIN, INPUT); // Set sensor pin as input pinMode(LED_PIN, OUTPUT); // Set LED pin as output Serial.begin(9600); // Initialize Serial Monitor void loop() int sensorState = digitalRead(SENSOR_PIN); // The FC-51 outputs LOW (0) when an obstacle is detected if (sensorState == LOW) digitalWrite(LED_PIN, HIGH); // Turn on LED Serial.println("Obstacle Detected!"); else digitalWrite(LED_PIN, LOW); // Turn off LED Serial.println("Path Clear"); delay(100); // Small delay to avoid flooding the serial monitor Use code with caution. Common Applications
If you need help implementing this sensor in your project, tell me: What or platform are you using? What is the object or material you are trying to detect? Share public link
Related search suggestions will be provided. The FC-51 module utilizes an infrared transmitter (IR
Connect the FC-51 sensor to an Arduino board using the following pin map: →right arrow Arduino 5V or 3.3V GND →right arrow Arduino GND OUT →right arrow Arduino Digital Pin 2 Sample Arduino Code
Sunlight and strong fluorescent lighting contain high amounts of IR radiation. This can saturate the receiver and cause false triggers. Avoid using this sensor in direct sunlight.
Here are some example code snippets to quickly get the FC-51 up and running. Common Applications If you need help implementing this
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.
user wants a long article about the "Fc 51 Ir Sensor Datasheet". I need to gather comprehensive information about this sensor. I'll follow the search plan outlined in the system prompt. search results provide a variety of sources. I need to open the most relevant ones to gather comprehensive information for the article. I'll open the results that seem to contain datasheets, specifications, pinouts, wiring diagrams, and application examples. have gathered information from various sources. Now I need to write a comprehensive article. I'll structure it with an introduction, technical specifications, pinout and wiring, calibration, comparison with other modules, example projects, and a conclusion. I'll cite the sources appropriately. FC-51 is a very popular, low-cost digital sensor commonly used for obstacle detection and line following in robotics. While finding a single, "official" datasheet for this generic module is challenging, the information is consistent across many manufacturers. This article collects all the key specifications, pinouts, and application notes into one comprehensive guide.
Adjustable from 2cm to 30cm via an onboard potentiometer.