Blog

E18-D80NK Adjustable Infrared Sensor Switch 3-80cm

E18-D80NK Adjustable Infrared Sensor Switch

3-80cm Proximity Detection with Digital Output for Arduino and Robotics Projects

Introduction

The E18-D80NK is an adjustable infrared proximity sensor with reliable detection range from 3cm to 80cm. This photoelectric switch features a potentiometer for sensitivity adjustment and provides both analog and digital output signals.

Key Features

📏 Adjustable Range

3cm to 80cm detection distance

🔧 Built-in Potentiometer

Onboard sensitivity adjustment

Dual Output

Digital (TTL) and analog signals

🛡️ Environmental Resistance

IP67 waterproof rating

Technical Specifications

Detection Range 3cm – 80cm (adjustable)
Operating Voltage 5V DC ±10%
Current Consumption 25mA max
Output Type Digital (TTL) + Analog
Response Time 2ms
Protection Rating IP67 (Dustproof/Waterproof)
Ambient Temperature -25°C to +55°C
Cable Length 45cm (standard)

Pin Configuration

Wire Color Function Arduino Connection
Brown VCC (+5V) 5V
Blue GND GND
Black Digital Output Digital Pin
White Analog Output Analog Pin (optional)
Note: The white (analog) wire is optional and not present on all models

Wiring with Arduino


 

Adjusting Detection Range

  1. Locate the blue potentiometer on the sensor body
  2. Place an object at your desired detection distance
  3. Slowly rotate the potentiometer clockwise to increase sensitivity (longer range)
  4. Rotate counter-clockwise to decrease sensitivity (shorter range)
  5. The onboard LED will turn off when an object is detected

Basic Digital Detection

 

Analog Distance Estimation

Note: Analog output varies between models. For precise measurements, calibrate with known distances.

Advanced Applications

Object Counting

Speed Measurement

Multi-Sensor Array

Troubleshooting

No Detection

  • Verify power connections (5V required)
  • Adjust potentiometer for proper sensitivity
  • Check for obstructions on sensor lens

False Triggers

  • Reduce sensitivity (turn potentiometer CCW)
  • Move away from reflective surfaces
  • Avoid direct sunlight interference

Inconsistent Readings

  • Ensure stable power supply
  • Check for loose wire connections
  • Clean sensor lens with soft cloth