Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: nijmegen96 on June 23, 2012, 10:06:04 PM

Title: Just a quick color sensor question...
Post by: nijmegen96 on June 23, 2012, 10:06:04 PM
Just to keep it short and sweet.
If I make this:

http://letsmakerobots.com/node/23768 (http://letsmakerobots.com/node/23768)

Will it work as fast and reliably as this?:

http://tiltedtwister.com/tiltedtwister2.html (http://tiltedtwister.com/tiltedtwister2.html)

Just a note, I plan on using one RGB LED instead of the 4 colors, and how do the lego sensors work? Doesn't look like they flash the different colors like the homemade one. Could i just have all the colors (white) for it to reflect the color back? Also could I just buy the Lego color sensor and make it work with a microcontroller?
Title: Re: Just a quick color sensor question...
Post by: Soeren on June 24, 2012, 10:42:31 AM
Hi,

[...] how do the lego sensors work? Doesn't look like they flash the different colors like the homemade one.
"LEGO sensor uses a RGB LED, and successively shines red, green and blue light on the object. Reflected light is collected by a light sensor sensitive to all wavelength." (http://www.philohome.com/colcomp/cc.html)


Could i just have all the colors (white) for it to reflect the color back?
Yes, if you get a dedicated color sensor chip (plenty to find at TAOS)


Also could I just buy the Lego color sensor and make it work with a microcontroller?
Sure, it seems to just output an analog voltage.
Title: Re: Just a quick color sensor question...
Post by: nijmegen96 on June 24, 2012, 02:07:47 PM
Alright Thanks!