ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า
Infrared Obstacle Avoidance Sensor Module
(มีสต็อกสินค้าในประเทศไทยพร้อมจัดส่ง)
 
เซ็นเซอร์อินฟาเรด สำหรับตรวจจับสิ่งกีดขวาง ระยะตรวจจับโดยประมาณอยู่ที่ 2 - 30 cm มุม 35 องศา สามารถปรับระยะการตรวจจับได้ที่ตัวต้านทานปรับค่าได้บนบอร์ด ใช้ไฟเลี้ยง 3.3 - 5V เอาต์พุตให้ค่าปกติเป็น 1 เมื่อตรวจพบเส้นหรือวัตถุกีดขวาง จะให้ค่าเอาต์พุตเป็น 0 พร้อมแสดงไฟที่เซนเซอร์
Infrared Obstacle Avoidance Sensor For Smart Car Robot
 
Features:
 
Module description:
The sensor module light is adaptable to the environment, it has a pair of infrared transmitting and receiving tube, tube infrared emit a certain frequency, when detecting direction meet with obstacles (reflecting surface), reflected infrared receiving tube, after the comparator circuit processing, green indicator will light up, at the same time signal output interface to output digital signal (a low level signal), can be through the potentiometer knob adjust the detection distance, effective distance range 2 ~ 30cm, working voltage is 3.3V to 5V. The sensor detection range can be through the potentiometer to adjust and have small interference, easy to assemble, easy to use, etc, can be widely used in robot obstacle avoidance, obstacle avoidance car, line count, and black and white line tracking and so on many occasions.
 
Module Parameter:
1. When the module detects obstacles in front of the signal, the green indicator on the circuit board light level and at the same time the OUT port output low level signal, the detection module from 2 ~ 30cm, 35°detection Angle, test distance can be adjusted through the potentiometer, adjustable potentiometer clockwise, the detection distance increases; Counter-clockwise tuning potentiometer, detection distance is reduced.
2. Sensors, active infrared reflection detection, therefore the reflectivity and shape of the target is the key of the detection range. White one black detection range, minimum maximum; Small area of the object distance, large distance.
3. The sensor module output port OUT can be directly connected to the microcontroller IO port can, also can drive a 5v relay directly; Connection mode: the VCC - VCC; GND - GND; The OUT - the IO
4. The comparator USES the LM393, working stability;
5. Can be used for 3 to 5v dc power to power supply module. When power on, the red power indicator light lit;
6. 3 mm screw holes, easy fixed, installation;
7. Circuit board size: 3.2cm*1.4cm
8. Each module is shipped already compare threshold voltage through the potentiometer to adjust good, not special circumstances, please do not arbitrarily adjust the potentiometer.
 
Module interface specification:
1. VCC voltage is 3.3V to 5V converter (which can be directly connected to 5V single-chip microcontroller and 3.3V)
2. GND external GND
3. OUT of small plate digital output interface (0 and 1)
 
code:
/*  
 
    Arduino with Test B019 Infrared IMG 69881
 
    For complete project details, visit:Arduinoshop99
 
   
 
*/
 
 
 
int led = 13;                // the pin that the LED is atteched to
int sensor = 2;              // the pin that the sensor is atteched to
int state = HIGH;             // by default, no motion detected
int val = 0;                 // variable to store the sensor status (value)
 
void setup() {
  pinMode(led, OUTPUT);      // initalize LED as an output
  pinMode(sensor, INPUT);    // initialize sensor as an input
  Serial.begin(115200);        // initialize serial
}
 
void loop(){
  val = digitalRead(sensor);   // read sensor value
  if (val == LOW) {           // check if the sensor is LOW 
    digitalWrite(led, LOW);   // turn LED OFF
    delay(100);                // delay 100 milliseconds 
    
    if (state == HIGH) {
      Serial.println(" Warning Detect "); 
       Serial.println(""); 
      state = LOW;       // update variable state to C
    }
  } 
  else {
      digitalWrite(led, HIGH); // turn LED ON
      delay(200);             // delay 200 milliseconds 
      
      if (state == LOW){
        Serial.println("Clear OK");
        Serial.println("");
        
        state = HIGH;       // update variable state to HIGH
    }
  }
}
 
Out Put:


 
เงื่อนไขอื่นๆ
Tags

วิธีการชำระเงิน

บมจ. ธนาคารกรุงไทย สาขาโรงไฟฟ้าบางปะกง ออมทรัพย์
ธนาคารกรุงเทพ จำกัด (มหาชน) สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
บมจ. ธนาคารกรุงไทย สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
พร้อมเพย์ สาขา- -
Scan this!
สนธยา ใจผ่อง
063-xxxxxx-8
Accept All Banks | รับเงินได้จากทุกธนาคาร
พูดคุย-สอบถาม