![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I don't think so.. i'm quite sure the answer is no!
here is the point: i want to build a color sensor, that is immune to ambiant light, so i thought about using one of those IR receivers locked at 38Khz.. but i don't think they will be compatible with the standard Red-Green-Blue LEDs arrangement used in color detectors... in case they can't, as i thought.. any idea for a simple color detector that would be immune to ambiant light? if i'll have to modulate the 3 LEDs and them demodulate them.. it will get really messy.. unless there is a dedicated chip for that.. Also.. i have an old 3 Mpixel camera, is there a way to dramatically reduce image quality, input the image data into a uC and deduce the color? (plz ignore this last question if it's really science-fiction! sorry, i can't help my imagination! thx |
|
|
|
|
|
|
(permalink) |
|
The answer is no...let me tell you why.
YOu do realize you need ambient light to see colour right? Do you also realize that visible light and IR are essentially the same thing but different frequencies? That means you can't use IR to tell if something is red, green, or blue. YOu need to use visible light, by definition. Ambient light isn't even a problem- you want it. As a result, you don't need "immune to ambient light". That has no meaning when you are talking about a colour detector. You can't detect light unless it reflects off of something- which means you can't see it in mid-air (assuming the air is free of particulates). Just get three photo sensors with a R, G, and B filters in front of each one...easy enough, simple. All you need is a 3-channel ADC. The only concern is that if the ambient light is unbalanced (ie. if there is only red light around, all objects will appear red- except pure black, blue, and green objects will all appear black). Is this what you mean by immunity to ambient light? All if you have to do is have white LEDs or another source of white light shining whever the colour sensor is looking to provide all the wavelengths of light so the true colour can be accurately reflected. And yes, if you can read the data from your camera you can deduce the colour. You can also buy one from www.picaxe.com in camera-form where it has been simplified to be just a colour sensor (no imaging), just in case this was part of a larger project and you only wanted to build one because you couldn't find one. Last edited by dknguyen; 14th January 2007 at 08:31 AM. |
|
|
|
|
|
|
(permalink) |
|
hi ikalogic,
when using 904nM laser trasnsmitter/detectors I have used a narrow band pass optical filter to block ambient light. There are a range of 'plastic' sheets which are able to narrow pass just the light spectrum/band of interest. Using three suitable optical filters, and matched detectors, it should be possible to get some correlation between rgb and intensity. Sounds a very intresting project, good luck! Regards EricG |
|
|
|
|
|
|
(permalink) |
|
You can make IR devices immune to ambient light so that they only receive light form their receiver. But that is not what the OP is asking for- he wants to detect all reflected visible light while blocking out all ambient visible light which is unecessary (if not contradictory.) The only concern is that not all wavelengths of ambient light are present to reflect the true colour of the object.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
Well, the idea i had (which needed to ignore ambiant light) was to use 3 LEDs (one of each cooulor, and 1 LDR in the midle. this idea was proposed in one of my electronics magazines, but they said that the sensor had to be totally protected from ambiant light. The idea is to send Only red light, and record the LDR reading Send Green only, then record the LDR reading, Blues Only, the record again the LDR reading, you get the RGB values of the Object's surface. (sure after some calibration) but the problem with this idea is -as you sure realized- is very sensitive to ambiant light..... Your Idea Of Filter is very interresting also... how can I buy/build filters like those...? i have no Idea.. thx |
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
I guess for filters you could get pretty fancy (and expensive) by using dye or gel filters.
But I think that coloured transparent paper (the purest red, blue, and green you can find) should be sufficient for your purpose. (You *might* be able to find photo-sensors with the filters already there like enclosed in red/blue/green plastic, but I doubt it). You might be able to steal the lid of an LED and use that on top of a photosensor. Perhaps what the magazine meant is that you don't want light sources shining directly into the colour sensor blinding it (ie. you can't see the green wall if the lamp is shining in your face). All that is needed then is a simple hood. Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Oh, here is the datasheet for the camera-colour sensor I was talking about...
http://www.rev-ed.co.uk/docs/axe045.pdf Here is the manufacturer: http://www.taosinc.com/category.asp?cateid=11 Quote:
In actuality, all the ambient light is absorbed by an object (rather than some of them) and certain frequencies are re-emitted (rather than reflected). Last edited by dknguyen; 14th January 2007 at 08:51 AM. |
||
|
|
|
|
|
(permalink) |
|
okay, now: FILTTERS...
For example, What exactly a RED couloured filter will do? will will block RED light right, and pass the rest? right? I don't need a very accurate sensor, so i'll try to build it myself (interessting challenge! |
|
|
|
|
|
|
(permalink) |
|
You'd think that right? But normally when people say a red filter, they mean a filter that PASSES red because it looks red (since it blocks the other frequencies of light going through it.
I've never actually thought about that before lol. But I guess the terminology can be misleading! I should have said a red band-pass filter, although filters do exist that just block red (these are actually yellow filters! since they pass green and blue. green + blue = yellow). Weird huh? I should also add that you may want to you might also want an IR filter covering ALL the photo-sensors in addition to the colour filter, becuase photo-diodes can react to IR light. Last edited by dknguyen; 14th January 2007 at 09:05 AM. |
|
|
|
|
|
|
(permalink) |
|
well.. but how come a RED object, will absorb all light and reflect the RED (that's why we see it RED right?!)
A RED transparent filter will do the oposite?? pass the red and reflect the rest? well that's weird! |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | ||
|
Quote:
If the red filter simply reflected green and blue light, it would appear clear to us if there was white light on our side. It would only appear red if it was totally dark on our side and light was on the other side of the filter passing through to reach our eyes. Quote:
Cadium-sulfide has a similar response to that of the human eye (but it's less sensitive). This means it's sensitivty peaks at green light and it falls off and dies right around ultraviolet and infrared. Cadmium is toxic though so don't throw it in the trash. I'm pretty sure there are other less toxic compounds that also have the same response as the human eye, but I don't know what they are. Last edited by dknguyen; 14th January 2007 at 09:25 AM. |
|||
|
|
|
|
|
(permalink) |
|
Wow! thanks a lot for all that dknguyen
have a nice day! |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| RS232 TX, RX & GND wire colors? | William At MyBlueRoom | Electronic Projects Design/Ideas/Reviews | 1 | 14th November 2006 07:48 PM |
| RGB LED Fader - Purely random colors? | indecided | Electronic Projects Design/Ideas/Reviews | 5 | 28th November 2005 11:35 AM |
| how does scanner identifies the colors on paper | Mahdik | General Electronics Chat | 2 | 11th May 2005 08:30 AM |
| how can i sense colors with cny 70? | kenanizmirli | Robotics Chat | 6 | 6th March 2004 11:21 AM |
| differentiate between monostable, astable and bistable mu... | shweeeet | General Electronics Chat | 1 | 3rd June 2003 08:47 AM |