Go Down

Topic: Color Sensors (Read 1 time) previous topic - next topic

arduattack

Hi everyone,
    I want to use a color sensor for strip reading. I wanted to choose among TCS32 series color senors ( Light-To-Frequency Converter) and TCS34 series color sensors (Light to Digital Converter with I2C bus protocol). Moreover I have heard that TCS3200 is getting out phased. But I have to use multiple color sensors and it is difficult hard code TCS34 series color sensors because of its I2C bus.

PLZ Help me out!!!

Thanks in advance :)

Grumpy_Mike

Can you be more specific about your question. You seem to have painted yourself into a corner with all those conditions. Are you looking for some one to write this for you?
What is this strip you have to measure?

arduattack

I need to use an array of 16 color sensors to read color intensity for a strip of 16 glucose samples one by on using 16*1 multiplexer. Each well of the strip is illuminated by an LED when intensity is being measured.

michinyon

if I was doing it,   I'd get one colour sensor to move past the samples.   Or get the samples to move past one sensor.

If you get 16 color sensors you are going to have trouble calibrating them.

marco_c

#4
Jun 07, 2013, 04:59 am Last Edit: Jun 07, 2013, 08:50 pm by marco_c Reason: 1
I did some work with the TSC230 color sensor a while ago. The library and pdf on how to use the sensor (calibrated) may be helpful. Link is in my signature below.
Arduino libraries http://arduinocode.codeplex.com<br />Parola for Arduino http://parola.codeplex.com

arduattack

Hi,

I have already used a motor and moved the strip of 16 wells all along using one sensor i.e,TCS3210. Due to heat produced by the motor I'm getting errors in readings.Moreover the size of the setup is quite big. So to minimize I'm using 16 sensors and 16:1 Mux. The readings will be instant. I have heard from the manufacturer that TCS3200 is getting out phased which I'm currently working on . If it is TCS3472 I am not aware how to integrate Multiple(16) sensors since they have I2C bus.

Thanks in advance

Grumpy_Mike

Quote
I am not aware how to integrate Multiple(16) sensors since they have I2C bus.


You switch the I2C bus.
http://www.flickr.com/photos/33177304@N03/3230647685/
This shows the technique for a 4 input multiplexer chip. You can extend this idea to 16 inputs.
You actually only have to switch the data, all the clock signals can be common.

arduattack

Thanks for the help!
Based on the research I have done 16:1 I2C Mux is not available. So I need to use two 8:1 I2c mux and 1 2:1 I2C mux. Can I use more than two I2C multiplexers for single arduino mega. And also how to interface I2C Mux to an arduino.

Thanks in advance!

Grumpy_Mike

Quote
Can I use more than two I2C multiplexers for single arduino mega.

You can use as many as you like.

Quote
also how to interface I2C Mux to an arduino.

.??
Just wire them up. Select inputs to Arduino digital outputs.

Go Up