Image shown is a representation only.

Exact specifications should be obtained from the product data sheet.

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

Manufacturer Product Number
TCS3200D
Description

TCS3200D/TCS230 color recognition sensor module color sensor module

Package Condition
Bulk

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(temp%1000/100); 

        send_char(temp%100/10);

        send_char(temp%10);

   

    }

       

}

 

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

主图-02

主图-03

主图-04

主图-05

Write your review

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

TCS3200D/TCS230 color recognition sensor module color sensor module

Write your review

Other Products In The same category:

1000In stock:
Can ship immediately
QUANTITY
All prices are in USD

SEND
RFQ