TCS3200 colour sensor with Arduino UNO

Discussion in 'The Projects Forum' started by Eng... Guderz, Apr 30, 2014.

  1. Eng... Guderz

    Thread Starter New Member

    Feb 14, 2012
    7
    0
    l have trying to detect colour using the TCS3200 module. All the connections are fine. l am heving problems on the outputs, they flactuate when l change the environment. May anyone help me please

    Thanks in advance.
     
  2. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    What kind of fluctuations and in what way are you changing the environment (maybe you should drive a hybrid :p ).

    What are your connections?
     
  3. DickCappels

    Moderator

    Aug 21, 2008
    2,648
    632
    Do you understand that the output is supposed to change as the amount of light falling on it changes?
     
  4. Eng... Guderz

    Thread Starter New Member

    Feb 14, 2012
    7
    0
    maybe we should start at making it clear on how the sensor works, l think l might be lost a bit

    l want to have an alarm wenever a green light changes to a red one. thats my objective
     
  5. bertus

    Administrator

    Apr 5, 2008
    15,646
    2,345
    Hello,

    Perhaps this page might help you:
    http://reibot.org/2011/07/06/tcs3200/

    Perhaps also a HOYA CM500 filter will help.
    See the datasheet of the TCS230 on page 5 for the effect of this filter.
    (I have attached the datasheets of the TCS3200 and TCS230)

    Bertus
     
    Last edited: May 5, 2014
  6. Eng... Guderz

    Thread Starter New Member

    Feb 14, 2012
    7
    0
    thanks,

    The link is helpful. Wil try the code and compare the results with what l was previously getting.
     
Loading...