{"product_id":"m18-photoelectric-proximity-sensor-pnp-no-compoden","title":"M18 Photoelectric Proximity Sensor PNP NO - Compoden","description":"\u003ch1\u003eM18 Photoelectric Proximity Sensor - PNP NO Output\u003c\/h1\u003e\u003cp\u003eThis M18 cylindrical photoelectric sensor provides non-contact object detection using infrared light. With a PNP normally open (NO) output, it switches the load to the positive supply when an object is detected within its adjustable sensing range. It is commonly used in assembly lines, packaging machines, and robotics for reliable position sensing.\u003c\/p\u003e\u003ch2\u003eKey Specifications\u003c\/h2\u003e\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\u003eSensing Type\u003c\/td\u003e\n\u003ctd\u003eDiffuse reflective (infrared)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAdjustable Range\u003c\/td\u003e\n\u003ctd\u003e5-30 cm (approx.)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSupply Voltage\u003c\/td\u003e\n\u003ctd\u003e10-30V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOutput Type\u003c\/td\u003e\n\u003ctd\u003ePNP, Normally Open\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eMax Load Current\u003c\/td\u003e\n\u003ctd\u003e200 mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eHousing Material\u003c\/td\u003e\n\u003ctd\u003eNickel-plated brass, IP67\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003eConveyor belt object counter\u003c\/li\u003e\n\u003cli\u003eAutomatic door or gate trigger\u003c\/li\u003e\n\u003cli\u003eLiquid level detection in opaque tanks\u003c\/li\u003e\n\u003cli\u003eAssembly line part presence verification\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eCompatibility\u003c\/h2\u003e\u003cp\u003eThis sensor works with any 10-30V DC power system, including industrial PLCs, microcontrollers like Arduino or ESP32 (with a voltage divider or level shifter for input pin protection), and single-board computers like Raspberry Pi via optocoupler or relay module. It pairs well with NPN-to-PNP converters if your controller expects NPN input.\u003c\/p\u003e\u003ch2\u003eWiring Notes\u003c\/h2\u003e\u003cp\u003eStandard wire colors: brown for +V, blue for ground, black for signal output. The load (or pull-down resistor if interfacing with a microcontroller) should be connected between the black wire and ground. Ensure the load current does not exceed 200 mA.\u003c\/p\u003e\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\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\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino?\u003c\/summary\u003e\u003cp\u003eYes, but the output signal is 10-30V, so you must use a voltage divider or level shifter to protect the Arduino's 5V input pin. Never connect the black wire directly to an Arduino pin.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eWhat is the sensing range?\u003c\/summary\u003e\u003cp\u003eThe sensing distance is adjustable from approximately 5 cm to 30 cm for a white object. Dark or matte surfaces may reduce the maximum range.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eCan it detect transparent objects?\u003c\/summary\u003e\u003cp\u003eStandard diffuse sensors struggle with transparent materials. For reliable detection, consider a retroreflective or through-beam sensor.\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":53444957143405,"sku":"CDN-0290","price":530.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_be3e273d-f6e5-4a6f-ac8b-78879005d228.jpg?v=1781512407","url":"https:\/\/compoden.com\/products\/m18-photoelectric-proximity-sensor-pnp-no-compoden","provider":"Compoden","version":"1.0","type":"link"}