04-03-2015 04:31 PM
I am using an Sen 10904 color sensor and I am facing problems with it, the sensor light ON when connected but the voltages of the corresponding colors still in zero and don't change when a color is near the sensor.Please help.
04-04-2015 12:33 PM
I see that you're using LabVIEW Interface for Arduino here.
The sensor datasheet tells me that you don't need to give HIGH to the gain pins of this sensor. So try changing the values to LOW (0) instead of HIGH (1) and then observe.
Regards.
04-04-2015 03:08 PM
04-05-2015 02:24 PM
@zuzu12 wrote:
The same problem but when I see the code in spark fun that corresponds to the sensor in addition they muktiplied the analog reading of each color by different value and when I erase them it give me the same problem as labview. So how can for example muktiply the analog reading of the red color by 10 in labview
Can you provide a link to the sparkfun code? What did you erase, exactly?
Multiplying in LabVIEW is easy 😄
Why is your code so repetitive? You can use a FOR loop, autoindexing on an array of the only changing input.
What is your desired loop rate? As fast as the hardware allows?
04-05-2015 10:45 PM
04-05-2015 11:32 PM