Product Description
An adjustable infrared proximity photoelectric sensor module with a threaded M18 cylindrical body, ideal for object detection in Arduino and automation projects. This versatile non-contact switch integrates an infrared transmitter and receiver into a single housing, enabling precise reflection-based detection up to 30 cm away. It features an onboard multi-turn potentiometer on the rear face, allowing users to fine-tune the sensing range to match specific ambient lighting and material reflections. Engineered with a specialized dual PNP output circuit, it provides both Normally Open (NO) and Normally Closed (NC) lines simultaneously, offering developers extreme wiring flexibility without requiring signal inverter logic gates.
Pinout / Layout Connections
The sensor outputs data through a heavy-duty, 3-wire color-coded cable interface:
Brown Wire (VCC): Connects to the +5V DC positive power supply line.
Blue Wire (GND): Connects to the common ground (0V) reference.
Black Wire (Output): The PNP transistor switching signal output terminal that pulls high to VCC when an object triggers the sensor state.

Applications
Conveyor Belt Systems: Perfect for automated production lines, counting objects, packaging arrays, and sensing cup presence.
Smart Robotics Projects: Excellent for obstacle avoidance sensors, wall-following algorithms, and maze-solving mobile platforms.
Intelligent Sanitary Systems: Ideal for touchless automatic hand soap dispensers, smart trash bins, and automated faucets.
Compatibility
The E18-30DPKB-Z-5V operates on a standard 5V DC logic level, making it fully compatible with development platforms including:
Arduino Board Series (Uno, Mega, Nano, Pro Micro)
ESP32 and ESP8266 (Requires a simple voltage divider or logic level converter on the data pin if using 3.3V logic pins)
Raspberry Pi and Raspberry Pi Pico
Industrial PLCs configured for low-voltage 5V PNP sensor input cards.
Technical Specifications
| Parameter | Value / Specification |
| Standard Part Number | E18-30DPKB-Z-5V |
| Operating Voltage | DC 5.0 V |
| Detection Range | 3 cm to 30 cm (Adjustable via rear trimmer) |
| Output Type | PNP Transistor (Simultaneous Normally Open / Normally Closed paths) |
| Current Consumption | Less than 20 mA (Active state), Max Load Current: 100 mA |
| Sensor Type | Photoelectric Diffuse Reflection Infrared |
| Thread Size | M18 Standard cylindrical casing |
| Operating Temperature Range | -25 °C to +55 °C |




