ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า
5-way tracing sensor module TCRT5000L โมดูลอินฟราเรด 5 ช่องโดยใช้แสงอินฟราเรดส่วนใหญ่จับสีขาวดำ รองรับไฟ 3.3-5V ระยะการตรวจจับ 1mm-8mm 

The module uses TCRT5000L as the infrared light detection with high sensitivity, anti-interference capability and stable performance.
 
Wiring:
 
1. VCC  power supply positive input  3.3V - 5V 
 
2. GND negative input port
 
3. OUT1 - OUT5 are for the signal output port, link the Arduino

Code Test Basic :

const int pinOUT1 = 8;    // OUT1
const int pinOUT2 = 9;    // OUT2
const int pinOUT3 = 10;    // OUT3
const int pinOUT4 = 11;    // OUT4
const int pinOUT5 = 12;    // OUT5
int IRvalue1 = 0;
int IRvalue2 = 0;
int IRvalue3 = 0;
int IRvalue4 = 0;
int IRvalue5 = 0;
 
void setup()
{
  Serial.begin(9600);
  pinMode(pinOUT1,INPUT);
  pinMode(pinOUT2,INPUT);
  pinMode(pinOUT3,INPUT);
  pinMode(pinOUT4,INPUT);
  pinMode(pinOUT5,INPUT);
 
}
 
void loop()
{
  Serial.print("Digital Reading=");
  Serial.print(IRvalue1);
  Serial.print(IRvalue2);
  Serial.print(IRvalue3);
  Serial.print(IRvalue4);
  Serial.println(IRvalue5);
  delay(1000);
  
  IRvalue1 = digitalRead(pinOUT1);
  IRvalue2 = digitalRead(pinOUT2);
  IRvalue3 = digitalRead(pinOUT3);
  IRvalue4 = digitalRead(pinOUT4);
  IRvalue5 = digitalRead(pinOUT5);
}
เงื่อนไขอื่นๆ
Tags

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

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