Fc 51 Ir Sensor Datasheet ⟶ [Plus]

When an object enters the detection range, the emitted IR light bounces off the surface of the object.

Low (0V) when an obstacle is detected; High (VCC) when clear. 4. Hardware Components and Layout Fc 51 Ir Sensor Datasheet

delay(100);

// Define Pin Allocations const int IR_SENSOR_PIN = 2; // Connect FC-51 OUT pin here const int LED_PIN = 13; // Onboard Arduino LED void setup() // Initialize Serial Communication Serial.begin(9600); // Configure Pin Modes pinMode(IR_SENSOR_PIN, INPUT); pinMode(LED_PIN, OUTPUT); Serial.println("FC-51 IR Sensor Initialization Complete."); void loop() // Read the digital state of the sensor (Active LOW) int sensorState = digitalRead(IR_SENSOR_PIN); if (sensorState == LOW) // Obstacle detected digitalWrite(LED_PIN, HIGH); Serial.println("Status: Obstacle Detected!"); else // Path is clear digitalWrite(LED_PIN, LOW); Serial.println("Status: Clear"); // Small delay to prevent serial flooding delay(100); Use code with caution. Calibration and Troubleshooting When an object enters the detection range, the

The following data reflects standard ratings for the FC-51 module: Hardware Components and Layout delay(100); // Define Pin

This comprehensive guide serves as an expanded technical datasheet, covering everything from pin configurations and electrical specifications to circuit diagrams and microcontroller integration. 1. Product Overview and Working Principle

The is an affordable, highly efficient electronic module widely used in robotics, automation, and smart home projects. Utilizing infrared (IR) light, this active sensor detects objects within its line of sight, making it a staple for autonomous navigation and proximity sensing.

Scroll to top