{"product_id":"tcrt5000-reflective-ir-sensor-line-follower-and-proximity","title":"TCRT5000 Reflective IR Sensor – Line Follower and Proximity","description":"\u003ch1\u003eTCRT5000 Reflective IR Optical Sensor – 5V Analog Line Follower \u0026amp; Proximity Detector\u003c\/h1\u003e\n\n\u003cp\u003eThe TCRT5000 is a reflective optical sensor module that combines an infrared LED and a phototransistor in a compact package. It detects objects or surface reflectivity by emitting IR light and measuring the amount reflected back. This module provides both analog and digital outputs, making it ideal for line-following robots, proximity switches, and edge detection in DIY electronics projects.\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\u003eSensor Type\u003c\/td\u003e\n\u003ctd\u003eTCRT5000 reflective optical (IR LED + phototransistor)\u003c\/td\u003e\n\u003c\/tr\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\u003e1mm to 8mm (adjustable via potentiometer)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Signal\u003c\/td\u003e\n\u003ctd\u003eDigital (TTL) and analog (0–5V)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eIndicator LED\u003c\/td\u003e\n\u003ctd\u003eRed LED lights on digital HIGH\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eModule Dimensions\u003c\/td\u003e\n\u003ctd\u003e35mm × 10mm\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 competitions or educational robotics\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-automatic-soap-dispenser\"\u003eProximity-based automatic hand sanitizer or soap dispenser\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eObject counter for conveyor belts or door entry systems\u003c\/li\u003e\n  \u003cli\u003eEdge detector for CNC machines or 3D printer bed leveling\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThe module works with any 3.3V or 5V microcontroller, including Arduino Uno, Nano, Mega, ESP8266, ESP32, and Raspberry Pi (using an ADC). It pairs commonly with motor drivers like L298N or L293D for building complete line-following robots.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 5V (or 3.3V), GND to ground, and the analog output (AOUT) to an ADC pin for precise proximity readings. For digital output, connect DOUT to a GPIO and adjust the onboard potentiometer to set the threshold distance where the output goes HIGH. No external pull-up resistors are 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 Uno?\u003c\/summary\u003e\u003cp\u003eYes, it works directly with Arduino Uno. Connect VCC to 5V, GND to GND, and AOUT to any analog pin (A0-A5) for analog sensing.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow do I adjust the detection distance?\u003c\/summary\u003e\u003cp\u003eTurn the blue potentiometer on the module clockwise to increase the threshold (detect farther objects) or counterclockwise to decrease it. The digital output LED helps indicate when the threshold is crossed.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan it distinguish between black and white lines?\u003c\/summary\u003e\u003cp\u003eAbsolutely. Black surfaces absorb IR light, while white surfaces reflect it. The analog output voltage changes significantly, making it perfect for line-following applications.\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":53445023433069,"sku":"CDN-0758","price":20.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_a0c86105-9b30-41e9-b151-af504648995c.jpg?v=1781512888","url":"https:\/\/compoden.com\/products\/tcrt5000-reflective-ir-sensor-line-follower-and-proximity","provider":"Compoden","version":"1.0","type":"link"}