模块电路图

模块描述

该传感器模块对环境光线适应能力强,其具有一对红外线发射与接收管,发射管发射出一定频率的红外线,当检测方向遇到障碍物(反射面)时,红外线反射回来被接收管接收,经过比较器电路处理之后,绿色指示灯会亮起,同时信号输出接口输出数字信号(一个低电平信号),可通过电位器旋钮调节检测距离,有效距离范围2~30cm,工作电压为3.3V-5V。该传感器的探测距离可以通过电位器调节、具有干扰小、便于装配、使用方便等特点,可以广泛应用于机器人避障、避障小车、流水线计数及黑白线循迹等众多场合。

模块参数说明

1 当模块检测到前方障碍物信号时,电路板上绿色指示灯点亮电平,同时OUT端口持续输出低电平信号,该模块检测距离2~30cm,检测角度35°,检测距离可以通过电位器进行调节,顺时针调电位器,检测距离增加;逆时针调电位器,检测距离减少。

2、传感器主动红外线反射探测,因此目标的反射率和形状是探测距离的关键。其中黑色探测距离最小,白色最大;小面积物体距离小,大面积距离大。

3、传感器模块输出端口OUT可直接与单片机IO口连接即可,也可以直接驱动一个5V继电器;连接方式:VCC-VCC;GND-GND;OUT-IO

4、比较器采用LM393,工作稳定;

5、可采用3-5V直流电源对模块进行供电。当电源接通时,红色电源指示灯点亮;

6、具有3mm的螺丝孔,便于固定、安装;

7、电路板尺寸:3.2CM*1.4CM

8、每个模块在发货已经将阈值比较电压通过电位器调节好,非特殊情况,请勿随意调节电位器。

模块接口说明

1 VCC 外接3.3V-5V电压(可以直接与5v单片机和3.3v单片机相连)

2 GND 外接GND

3 OUT 小板数字量输出接口(0和1)
Module circuit diagram

Module description
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 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.
Description of the module parameters
1 When the module detects the front obstacle signal, the green indicator light on the circuit board lights up level, at the same time the OUT port continuously outputs the low level signal, this module detects the distance 2 ~ 30cm, the detection angle 35 °, the detection distance may through the potential Adjust the potentiometer clockwise, the detection distance increases; counter-clockwise potentiometer, reducing the detection distance.
2, the sensor active infrared reflection detection, so the target's reflectivity and shape is the key to detecting the distance. One black detection distance of the smallest, white maximum; small area of ??object distance, large area distance.
3, the 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, 3-5V DC power supply can be used to power the module. When the power is turned on, the red power indicator light;
6, with 3mm screw hole, easy to fix, install;
7, the circuit board size: 3.2CM * 1.4CM
8, each module in the delivery of the threshold voltage comparison has been adjusted through the potentiometer, non-special circumstances, do not arbitrarily adjust the potentiometer.
Module interface description
1 VCC external 3.3V-5V voltage (can be directly connected with the 5v microcontroller and 3.3v microcontroller)
2 GND External GND
3 OUT small board digital output interface (0 and 1)