

The IR Sensor (Model: FC-51), manufactured by Murata Manufacturing Co., Ltd., is a versatile electronic component designed to detect infrared (IR) radiation. It is widely used in applications such as proximity sensing, motion detection, and remote control systems. The sensor operates by emitting and detecting IR light, making it suitable for both reflective and interruptive sensing configurations.
Common applications include:








The following table outlines the key technical details of the FC-51 IR sensor:
| Parameter | Specification |
|---|---|
| Operating Voltage | 3.3V to 5V DC |
| Operating Current | 20mA (typical) |
| Detection Range | 2cm to 30cm (adjustable via potentiometer) |
| Output Type | Digital (High/Low) |
| IR Wavelength | 940nm |
| Dimensions | 32mm x 14mm x 8mm |
| Operating Temperature | -25°C to 85°C |
The FC-51 IR sensor module has a 3-pin interface. The pin configuration is as follows:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V to 5V DC) |
| 2 | GND | Ground connection |
| 3 | OUT | Digital output pin (High when no object detected, Low when object detected) |
Below is an example of how to connect and use the FC-51 IR sensor with an Arduino UNO:
// IR Sensor Example Code for Arduino UNO
// This code reads the digital output of the FC-51 IR sensor and prints the
// detection status to the Serial Monitor.
const int irSensorPin = 2; // Connect the OUT pin of the sensor to digital pin 2
int sensorState = 0; // Variable to store the sensor state
void setup() {
pinMode(irSensorPin, INPUT); // Set the IR sensor pin as input
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
sensorState = digitalRead(irSensorPin); // Read the sensor output
if (sensorState == LOW) {
// Object detected
Serial.println("Object detected!");
} else {
// No object detected
Serial.println("No object detected.");
}
delay(500); // Wait for 500ms before reading again
}
Sensor Not Detecting Objects
Erratic Output Behavior
Short Detection Range
Output Always HIGH or LOW
Q1: Can the FC-51 IR sensor detect transparent objects?
A1: The sensor may have difficulty detecting transparent objects due to low IR reflectivity. Use reflective tape or a different sensor for such applications.
Q2: What is the maximum detection range of the sensor?
A2: The maximum detection range is approximately 30cm, but it may vary depending on the object's reflectivity and ambient conditions.
Q3: Can I use the FC-51 IR sensor with a 3.3V microcontroller?
A3: Yes, the sensor operates within a voltage range of 3.3V to 5V, making it compatible with 3.3V microcontrollers.
Q4: How do I know if the sensor is working?
A4: The onboard LED will light up when an object is detected, and the OUT pin will go LOW.
By following this documentation, you can effectively integrate the FC-51 IR sensor into your projects for reliable IR detection.