{"product_id":"ir-obstacle-avoidance-sensor-module-lm393-photoelectric-sensor","title":"IR Obstacle Avoidance Sensor Module LM393 Photoelectric Sensor","description":"\u003ch1\u003eIR Obstacle Avoidance Sensor Module - LM393 Photoelectric Sensor Module\u003c\/h1\u003e\n\u003cp\u003eThis module pairs an infrared emitter with a photoelectric receiver to detect objects directly in its path. The onboard LM393 comparator converts the reflected signal into a clean digital output. Use it for collision detection, proximity switching, or edge following on any microcontroller board.\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 to 5V DC\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\u003eDetection Distance\u003c\/td\u003e\n\u003ctd\u003e2cm to 30cm (adjustable via potentiometer)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDetection Angle\u003c\/td\u003e\n\u003ctd\u003e35°\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Type\u003c\/td\u003e\n\u003ctd\u003eDigital (High\/Low) active LOW when obstacle detected\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eBoard Dimensions\u003c\/td\u003e\n\u003ctd\u003e45mm × 15mm × 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-obstacle-avoiding-robot\"\u003eObstacle-avoiding wheeled robot using two sensors for left\/right detection\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eContactless object counter on a conveyor belt or doorway\u003c\/li\u003e\n  \u003cli\u003eProximity alarm that triggers when someone approaches a restricted area\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-smart-dustbin-lid\"\u003eSmart dustbin lid that opens automatically when a hand is detected\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eWorks with any development board that reads a digital input: Arduino Uno, Mega, Nano, ESP8266, ESP32, Raspberry Pi (with logic level shifting), STM32, and similar. Output signal drives a 5V or 3.3V logic pin directly; an onboard LED gives visual indication of detection.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 5V (or 3.3V for low-voltage boards), GND to common ground, and OUT to any digital I\/O pin. The potentiometer adjusts sensitivity — turn clockwise for longer range. Keep the emitter and receiver unobstructed; dust or glare can affect readings. Sinking current on OUT is limited to 20mA, so do not drive a relay or motor directly.\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, connect VCC to 5V, GND to GND, and OUT to a digital pin such as D2. Read the pin as INPUT, and you will see LOW when an obstacle is detected.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan the detection range exceed 30cm?\u003c\/summary\u003e\u003cp\u003eUnder ideal conditions (dark, non-reflective background) it can sometimes reach 40cm, but reliable detection is within 2-30cm. The range also depends on the color and surface of the object.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eWhat does the output pin show when no obstacle is present?\u003c\/summary\u003e\u003cp\u003eThe OUT pin stays HIGH (near VCC) when no reflection is received. It drops LOW when the sensor detects a reflected IR signal above the threshold set by the potentiometer.\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":53445107810669,"sku":"CDN-0380","price":30.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_397baed8-4170-40ec-9b18-a7128480f960.jpg?v=1781513339","url":"https:\/\/compoden.com\/products\/ir-obstacle-avoidance-sensor-module-lm393-photoelectric-sensor","provider":"Compoden","version":"1.0","type":"link"}