Digital Logic (LOW when an obstacle is detected, HIGH when clear) Power LED (Red) & Obstacle Detection LED (Green/Red) PCB Dimensions 3.1 cm × 1.4 cm (Overall length including LEDs: 4.5 cm) Hardware Architecture and Pinout
To ensure safe, normal operating temperatures, implement the standard low-current circuit configuration below. Safe Wiring Scheme ➡️ Arduino 5V FC-51 GND ➡️ Arduino GND FC-51 OUT ➡️ Arduino Digital Pin 2 Safe Testing Code
For battery-powered or heat-sensitive projects, switch to a 5V supply and add a transistor to pulse the IR LED. Your sensor—and your fingers—will thank you. fc 51 ir sensor datasheet hot
The FC-51 is a compact, low-cost infrared obstacle avoidance sensor, typically featuring a comparator (LM393) with an adjustable potentiometer for range detection (approx. 2cm to 30cm). While often used in robotics, its principles are seamlessly integrated into modern lifestyle and entertainment systems.
The FC‑51 may not be the most sophisticated sensor on the market, but its have earned it a permanent place in the maker’s toolkit. Whether you’re building a first‑time obstacle‑avoiding robot or a production‑grade object counter, this tiny infrared module delivers exactly what it promises: a clear, adjustable, digital “yes/no” signal that something is in its path. Digital Logic (LOW when an obstacle is detected,
A small screw on the potentiometer allows you to fine-tune the range.
| FC‑51 Pin | Arduino Pin | | :--- | :--- | | VCC | 5V or 3.3V | | GND | GND | | OUT | Any digital GPIO (e.g., D2, D8) | The FC-51 is a compact, low-cost infrared obstacle
#define IR_SENSOR 15 // Example GPIO
Gently bend the IR LEDs so that their optical axes converge slightly. Then recalibrate with the potentiometer.