{"product_id":"tcrt5000-ir-sensor-module-for-obstacle-avoidance-line-following-0342","title":"TCRT5000 IR Sensor Module for Obstacle Avoidance \u0026 Line Following","description":"\u003ch1\u003eTCRT5000 IR Sensor Module – Obstacle Avoidance \u0026amp; Reflective Sensor\u003c\/h1\u003e\n\n\u003cp\u003eThe TCRT5000 IR sensor module is a reflective optocoupler that detects objects by emitting infrared light and measuring the reflection. It is commonly used in robotics for line following, obstacle avoidance, and edge detection. With an onboard comparator and adjustable potentiometer, it provides a clean digital output that integrates easily with microcontrollers.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V – 5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDetection Range\u003c\/td\u003e\n\u003ctd\u003e2 mm – 15 mm (adjustable)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Signal\u003c\/td\u003e\n\u003ctd\u003eDigital (0 or 1), analog available at AO pin\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eComparator IC\u003c\/td\u003e\n\u003ctd\u003eLM393\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDimensions\u003c\/td\u003e\n\u003ctd\u003e32 mm × 14 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eIndicators\u003c\/td\u003e\n\u003ctd\u003ePower LED, signal LED\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-line-follower-robot\"\u003eLine follower robot for maze-solving competitions\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eObstacle-avoiding rover using multiple sensors\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-automatic-soap-dispenser\"\u003eProximity-based automatic tap or soap dispenser\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eEdge detection for sumo robots to stay inside the ring\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThis module works seamlessly with Arduino, ESP8266, Raspberry Pi, and any microcontroller that accepts 3.3V–5V logic. The digital output can be read directly on a GPIO pin, while the analog output (AO) can be used with an ADC for precise distance measurement.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 5V (or 3.3V), GND to common ground, and OUT to a digital input pin. Adjust the potentiometer clockwise to increase sensitivity until the signal LED just turns off at the desired detection distance. No external pull-up resistor is required.\u003c\/p\u003e\n\n\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\n\u003cp\u003eEvery component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.\u003c\/p\u003e\n\n\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino?\u003c\/summary\u003e\u003cp\u003eYes, the module works directly with Arduino boards. Connect VCC to 5V, GND to GND, and OUT to any digital pin.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow do I adjust the detection range?\u003c\/summary\u003e\u003cp\u003eTurn the onboard potentiometer clockwise to increase sensitivity (detect objects farther away) and counter-clockwise to decrease it. Use the signal LED as a guide.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I get an analog output for distance measurement?\u003c\/summary\u003e\u003cp\u003eYes, the AO pin provides an analog voltage proportional to the reflected IR intensity. Connect it to an analog input on your microcontroller for more precise readings.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdiv class=\"compoden-handoff\" style=\"margin-top:24px;padding:16px;background:#f0f4ff;border-left:4px solid #2B4D8F;border-radius:4px;\"\u003e\n  \u003cp style=\"margin:0 0 6px 0;font-weight:600;color:#1A3560;\"\u003e📦 Free Setup Handoff Document Included\u003c\/p\u003e\n  \u003cp style=\"margin:0;font-size:0.95em;color:#333;\"\u003eEvery Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53444959306093,"sku":"CDN-0342","price":40.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_495092a9-5749-4932-98c0-c2550fd0892a.jpg?v=1781512477","url":"https:\/\/compoden.com\/products\/tcrt5000-ir-sensor-module-for-obstacle-avoidance-line-following-0342","provider":"Compoden","version":"1.0","type":"link"}