ColourSensor

Page Actions

The Color Sensor

Color Sensor Types

The color sensor is used to show the paper moving in front of the distance sensor in the right color. Just like in case of the RGB LEDs different models can be found on the market. There are essentially two different types, using different sensor chips built onto a variety of breakout boards.

The GY-31 board based on the TCS2300

This board is built around the TCS34725 chip

Both chips implement color filters which let only one of the base colors pass onto a photo diode, whose intensity is then measured before switching to the next base color. The TCS2300 converts the photo diode signal into a frequency proportional to the light intensity. This board comes with 4 white LEDs to illuminate the colored object in front of it. Certain modules switch these LEDs permanently on while others (like the one shown on the photo) have a pin enabling the LEDs by software. This particular board also has a plastic ring protecting the sensor from direct light from the LEDs.

The TCS34725 does essentially the same thing but has an I2C interface in addition providing easy interfacing with a micro-controller. Here we have a single, less intense white LED, the yellow device on the photo.

-- %USERSIG{UliRaich - 2018-01-31}%

Comments

 
I Attachment Action Size Date Who Comment
GY-31.pngpng GY-31.png manage 76 K 31 Jan 2018 - 10:24 UnknownUser  
tcs3200.pngpng tcs3200.png manage 199 K 06 Mar 2018 - 13:14 UnknownUser  
tcs34725.pngpng tcs34725.png manage 191 K 31 Jan 2018 - 10:24 UnknownUser  
Topic revision: r4 - 08 Mar 2018, UliRaich