{"product_id":"photoelectric-proximity-sensor-m18-pnp-no-industrial-detection","title":"Photoelectric Proximity Sensor M18 PNP NO – Industrial Detection","description":"\u003ch1\u003eM18 Photoelectric Proximity Sensor – PNP NO\u003c\/h1\u003e\u003cp\u003eThe M18 photoelectric proximity sensor provides non-contact object detection for industrial automation, making it ideal for conveyor systems, packaging machines, and robotic applications. Its PNP normally open output switches positive voltage when an object is detected, offering simple integration with PLCs and controllers. With a rugged nickel-plated brass housing and IP67 rating, it withstands harsh environments and ensures long-term reliability.\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 Method\u003c\/td\u003e\n\u003ctd\u003eDiffuse reflective (adjustable)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSensing Range\u003c\/td\u003e\n\u003ctd\u003e5 – 30 cm (adjustable via potentiometer)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOutput Type\u003c\/td\u003e\n\u003ctd\u003ePNP, Normally Open (NO)\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\u003eMax Load Current\u003c\/td\u003e\n\u003ctd\u003e200 mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eHousing \u0026amp; Protection\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\u003eAutomated conveyor belt object counter using a microcontroller and display\u003c\/li\u003e\n\u003cli\u003eLiquid level sensing system for tanks with relay-controlled pumps\u003c\/li\u003e\n\u003cli\u003eSorting machine that separates items by presence or absence on a production line\u003c\/li\u003e\n\u003cli\u003eObstacle detection for autonomous robots or AGVs in industrial workshops\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eCompatibility\u003c\/h2\u003e\u003cp\u003eThis sensor works directly with 24V industrial PLCs and controllers that accept PNP inputs. For use with 5V microcontrollers like Arduino, a level-shifting circuit or relay module is required because the output swings to the supply voltage. It pairs well with motor drivers, solenoid valves, and indicator lamps in automation panels.\u003c\/p\u003e\u003ch2\u003eWiring Notes\u003c\/h2\u003e\u003cp\u003eConnect brown wire to positive supply (10–30V DC), blue wire to ground, and black wire to the load or controller input. Since this is a PNP NO sensor, the black wire outputs supply voltage when an object is detected. Always include a pull-down resistor (10kΩ to ground) if interfacing with logic-level circuits to prevent floating states.\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 requires a voltage divider or optocoupler because the sensor outputs 10-30V, while Arduino inputs tolerate only 5V. A simple resistor divider (e.g., 10kΩ + 20kΩ) can safely step down the signal.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eCan I use this sensor outdoors or in dusty environments?\u003c\/summary\u003e\u003cp\u003eAbsolutely. The IP67 rating means it is dust-tight and can withstand temporary immersion in water, making it suitable for outdoor and washdown applications.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eWhat is the difference between PNP and NPN output?\u003c\/summary\u003e\u003cp\u003eA PNP output sources current to the load (switches positive), common in European automation. NPN sinks current (switches negative), more common in Asian markets. Choose the type that matches your controller’s input specification.\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":53445008130413,"sku":"CDN-0666","price":530.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_d31f0b0c-3195-4128-a9cc-a535f068d994.jpg?v=1781512787","url":"https:\/\/compoden.com\/products\/photoelectric-proximity-sensor-m18-pnp-no-industrial-detection","provider":"Compoden","version":"1.0","type":"link"}