午夜视频在线观看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ù)量
備注留言
武城县| 阿克陶县| 青冈县| 海门市| 博野县| 库伦旗| 水富县| 伊宁市| 梁河县| 太康县| 禄劝| 辰溪县| 霍州市| 万盛区| 宁城县| 洛阳市| 南郑县| 河津市| 赣州市| 武隆县| 柞水县| 曲周县| 西青区| 温州市| 浠水县| 南充市| 华阴市| 广宗县| 洮南市| 广宁县| 大竹县| 永城市| 凭祥市| 施甸县| 弥勒县| 宜宾县| 宜黄县| 高密市| 嘉鱼县| 额济纳旗| 呼玛县|