Introduction: Arduino COLOR Sensor / Color Recognition Sensor TCS230
Hello world! Today i made a color Recognizer with arduino and the TCS2300 /TCS230 color sensor. It simply reads the values of the Sensor and prints it to the serial monitor, this sensor can be used for a Color sorting machine for example. The code is very small. We are using a library which makes the values pretty accurate. Follow the next link for the Schematic code and parts list.
NOTE: It also detects other colors then RGB. Only i seen yellow is not very accurate.
Step 1: Schematic, Code & Parts List.
Just wire it up like the schematic, See below how to wire it up if you cannot read the schematic.
The text on the schematic is a bit unreadable for some i can imagine.
- vcc > 5v
- GND > GND
- SO > D3
- S1 > D4
- S2 > D5
- S3 > D6
- OUT > D2
Parts list.
- Arduino uno.
- Color sensor TCS2300 / TCS230 (soon for sale on my site)
- Jumper wire set.
Good luck! The zip fileTCS3200.zip contains the Library and example codes.

Participated in the
Circuits Contest 2016
1 Person Made This Project!
- cskocsis made it!
7 Comments
7 months ago
bro, i try ur programs, but that is not work
Question 2 years ago
Are any delays in this lib?
2 years ago
Hello how can this sensor work in protus how can this library work in protus
4 years ago
Can you please make the entire code onto one document so that I may copy and paste it into my own Arduino file? I am having difficulties downloading. Thanks
4 years ago
from where do u buy all the things ? is it cheap or not
Reply 4 years ago
Yes most are pretty cheap, you can also buy them on my website arduinosensors.nl, this sensor is not for sale yet i need to order more. But soon i sell these sensors to.
4 years ago
Follow me for more!