Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: rabochid on November 01, 2010, 06:03:06 AM

Title: blue or red ?
Post by: rabochid on November 01, 2010, 06:03:06 AM
hi I'm trying to make the difference between  two colors red and blue without using a color sensor
can any one help me plz?
Title: Re: blue or red ?
Post by: aruna1 on November 01, 2010, 07:39:28 AM
hi I assume you mean colour sensor modules.(ready made ones)

well you can make a simple colour sensor by using a red led,blue led and a LDR.
search for CDS colour sensor circuit

here is link from this site
http://www.societyofrobots.com/sensors_color.shtml (http://www.societyofrobots.com/sensors_color.shtml) :)

I have tried this and it works perfectly.
best results can achieve by pointing LED colour spot directly below LDR.
Title: Re: blue or red ?
Post by: Soeren on November 03, 2010, 09:50:02 AM
Hi,

hi I'm trying to make the difference between  two colors red and blue without using a color sensor
If you use two LDRs (or phototransistors) with a filter of each color (gel filter or just try some translucent ("clear") colored plastic), you should be able to differentiate them.
You may need to add some light, depending on whether the source of these colors are colored light itself, or just colored objects reflecting ambient light.