Color Sensor Recognition Module GY-31 TCS3200

AED 36.00



The GY-31 TCS230 Color Sensor is a sophisticated RGB color sensor designed to provide accurate color detection and light intensity measurement capabilities. Equipped with an 8 x 8 array of photodiodes and a Current-to-Frequency Converter, this sensor transforms photodiode readings into a square wave signal. The frequency of this square wave is directly proportional to the intensity of the detected light, making it a valuable tool for precise color analysis. This sensor is seamlessly compatible with microcontrollers like Arduino, simplifying data interpretation and integration into a wide range of applications.


Package Includes:

  • 1 x GY-31 TCS230 Color Sensor Recognition Module for Arduino



  1. Advanced Color Sensing: The TCS230 sensor boasts an 8 x 8 array of photodiodes, enabling it to detect a vast spectrum of colors with remarkable precision.
  2. Voltage Range: Operating on a low input voltage range of 3 to 5V, this sensor can adapt to various power sources, making it versatile for different projects.
  3. Output Flexibility: The sensor provides an output frequency voltage range from 0 to 5V, allowing you to customize its output according to your project's specific requirements.
  4. Bright White LED Lights: Utilizes bright white LED lights as its light source, ensuring the accuracy of color detection.
  5. Power Management: The sensor incorporates a power-down feature, enabling energy conservation when not in active use.
  6. Temperature Stability: It maintains stable performance across varying temperature conditions, ensuring consistent and reliable results.
  7. Compact Design: With compact dimensions of approximately 33x33x25mm, it is easy to integrate into your projects without taking up much space.
  8. Microcontroller Compatibility: This sensor can be directly interfaced with microcontrollers, including popular platforms like Arduino and Raspberry Pi.
  9. High-Resolution Conversion: It offers high-resolution conversion of light intensity to frequency, delivering precise and detailed results for color analysis.
  10. Programmable Features: The sensor is programmable, allowing you to fine-tune its color detection capabilities and adjust the full-scale output frequency to match your specific application needs.
  11. Optimal Detection Distance: It performs optimally at a detection distance of 1cm, making it suitable for various proximity sensing applications.



  • Chip: TCS3200
  • Input voltage: DC 3 ~ 5V
  • Output frequency voltage: 0 ~ 5V
  • Use bright white LED lights
  • Power Down Feature
  • Stable Temperature Coefficient
  • Size: 33x33x25mm(approx)
  • Can be directly interfaced with a Microcontroller
  • Compatible with Arduino as well as Raspberry Pi.
  • High-Resolution Conversion of Light Intensity to Frequency
  • Programmable Color and Full-Scale Output Frequency
  • Best detection distance: 1cm


Pinout of the Module:

GY-31 TCS230 TCS3200 color sensor

  • VCC: Module power supply (2.7V to 5.5V)
  • GND: Ground
  • OUT: Output signal

Control Pins:

  • S0: Output Frequency Scaling Selection Input
  • S1: Output Frequency Scaling Selection Input
  • S2: Photodiode Type Selection Input
  • S3: Photodiode Type Selection Input
  • LED: LED control