- All products
- Sensors & Modules
- IR Obstacle Sensor
- IR Barrier Sensor E18-D80NK
- IR Obstacle Sensor
Features
- Infrared based object detection
- Modulated infrared signal for noise and light interference rejection
- Adjustable detection range from three to eighty centimeters
- Capable of detecting object presence and motion
- Low cost solution for proximity sensing
- Compact cylindrical design for easy installation
- Easy interfacing with microcontrollers such as Arduino
- Suitable for home and industrial automation
- Reliable performance under various lighting conditions
- User friendly operation
- Durable construction for long term use
- Low power consumption
Principle of Work
The sensor operates using infrared reflection. An internal transmitter emits a modulated infrared signal. When an object enters the sensing range the infrared light is reflected back to the receiver. The receiver converts this reflected light into an electrical signal which is processed internally to determine object presence.
- The transmitter emits a modulated infrared signal
- The signal reflects off nearby objects
- The receiver detects the reflected signal
- The internal circuit processes the signal
- An output signal indicates object detection
- Signal strength can be used to estimate distance
Pinout of the Sensor

| Pin | Function |
|---|---|
| VCC | Five volt power supply input |
| GND | Ground reference |
| OUT | Output signal indicating object detection |
Applications
- Robot obstacle avoidance
- Industrial automation and conveyor systems
- Security and intruder alarm systems
- Proximity based switches
- Liquid level detection
- Home automation systems
- Vending machine object detection
- Gaming and interactive systems
- Traffic monitoring systems
- Industrial safety systems
Circuit

- Connect VCC to the Arduino five volt pin
- Connect GND to the Arduino ground
- Connect OUT to Arduino digital pin two
Library
- No library is required to use this sensor
Code
const int sensorPin = 2;
void setup() {
Serial.begin(9600);
pinMode(sensorPin, INPUT);
}
void loop() {
int sensorValue = digitalRead(sensorPin);
Serial.print("Sensor value: ");
Serial.println(sensorValue);
delay(100);
}
Technical Details
- Input voltage five volts
- Current consumption twenty five to one hundred milliampere
- Response time less than two milliseconds
- Sensor type diffuse reflective
- Sensing range three to eighty centimeters
- Cable length forty five centimeters
Comparisons
Compared to the GP2Y0A02YK0F sensor the E18 D80NK offers an adjustable shorter detection range and typically provides a digital output for object presence. The GP2Y0A02YK0F provides a longer fixed range and an analog output proportional to distance. The E18 D80NK is better suited for close range obstacle detection while the GP2Y0A02YK0F is more appropriate for distance measurement applications.
Features
- Infrared based object detection
- Modulated infrared signal for noise and light interference rejection
- Adjustable detection range from three to eighty centimeters
- Capable of detecting object presence and motion
- Low cost solution for proximity sensing
- Compact cylindrical design for easy installation
- Easy interfacing with microcontrollers such as Arduino
- Suitable for home and industrial automation
- Reliable performance under various lighting conditions
- User friendly operation
- Durable construction for long term use
- Low power consumption
Principle of Work
The sensor operates using infrared reflection. An internal transmitter emits a modulated infrared signal. When an object enters the sensing range the infrared light is reflected back to the receiver. The receiver converts this reflected light into an electrical signal which is processed internally to determine object presence.
- The transmitter emits a modulated infrared signal
- The signal reflects off nearby objects
- The receiver detects the reflected signal
- The internal circuit processes the signal
- An output signal indicates object detection
- Signal strength can be used to estimate distance
Pinout of the Sensor

| Pin | Function |
|---|---|
| VCC | Five volt power supply input |
| GND | Ground reference |
| OUT | Output signal indicating object detection |
Applications
- Robot obstacle avoidance
- Industrial automation and conveyor systems
- Security and intruder alarm systems
- Proximity based switches
- Liquid level detection
- Home automation systems
- Vending machine object detection
- Gaming and interactive systems
- Traffic monitoring systems
- Industrial safety systems
Circuit

- Connect VCC to the Arduino five volt pin
- Connect GND to the Arduino ground
- Connect OUT to Arduino digital pin two
Library
- No library is required to use this sensor
Code
const int sensorPin = 2;
void setup() {
Serial.begin(9600);
pinMode(sensorPin, INPUT);
}
void loop() {
int sensorValue = digitalRead(sensorPin);
Serial.print("Sensor value: ");
Serial.println(sensorValue);
delay(100);
}
Technical Details
- Input voltage five volts
- Current consumption twenty five to one hundred milliampere
- Response time less than two milliseconds
- Sensor type diffuse reflective
- Sensing range three to eighty centimeters
- Cable length forty five centimeters
Comparisons
Compared to the GP2Y0A02YK0F sensor the E18 D80NK offers an adjustable shorter detection range and typically provides a digital output for object presence. The GP2Y0A02YK0F provides a longer fixed range and an analog output proportional to distance. The E18 D80NK is better suited for close range obstacle detection while the GP2Y0A02YK0F is more appropriate for distance measurement applications.

