Jump to content
Electronics-Lab.com Community

Anyone here na gumamit na ng RGB LED/White LED for color detection


parengjomar07

Recommended Posts

just want to ask your opinion about using RGB LED for color detection coz we're planning to use it for peso bill value detection. May nagsabi po kasi sakin na di sya effective kung sa pera gagamitin kea hingi sana ko ng second opinion. at kung di xa effective, anu pde naming alternative for value detection. salamat ng madami..GODbless you all

Link to comment
Share on other sites


  • 2 weeks later...

sorry for the late reply..kinda busy because its our finals week...well anyway. we are planning to use the whiteled and a photodiode for value detection of peso bills since each bills have their unique color. but one of our friend told us that using white led for color detection in peso bills is not effective since the colors used in our money is very light making it difficult for the receiver to distinguish the difference between each bills... and btw, are you a filipino also? thanks hero999 Godbless

Link to comment
Share on other sites

Great, it's good that you've returned. I didn't make much effort to respond in case you didn't return: many people don't.

English is the main language spoken on this forum. I'm from England myself but there are plenty of people here from all around the world.

I know there is a Filipino forum similar to this and I think some posters confuse this forum with it.

You could use three photo diodes with red, green and blue filters on them and a single white LED but it's probably better to use three LEDs and one photo diode. The idea, is you flash each LED on briefly at a high frequency and monitor the reflected light with the photo diode. You can sense the colour by monitoring the amount or red, green and blue reflected. Photo diodes tend to be more sensitive to longer wavelengths (i.e they're better at detecting red than blue) so you'll need to compensate for that whether by using software or making the green and blue LEDs brighter than the red LED.

You can buy LEDs with red, green and blue LEDs in the same package which will save space and maybe even money.

Link to comment
Share on other sites

I have come across some integrated colour detectors, 3 photodiodes with a colour filter. I have never used them so I can't comment further. Here are some:

http://au.farnell.com/jsp/search/browse.jsp?N=500001+1002850&Ntk=gensearch_001&Ntt=colour&Ntx=mode+matchallpartial

They are very expensive so maybe you could copy the technology using discreet photodiodes and colour filters. You will need to calibrate the set-up as the sensitivity to each colour will be different.

Sorry for using the Aussie site, UK one was unavailable.

Link to comment
Share on other sites


your right about the filipino forum..lol. hmm.. is this kind of set-up using 3 LEDS and a photodiode enough to detect light colors?coz my friend told me that there is a problem in using the RGB for detecting light colors. Is there any way to compensate that problem?

What problem would that be?

The only problem I'm aware of is the spectral response of the detector and I've already said how to fix it.

From a functional point of view it doesn't matter whether you use three detectors and one LED or three LEDs and one detector, both are equal. My colour scanner uses a monochrome image sensor and three LEDs strobed because it's cheaper than using a white LED and a colour sensor. The light appears white but you can see a rainbow effect at the edge of the lamp as it moves down the page.

If your using a microcontroller then it's probably easier to use three LEDs because the whole thing can be interfaced with using just three I/O pins but you can't turn all the LEDs off.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...