Color sensor, light-frequency converter TCS3200 - Waveshare 9520
- Product Code:
- 53916991
Properties
Other features
- Brand
- waveshare
Description
Sensor with TCS3200 sensor allows for measurement of the color (RGB components - Red, Green, Blue), the output of which is frequency dependent on the intensity of the selected color. It is supported by any commissioning set with a microcontroller equipped with a counter, for example,STM32DiscoveryorArduino.
Specification
- Supply voltage: 2.7 V to 5.5 V
- Pins: goldpin
- Simple connection with a microcontroller (frequency readings)
- Built-in 4 LEDs illuminating the studied object
- Dimensions: 36 x 20 mm (without connectors)
Module has a cable with female ends.
The module is powered with the voltage from the range of 2.7 V to 5.5 V, thanks to it, it is perfect in the systems of 3.3 V and 5 V. The sensor can be connected to any commissioning set with a microcontroller that has a counter (Timer) with the frequency input, for example,STM32DiscoveryorArduino. The output is a signal with a frequency that depends on the light intensity selected by the color via the S2 and S3pins.
Detailed description is available in the arrays in the further part of the description. Pins are the popular goldpin connectors, allowing for the connection of a sensor with the main module usingconnection cables (included).
Connection
Description of the pins are in the array.
Pin Description VCCIO Power supply from 2.7 V to 5.5 V. GND The ground of the system. LED Control of 4 LEDs. OUT Frequency of color output. S0/S1 Inputs are provided for scaling the output frequency. The description is below. S2/S3 Inputs to select the type of photodiode. The description is below.
Setting
Using the configuration inputsS0andS1, selected is the prescaler(divider) of the output frequency signal by which we can adjust the frequency range for the used microcontroller. InputsS2andS3are used to selectthe type of measuring photodiode: red, green, blue or clear options, that is without filtering (measured will be all RGB components).
Selection of divider of the output frequency
S0
S1
Scale of output frequencyin relation to fo
L
The sensor is disconnectedL
H2 %
10-12 kHz
H
L20 %
100-120 kHz
H
H 100 %500-600 kHz
Selecting the type of photodiode (filtered)
S0
S1
Type of photodiode
L
L red (R)L
H blue (B)H
L clear (RGB)(unfiltered)H
H green (G)
L (Low) - low status
H (High) - high status
Useful links
- The website of the manufacturer of Waveshare
- User manual
- Instruction
- Diagram of the module
- Sample program
- Documentation of the system TCS3200
- Example of connecting to Arduino
- Software