{"product_id":"m18-photoelectric-sensor-pnp-nonc-10-30vdc-compoden","title":"M18 Photoelectric Sensor PNP NO+NC 10-30VDC | Compoden","description":"\u003ch1\u003eM18 Photoelectric Sensor – PNP NO + NC, 10-30VDC\u003c\/h1\u003e\n\n\u003cp\u003eThe M18 photoelectric sensor with PNP output (NO + NC) is a diffuse reflective sensor designed for non-contact object detection up to 20cm. It operates on a wide 10-30VDC supply and can switch loads up to 300mA, making it suitable for industrial automation, conveyor systems, and object counting applications. Its M18 threaded metal housing ensures reliable performance in dusty or wet environments.\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\u003eSensing method\u003c\/td\u003e\n\u003ctd\u003eDiffuse reflective\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSensing distance\u003c\/td\u003e\n\u003ctd\u003e20cm (adjustable)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput type\u003c\/td\u003e\n\u003ctd\u003ePNP, NO + NC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSupply voltage\u003c\/td\u003e\n\u003ctd\u003e10-30VDC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eMax load current\u003c\/td\u003e\n\u003ctd\u003e300mA\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eHousing material\u003c\/td\u003e\n\u003ctd\u003eNickel-plated brass\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\u003eConveyor belt object counting system with Arduino and relay output\u003c\/li\u003e\n  \u003cli\u003eAutomatic door opener triggered by presence detection\u003c\/li\u003e\n  \u003cli\u003eBottle filling line position sensor for PLC-based control\u003c\/li\u003e\n  \u003cli\u003eDIY garage parking assistant with LED indicators\u003c\/li\u003e\n  \u003cli\u003eLiquid level detection in tanks using a reflective target\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThis sensor works with any 10-30VDC industrial controller or PLC. For microcontroller projects (Arduino, ESP32, Raspberry Pi), a voltage divider (e.g., 10kΩ + 5kΩ) or optocoupler is necessary to step down the PNP output (which switches to V+) to a safe 5V or 3.3V logic level. It pairs well with relay modules for driving heavier loads.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eStandard 3-wire connection: Brown = +10-30VDC, Blue = 0V\/GND, Black = signal output (PNP, active high). Use a 0.1µF capacitor across the supply lines near the sensor to reduce electrical noise. Do not exceed 300mA load current; use an external relay for higher currents.\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, but requires a voltage divider (10kΩ + 5kΩ) or logic level converter to step down the 10-30V output to 5V for Arduino input pins.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan this sensor detect transparent objects?\u003c\/summary\u003e\u003cp\u003eDiffuse reflective sensors may struggle with transparent or highly reflective items. For reliable detection of transparent materials, consider a through-beam sensor.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eWhat is the difference between NO and NC outputs?\u003c\/summary\u003e\u003cp\u003eNO (normally open) output is off when no object is present and turns on upon detection. NC (normally closed) is the opposite: on when clear, off when an object is detected. This sensor provides both signals simultaneously.\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":53444956815725,"sku":"CDN-0281","price":480.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/download_c9606699-c27a-4823-9a24-5d84f06e441f.jpg?v=1781592203","url":"https:\/\/compoden.com\/products\/m18-photoelectric-sensor-pnp-nonc-10-30vdc-compoden","provider":"Compoden","version":"1.0","type":"link"}