Fc 51 Ir Sensor Datasheet [upd] Jun 2026
The FC-51 includes a small, blue, multi-turn potentiometer. Turning it changes the detection threshold.
Usually, one LED indicates power, and another lights up when an obstacle is detected. 2. Technical Specifications Operating Voltage: 3.3V to 5V DC. Detection Range: Typically 2cm to 30cm (adjustable via potentiometer). Detection Angle: Approximately 35°. Output Type: Digital (High/Low). VCC (Power), GND (Ground), and OUT (Digital Signal). 3. Working Mechanism The sensor produces a Digital Low (0V) Fc 51 Ir Sensor Datasheet
int sensorPin = 2; int ledPin = 13;
The digital output is active low . This means: The FC-51 includes a small, blue, multi-turn potentiometer
void loop() int val = analogRead(analogPin); // Higher value = more reflection = closer object (or lighter surface) Serial.println(val); delay(100); Detection Angle: Approximately 35°
Because of its "all-or-nothing" digital output, the FC-51 is ideal for: Obstacle Avoidance Robots: Preventing a rover from hitting walls. Line Following: Differentiating between a black line and a white surface. Object Counting: