IR OBSTACLE AVOIDANCE PROXIMITY SWITCH E18 D80NK - PIC,8051,AVR ,USB PROGRAMMER,DEVELOPMENT BOARDS - alselectro

Search
Go to content

Main menu:

IR OBSTACLE AVOIDANCE PROXIMITY SWITCH E18 D80NK

IR OBSTACLE AVOIDANCE PROXIMITY SWITCH E18 D80NK


3-80 cm
Object detection
& countng

Rs 670.00(GST excl.) Add

IR OBSTACLE AVOIDANCE PROXIMITY SWITCH  E18 D80NK











The infared proximity switch module is a reflection-type photoelectric sensor which integrates transmitting and receiving
infared beams function. Infrared proximity switches work by sending out beams of invisible infrared light.
A photodetector on the proximity switch detects any reflections of this light.
These reflections allow infrared proximity switches to determine whether there is an object nearby.

SPECIFICATIONS :

Voltage : DC 5V
Current :100mA
Type :DC 3 Wire NPN-NO (Normal Open)
Sensory Distance: 3-80 cm
Sensory distance regulator and output LED indicator
Control signal level: High2.3V≤Vin≤5V    Low-0.3V≤Vin≤1.5V

• BROWN: +5 VDC
• BLUE: Ground
• BLACK : Output: Open Collector Pulldown: Use 10K Pullup resistor to +5V





ARDUINO CODE :

int ledPin = 13;
int switchPin = 8;
int value = 0;

void setup() {
pinMode(switchPin, INPUT);
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}

void loop() {
value = digitalRead(switchPin);
if (HIGH == value) {
Serial.println("HIGH");
} else {
Serial.println("LOW");
}
}

The output pin is pulled up to the power pin due to the internally pull high of the sensor.
Hence the module will output a HIGH if no object is detected and a LOW if  an object is detected.



 
Back to content | Back to main menu