Fc 51 Ir Sensor Datasheet ✦ Premium

If the reflected signal is strong enough (meaning an object is close), the comparator pulls the Output (OUT) pin LOW . Distance Adjustment

| Parameter | Value | | :--- | :--- | | | 3.3V – 5V DC | | Current Consumption | Approx. 20mA – 30mA | | Detection Distance | 2cm to 30cm (Adjustable) | | IO Interface | 4-pin (VCC, GND, OUT, EN*) | | Output Signal | Digital (TTL Low when object detected) | | Sensor Chip | LM393 Comparator | | IR Wavelength | 950 nm | | Effective Angle | Approx. 35° | | Dimensions | Approx. 32mm x 14mm | | Operating Temperature | 0°C to +50°C |

delay(200); // Small delay to avoid flooding the serial monitor

Direct sunlight or strong fluorescent lighting can saturate the IR receiver, causing false triggers. Avoid using this sensor in bright outdoor environments.

delay(100);

If no obstacle is present, the light radiates outward and dissipates. When an object passes in front of the sensor, the IR light bounces off the object's surface.

This article serves as your complete . We will cover everything from technical specifications and pin configuration to wiring diagrams, calibration, troubleshooting, and sample code.

The FC-51 can run on 3.3V, making it safe for Pi GPIO. Use the same pinout but connect VCC to 3.3V.

Infrared light absorption varies by material color. Dark or black objects absorb IR light, significantly reducing the sensor's detection range. Conversely, white or reflective surfaces maximize the range. Fc 51 Ir Sensor Datasheet

If you are looking for a complete copy of the technical document, you can view the FC-51 IR Sensor Datasheet on or refer to project guides on Instructables and Hackster.io .

Understanding the physical layout of the FC-51 PCB helps during installation and calibration:

if (sensorValue == LOW) // Check if an obstacle is detected digitalWrite(ledPin, HIGH); // Turn on the LED Serial.println("OBSTACLE!!"); else digitalWrite(ledPin, LOW); // Turn off the LED Serial.println("CLEAR");

void setup() pinMode(sensorPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600); If the reflected signal is strong enough (meaning

When working with the FC-51 IR sensor, keep the following tips and precautions in mind:

Mounted on the front of wheeled smart cars to prevent collisions.

Positioned across conveyor belts to count passing items as they break the IR beam.

Share This

You Might Also Like