Fc 51 Ir Sensor Datasheet

Digital (High/Low). It typically outputs Low (0V) when an object is detected and High (VCC) when the path is clear. Detection Angle: Approximately 35°. Physical Components (The "Pieces")

The physical PCB board hosts several distinct elements designed to assist in calibration: distance with ir sensor fc-51 - Arduino Forum Fc 51 Ir Sensor Datasheet

Supports a flexible range from 3.0V to 6.0V , making it compatible with both 3.3V (Raspberry Pi/ESP32) and 5V (Arduino) systems. Digital (High/Low)

Lights up only when an object is detected within the set range. Physical Components (The "Pieces") The physical PCB board

if (sensorState == LOW) // Object detected digitalWrite(ledPin, HIGH); Serial.println("Object Detected!"); else // No object digitalWrite(ledPin, LOW);

Detection range varies with object color and reflectivity. Black objects absorb IR and will be detected only at much closer distances (e.g., 2-5 cm), while white objects can be detected up to 30 cm.