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
- 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.