The sensor module has strong adaptability to ambient light and has a pair of infrared emitting and receiving tubes. The transmitting tube emits a certain frequency of infrared rays. When the detecting direction encounters an obstacle (reflecting surface), the infrared ray is reflected by the receiving tube, After the comparator circuit processing, the green light will light up, while the signal output interface output digital signal (a low 0V signal), through the potentiometer knob to adjust the detection range, the effective range of 2 ~ 30cm, operating voltage of 3.3V -5V. The detection distance of the sensor can be adjusted by the potentiometer. It has the characteristics of small interference, easy assembly and convenient use. It can be widely used in many occasions such as robot obstacle avoidance, obstacle avoidance car, pipeline counting and black and white line tracing.
1. When there is no obstacle signal in front of the module, the OUT port will output high level (5V) continuously. When the module detects the front obstacle signal, the green indicator on the circuit board will light and the OUT port will continue to output low (0V) signal, the module detects the distance of 2 ~ 30cm, detection angle of 35 °, the detection distance can be adjusted by potentiometer, clockwise potentiometer, the detection distance increases; counterclockwise potentiometer to reduce the detection distance.
2. Sensor active infrared reflection detection, so the target’s reflectivity and shape is the key to detecting the distance. One black detection range of the smallest, white maximum; small area of object distance, large area distance.
3. Sensor module output port OUT can be directly connected with the microcontroller IO port can also directly drive a 5V relay; Connection: VCC-VCC; GND-GND; OUT-IO
4, the comparator with LM393, stable.
5, can be used 3.3V-5V DC power supply module. When the power is turned on, the red power indicator light;
Instructions for use:
1.VCC external 3.3V-5V voltage (can be directly connected with the 5v microcontroller or 3.3v single-chip)
2.GND external GND
3. OUT small board digital output interface (0 and 1)