{"product_id":"e18-d80nk-ir-proximity-sensor-switch-3-80cm-npn-output","title":"E18-D80NK IR Proximity Sensor Switch 3-80cm NPN Output","description":"\u003ch1\u003eE18-D80NK IR Proximity Sensor Switch\u003c\/h1\u003e\n\u003cp\u003eThe E18-D80NK is a reflective infrared proximity sensor that detects objects without physical contact. It combines an IR LED and a phototransistor inside a robust M18 threaded housing, with a detection range adjustable from 3 to 80 cm. Its NPN open-collector output delivers a clean digital signal, ideal for obstacle sensing, counting, and automation in robotics and DIY 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\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd\u003e5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDetection Range\u003c\/td\u003e\n\u003ctd\u003e3 – 80 cm (adjustable)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Type\u003c\/td\u003e\n\u003ctd\u003eNPN open collector (low when object detected)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eCurrent Consumption\u003c\/td\u003e\n\u003ctd\u003e\u0026lt;25 mA\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eResponse Time\u003c\/td\u003e\n\u003ctd\u003e\u0026lt;2 ms\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eHousing\u003c\/td\u003e\n\u003ctd\u003eM18 (18 mm diameter, threaded)\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\/arduino-obstacle-avoidance-robot-kit-build-and-code-autonomous-car\"\u003eObstacle-avoidance robot that reverses or turns when a wall is detected\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eAutomatic door opener triggered by a person’s approach\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/colour-sorting-conveyor-belt-kit-using-arduino-uno-and-stepper-motor\"\u003eObject counter on a conveyor belt for packaging or sorting\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-line-following-robot\"\u003eLine-following robot using the sensor to track edges or markers\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eWorks directly with 5V microcontrollers such as Arduino Uno, Nano, ESP8266, and ESP32. The NPN output pulls low and can connect to any digital input pin; a 10 kΩ external pull-up resistor to 5V is recommended for reliable logic levels. Pair it with motor drivers or relays for controlling larger loads.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eWire brown to VCC (5V), blue to GND, and black to your microcontroller’s digital input. Install a 10 kΩ pull-up resistor from the signal line to 5V—this ensures the output stays HIGH until an object is detected, then drops LOW. The sensor draws under 25 mA and can sink up to 100 mA on its output, but it should not directly drive motors or inductive loads.\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 sensor runs at 5V and outputs a digital signal. Connect the black wire to any digital pin (e.g., D2) with a 10 kΩ pull-up resistor to 5V. No level shifting is needed.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan it detect transparent or shiny objects?\u003c\/summary\u003e\u003cp\u003eInfrared light can pass through clear glass or highly reflective surfaces, so detection may be unreliable. For transparent objects, consider an ultrasonic sensor or a photoelectric through-beam sensor.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow do I adjust the detection distance?\u003c\/summary\u003e\u003cp\u003eTurn the small potentiometer on the sensor’s rear clockwise to increase range (up to ~80 cm) or counter‑clockwise to decrease it (down to ~3 cm). Test with your target object for optimal setting.\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":53445102698861,"sku":"CDN-0337","price":160.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/download_efcc43d7-66ad-4b1a-99df-53923e28feb8.jpg?v=1781591706","url":"https:\/\/compoden.com\/products\/e18-d80nk-ir-proximity-sensor-switch-3-80cm-npn-output","provider":"Compoden","version":"1.0","type":"link"}