Arduino and Color Recognition Sensor TCS230 TCS3200

posted in: Arduino | 14

Download # Arduino Code (*.ino file)

Upload Arduino code directly to your Microcontroller from website

If you want to integrate Arduino IDE into your website (as above) sign up here: codebender


14 Responses

  1. Talha

    why the values are not same each time though color object is same from same distance?

  2. francis

    Bro, the intensity should be increased for proper accuracy.. i would suggest a magnifying glass placed before the LED’s of the sensor or an external source of light so that the reflected light hits the sensor properly..


    if i want to get yellow color, how to set condition to get it? please help me

    • admin

      Hello, add yellow color to the sensor, see in what interval values are provided and add accordingly conditions for that color. That’s it.

  4. Mateo

    Hi !

    Seems the sensor works, there are values on monitor, but leds on sensor do not put on.

    What can i do ?

  5. DellX

    I must say you have high quality posts here. Your posts should go viral.
    You need initial boost only. How to get massive traffic?
    Search for; Murgrabia’s tools go viral

  6. hieu pham

    digitalRead(out) == HIGH ? LOW : HIGH
    What does this command line mean? Can you reply to me via email?

  7. griselda

    a question copy the code to the arduino and then it does not give the green, it does not detect it.

  8. Chanu

    Can u help me in determining the color of water ?? Can u plz reply to my mail.?

    • admin

      That probably depends on conditions, where it is held and surrounding lights in general…

  9. raghu harihar

    i have few challenges here, i used external lighting on the sensor by removing the built in led lights in the sensor. while using the external lights if i use red light, it measures blue color, if i use green light it shows red in the serial monitor, if i use blue light it shows green in the serial monitor. if i use white light it shows black in the serial monitor with all values of rgb showing close to zero. why is that.

Leave a Reply

Your email address will not be published. Required fields are marked *