特價

紅外線避障模組 避障/近接開關/感應距離可調

NT$35 NT$28

30 件庫存

描述

紅外線避障模組 避障/近接開關/感應距離可調 最長反射距離 30CM

紅外線避障模組 對環境光線適應能力強,其具有一對紅外線發射與接收管,發射管發射出一定頻率的紅外線,當檢測方向遇到障礙物(反射面)時,紅外線反射回來被接收管接收,經過比較器電路處理之後,綠色指示燈會亮起,同時信號輸出接口輸出數字信號(一個低電平信號),可通過電位器旋鈕調節檢測距離,有效距離範圍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)

IR Obstacle Detection Module Pin Outs

The drawing and table below identify the function of module pin outs, controls and indicators.

Pin, Control Indicator Description
Vcc 3.3 to 5 Vdc Supply Input
Gnd Ground Input
Out Output that goes low when obstacle is in range
Power LED Illuminates when power is applied
Obstacle LED Illuminates when obstacle is detected
Distance Adjust Adjust detection distance. CCW decreases distance.
CW increases distance.
IR Emitter Infrared emitter LED
IR Receiver Infrared receiver that receives signal transmitted by Infrared emitter.

Arduino IR Obstacle Collision Module Tutorial

Connect the Arduino to the Detection Module

Use the picture below.  It only requires three wires.

Copy, Paste and Upload the Sample Sketch

// IR Obstacle Collision Detection Module
// Henry's Bench

int LED = 13; // Use the onboard Uno LED
int isObstaclePin = 7;  // This is our input pin
int isObstacle = HIGH;  // HIGH MEANS NO OBSTACLE

void setup() {
  pinMode(LED, OUTPUT);
  pinMode(isObstaclePin, INPUT);
  Serial.begin(9600);
  
}

void loop() {
  isObstacle = digitalRead(isObstaclePin);
  if (isObstacle == LOW)
  {
    Serial.println("OBSTACLE!!, OBSTACLE!!");
    digitalWrite(LED, HIGH);
  }
  else
  {
    Serial.println("clear");
    digitalWrite(LED, LOW);
  }
  delay(200);
}

Result

Infrared IR Obstacle Avoidance Sensor for Arduino Smart Tracking Car Robot Project 2-30cm Detecting Distance Adjutable

  • Digital signal output, when detected objects,it will output 0, if not it will output 1
  • 2-30cm adjustable detecting distance with good anti-interference ability
  • 3 pins interface(VCC,GND,OUT) can connect directly with MCU I/O port with 3.3-5V power supply
  • On-baord working indicator, power on the red indicator will light up, detect the object the green indicator will ligth up
  • Widely used in smart car obstacle avoidence, Black and white line tracking,fall arrest, auto cutting line system
    Ship it out by USPS with tracking information and 7-17 days delivery time usually

Specifications:
Working Voltage: DC3.3-5V
Signal Output: 0(detect objects), 1(no objects detected)
Detecting Distance: 2-30cm(adjustable)
Module Size: 32X14mm