This is a 1-Pair Infrared Tube sensor QR30CM distance detector for Arduino, 30cm cable.
Specifications:
Operating Voltage: 4.5-5.5V
Working current: Emitter 20mA, Receiver 10mA.
Output: Normally open high low
Output current: 70mA
Emitter angle: < 5°
Transmitter angle: < 10°
Response time: 2ms
Dimensions: 20 x 10 x 8 mm
Cable length: 30cm
Working life: 50000 hours
Wiring: Red----Power supply---- 5VCC
Black----Negative electrode---- GND
Yellow----Export---- OUT (NPN
Added between the positive electrode and the signal 1KPull-up resistor. Can be directly connected microcontroller IO Mouth.