午夜视频在线观看1区2区,国产亚洲精品久久久久久快乐8,久久日精品国产亚洲av青青,日本欧美一区二区三区中文在线,91精品国产蜜臀在线观看,69堂精品人妻一区二区三区,69成人精品毛片在线播放,亚洲国产精品成人av在线不卡

Hi,歡迎
+86 135 5637 6665 +852 2632 9637 6*12小時在線電話
圖片僅供參考

Hot selling TCS3200D/TCS230 color recognition sensor module color sensor module quality online

TCS3200D

Model:TCS3200D

Manufacturer:ANSC/OEM

Package:module

詳情

Hot selling TCS3200D/TCS230 color recognition sensor module color sensor module quality online


Product Descriptions:


TCS230 adopts an 8-pin SOIC surface mount package, which integrates 64 photodiodes on a single chip. These diodes are divided into four types. Among them, 16 photodiodes are equipped with red filters; 16 photodiodes with green filters; 16 photodiodes with blue filters; The remaining 16 do not have any filters and can transmit all optical information. These photodiodes are arranged in a cross pattern within the chip, which can greatly reduce the unevenness of incident light radiation and increase the accuracy of color recognition; On the other hand, 16 photodiodes of the same color are connected in parallel and evenly distributed in the diode array, which can eliminate color position errors. During operation, dynamically select the required filter through two programmable pins. The typical output frequency range of this sensor is from 2 Hz to 500 kHz, and users can also choose between 20% or 2% output scaling factor or power off mode through two programmable pins. The output scaling factor enables the sensor's output to adapt to different measurement ranges, improving its adaptability. For example, when using a low-speed frequency counter, a small calibration value can be selected to match the output frequency of TCS230 with the counter.


Product Introduction:


1. Adopting imported chip TCS3200 PCB board with gold plating process


2. TCS3200 is an upgraded version of TCS230 with better performance


3. Power supply 3-5 volts


4. Anti light interference


5. White LED, can be controlled to turn on and off.


6. Can detect the color of non luminous objects


7. PCB size: (L) 33mm * (W) 25mm


Shipping List:


As shown in the figure below, there is one color sensor module


The simple testing procedure is as follows:

#include<reg52.h>

#define uchar   unsigned char

#define uint    unsigned int

sbit    S0=P1^0;  //S0 and S1 are the duty cycles for setting the output

sbit    S1=P1^1;

sbit    S2=P1^3;  //S2 and S3 are the modes for setting light filtering

sbit    S3=P1^4;

sbit    OE=P1^2; //Enable

 

 

void RS232_init()

{

  TMOD=0X20;    //Timer 1 works in mode 1

  SCON=0x50;

  PCON=0X80;   //

  TH1=TL1=0XFF;// 22.1184M crystal oscillator, baud rate set to 115200

  TR1=1;

  TI=0;

  RI=0;

 

}

void send_char(uchar a) //Send data

{

    SBUF=a;

    while(TI==0);

    TI=0;

}

uchar get_char()   //Receive data

{

    while(RI==0);

    RI=0;

return SBUF;

}

 

uint color_display(uchar m)

{

       uint time,a;

       a=m;

       TMOD=0x61; //Counter 1 and Timer 0 operate in 16 bit mode

       TH0=TL0=0; //Counting from scratch, timed

       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(temp00/100); 

        send_char(temp0/10);

        send_char(temp);

   

    }

       

}

 

Select the color channel through the serial port, and then determine different colors based on their corresponding time (with the same count value).


用戶信息:
電話號碼
中國大陸+86
  • 中國大陸+86
  • 中國臺灣+886
  • 中國香港+852
公司名稱
郵箱
產(chǎn)品型號
產(chǎn)品數(shù)量
備注留言
普兰县| 青龙| 舟山市| 固原市| 中山市| 冷水江市| 永修县| 保亭| 南雄市| 呼伦贝尔市| 新乡县| 军事| 建昌县| 泸定县| 邯郸市| 进贤县| 延川县| 丘北县| 东光县| 安溪县| 霍山县| 阿坝县| 库车县| 清水河县| 分宜县| 平邑县| 石棉县| 宽城| 裕民县| 壶关县| 鄂尔多斯市| 五大连池市| 察雅县| 二手房| 牙克石市| 满洲里市| 上思县| 黑水县| 无棣县| 灵宝市| 江西省|