TCS3200D / TCS230 color recognition sensor module

TCS3200D / TCS230 color recognition sensor module
TCS3200D / TCS230 color recognition sensor moduleTCS3200D / TCS230 color recognition sensor moduleTCS3200D / TCS230 color recognition sensor module
หมวดหมู่ เซนเซอร์แสงสี
ราคา 150.00 บาท
สถานะสินค้า พร้อมส่ง
ลงสินค้า 7 ก.ค. 2559
อัพเดทล่าสุด 25 ม.ค. 2568
จำนวน
ชิ้น
หยิบลงตะกร้า
หนังสือรับรองบริษัท
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay

Color sensor principle

    
TCS230 8-pin SOIC surface mount package, on a single chip has 64 photodiodes. These diodes are divided into four types. 16 of the photodiode with a red filter; 16 photodiodes with a green filter; 16 photodiodes with a blue filter; the remaining 16 without any filter, may all the optical information through. The photodiode chip are staggered, it is possible to minimize unevenness of the incident radiation, thereby increasing the accuracy of the color recognition; on the other hand, the same color of the photodiode 16 is connected in parallel, uniformly distributed in the diode array, you can eliminate the position error color. Work by two programmable pins to dynamically select the desired filter. Typical output frequency range of the sensor from 2 Hz ~ 500 kHz, users can also select two programmable pins to 100%, 20% or 2% of the output scale factor, or power-off mode. Output scale factor so that the output of the sensor can be adapted to different measurement range and increases its ability to adapt. For example, when using a low-speed frequency counter, you can choose a small scaling value that TCS230 output frequency and counter match.

Product Description:

1, using imported chips TCS3200 PCB board with gold plating
2, TCS3200 is TCS230 upgrade version, the better
3, Power supply 3-5v
4, anti-light interference
5, white LED, can control the on and off.
6, can detect non-luminous object color

7, PCB dimensions: (L) 33mm * (W) 25mm

 

#include

#define uchar   unsigned char

#define uint    unsigned int

sbit    S0=P1^0;  //S0,S1为设置输出的占空比

sbit    S1=P1^1;

sbit    S2=P1^3;  //S2,S3为设置虑光的模式

sbit    S3=P1^4;

sbit    OE=P1^2; //使能

 

 

void RS232_init()

{

  TMOD=0X20;    //定时器1工作在方式1

  SCON=0x50;

  PCON=0X80;   //

  TH1=TL1=0XFF;//22.1184M晶振,波特率设置为115200

  TR1=1;

  TI=0;

  RI=0;

 

}

void send_char(uchar a) //发送数据

{

    SBUF=a;

    while(TI==0);

    TI=0;

}

uchar get_char()   //接收数据

{

    while(RI==0);

    RI=0;

return SBUF;

}

 

uint color_display(uchar m)

{

       uint time,a;

       a=m;

       TMOD=0x61; //计数器1,定时器0工作在16位方式

       TH0=TL0=0; //从零开始计数,定时

       TH1=TL1=0;

       S0=1;

       S1=1;

       S2=m&0x01;

S3=m&0x02;

       OE=0;

       TR0=TR1=1;

       while(TL1<250);

       TR1=TR0=0;

       OE=1;

       time=TH0*256+TL0;

       return(time);

 

}

 

void main()

{

    uint temp;

    RS232_init();

    OE=1;

    while(1)

    {

   

        temp=color_display(get_char());

        RS232_init();

        send_char(temp/1000);     

        send_char(temp%1000/100); 

        send_char(temp%100/10);

        send_char(temp%10);

   

    }

       

}

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

วิธีการจัดส่งสินค้า

ทางร้านส่งของทุกวัน

(แจ้งรหัสไปรษณีย์ทาง Email)
การส่งของ

1.ส่งแบบพัสดุลงทะเบียนจัดส่ง

2.ส่งแบบพัสดุ EMS

3.ส่ง J&T Express  (้องมีผู้รับสินค้า)

เมื่อลูกค้า
ทำการโอนเงินแล้ว

กรุณาแจ้งชำระเงินทุกครั้งผ่านหน้าเวป หรือแจ้งที่ 084-6334610  หรือ Add line QR code ข้างล่าง

เพื่อความรวดเร็วในการตรวจสอบและกรุณาเขียนที่อยู่ในการส่งให้ชัดเจน ทางเราจะยืนยันการส่งของทางEmail ของท่านที่ให้ให้ไว้

 

 

ไปหน้าแจ้งชำระเงิน"กดคลิ๊กที่นี่"

**ขอบคุณที่ใช้สินค้าของเราครับ**

 

บมจ. ธนาคารกสิกรไทย สาขาเมกาบางนา ออมทรัพย์
  • ค่าธรรมเนียม 3.9% + 11 THB
  • การชำระผ่าน PayPal คุณไม่จำเป็นต้องแจ้งชำระเงิน เนื่องจากระบบจะจัดการให้คุณทันที ที่คุณชำระเงินเสร็จสมบูรณ์

Contact us

0846334610 ID LINE : @mechabotshop

หมวดหมู่สินค้า

Member

Statistics

หน้าที่เข้าชม354,007 ครั้ง
ผู้ชมทั้งหมด100,313 ครั้ง
เปิดร้าน13 ก.ค. 2558
ร้านค้าอัพเดท6 ก.ย. 2568

Track Code

*ใส่ เบอร์มือถือ หรือ email ที่ใช้ในการสั่งซื้อ
พูดคุย-สอบถาม