





- Stock: In Stock
- Model: S61.GY31
GY-31 Arduino Color Recognition Sensor
The GY-31 Arduino Color Recognition Sensor is equipped with the TCS230 sensor, which is housed in an 8-pin SOIC surface mount package. This sensor incorporates 64 photodiodes on a single chip, which are categorized into four types.
- 16 photodiodes with red filters
- 16 photodiodes with green filters
- 16 photodiodes with blue filters
- 16 photodiodes without filters, capable of transmitting all light information
The photodiodes are strategically arranged in a cross pattern on the chip. This arrangement minimizes the non-uniformity of incident light radiation, thereby enhancing the accuracy of color recognition. Furthermore, the 16 photodiodes of the same color are connected in parallel and uniformly distributed in diode arrays, which eliminates the positional error of the color.The sensor operates by dynamically selecting the required filter through two programmable pins. It has a typical output frequency ranging from 2 Hz to 500 kHz. Users have the flexibility to select an output scale factor of 100%, 20%, or 2%, or a power-down mode through two programmable pins. This feature allows the sensor output to adapt to different measurement ranges, thereby improving its versatility.
Key Features of the GY-31 Sensor
- High resolution conversion of light intensity to frequency
- Programmable color and full-scale output frequency
- Direct communication with the microcontroller
- Single supply operation (2.7 V to 5.5 V)
- Power cut-off feature
- Non-linear error typically 0.2% at 50 Hz
- Stable 200 ppm / °C temperature coefficient
- Low profile, lead-free, and RoHS compatible surface mount package
Pin Function Definitions
Pin | Function |
---|---|
Pin 1, Pin 10 | GND: Power supply ground |
Pin 2 | OUT: Output frequency |
Pin 3, Pin 4 | S2, S3: Photodiode type selection inputs |
Pin 5, Pin 6 | VCC: Supply voltage 2.7V-5V |
Pin 7, Pin 8 | S1, S0: Output frequency scaling selection inputs |
Pin 9 | LED: LED Control (1: Led on, 0: Led off) |
Technical Specifications
- Operating voltage range: 2.7 V ~ 5V
- Supply current: 5V, LED on 25 mA
- Interfaces: Output frequency
- Operating temperature: -40 ~ 85 °C
- Size: 33.2mm x 33.2mm x 25mm