Fc 51 Ir Sensor Datasheet Jun 2026
void setup() pinMode(sensorPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600);
Photodiode that detects reflected infrared light.
Turn the potentiometer clockwise to increase sensitivity. Verify that your VCC pin is supplying a stable 5V. Scenario C: Unreliable behavior under bright lighting
The FC-51 module also has two onboard LEDs that provide immediate visual feedback: Fc 51 Ir Sensor Datasheet
Helps wheeled robots detect walls or furniture to steer away before an impact occurs.
Wiring the FC-51 to an Arduino is straightforward:
delay(50);
Reflect maximum IR light, resulting in the maximum detection range (up to 30cm).
The IR receiver captures this reflected light, causing its internal resistance to drop.
Add a decoupling capacitor (e.g., 0.1µF) across VCC and GND close to the sensor. Scenario C: Unreliable behavior under bright lighting The
Simple proximity alarms or "black/white" line tracking for basic line-following robots. Usage Tip
Digital signal (LOW when an obstacle is detected, HIGH when the path is clear).