KY-032 Obstacle avoidance sensor module



100% Brand new and high quality!
The light sensor module have strong adaptable to the environment,
having a pair of infrared transmitter and receiver,
transmitter launch a certain frequency infrared,
when meet obstacle in the detection direction,
the infrared receiver is reflected back by the receiver tube,
after processing through the comparator circuit,
the green indicator light will illuminate while the signal output interface
output digital signal (a low-level signal) can be adjusted via potentiometer knob detection distance, the effective distance range 2 ~ 30cm, working voltage is 3.3V-5V.
The detection range of the sensor can be adjusted by the potentiometer,
with little interference, easy to assemble,
easy to use features, can be widely used robot obstacle avoidance,
obstacle avoidance car assembly line count and black-and-white line tracking and many other occasions.
1. When the module detects an obstacle in front of the signal,
the circuit board green indicator light levels while continuing output low signal OUT port,
the module detects the distance 2 ~ 30cm, detection angle 35 ¡ã,
the distance can detect potential control to adjust, adjust potentiometer clockwise,
the detection distance increases; counterclockwise adjustment potentiometer,
detection distance decreases.
2, the sensor active infrared reflection detection,
target reflectivity and shape of the detection distance of the key.
The minimum detection distance which black and white max;
small area of ??the object distance is small, a large area from the Grand.
3, the sensor module output port OUT can be directly connected with the microcontroller IO port can also be driven directly to a 5V relay; Connection: VCC-VCC; GND-GND; OUT-IO
4, the comparator using LM393, job stability;
5, can be 3-5V DC power supply for the module. When the power is turned on, the red power indicator light;
6, with 3mm screw holes for easy mounting, installation;
7, the circuit board size: 3.2CM * 1.4CM
8, each module in the delivery has threshold comparator voltage adjustable via potentiometer, special circumstances, please do not adjust the potentiometer.
1. VCC external 3.3V-5V voltage (5v microcontroller and can be directly connected to 3.3v MCU);
2. GND an external GND;
3. OUT small board digital output interfaces (0 and 1);

Color: Blue
Dimensions: approx. 3.2CM*1.4CM

Package includes:
1 x IR Infrared Obstacle Avoidance Sensor Module

Example Code:

Here we use the obstacle avoidance module and a digital interface, built-in 13 LED build a simple circuit, making avoidance warning lamp, the obstacle avoidance Sensor Access Digital 3 interface, when obstacle avoidance sensor senses a signal, LED light, and vice versa off.

int Led = 13 ;// define LED Interface
int buttonpin = 3; // define the obstacle avoidance sensor interface
int val ;// define numeric variables val
void setup() {
  pinMode(Led, OUTPUT) ;// define LED as output interface
  pinMode(buttonpin, INPUT) ;// define the obstacle avoidance sensor output interface
void loop() {
  val = digitalRead(buttonpin) ;// digital interface will be assigned a value of 3 to read val
  if (val == HIGH) { // When the obstacle avoidance sensor detects a signal, LED flashes
    digitalWrite(Led, HIGH);
  } else {
    digitalWrite(Led, LOW);


There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.