Arduino COLOR Sensor / Color Recognition Sensor TCS230





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 contains the Library and example codes.



  • Epilog Challenge 9

    Epilog Challenge 9
  • Paper Contest 2018

    Paper Contest 2018
  • Science of Cooking

    Science of Cooking

We have a be nice policy.
Please be positive and constructive.




Hello how can this sensor work in protus how can this library work in protus

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

from where do u buy all the things ? is it cheap or not

Yes most are pretty cheap, you can also buy them on my website, this sensor is not for sale yet i need to order more. But soon i sell these sensors to.